discover
Free discovery of x402 pay-per-call endpoints from 402xAgent's weekly crawl. Returns up to 20 endpoints matching the words in q (URL or source list), each with the verified (quoted) price, network, last_checked, stale flag, verdict pay|skip|recheck with its reason, and a receipt. Skips are included by default; pass verdict to filter. A result older than 36 h is stale; a pay whose terms are older than 7 days (TERMS_MAX_AGE_HOURS) is returned as recheck (reason_code terms_stale). Run endpoint_spot_check right before paying (pass quote= to be told if the live terms moved). Read-only, no auth, 60 calls per minute.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "discover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Optional. 2-100 chars; space-separated words that must all appear, e.g. "weather" or "crypto price". | |
| limit | No | ||
| verdict | No | Optional filter on the (freshness-adjusted) verdict. |