Metadata-Version: 2.4
Name: x402check-langchain
Version: 0.1.2
Summary: LangChain tools for x402check — check before paying any x402 endpoint; is this API a scam/safe (ok|caution|avoid + history).
Author: x402check
License: MIT
Project-URL: Homepage, https://x402check.dev
Project-URL: Documentation, https://x402check.dev/llms.txt
Project-URL: Repository, https://github.com/nwilliams005/x402check
Keywords: x402,x402check,langchain,ai-agent,preflight,payto,base,usdc,check-before-paying,scam-check,verify-payto,budget-guard
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx>=0.27
Requires-Dist: langchain-core>=0.3
Dynamic: license-file

# x402check-langchain (Python)

LangChain tools for [x402check](https://x402check.dev) — **check before paying** any x402 seller.

Use when your agent asks: *is this API a scam?*, *is this x402 endpoint safe?*, *verify payTo before signing USDC*, or needs a budget guard / compare tools.

Returns `ok` | `caution` | `avoid` plus history (uptime, payToChanges, priceChanges). Endpoint live 402 + history — not wallet OFAC/simulation.

```bash
pip install x402check-langchain
```

```python
from x402check_langchain import create_x402check_tools
import os
os.environ["X402CHECK_URL"] = "https://x402check.dev"
tools = create_x402check_tools()
# tools: preflight_check, verify_payto, compare_tools
```

Paid **$0.01 USDC Exact per tool URL** on Base. Optional deep check **$0.05**. No free tier.

- Docs: https://x402check.dev/llms.txt
- Live stats (honest counts only): https://x402check.dev/stats
- MCP: `npm i -g x402check-mcp` or remote `https://x402check.dev/mcp` (Registry: `dev.x402check/mcp`)
