Agents Trust
v0.1.4Find APIs and inspect endpoint evidence.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
recommend Recommend paid APIs for a task
Find which paid x402 API to call for a task described in plain words, ranked with evidence. Each pick has the endpoint URL, provider price and payment network, a ready request template, liveness, delivery evidence and risk flags. Use it when you do not yet know which API to call; use inspect instead when you already have one exact endpoint URL, and receipt to confirm settlement after paying. Write need as the task itself ("current weather in Paris"), not a product name; narrow with max_price_usd or chain, and use view=compact to save tokens. Free demo: need exactly "weather", "crypto prices" o…
| Parameter | Type | Description |
|---|---|---|
need * | string | The work you need done, in plain words, e.g. "weather forecast for Berlin" or "translate text to German". 2–300 characters with at least two letters or digits. |
chain | string | Only return providers that accept payment on this network, as a CAIP-2 id, e.g. eip155:8453 for Base. |
limit | integer | Maximum number of picks, 1–5. Default 3. |
live | number | Only 1 is accepted, which is also the default: prefer endpoints with recent liveness evidence. |
max_price_usd | number | Highest provider price per call in USD you accept. Separate from the 0.01 USDC recommendation fee; the provider's own quote at call time is authoritative. |
view | string | Response detail: compact (smallest, pick essentials and request template), evidence (adds ranking, liveness, delivery and payment evidence per pick) or legacy (default, original field layout). |
inspect Inspect evidence for one endpoint
Read the stored evidence for one exact x402 endpoint URL: price, payment networks, liveness, delivery history and risk flags. It never calls or pays the endpoint itself. Use it before paying an endpoint you already know, for example one returned by recommend; use recommend instead to find candidates for a task. Pass url exactly as listed: paths and trailing slashes are distinct. Use view=compact for essentials only. Demo endpoints are free; other indexed endpoints cost 1% of the endpoint's lowest quoted price, minimum 0.001 USDC. An unindexed URL returns ENDPOINT_NOT_INDEXED without payment. P…
| Parameter | Type | Description |
|---|---|---|
url * | string | Exact public HTTPS endpoint URL, including any fixed query parameters, e.g. a pick's url from recommend. Private, malformed and credential-bearing URLs are rejected before payment. |
view | string | Response detail: compact (smallest), evidence (full evidence blocks), legacy (default, original field layout) or debug (adds diagnostic fields). |
receipt Check payment settlement
Check whether a paid recommend or inspect answer has settled on-chain. Free, read-only, and never repeats the paid request. Use it after a paid call, with the payment_attempt_id that call returned; answers arrive before settlement completes. Returns data.state (pending, settled, settle_failed_after_answer or settle_unknown_after_answer) and data.transaction (transaction hash once settled, else null). An unknown id returns a not-found error. Pending or unavailable does not prove that no money moved: check the wallet before paying again.
| Parameter | Type | Description |
|---|---|---|
payment_attempt_id * | string | The payment_attempt_id returned by a paid recommend or inspect call: a lowercase UUIDv7. Copy it unchanged. |
health Check service version
Check that the Agents Trust API is reachable and read its deployed version. Free, read-only, no parameters. Use it to diagnose connection problems before retrying recommend or inspect; it does not measure data freshness. Returns data.status ("ok") and data.version (deployment identifier).