Decide: execute a plan
Run a decision's plan through Agent402: first-party steps run directly, third-party steps are paid on your behalf (paid on Base, or by credits or card) and relayed at the seller's price plus a disclosed routing fee. Priced at the plan's budget (or your maxBudgetUsd, whichever you set) less a valid execution credit; spend stops at that budget, fallbacks are tried in order, and any unspent amount comes back as a credit. A run where no step succeeds is not charged.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"amount": "1000",
"scheme": "exact",
"network": "eip155:8453",
"outputSchema": {
"type": "object",
"required": [
"runId",
"decisionId",
"status",
"steps",
"budgetUsd",
"spentUsd",
"paidUsd",
"creditAppliedUsd",
"routingFeePct"
],
"properties": {
"runId": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"type": "object"
}
},
"status": {
"type": "string"
},
"paidUsd": {
"type": "number"
},
"spentUsd": {
"type": "number"
},
"budgetUsd": {
"type": "number"
},
"decisionId": {
"type": "string"
},
"routingFeePct": {
"type": "integer"
},
"leftoverCredit": {},
"creditAppliedUsd": {
"type": "number"
}
}
},
"maxTimeoutSeconds": 300
}
],
"resource": {
"url": "https://agent402.tools/api/decide/execute",
"tags": [
"agents",
"execute",
"planning",
"router",
"x402"
],
"iconUrl": "https://agent402.tools/favicon.ico",
"mimeType": "application/json",
"description": "Run a decision's plan through Agent402: first-party steps run directly, third-party steps are paid on your behalf (paid on Base, or by credits or card) and relayed at the seller's price plus a disclosed routing fee. Priced at the plan's budget (or your maxBudgetUsd, whichever you set) less a valid execution credit; spend stops at that budget, fallbacks are tried in order, and any unspent amount comes back as a credit. A run where no step succeeds is not charged.",
"serviceName": "Decide: execute a plan"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"decisionId": "dec_2b1c9e0f4a7d4c3e9b8a1f00",
"creditToken": "dc_...",
"maxBudgetUsd": 0.05
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"runId": "run_…",
"steps": [
{
"step": 1,
"tool": {
"slug": "search",
"seller": "agent402",
"firstParty": true
},
"result": {},
"status": "ok",
"costUsd": 0.02
}
],
"status": "complete",
"paidUsd": 0.001,
"spentUsd": 0.02,
"budgetUsd": 0.02,
"decisionId": "dec_…",
"routingFeePct": 5,
"leftoverCredit": null,
"creditAppliedUsd": 0.02
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"required": [
"decisionId"
],
"properties": {
"params": {
"type": "object",
"description": "Per-step params overriding the plan's exampleParams, keyed by step number"
},
"decisionId": {
"type": "string",
"description": "From POST /api/decide"
},
"creditToken": {
"type": "string",
"description": "executionCredit.token from that decision (optional)"
},
"maxBudgetUsd": {
"type": "number",
"description": "Spend ceiling for the run (default: the plan's estimate via Agent402)"
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"required": [
"runId",
"decisionId",
"status",
"steps",
"budgetUsd",
"spentUsd",
"paidUsd",
"creditAppliedUsd",
"routingFeePct"
],
"properties": {
"runId": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"type": "object"
}
},
"status": {
"type": "string"
},
"paidUsd": {
"type": "number"
},
"spentUsd": {
"type": "number"
},
"budgetUsd": {
"type": "number"
},
"decisionId": {
"type": "string"
},
"routingFeePct": {
"type": "integer"
},
"leftoverCredit": {},
"creditAppliedUsd": {
"type": "number"
}
}
}
}
}
}
}
},
"builder-code": {
"info": {
"a": "bc_b4aw4uzd"
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"a": {
"type": "string",
"pattern": "^[a-z0-9_]{1,32}$",
"description": "App builder code"
},
"s": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9_]{1,32}$"
},
"maxItems": 11,
"description": "Service builder codes"
},
"w": {
"type": "string",
"pattern": "^[a-z0-9_]{1,32}$",
"description": "Wallet builder code"
}
},
"additionalProperties": false
}
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"required"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]+$",
"maxLength": 128,
"minLength": 16
},
"required": {
"type": "boolean"
}
}
}
}
},
"x402Version": 2
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.001 USDC on Base to 0xaBF4…2a9D0. The signed payment is good for 5 minutes.
- Paid to
- 0xaBF4…2a9D0
- USD Coin contract
- 0x8335…02913
- Payment window
- 5 minutes
- As published
- 1000 smallest units
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"amount": "1000",
"scheme": "exact",
"network": "eip155:8453",
"outputSchema": {
"type": "object",
"required": [
"runId",
"decisionId",
"status",
"steps",
"budgetUsd",
"spentUsd",
"paidUsd",
"creditAppliedUsd",
"routingFeePct"
],
"properties": {
"runId": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"type": "object"
}
},
"status": {
"type": "string"
},
"paidUsd": {
"type": "number"
},
"spentUsd": {
"type": "number"
},
"budgetUsd": {
"type": "number"
},
"decisionId": {
"type": "string"
},
"routingFeePct": {
"type": "integer"
},
"leftoverCredit": {},
"creditAppliedUsd": {
"type": "number"
}
}
},
"maxTimeoutSeconds": 300
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"decisionId": "dec_2b1c9e0f4a7d4c3e9b8a1f00",
"creditToken": "dc_...",
"maxBudgetUsd": 0.05
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"runId": "run_…",
"steps": [
{
"step": 1,
"tool": {
"slug": "search",
"seller": "agent402",
"firstParty": true
},
"result": {},
"status": "ok",
"costUsd": 0.02
}
],
"status": "complete",
"paidUsd": 0.001,
"spentUsd": 0.02,
"budgetUsd": 0.02,
"decisionId": "dec_…",
"routingFeePct": 5,
"leftoverCredit": null,
"creditAppliedUsd": 0.02
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"required": [
"decisionId"
],
"properties": {
"params": {
"type": "object",
"description": "Per-step params overriding the plan's exampleParams, keyed by step number"
},
"decisionId": {
"type": "string",
"description": "From POST /api/decide"
},
"creditToken": {
"type": "string",
"description": "executionCredit.token from that decision (optional)"
},
"maxBudgetUsd": {
"type": "number",
"description": "Spend ceiling for the run (default: the plan's estimate via Agent402)"
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"required": [
"runId",
"decisionId",
"status",
"steps",
"budgetUsd",
"spentUsd",
"paidUsd",
"creditAppliedUsd",
"routingFeePct"
],
"properties": {
"runId": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"type": "object"
}
},
"status": {
"type": "string"
},
"paidUsd": {
"type": "number"
},
"spentUsd": {
"type": "number"
},
"budgetUsd": {
"type": "number"
},
"decisionId": {
"type": "string"
},
"routingFeePct": {
"type": "integer"
},
"leftoverCredit": {},
"creditAppliedUsd": {
"type": "number"
}
}
}
}
}
}
}
},
"builder-code": {
"info": {
"a": "bc_b4aw4uzd"
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"a": {
"type": "string",
"pattern": "^[a-z0-9_]{1,32}$",
"description": "App builder code"
},
"s": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9_]{1,32}$"
},
"maxItems": 11,
"description": "Service builder codes"
},
"w": {
"type": "string",
"pattern": "^[a-z0-9_]{1,32}$",
"description": "Wallet builder code"
}
},
"additionalProperties": false
}
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"required"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]+$",
"maxLength": 128,
"minLength": 16
},
"required": {
"type": "boolean"
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-10-02 01:27Z
- Last indexed by Roundhouse
- 2026-10-25 12:40Z
- Last enriched (probe, favicon, geo)
- 2026-09-30 04:15Z
- x402 version
- 2
- Max timeout
- 300s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 32 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service Decide: execute a plan and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Decide%3A%20execute%20a%20plan' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://agent402.tools/api/decide/execute, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.