Describe a task (or name a slug) and the Smart Order Router resolves the best-ma
Describe a task (or name a slug) and the Smart Order Router resolves the best-matching tool and RUNS it in the same call - flat $3.3 covering any tool listed at $3 or less, from THIS host's catalog or any external seller in the open index - x402 sellers, or MPP sellers on Tempo (paid on your behalf over x402 or MPP, result relayed). One payment, one request, result + receipt. /api/route quotes which tier a task needs; pricier tools return a self-correcting 409 with their direct route.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://agent402.tools/api/route/execute-pro
| Category | Code and developer |
|---|---|
| Provider host | agent402.tools |
| Networks | algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=, eip155:10, eip155:1329, eip155:137, eip155:143, eip155:42161, eip155:42220, eip155:43114, eip155:4663, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp, stellar:pubnet |
| Payment schemes | exact, upto |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $3.30 | 931 ms |
Example input (from the provider)
{
"body": {
"params": {
"algo": "sha256",
"text": "agent402"
},
"slug": "hash"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"include": {
"description": "Where to route: default runs a tool from THIS host's catalog; \"external\" routes to the best-matching x402 seller in the OPEN index and pays it on your behalf (result relayed, marked untrustedContent). Requires task (not slug).",
"type": "string"
},
"maxUsd": {
"description": "Refuse tools listed above this underlying price (default and ceiling: $3)",
"type": "number"
},
"params": {
"description": "Input for the resolved tool, matching its inputSchema (default {})",
"type": "object"
},
"slug": {
"description": "Exact tool slug to execute (skips ranking). Provide task OR slug.",
"type": "string"
},
"task": {
"description": "Plain-language task, e.g. \"sha256 hash of a string\" - resolved via the same ranker as /api/find. Provide task OR slug.",
"type": "string"
}
}
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"receipt": {
"properties": {
"callRef": {
"type": "string"
},
"paidUsd": {
"type": "number"
},
"resolvedBy": {
"type": "string"
},
"route": {
"type": "string"
},
"routingFeeUsd": {
"type": "number"
},
"seller": {
"type": "string"
},
"slug": {
"type": "string"
},
"ts": {
"type": "string"
},
"underlyingPriceUsd": {
"type": "number"
}
},
"type": "object"
},
"result": {
"properties": {
"algo": {
"type": "string"
},
"base64": {
"type": "string"
},
"hex": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"receipt",
"result"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}