verify_value
Verify a claimed value against a live URL: the server fetches the URL itself (SSRF-guarded, robots.txt respected, headless Chrome fallback), extracts the value at a JSON path ($.data.price), CSS selector or /regex/, and returns extracted_value, match (numeric with optional tolerance; strings trimmed), diff, http_status, content_type, fetched_at and source_sha256. Paid: tools/call requires x402 payment of $0.005 USDC on Base (eip155:8453) — unpaid calls return HTTP 402 with PAYMENT-REQUIRED; retry with PAYMENT-SIGNATURE. Not charged on bad input, blocked URL, path not found or upstream failure. Same as POST /v1/verify.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL (ports 80/443; private/loopback/link-local addresses and redirects to them are rejected) | |
| mode | No | auto | |
| path | Yes | JSON path ($.data.amount, data.items[0].usd, $['key'][-1]); for HTML a CSS selector (optional 'css:' prefix, '@attr' suffix for an attribute) or a regex '/pattern/flags' (first capture group, else whole match) | |
| render | No | auto: headless Chrome only if the selector/regex is not found in static HTML | auto |
| claimed | Yes | The value you claim is at that path | |
| tolerance | No | Absolute numeric tolerance; |extracted - claimed| <= tolerance counts as a match |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| url | No | ||
| diff | No | ||
| note | No | ||
| match | No | ||
| claimed | No | ||
| fetched_at | No | ||
| request_id | No | ||
| http_status | No | ||
| content_type | No | ||
| source_sha256 | No | ||
| extracted_value | No |