Roundhouse is an MCP server published by io.roundhouseai, hosted at api.roundhouseai.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 17 tools, including get_account, list_flows, list_transactions, list_entity_settlements, get_agent.
Read-only analytics on x402 agent payments and ERC-8004 agent identity, with SQL.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Who the credential in front of this request resolves to, which of the two paid lanes it would take, what it has left to spend, and the price of every route on both lanes. Unmetered and answerable WITHOUT a key: checking your balance must never cost a unit and must never be the thing that fails. A caller with no key gets a real answer (`tier: anonymous`, `lane: x402`, the full price list), not a 401, so both prices can be compared before committing to either. An unrecognised key also answers 200, with `key_recognised: false` — this is the endpoint you reach for when your key is the thing that is broken, so it must work then. Wraps GET /v0/account. Access: no API key required. Returns: - authenticated: Whether a credential was accepted. - key_present: Whether a credential was sent at all. - key_recognised: Whether it resolved, or NULL when none was sent — three-valued, because "no key" and "a key that did not resolve" need different fixes and one `false` for both would conflate them. - tier: `anonymous`, `trial`, `oauth`, or the organization key tier. - plan: The organization's plan key, or null when there is no organization. - lane: Which lane this caller would take on a metered route, so it can be PREDICTED rather than discovered by being refused: `credit` draws down Query Units, `x402` pays per call, `invalid_key` resolves to nothing, `no_account` is a caller with no organisation behind it on the MCP surface, where there is no x402 door, and `upgrade_required` is that same surface reached by a caller that HAS an organisation whose plan excludes the route. The last two were one value until a signed-in connection with an organisation and a balance was told it had no account behind it. - organisation: Id and display name, or null. Named so an operator with several accounts knows which one to top up. - balance: Units available and the low-balance threshold, or NULL with a `balance_note` saying why there is no balance to report — an organizationless caller has none, which is not the same as having zero. `low_balance` is already computed here so a client does not have to know the threshold to apply it. - metered_routes: Every route with what one call costs on each lane: `qu` on the credit lane, `x402_usd` on the payment lane. Routes that cost nothing are listed AT ZERO rather than omitted, because a caller cannot tell "free" from "not thought about" by absence. `runSql`'s `qu` is its MINIMUM — a query is priced by the time it takes, and `sql_tiers` gives the ceilings. - balance_note: Present only when `balance` is null, saying WHICH kind of nothing it is: no credential, one that did not resolve, a trial key that holds no balance by design, or an organization row that could not be read. A null balance is never a zero. - sql_tiers: What one `run_sql` call may cost, which is no longer one number: a query is priced by the time it takes, at one Query Unit per started five seconds with a floor of one. Each tier gives its `timeout_seconds`, its `max_qu` (what is HELD for the call and the most it can cost), its own rate limit, and two separate booleans — `allowed` is whether this caller's plan may buy it, `available` is whether this deployment can serve it at all. They are separate because "upgrade your plan" and "report a misconfiguration" are different things to go and do, and `note` says which applies. - top_up_url: Org-scoped deep link to the top-up page, or the plans page for a caller with no organization. - as_of: When this answer was assembled. - summary: One sentence saying what this lane means, for a human reading it in an agent transcript.
No parameters.
{
"name": "get_account",
"title": "What this caller is entitled to, and what it would be charged",
"description": "Who the credential in front of this request resolves to, which of the two paid lanes it would take, what it has left to spend, and the price of every route on both lanes. Unmetered and answerable WITHOUT a key: checking your balance must never cost a unit and must never be the thing that fails. A caller with no key gets a real answer (`tier: anonymous`, `lane: x402`, the full price list), not a 401, so both prices can be compared before committing to either. An unrecognised key also answers 200, with `key_recognised: false` — this is the endpoint you reach for when your key is the thing that is broken, so it must work then.\n\nWraps GET /v0/account.\nAccess: no API key required.\n\nReturns:\n- authenticated: Whether a credential was accepted.\n- key_present: Whether a credential was sent at all.\n- key_recognised: Whether it resolved, or NULL when none was sent — three-valued, because \"no key\" and \"a key that did not resolve\" need different fixes and one `false` for both would conflate them.\n- tier: `anonymous`, `trial`, `oauth`, or the organization key tier.\n- plan: The organization's plan key, or null when there is no organization.\n- lane: Which lane this caller would take on a metered route, so it can be PREDICTED rather than discovered by being refused: `credit` draws down Query Units, `x402` pays per call, `invalid_key` resolves to nothing, `no_account` is a caller with no organisation behind it on the MCP surface, where there is no x402 door, and `upgrade_required` is that same surface reached by a caller that HAS an organisation whose plan excludes the route. The last two were one value until a signed-in connection with an organisation and a balance was told it had no account behind it.\n- organisation: Id and display name, or null. Named so an operator with several accounts knows which one to top up.\n- balance: Units available and the low-balance threshold, or NULL with a `balance_note` saying why there is no balance to report — an organizationless caller has none, which is not the same as having zero. `low_balance` is already computed here so a client does not have to know the threshold to apply it.\n- metered_routes: Every route with what one call costs on each lane: `qu` on the credit lane, `x402_usd` on the payment lane. Routes that cost nothing are listed AT ZERO rather than omitted, because a caller cannot tell \"free\" from \"not thought about\" by absence. `runSql`'s `qu` is its MINIMUM — a query is priced by the time it takes, and `sql_tiers` gives the ceilings.\n- balance_note: Present only when `balance` is null, saying WHICH kind of nothing it is: no credential, one that did not resolve, a trial key that holds no balance by design, or an organization row that could not be read. A null balance is never a zero.\n- sql_tiers: What one `run_sql` call may cost, which is no longer one number: a query is priced by the time it takes, at one Query Unit per started five seconds with a floor of one. Each tier gives its `timeout_seconds`, its `max_qu` (what is HELD for the call and the most it can cost), its own rate limit, and two separate booleans — `allowed` is whether this caller's plan may buy it, `available` is whether this deployment can serve it at all. They are separate because \"upgrade your plan\" and \"report a misconfiguration\" are different things to go and do, and `note` says which applies.\n- top_up_url: Org-scoped deep link to the top-up page, or the plans page for a caller with no organization.\n- as_of: When this answer was assembled.\n- summary: One sentence saying what this lane means, for a human reading it in an agent transcript.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"annotations": {
"title": "What this caller is entitled to, and what it would be charged",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The newest settlements across every indexed chain, payer to payee. This is the same feed the `/flows` page renders. Wraps GET /v0/flows. Access: requires an API key (Authorization: Bearer rh_live_… or x-api-key). Returns: - flows: Settlement rows, newest first, decorated with resolved display names. Each row also carries `is_self_payment` (payer = payee, annotated rather than only excluded — a third of the feed can be self-payment) and `evidence`: `{ verified, method, probability, tier }`. `verified` is THREE-VALUED — `true` a named facilitator relayed it, `false` examined with no EIP-3009 marker, and `null` gasless and authorized but NOT ESTABLISHED as x402, which is not the same as disproven. `tier` is `proven` | `probable` | `unproven` | `not_x402` | `ungraded`. - next_before: Cursor for the next page, or `null` at the end of the list. - meta: The chain served and `as_of`. On a non-empty page `meta` also carries `page_self_payments`, `page_self_payment_usd`, `page_gross_usd` and `page_organic_usd`. All four are THIS PAGE only, as the names say: they are not site-wide figures and summing them across pages is not a total. On an EMPTY list it instead carries `dataset_last_written_at`, `dataset_row_count` and any `warnings`.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows to return. Clamped to 100; values outside the range are clamped, not rejected. |
| before | string | Opaque cursor from a previous response's `next_before`. It encodes the whole sort key, tiebreaker included, so a page boundary inside a group of rows sharing a timestamp does not skip the rest. Do not parse it or build one by hand. |
{
"name": "list_flows",
"title": "Live flow of funds",
"description": "The newest settlements across every indexed chain, payer to payee. This is the same feed the `/flows` page renders.\n\nWraps GET /v0/flows.\nAccess: requires an API key (Authorization: Bearer rh_live_… or x-api-key).\n\nReturns:\n- flows: Settlement rows, newest first, decorated with resolved display names. Each row also carries `is_self_payment` (payer = payee, annotated rather than only excluded — a third of the feed can be self-payment) and `evidence`: `{ verified, method, probability, tier }`. `verified` is THREE-VALUED — `true` a named facilitator relayed it, `false` examined with no EIP-3009 marker, and `null` gasless and authorized but NOT ESTABLISHED as x402, which is not the same as disproven. `tier` is `proven` | `probable` | `unproven` | `not_x402` | `ungraded`.\n- next_before: Cursor for the next page, or `null` at the end of the list.\n- meta: The chain served and `as_of`. On a non-empty page `meta` also carries `page_self_payments`, `page_self_payment_usd`, `page_gross_usd` and `page_organic_usd`. All four are THIS PAGE only, as the names say: they are not site-wide figures and summing them across pages is not a total. On an EMPTY list it instead carries `dataset_last_written_at`, `dataset_row_count` and any `warnings`.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Rows to return. Clamped to 100; values outside the range are clamped, not rejected."
},
"before": {
"type": "string",
"description": "Opaque cursor from a previous response's `next_before`. It encodes the whole sort key, tiebreaker included, so a page boundary inside a group of rows sharing a timestamp does not skip the rest. Do not parse it or build one by hand."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Live flow of funds",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Every indexed settlement, newest first, filterable by how confidently it is known to be an x402 payment. Wraps GET /v0/transactions. Access: requires an API key (Authorization: Bearer rh_live_… or x-api-key). Returns: - transactions: Settlement rows, newest first. Each row also carries `is_self_payment` (payer = payee, annotated rather than only excluded — a third of the feed can be self-payment) and `evidence`: `{ verified, method, probability, tier }`. `verified` is THREE-VALUED — `true` a named facilitator relayed it, `false` examined with no EIP-3009 marker, and `null` gasless and authorized but NOT ESTABLISHED as x402, which is not the same as disproven. `tier` is `proven` | `probable` | `unproven` | `not_x402` | `ungraded`. - next_before: Cursor for the next page, or `null`. Minted from the rows READ, not the rows shown, so `exclude_self_payments` cannot end the walk early. - meta: The chain served and `as_of`. On a non-empty page `meta` also carries `page_self_payments`, `page_self_payment_usd`, `page_gross_usd` and `page_organic_usd`. All four are THIS PAGE only, as the names say: they are not site-wide figures and summing them across pages is not a total. `self_payments_excluded` is set when the page was filtered.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows to return. Clamped to 100; values outside the range are clamped, not rejected. |
| before | string | Opaque cursor from a previous response's `next_before`. It encodes the whole sort key, tiebreaker included, so a page boundary inside a group of rows sharing a timestamp does not skip the rest. Do not parse it or build one by hand. |
| min_probability | number | Keep only rows at or above this x402 confidence. `1.0` is proven by a named facilitator having relayed it; `0.05` is a bare transfer to a catalogued address. Read `evidence` on the row rather than thresholding this number blind — the ladder has five rungs and the gap that matters is `verified: true`… |
| exclude_self_payments |
Settlements where this wallet is either the payer or the payee, newest first. Walkable deeply in time order: `(payer, block_time desc)` and `(payee, block_time desc)` cover it, so page N costs what page 1 does and a wallet's whole history can be paged for velocity or trend. Wraps GET /v0/entities/{wallet}/settlements. Access: requires an API key (Authorization: Bearer rh_live_… or x-api-key). Returns: - wallet: The wallet queried, lowercased. - settlements: Settlement rows, newest first, decorated with resolved display names. Each row also carries `is_self_payment` (payer = payee, annotated rather than only excluded — a third of the feed can be self-payment) and `evidence`: `{ verified, method, probability, tier }`. `verified` is THREE-VALUED — `true` a named facilitator relayed it, `false` examined with no EIP-3009 marker, and `null` gasless and authorized but NOT ESTABLISHED as x402, which is not the same as disproven. `tier` is `proven` | `probable` | `unproven` | `not_x402` | `ungraded`. - next_before: Cursor for the next page, or `null`. - meta: The chain served and `as_of`. On a non-empty page `meta` also carries `page_self_payments`, `page_self_payment_usd`, `page_gross_usd` and `page_organic_usd`. All four are THIS PAGE only, as the names say: they are not site-wide figures and summing them across pages is not a total.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows to return. Clamped to 100; values outside the range are clamped, not rejected. |
| before | string | Opaque cursor from a previous response's `next_before`. It encodes the whole sort key, tiebreaker included, so a page boundary inside a group of rows sharing a timestamp does not skip the rest. Do not parse it or build one by hand. |
| wallet * | string | An EVM address (`0x` + 40 hex digits; case-insensitive, lowercased before lookup) or a Solana address (base58; case-sensitive, used exactly as given). An address the index has not observed answers `coverage.known: false`, not zeros. |
One wallet in its paying role: its resolved identity and its own settlement aggregates. Every figure is that wallet's own — there are no site-wide totals on this endpoint. Wraps GET /v0/agents/{wallet}. Access: requires an API key (Authorization: Bearer rh_live_… or x-api-key). Returns: - wallet: The wallet queried, lowercased. - role: The role it was queried in: `agent` or `merchant`. - coverage: **Read this first.** `known` false means the index has never observed this address, so every figure below is a zero meaning "not observed" — not "observed to be nothing". Also `first_seen`, `last_seen`, `settlements_scanned`, `scan_truncated` and `scan_cap`. - entities: Resolved identity rows: display name, ENS, ERC-8004 card, role, first and last seen. - erc8004_agents: ERC-8004 registrations whose on-chain agentWallet is this address. - aggregates: That wallet's own totals: inbound/outbound USD and counts, distinct counterparties, chain split. `basis` says what they were computed over — `index_rollup` is the whole history, `scanned_settlements` is the capped scan and is a floor when `coverage.scan_truncated` is set. `distinct_counterparties` excludes the wallet itself on both bases. `chain_split` is the exception and carries its own `chain_split_basis`: the rollup is keyed by wallet and holds no chain dimension, so that split is ALWAYS the scan and is capped with it, whatever the object-level `basis` says. - data_quality: The risk annotation. **Route on `verdict`, not on `note`.** `verdict` is one of `unobserved` (never seen — nothing assessed), `patterns_detected`, `no_patterns_detected`, or `insufficient_evidence` — the last meaning the address WAS observed, nothing fired, and not enough of its history was examined for that to rule anything out. `checks` carries every check with its `threshold`, what was `observed`, its own `basis`, and `conclusive`: a check that FIRED is always conclusive (a pattern seen in a sample happened), a check that did not fire on a truncated scan is not. `note` says the same thing in a sentence and is derived from the two. - recent: A slice of its activity, `recent_limit` rows (default 5). Each row also carries `is_self_payment` (payer = payee, annotated rather than only excluded — a third of the feed can be self-payment) and `evidence`: `{ verified, method, probability, tier }`. `verified` is THREE-VALUED — `true` a named facilitator relayed it, `false` examined with no EIP-3009 marker, and `null` gasless and authorized but NOT ESTABLISHED as x402, which is not the same as disproven. `tier` is `proven` | `probable` | `unproven` | `not_x402` | `ungraded`.
The same shape as `/agents/{wallet}`, for a wallet in its receiving role. Wraps GET /v0/merchants/{wallet}. Access: requires an API key (Authorization: Bearer rh_live_… or x-api-key). Returns: - wallet: The wallet queried, lowercased. - role: The role it was queried in: `agent` or `merchant`. - coverage: **Read this first.** `known` false means the index has never observed this address, so every figure below is a zero meaning "not observed" — not "observed to be nothing". Also `first_seen`, `last_seen`, `settlements_scanned`, `scan_truncated` and `scan_cap`. - entities: Resolved identity rows: display name, ENS, ERC-8004 card, role, first and last seen. - erc8004_agents: ERC-8004 registrations whose on-chain agentWallet is this address. - aggregates: That wallet's own totals: inbound/outbound USD and counts, distinct counterparties, chain split. `basis` says what they were computed over — `index_rollup` is the whole history, `scanned_settlements` is the capped scan and is a floor when `coverage.scan_truncated` is set. `distinct_counterparties` excludes the wallet itself on both bases. `chain_split` is the exception and carries its own `chain_split_basis`: the rollup is keyed by wallet and holds no chain dimension, so that split is ALWAYS the scan and is capped with it, whatever the object-level `basis` says. - data_quality: The risk annotation. **Route on `verdict`, not on `note`.** `verdict` is one of `unobserved` (never seen — nothing assessed), `patterns_detected`, `no_patterns_detected`, or `insufficient_evidence` — the last meaning the address WAS observed, nothing fired, and not enough of its history was examined for that to rule anything out. `checks` carries every check with its `threshold`, what was `observed`, its own `basis`, and `conclusive`: a check that FIRED is always conclusive (a pattern seen in a sample happened), a check that did not fire on a truncated scan is not. `note` says the same thing in a sentence and is derived from the two. - recent: A slice of its activity, `recent_limit` rows (default 5). Each row also carries `is_self_payment` (payer = payee, annotated rather than only excluded — a third of the feed can be self-payment) and `evidence`: `{ verified, method, probability, tier }`. `verified` is THREE-VALUED — `true` a named facilitator relayed it, `false` examined with no EIP-3009 marker, and `null` gasless and authorized but NOT ESTABLISHED as x402, which is not the same as disproven. `tier` is `proven` | `probable` | `unproven` | `not_x402` | `ungraded`.
| Parameter |
|---|
Agents read from the on-chain IdentityRegistry, with their registration card and payment wallet. `score` is the ERC-8004 reputation score derived from on-chain feedback — it is the REGISTRY's number, not a Roundhouse rating, and it is null for every agent no counterparty has left feedback for. Roundhouse publishes no trust score of its own. Wraps GET /v0/agents. Access: requires an API key (Authorization: Bearer rh_live_… or x-api-key). Returns: - agents: Agent rows with identity, wallet and the ERC-8004 `score` (null where the registry holds no feedback). `x402_support` is the registration card's own declaration; `last_activity_at` and `activity_status` are the observed halves, derived from settlements and feedback. - next_before: Cursor for the next page, or `null`. - meta: The chain served and `as_of`. On an EMPTY list it also carries `dataset_last_written_at`, `dataset_row_count` and any `warnings` (e.g. `endpoints_catalog_stale`) — so a zero can be read as a quiet market or a stalled ingest rather than guessed at.
| Parameter | Type | Description |
|---|---|---|
| q | string | Free-text search over name and description. |
| x402 | string | The earlier name for `x402_declared`, kept because it is published and a caller sending it wants the same rows. Prefer `x402_declared`, whose name says what it reads. Sending both uses `x402_declared`. |
| limit | integer | Rows to return. Clamped to 100; values outside the range are clamped, not rejected. |
| before | string | Opaque cursor from a previous response's `next_before`. It encodes the whole sort key, tiebreaker included, so a page boundary inside a group of rows sharing a timestamp does not skip the rest. Do not parse it or build one by hand. |
| x402_declared | string | Set to `true` to keep only agents whose own ERC-8004 registration card declares x402 support (`x402Support: true`). This is the agent's CLAIM ABOUT ITSELF, copied out of a document its owner wrote, and it is not evidence of anything: four of five agents on a page of this filter had `last_activity_at… |
All settling wallets, filterable by the role they were seen in. Wraps GET /v0/wallets. Access: requires an API key (Authorization: Bearer rh_live_… or x-api-key). Returns: - wallets: Wallet rows with role and last seen. - next_before: Cursor for the next page, or `null`. - meta: The chain served and `as_of`. On an EMPTY list it also carries `dataset_last_written_at`, `dataset_row_count` and any `warnings` (e.g. `endpoints_catalog_stale`) — so a zero can be read as a quiet market or a stalled ingest rather than guessed at.
| Parameter | Type | Description |
|---|---|---|
| role | string | Restrict to one observed role. |
| limit | integer | Rows to return. Clamped to 100; values outside the range are clamped, not rejected. |
| before | string | Opaque cursor from a previous response's `next_before`. It encodes the whole sort key, tiebreaker included, so a page boundary inside a group of rows sharing a timestamp does not skip the rest. Do not parse it or build one by hand. |
{
"name": "list_wallets",
"title": "Every address the index has seen",
"description": "All settling wallets, filterable by the role they were seen in.\n\nWraps GET /v0/wallets.\nAccess: requires an API key (Authorization: Bearer rh_live_… or x-api-key).\n\nReturns:\n- wallets: Wallet rows with role and last seen.\n- next_before: Cursor for the next page, or `null`.\n- meta: The chain served and `as_of`. On an EMPTY list it also carries `dataset_last_written_at`, `dataset_row_count` and any `warnings` (e.g. `endpoints_catalog_stale`) — so a zero can be read as a quiet market or a stalled ingest rather than guessed at.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"role": {
"enum": [
"agent",
"merchant",
"both",
"unknown"
],
"type": "string",
"description": "Restrict to one observed role."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Rows to return. Clamped to 100; values outside the range are clamped, not rejected."
},
"before": {
"type": "string",
"description": "Opaque cursor from a previous response's `next_before`. It encodes the whole sort key, tiebreaker included, so a page boundary inside a group of rows sharing a timestamp does not skip the rest. Do not parse it or build one by hand."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Every address the index has seen",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Agents ordered by the ERC-8004 reputation score, which is the on-chain registry's number and not a Roundhouse rating. Unscored agents sort last rather than dropping out, so a board where nothing has been scored still comes back looking ordered — check `meta.page_scored_agents`, which is how many rows on the page carry a score at all. Zero means the order is the `agent_id` tie-break and nothing more. It pages by `offset` rather than a cursor, because a rank is a position and `score` is nullable — a keyset has nothing stable to compare against across the scored/unscored boundary. Wraps GET /v0/leaderboard. Access: requires an API key (Authorization: Bearer rh_live_… or x-api-key). Returns: - leaderboard: Agent rows in score order, unscored last. - next_offset: Offset for the next page, or `null`. - meta: The chain served, `as_of`, and `page_scored_agents` — rows on this page with a non-null score. A `no_agent_on_this_page_has_a_score` warning when that is zero.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows to return. Clamped to 100; values outside the range are clamped, not rejected. |
| offset | integer | Rows to skip. Use the returned `next_offset`. |
| include_spam | string | Set to `1` to include agents with no feedback, which are hidden by default. |
{
"name": "get_leaderboard",
"title": "ERC-8004 agents by registry feedback score",
"description": "Agents ordered by the ERC-8004 reputation score, which is the on-chain registry's number and not a Roundhouse rating. Unscored agents sort last rather than dropping out, so a board where nothing has been scored still comes back looking ordered — check `meta.page_scored_agents`, which is how many rows on the page carry a score at all. Zero means the order is the `agent_id` tie-break and nothing more. It pages by `offset` rather than a cursor, because a rank is a position and `score` is nullable — a keyset has nothing stable to compare against across the scored/unscored boundary.\n\nWraps GET /v0/leaderboard.\nAccess: requires an API key (Authorization: Bearer rh_live_… or x-api-key).\n\nReturns:\n- leaderboard: Agent rows in score order, unscored last.\n- next_offset: Offset for the next page, or `null`.\n- meta: The chain served, `as_of`, and `page_scored_agents` — rows on this page with a non-null score. A `no_agent_on_this_page_has_a_score` warning when that is zero.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Rows to return. Clamped to 100; values outside the range are clamped, not rejected."
},
"offset": {
"type": "integer",
"default": 0,
"description": "Rows to skip. Use the returned `next_offset`."
},
"include_spam": {
"enum": [
"1"
],
"type": "string",
"description": "Set to `1` to include agents with no feedback, which are hidden by default."
}
},
"additionalProperties": false
},
"annotations": {
"title": "ERC-8004 agents by registry feedback score",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Raw feedback entries from the ReputationRegistry for a single agent id. Wraps GET /v0/agents/{agentId}/feedback. Access: requires an API key (Authorization: Bearer rh_live_… or x-api-key). Returns: - agent_id: The id queried. - chain: The chain the feedback was read from. - feedback: Feedback entries. - meta: The chain served and `as_of`. On an EMPTY list it also carries `dataset_last_written_at`, `dataset_row_count` and any `warnings` (e.g. `endpoints_catalog_stale`) — so a zero can be read as a quiet market or a stalled ingest rather than guessed at.
| Parameter | Type | Description |
|---|---|---|
| chain | string | CAIP-2 chain id. An agent id is not unique across chains. |
| limit | integer | Rows to return. Clamped to 100; values outside the range are clamped, not rejected. |
| agentId * | string | ERC-8004 agent id. |
{
"name": "list_agent_feedback",
"title": "ERC-8004 feedback for one agent",
"description": "Raw feedback entries from the ReputationRegistry for a single agent id.\n\nWraps GET /v0/agents/{agentId}/feedback.\nAccess: requires an API key (Authorization: Bearer rh_live_… or x-api-key).\n\nReturns:\n- agent_id: The id queried.\n- chain: The chain the feedback was read from.\n- feedback: Feedback entries.\n- meta: The chain served and `as_of`. On an EMPTY list it also carries `dataset_last_written_at`, `dataset_row_count` and any `warnings` (e.g. `endpoints_catalog_stale`) — so a zero can be read as a quiet market or a stalled ingest rather than guessed at.",
"inputSchema": {
"type": "object",
"required": [
"agentId"
],
"properties": {
"chain": {
"type": "string",
"description": "CAIP-2 chain id. An agent id is not unique across chains."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Rows to return. Clamped to 100; values outside the range are clamped, not rejected."
},
"agentId": {
"type": "string",
"description": "ERC-8004 agent id."
}
},
"additionalProperties": false
},
"annotations": {
"title": "ERC-8004 feedback for one agent",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The facilitators seen relaying settlements, with their known relayer wallets. Paged: this used to return up to 200 rows unpaged, most of their columns null. Null-valued columns are omitted from each row. Wraps GET /v0/facilitators. Access: requires an API key (Authorization: Bearer rh_live_… or x-api-key). Returns: - chain: The chain served — this deployment's default when none was named. - facilitators: Facilitator rows, busiest first. Null-valued fields are omitted. - next_offset: Offset for the next page, or `null`. - meta: The chain served and `as_of`. On an EMPTY list it also carries `dataset_last_written_at`, `dataset_row_count` and any `warnings` (e.g. `endpoints_catalog_stale`) — so a zero can be read as a quiet market or a stalled ingest rather than guessed at.
| Parameter | Type | Description |
|---|---|---|
| chain | string | CAIP-2 chain id. Defaults to the chain this deployment indexes (`eip155:8453` in production, `eip155:84532` on staging) — the same default every endpoint on this API uses. A chain the index does not carry is refused with 400 listing the supported set, never answered with an empty list. |
| limit | integer | Rows to return. Clamped to 200; values outside the range are clamped, not rejected. |
| offset | integer | Rows to skip. Use the returned `next_offset`. |
| enriched_only | string | Keep only relayers whose nonce and gas balance have been read. A row without `enriched_at` has nothing populated but its address. |
{
"name": "list_facilitators",
"title": "Relayers, per chain",
"description": "The facilitators seen relaying settlements, with their known relayer wallets. Paged: this used to return up to 200 rows unpaged, most of their columns null. Null-valued columns are omitted from each row.\n\nWraps GET /v0/facilitators.\nAccess: requires an API key (Authorization: Bearer rh_live_… or x-api-key).\n\nReturns:\n- chain: The chain served — this deployment's default when none was named.\n- facilitators: Facilitator rows, busiest first. Null-valued fields are omitted.\n- next_offset: Offset for the next page, or `null`.\n- meta: The chain served and `as_of`. On an EMPTY list it also carries `dataset_last_written_at`, `dataset_row_count` and any `warnings` (e.g. `endpoints_catalog_stale`) — so a zero can be read as a quiet market or a stalled ingest rather than guessed at.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"chain": {
"type": "string",
"description": "CAIP-2 chain id. Defaults to the chain this deployment indexes (`eip155:8453` in production, `eip155:84532` on staging) — the same default every endpoint on this API uses. A chain the index does not carry is refused with 400 listing the supported set, never answered with an empty list."
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 200,
"minimum": 1,
"description": "Rows to return. Clamped to 200; values outside the range are clamped, not rejected."
},
"offset": {
"type": "integer",
"default": 0,
"description": "Rows to skip. Use the returned `next_offset`."
},
"enriched_only": {
"enum": [
"true"
],
"type": "string",
"description": "Keep only relayers whose nonce and gas balance have been read. A row without `enriched_at` has nothing populated but its address."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Relayers, per chain",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Entities as nodes and settlements aggregated into edges, over a bounded window. Two window forms, and exactly one may be sent: `window=N` is a row count running to the live tip (briefly cacheable); `days=N` covers **whole UTC days only**, excluding today, so an answer is stable for the day. Use `days` for anything an agent will cache. Self-payments are excluded from BOTH edges and node totals and counted in `meta.excluded`, so `sum(node.window_usd)` is exactly twice `sum(edge.usd)`. Wraps GET /v0/graph. Access: requires an API key (Authorization: Bearer rh_live_… or x-api-key). Returns: - applied: Every parameter as APPLIED, not as requested — both windows, the edge cap, the facilitator caps, the chain, the filters. Read this rather than assuming the request was honoured verbatim. `days` and `window` can BOTH be non-null: a wallet-focused day window is read row by row, so a row cap applies inside the declared range and `complete` says whether it bit. - complete: Whether the declared window was read in full. False means a row cap stopped the read inside the range — the response then covers the newest `applied.window` settlements in it, not the whole of it, and `meta.warnings` says so. Only `?days=` with `?wallet=` can be false. - days: The whole-UTC-day window applied, or `null` on the `window=N` path. - since: Inclusive start of the day window, or `null` on the `window=N` path. - until: Exclusive end of the day window (midnight today), or `null` on the `window=N` path. - since_day: The `since` bound as a UTC date, or `null`. - until_day: The `until` bound as a UTC date, or `null`. - mode: `daily` when the answer came from the per-day rollup, which covers the window exactly; `raw` when it was folded from settlement rows. - bucket: What one source row represented: `day` under `mode: daily`, `settlement` under `raw`. - truncated: True when the edge cap dropped edges the window contained. - nodes: One entry per wallet: role, display name, ENS, and its window totals. - edges: Aggregated payer→payee pairs with volume and count. - series: Per-day bucket totals across the window. `null` on the `window=N` path, which is a row count with no day grain to bucket into. - facilitators: Relayers seen in the window, largest first and capped to `applied.facilitators`. `usd`/`count` are the relayer's own window totals; `links` name only wallets present in `nodes`, capped to `applied.facilitator_links`, with `links_total` and `links_truncated` beside them. - window: How the window was read: rows requested, fetched and used. - meta: The chain served, `as_of`, and `excluded` — the self-payments, low-confidence rows, over-cap edges and over-cap facilitators the window held but the graph does not show, so node and edge totals can be reconciled. `below_min_usd` is `null` when `min_usd` was sent: that filter runs at read time, so its exclusions never reach this response and cannot be counted.
The x402 service catalog. Without `q` it is ordered by the catalog's own reported 30-day call count (reported by the source, not indexed by Roundhouse); with `q` it is a relevance search grouped by service, so a mirror host or a listing repeated by several directories is one result. Each row carries the verified volume of the SERVICE it belongs to (settlements a known facilitator relayed, summed over every wallet the service accepts payment at, since `volume_since`), because a settlement carries no resource URL: the figure repeats on each of a service's endpoints and is not that endpoint's own. `concentrated` is true when one payer is at least half of 30-day volume, and `shared_pay_to` when the wallet serves many unrelated listings. A listing is a claim; the observed columns are evidence, so prefer `is_live` with non-zero `l30_unique_payers`. Note the path stays `/v0/endpoints` although the human page moved to `/services`; renaming it would break published integrations. Wraps GET /v0/endpoints. Access: no API key required. Returns: - endpoints: Catalog rows with price, network, payTo, liveness and observed demand. - next_offset: Offset for the next page, or `null` when this page was the last. - meta: The chain served and `as_of`. On an EMPTY list it also carries `dataset_last_written_at`, `dataset_row_count` and any `warnings` (e.g. `endpoints_catalog_stale`) — so a zero can be read as a quiet market or a stalled ingest rather than guessed at.
| Parameter | Type | Description |
|---|---|---|
| q | string | Free-text search over name, description, tags, the service's own web description and the URL's host and path words. Every word must match (any word, when none does), and related terms are expanded, so `virtual card` and `send bank payment` find a card or payout service whose name says neither. Resul… |
| group | string | `endpoint` (default) returns one endpoint per matched service. `service` returns `services`, each with its `endpoints` (up to six matches) and the service's volume, for a caller that wants the whole service. |
| limit | integer |
Every job the catalog is grouped by, with the canonical request and response each provider of that job is mapped onto — which is what lets an agent swap one endpoint for another without changing its code. Static: no market figures here, because each one costs its own catalog walk. Ask `/unified/{slug}` for a capability's offers and going rate. Send `fields=compact` when you are only choosing a capability: the full response carries both IO schemas for all of them. Wraps GET /v0/unified. Access: no API key required. Returns: - capabilities: Slug, name, group, priced unit and — on `fields=full` — summary and the canonical input/output fields. - count: How many capabilities the registry defines. - fields: Which shape was served: `full` or `compact`. - note: Where the market figures for one capability live.
| Parameter | Type | Description |
|---|---|---|
| fields | string | `compact` returns slug, name, group and unit only — enough to pick a capability, without 34 pairs of IO schemas in the payload. |
{
"name": "list_capabilities",
"title": "The capability catalogue",
"description": "Every job the catalog is grouped by, with the canonical request and response each provider of that job is mapped onto — which is what lets an agent swap one endpoint for another without changing its code. Static: no market figures here, because each one costs its own catalog walk. Ask `/unified/{slug}` for a capability's offers and going rate. Send `fields=compact` when you are only choosing a capability: the full response carries both IO schemas for all of them.\n\nWraps GET /v0/unified.\nAccess: no API key required.\n\nReturns:\n- capabilities: Slug, name, group, priced unit and — on `fields=full` — summary and the canonical input/output fields.\n- count: How many capabilities the registry defines.\n- fields: Which shape was served: `full` or `compact`.\n- note: Where the market figures for one capability live.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"fields": {
"enum": [
"full",
"compact"
],
"type": "string",
"default": "full",
"description": "`compact` returns slug, name, group and unit only — enough to pick a capability, without 34 pairs of IO schemas in the payload."
}
},
"additionalProperties": false
},
"annotations": {
"title": "The capability catalogue",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Every indexed endpoint that does this job, with the market's going rate. `price.spot` is the call-WEIGHTED price, not the median — a median counts one wallet's forty near-identical listings as forty votes for its price. Check `price.spot_basis`: `median` means no offer reported any calls and the figure is a fallback, which does not mean the same thing as a market rate. `truncated: true` means the offer list is a floor. `catalog_read_at` says when the figures were read. Wraps GET /v0/unified/{slug}. Access: no API key required. Returns: - capability: The registry entry: the job, its priced unit, and its canonical request/response. - price: Going rate (`spot`), its basis, and the min / p25 / median / p75 / max spread. - stats: How many offers, distinct providers, distinct hosts, and how many were answering when last probed. - models: For inference capabilities: which model families are sold here, and by how many providers. - offers: Each endpoint, its listed price, its index against spot (100 = the going rate), and its reported 30-day demand. - truncated: True when the candidate read hit its cap, so the offer list is a floor rather than the whole market. - catalog_read_at: When the catalog rows behind these figures were read. A capability is read at most once an hour and answered from that read in between. - stale: True when that read is over an hour old and a newer one is not in yet. Never older than a day: past that the endpoint answers 503 instead.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | Capability slug, from `/v0/unified`. |
| limit | integer | Rows to return. Clamped to 200; values outside the range are clamped, not rejected. |
| probable | boolean | Include endpoints the matcher was not confident about. Off by default: grouping two endpoints that do different jobs invents a cheaper competitor that does not exist. |
A ranked shortlist of endpoints that do this job, under criteria you choose and the response echoes back. Every term is something the endpoint publishes about itself — its listed price against the going rate, and its own reported demand. Roundhouse does not endorse any provider, and there is no cross-capability ranking. Only confident matches are ever recommended. Wraps GET /v0/unified/{slug}/recommend. Access: no API key required. Returns: - capability: The registry entry for the job being shortlisted. - criteria: Your criteria, echoed — a recommendation whose basis is invisible is an opinion. - price: The capability's going rate, so each candidate's index has context. - candidates: Ranked endpoints, each with `reasons` for where it placed. - considered: How many confident offers were ranked before filters. - excluded: How many were dropped, by which filter. - truncated: True when the candidate read hit its cap. - catalog_read_at: When the catalog rows behind this shortlist were read. - stale: True when that read is over an hour old and a newer one is not in yet. - note: What the ranking is and is not — Roundhouse endorses no provider.
| Parameter | Type | Description |
|---|---|---|
| live | boolean | Only endpoints answering when last probed. |
| slug * | string | Capability slug, from `/v0/unified`. |
| limit | integer | Rows to return. Clamped to 25; values outside the range are clamped, not rejected. |
| model | string | Require the endpoint to name this model family (inference capabilities only). |
| prefer | string | What to weight: cheapest, most-used, or an even split. |
| max_price |
One `SELECT` (or `WITH`) over the public data-layer tables. Enforced in the database, not the worker: a read-only transaction as a role that can see only those tables, a statement timeout set by the TIER, and a hard 300-row cap. No semicolons, no comments, no multi-statement. Priced by the time it takes: one Query Unit per started 5 seconds, floor of 1 — so a query that answers quickly costs 1, which is what every query cost before this was metered. `tier` buys the ceiling (`standard` 15s, `extended` 60s and a paid plan); the tier maximum is HELD when the call starts and the unused part released the moment the duration is known, so `usage.units_charged` on the response is the settled figure. Call `get_account` for the tier table, or send `explain_only` to be quoted without running or paying for anything. Wraps POST /v0/sql. Access: an organization API key on any plan, metered against that organization’s Query Unit balance at 1 unit per started 5 seconds of query time. A paid plan buys the longer 60-second tier, not the route. A trial key belongs to no organization and is refused with the x402 price of one query instead of being served. Returns: - rows: Result rows. - row_count: Number of rows returned. - duration_ms: Server-side execution time. This is what the call is priced on. - authenticated: Whether a key was accepted. - tier: The CREDENTIAL: `anonymous`, `trial`, or an organization tier. - sql_tier: The QUERY: which ceiling this run was given and priced at. A separate field from `tier`, which has always meant the credential. - quote: What the query was quoted at before it ran: the tier's ceiling and price bounds, plus the planner's own `planner_cost` and `plan_rows`. The planner figures are ADVISORY — arbitrary units, uncalibrated against this schema — and never charge anything; settlement is from measured duration, which needs no calibration to be right. - usage: What this call cost and what is left. `units_charged` is SETTLED, not the hold: the tier maximum is taken up front and the unused part released once the duration is known.
| Parameter | Type | Description |
|---|---|---|
| sql * | string | A single read-only SELECT (or WITH) statement over the public dataset. No semicolons, no comments, no platform internals. Row cap 300. |
| limit |
Roundhouse indexes x402 settlements on the chains it lists (every row carries its CAIP-2 chain_id): who paid whom, for what, through which facilitator. Three conventions matter when reading these tools: - A tool that fails returns isError with the reason. It never returns an empty list to mean "the query broke" — an empty array is a real answer to a query that succeeded and matched nothing. - Cursor lists return next_before. Pass it back as the `before` argument. It encodes the whole sort key, so do not parse one or build one by hand. - A figure is stated with its basis and window. Entity figures are that entity's own, read from the rollups rather than counted off a page. Reading the settlement index needs a credential: an API key sent as `Authorization: Bearer rh_live_…` or `x-api-key`, or an OAuth 2.1 access token if your client signed in with a Roundhouse login. The capability tools and the service directory work without either. Keys: https://roundhouseai.io/dashboard/connections
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| string |
| Set to `true` to drop rows where payer = payee. Off by default: a feed is a record of what happened and a wallet paying itself did happen, so the rows are ANNOTATED (`is_self_payment`) rather than hidden. Applied after the page is read, so a filtered page can be short of `limit` while more rows rema… |
{
"name": "list_transactions",
"title": "Global settlement feed",
"description": "Every indexed settlement, newest first, filterable by how confidently it is known to be an x402 payment.\n\nWraps GET /v0/transactions.\nAccess: requires an API key (Authorization: Bearer rh_live_… or x-api-key).\n\nReturns:\n- transactions: Settlement rows, newest first. Each row also carries `is_self_payment` (payer = payee, annotated rather than only excluded — a third of the feed can be self-payment) and `evidence`: `{ verified, method, probability, tier }`. `verified` is THREE-VALUED — `true` a named facilitator relayed it, `false` examined with no EIP-3009 marker, and `null` gasless and authorized but NOT ESTABLISHED as x402, which is not the same as disproven. `tier` is `proven` | `probable` | `unproven` | `not_x402` | `ungraded`.\n- next_before: Cursor for the next page, or `null`. Minted from the rows READ, not the rows shown, so `exclude_self_payments` cannot end the walk early.\n- meta: The chain served and `as_of`. On a non-empty page `meta` also carries `page_self_payments`, `page_self_payment_usd`, `page_gross_usd` and `page_organic_usd`. All four are THIS PAGE only, as the names say: they are not site-wide figures and summing them across pages is not a total. `self_payments_excluded` is set when the page was filtered.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Rows to return. Clamped to 100; values outside the range are clamped, not rejected."
},
"before": {
"type": "string",
"description": "Opaque cursor from a previous response's `next_before`. It encodes the whole sort key, tiebreaker included, so a page boundary inside a group of rows sharing a timestamp does not skip the rest. Do not parse it or build one by hand."
},
"min_probability": {
"type": "number",
"description": "Keep only rows at or above this x402 confidence. `1.0` is proven by a named facilitator having relayed it; `0.05` is a bare transfer to a catalogued address. Read `evidence` on the row rather than thresholding this number blind — the ladder has five rungs and the gap that matters is `verified: true` against `verified: null`, not a decimal."
},
"exclude_self_payments": {
"enum": [
"true",
"false",
"1",
"0"
],
"type": "string",
"description": "Set to `true` to drop rows where payer = payee. Off by default: a feed is a record of what happened and a wallet paying itself did happen, so the rows are ANNOTATED (`is_self_payment`) rather than hidden. Applied after the page is read, so a filtered page can be short of `limit` while more rows remain — keep following `next_before`."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Global settlement feed",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}{
"name": "list_entity_settlements",
"title": "Settlements for one wallet",
"description": "Settlements where this wallet is either the payer or the payee, newest first. Walkable deeply in time order: `(payer, block_time desc)` and `(payee, block_time desc)` cover it, so page N costs what page 1 does and a wallet's whole history can be paged for velocity or trend.\n\nWraps GET /v0/entities/{wallet}/settlements.\nAccess: requires an API key (Authorization: Bearer rh_live_… or x-api-key).\n\nReturns:\n- wallet: The wallet queried, lowercased.\n- settlements: Settlement rows, newest first, decorated with resolved display names. Each row also carries `is_self_payment` (payer = payee, annotated rather than only excluded — a third of the feed can be self-payment) and `evidence`: `{ verified, method, probability, tier }`. `verified` is THREE-VALUED — `true` a named facilitator relayed it, `false` examined with no EIP-3009 marker, and `null` gasless and authorized but NOT ESTABLISHED as x402, which is not the same as disproven. `tier` is `proven` | `probable` | `unproven` | `not_x402` | `ungraded`.\n- next_before: Cursor for the next page, or `null`.\n- meta: The chain served and `as_of`. On a non-empty page `meta` also carries `page_self_payments`, `page_self_payment_usd`, `page_gross_usd` and `page_organic_usd`. All four are THIS PAGE only, as the names say: they are not site-wide figures and summing them across pages is not a total.",
"inputSchema": {
"type": "object",
"required": [
"wallet"
],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Rows to return. Clamped to 100; values outside the range are clamped, not rejected."
},
"before": {
"type": "string",
"description": "Opaque cursor from a previous response's `next_before`. It encodes the whole sort key, tiebreaker included, so a page boundary inside a group of rows sharing a timestamp does not skip the rest. Do not parse it or build one by hand."
},
"wallet": {
"type": "string",
"description": "An EVM address (`0x` + 40 hex digits; case-insensitive, lowercased before lookup) or a Solana address (base58; case-sensitive, used exactly as given). An address the index has not observed answers `coverage.known: false`, not zeros."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Settlements for one wallet",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}| Parameter | Type | Description |
|---|
| wallet * | string | An EVM address (`0x` + 40 hex digits; case-insensitive, lowercased before lookup) or a Solana address (base58; case-sensitive, used exactly as given). An address the index has not observed answers `coverage.known: false`, not zeros. |
| recent_limit | integer | Settlement rows to embed in the profile. 0 omits them. Default 5 — this was an unbounded 25, which is most of the payload on a surface where a response is billed as context tokens. |
{
"name": "get_agent",
"title": "Per-agent stats and identity",
"description": "One wallet in its paying role: its resolved identity and its own settlement aggregates. Every figure is that wallet's own — there are no site-wide totals on this endpoint.\n\nWraps GET /v0/agents/{wallet}.\nAccess: requires an API key (Authorization: Bearer rh_live_… or x-api-key).\n\nReturns:\n- wallet: The wallet queried, lowercased.\n- role: The role it was queried in: `agent` or `merchant`.\n- coverage: **Read this first.** `known` false means the index has never observed this address, so every figure below is a zero meaning \"not observed\" — not \"observed to be nothing\". Also `first_seen`, `last_seen`, `settlements_scanned`, `scan_truncated` and `scan_cap`.\n- entities: Resolved identity rows: display name, ENS, ERC-8004 card, role, first and last seen.\n- erc8004_agents: ERC-8004 registrations whose on-chain agentWallet is this address.\n- aggregates: That wallet's own totals: inbound/outbound USD and counts, distinct counterparties, chain split. `basis` says what they were computed over — `index_rollup` is the whole history, `scanned_settlements` is the capped scan and is a floor when `coverage.scan_truncated` is set. `distinct_counterparties` excludes the wallet itself on both bases. `chain_split` is the exception and carries its own `chain_split_basis`: the rollup is keyed by wallet and holds no chain dimension, so that split is ALWAYS the scan and is capped with it, whatever the object-level `basis` says.\n- data_quality: The risk annotation. **Route on `verdict`, not on `note`.** `verdict` is one of `unobserved` (never seen — nothing assessed), `patterns_detected`, `no_patterns_detected`, or `insufficient_evidence` — the last meaning the address WAS observed, nothing fired, and not enough of its history was examined for that to rule anything out. `checks` carries every check with its `threshold`, what was `observed`, its own `basis`, and `conclusive`: a check that FIRED is always conclusive (a pattern seen in a sample happened), a check that did not fire on a truncated scan is not. `note` says the same thing in a sentence and is derived from the two.\n- recent: A slice of its activity, `recent_limit` rows (default 5). Each row also carries `is_self_payment` (payer = payee, annotated rather than only excluded — a third of the feed can be self-payment) and `evidence`: `{ verified, method, probability, tier }`. `verified` is THREE-VALUED — `true` a named facilitator relayed it, `false` examined with no EIP-3009 marker, and `null` gasless and authorized but NOT ESTABLISHED as x402, which is not the same as disproven. `tier` is `proven` | `probable` | `unproven` | `not_x402` | `ungraded`.",
"inputSchema": {
"type": "object",
"required": [
"wallet"
],
"properties": {
"wallet": {
"type": "string",
"description": "An EVM address (`0x` + 40 hex digits; case-insensitive, lowercased before lookup) or a Solana address (base58; case-sensitive, used exactly as given). An address the index has not observed answers `coverage.known: false`, not zeros."
},
"recent_limit": {
"type": "integer",
"default": 5,
"maximum": 50,
"minimum": 0,
"description": "Settlement rows to embed in the profile. 0 omits them. Default 5 — this was an unbounded 25, which is most of the payload on a surface where a response is billed as context tokens."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Per-agent stats and identity",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}| Type |
|---|
| Description |
|---|
| wallet * | string | An EVM address (`0x` + 40 hex digits; case-insensitive, lowercased before lookup) or a Solana address (base58; case-sensitive, used exactly as given). An address the index has not observed answers `coverage.known: false`, not zeros. |
| recent_limit | integer | Settlement rows to embed in the profile. 0 omits them. Default 5 — this was an unbounded 25, which is most of the payload on a surface where a response is billed as context tokens. |
{
"name": "get_merchant",
"title": "Per-merchant stats and identity",
"description": "The same shape as `/agents/{wallet}`, for a wallet in its receiving role.\n\nWraps GET /v0/merchants/{wallet}.\nAccess: requires an API key (Authorization: Bearer rh_live_… or x-api-key).\n\nReturns:\n- wallet: The wallet queried, lowercased.\n- role: The role it was queried in: `agent` or `merchant`.\n- coverage: **Read this first.** `known` false means the index has never observed this address, so every figure below is a zero meaning \"not observed\" — not \"observed to be nothing\". Also `first_seen`, `last_seen`, `settlements_scanned`, `scan_truncated` and `scan_cap`.\n- entities: Resolved identity rows: display name, ENS, ERC-8004 card, role, first and last seen.\n- erc8004_agents: ERC-8004 registrations whose on-chain agentWallet is this address.\n- aggregates: That wallet's own totals: inbound/outbound USD and counts, distinct counterparties, chain split. `basis` says what they were computed over — `index_rollup` is the whole history, `scanned_settlements` is the capped scan and is a floor when `coverage.scan_truncated` is set. `distinct_counterparties` excludes the wallet itself on both bases. `chain_split` is the exception and carries its own `chain_split_basis`: the rollup is keyed by wallet and holds no chain dimension, so that split is ALWAYS the scan and is capped with it, whatever the object-level `basis` says.\n- data_quality: The risk annotation. **Route on `verdict`, not on `note`.** `verdict` is one of `unobserved` (never seen — nothing assessed), `patterns_detected`, `no_patterns_detected`, or `insufficient_evidence` — the last meaning the address WAS observed, nothing fired, and not enough of its history was examined for that to rule anything out. `checks` carries every check with its `threshold`, what was `observed`, its own `basis`, and `conclusive`: a check that FIRED is always conclusive (a pattern seen in a sample happened), a check that did not fire on a truncated scan is not. `note` says the same thing in a sentence and is derived from the two.\n- recent: A slice of its activity, `recent_limit` rows (default 5). Each row also carries `is_self_payment` (payer = payee, annotated rather than only excluded — a third of the feed can be self-payment) and `evidence`: `{ verified, method, probability, tier }`. `verified` is THREE-VALUED — `true` a named facilitator relayed it, `false` examined with no EIP-3009 marker, and `null` gasless and authorized but NOT ESTABLISHED as x402, which is not the same as disproven. `tier` is `proven` | `probable` | `unproven` | `not_x402` | `ungraded`.",
"inputSchema": {
"type": "object",
"required": [
"wallet"
],
"properties": {
"wallet": {
"type": "string",
"description": "An EVM address (`0x` + 40 hex digits; case-insensitive, lowercased before lookup) or a Solana address (base58; case-sensitive, used exactly as given). An address the index has not observed answers `coverage.known: false`, not zeros."
},
"recent_limit": {
"type": "integer",
"default": 5,
"maximum": 50,
"minimum": 0,
"description": "Settlement rows to embed in the profile. 0 omits them. Default 5 — this was an unbounded 25, which is most of the payload on a surface where a response is billed as context tokens."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Per-merchant stats and identity",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}{
"name": "list_agents",
"title": "Indexed ERC-8004 agents",
"description": "Agents read from the on-chain IdentityRegistry, with their registration card and payment wallet. `score` is the ERC-8004 reputation score derived from on-chain feedback — it is the REGISTRY's number, not a Roundhouse rating, and it is null for every agent no counterparty has left feedback for. Roundhouse publishes no trust score of its own.\n\nWraps GET /v0/agents.\nAccess: requires an API key (Authorization: Bearer rh_live_… or x-api-key).\n\nReturns:\n- agents: Agent rows with identity, wallet and the ERC-8004 `score` (null where the registry holds no feedback). `x402_support` is the registration card's own declaration; `last_activity_at` and `activity_status` are the observed halves, derived from settlements and feedback.\n- next_before: Cursor for the next page, or `null`.\n- meta: The chain served and `as_of`. On an EMPTY list it also carries `dataset_last_written_at`, `dataset_row_count` and any `warnings` (e.g. `endpoints_catalog_stale`) — so a zero can be read as a quiet market or a stalled ingest rather than guessed at.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"q": {
"type": "string",
"description": "Free-text search over name and description."
},
"x402": {
"enum": [
"true"
],
"type": "string",
"description": "The earlier name for `x402_declared`, kept because it is published and a caller sending it wants the same rows. Prefer `x402_declared`, whose name says what it reads. Sending both uses `x402_declared`."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Rows to return. Clamped to 100; values outside the range are clamped, not rejected."
},
"before": {
"type": "string",
"description": "Opaque cursor from a previous response's `next_before`. It encodes the whole sort key, tiebreaker included, so a page boundary inside a group of rows sharing a timestamp does not skip the rest. Do not parse it or build one by hand."
},
"x402_declared": {
"enum": [
"true"
],
"type": "string",
"description": "Set to `true` to keep only agents whose own ERC-8004 registration card declares x402 support (`x402Support: true`). This is the agent's CLAIM ABOUT ITSELF, copied out of a document its owner wrote, and it is not evidence of anything: four of five agents on a page of this filter had `last_activity_at: null`, `activity_status: \"unknown\"` and no feedback — never observed doing anything. It was named `x402` and documented as \"observed on-chain x402 payments\", which is the one confusion this index exists to prevent. The old name still works and means the same thing. There is no observed equivalent yet: `agents` carries no per-wallet settlement column, and the weekly activity scan that would populate one covers five agents a run against tens of thousands, so a filter built on it would answer \"not observed\" about agents nobody has looked at. To screen on evidence today, take the `agent_wallet` and call `get_agent` / `list_entity_settlements` with it."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Indexed ERC-8004 agents",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}| Parameter | Type | Description |
|---|---|---|
| via | string | Restrict to settlements relayed by this facilitator key or wallet. |
| days | integer | Whole UTC days, excluding today, honoured exactly: `days=1` is one day. Mutually exclusive with `window`. Out of `[1,180]` is refused rather than clamped. |
| chain | string | CAIP-2 chain id. Defaults to the chain this deployment indexes (`eip155:8453` in production, `eip155:84532` on staging) — the same default every endpoint on this API uses. A chain the index does not carry is refused with 400 listing the supported set, never answered with an empty list. |
| edges | integer | Hard cap on edges returned, highest volume first. Honoured exactly; `truncated` says whether it bit. |
| wallet | string | Restrict to edges touching this wallet. Must be a well-formed EVM address (case-insensitive) or Solana address (base58, case-sensitive). |
| window | integer | Row count back from the live tip. Mutually exclusive with `days` — sending both is refused with 400, not silently resolved in favour of one. |
| min_usd | number | Drop settlements below this USD value. |
| min_probability | number | Minimum x402 confidence, in `[0,1]`. Default 0.5. |
{
"name": "get_graph",
"title": "Payment graph: nodes and payer→payee edges",
"description": "Entities as nodes and settlements aggregated into edges, over a bounded window. Two window forms, and exactly one may be sent: `window=N` is a row count running to the live tip (briefly cacheable); `days=N` covers **whole UTC days only**, excluding today, so an answer is stable for the day. Use `days` for anything an agent will cache. Self-payments are excluded from BOTH edges and node totals and counted in `meta.excluded`, so `sum(node.window_usd)` is exactly twice `sum(edge.usd)`.\n\nWraps GET /v0/graph.\nAccess: requires an API key (Authorization: Bearer rh_live_… or x-api-key).\n\nReturns:\n- applied: Every parameter as APPLIED, not as requested — both windows, the edge cap, the facilitator caps, the chain, the filters. Read this rather than assuming the request was honoured verbatim. `days` and `window` can BOTH be non-null: a wallet-focused day window is read row by row, so a row cap applies inside the declared range and `complete` says whether it bit.\n- complete: Whether the declared window was read in full. False means a row cap stopped the read inside the range — the response then covers the newest `applied.window` settlements in it, not the whole of it, and `meta.warnings` says so. Only `?days=` with `?wallet=` can be false.\n- days: The whole-UTC-day window applied, or `null` on the `window=N` path.\n- since: Inclusive start of the day window, or `null` on the `window=N` path.\n- until: Exclusive end of the day window (midnight today), or `null` on the `window=N` path.\n- since_day: The `since` bound as a UTC date, or `null`.\n- until_day: The `until` bound as a UTC date, or `null`.\n- mode: `daily` when the answer came from the per-day rollup, which covers the window exactly; `raw` when it was folded from settlement rows.\n- bucket: What one source row represented: `day` under `mode: daily`, `settlement` under `raw`.\n- truncated: True when the edge cap dropped edges the window contained.\n- nodes: One entry per wallet: role, display name, ENS, and its window totals.\n- edges: Aggregated payer→payee pairs with volume and count.\n- series: Per-day bucket totals across the window. `null` on the `window=N` path, which is a row count with no day grain to bucket into.\n- facilitators: Relayers seen in the window, largest first and capped to `applied.facilitators`. `usd`/`count` are the relayer's own window totals; `links` name only wallets present in `nodes`, capped to `applied.facilitator_links`, with `links_total` and `links_truncated` beside them.\n- window: How the window was read: rows requested, fetched and used.\n- meta: The chain served, `as_of`, and `excluded` — the self-payments, low-confidence rows, over-cap edges and over-cap facilitators the window held but the graph does not show, so node and edge totals can be reconciled. `below_min_usd` is `null` when `min_usd` was sent: that filter runs at read time, so its exclusions never reach this response and cannot be counted.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"via": {
"type": "string",
"description": "Restrict to settlements relayed by this facilitator key or wallet."
},
"days": {
"type": "integer",
"maximum": 180,
"minimum": 1,
"description": "Whole UTC days, excluding today, honoured exactly: `days=1` is one day. Mutually exclusive with `window`. Out of `[1,180]` is refused rather than clamped."
},
"chain": {
"type": "string",
"description": "CAIP-2 chain id. Defaults to the chain this deployment indexes (`eip155:8453` in production, `eip155:84532` on staging) — the same default every endpoint on this API uses. A chain the index does not carry is refused with 400 listing the supported set, never answered with an empty list."
},
"edges": {
"type": "integer",
"maximum": 4000,
"minimum": 1,
"description": "Hard cap on edges returned, highest volume first. Honoured exactly; `truncated` says whether it bit."
},
"wallet": {
"type": "string",
"description": "Restrict to edges touching this wallet. Must be a well-formed EVM address (case-insensitive) or Solana address (base58, case-sensitive)."
},
"window": {
"type": "integer",
"default": 500,
"maximum": 1000,
"minimum": 50,
"description": "Row count back from the live tip. Mutually exclusive with `days` — sending both is refused with 400, not silently resolved in favour of one."
},
"min_usd": {
"type": "number",
"description": "Drop settlements below this USD value."
},
"min_probability": {
"type": "number",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"description": "Minimum x402 confidence, in `[0,1]`. Default 0.5."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Payment graph: nodes and payer→payee edges",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}| Rows to return. Clamped to 200; values outside the range are clamped, not rejected. |
| fields | string | `compact` returns name, resource, price, network, payTo and liveness only — no description, icon or tags — which is roughly a third of the payload. |
| offset | integer | Rows to skip. Use the returned `next_offset`. |
{
"name": "list_services",
"title": "Indexed x402 service directory",
"description": "The x402 service catalog. Without `q` it is ordered by the catalog's own reported 30-day call count (reported by the source, not indexed by Roundhouse); with `q` it is a relevance search grouped by service, so a mirror host or a listing repeated by several directories is one result. Each row carries the verified volume of the SERVICE it belongs to (settlements a known facilitator relayed, summed over every wallet the service accepts payment at, since `volume_since`), because a settlement carries no resource URL: the figure repeats on each of a service's endpoints and is not that endpoint's own. `concentrated` is true when one payer is at least half of 30-day volume, and `shared_pay_to` when the wallet serves many unrelated listings. A listing is a claim; the observed columns are evidence, so prefer `is_live` with non-zero `l30_unique_payers`. Note the path stays `/v0/endpoints` although the human page moved to `/services`; renaming it would break published integrations.\n\nWraps GET /v0/endpoints.\nAccess: no API key required.\n\nReturns:\n- endpoints: Catalog rows with price, network, payTo, liveness and observed demand.\n- next_offset: Offset for the next page, or `null` when this page was the last.\n- meta: The chain served and `as_of`. On an EMPTY list it also carries `dataset_last_written_at`, `dataset_row_count` and any `warnings` (e.g. `endpoints_catalog_stale`) — so a zero can be read as a quiet market or a stalled ingest rather than guessed at.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"q": {
"type": "string",
"description": "Free-text search over name, description, tags, the service's own web description and the URL's host and path words. Every word must match (any word, when none does), and related terms are expanded, so `virtual card` and `send bank payment` find a card or payout service whose name says neither. Results are one per service."
},
"group": {
"enum": [
"endpoint",
"service"
],
"type": "string",
"default": "endpoint",
"description": "`endpoint` (default) returns one endpoint per matched service. `service` returns `services`, each with its `endpoints` (up to six matches) and the service's volume, for a caller that wants the whole service."
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 50,
"minimum": 1,
"description": "Rows to return. Clamped to 200; values outside the range are clamped, not rejected."
},
"fields": {
"enum": [
"full",
"compact"
],
"type": "string",
"default": "full",
"description": "`compact` returns name, resource, price, network, payTo and liveness only — no description, icon or tags — which is roughly a third of the payload."
},
"offset": {
"type": "integer",
"default": 0,
"description": "Rows to skip. Use the returned `next_offset`."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Indexed x402 service directory",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}{
"name": "get_capability",
"title": "One capability: who offers it, and what it costs",
"description": "Every indexed endpoint that does this job, with the market's going rate. `price.spot` is the call-WEIGHTED price, not the median — a median counts one wallet's forty near-identical listings as forty votes for its price. Check `price.spot_basis`: `median` means no offer reported any calls and the figure is a fallback, which does not mean the same thing as a market rate. `truncated: true` means the offer list is a floor. `catalog_read_at` says when the figures were read.\n\nWraps GET /v0/unified/{slug}.\nAccess: no API key required.\n\nReturns:\n- capability: The registry entry: the job, its priced unit, and its canonical request/response.\n- price: Going rate (`spot`), its basis, and the min / p25 / median / p75 / max spread.\n- stats: How many offers, distinct providers, distinct hosts, and how many were answering when last probed.\n- models: For inference capabilities: which model families are sold here, and by how many providers.\n- offers: Each endpoint, its listed price, its index against spot (100 = the going rate), and its reported 30-day demand.\n- truncated: True when the candidate read hit its cap, so the offer list is a floor rather than the whole market.\n- catalog_read_at: When the catalog rows behind these figures were read. A capability is read at most once an hour and answered from that read in between.\n- stale: True when that read is over an hour old and a newer one is not in yet. Never older than a day: past that the endpoint answers 503 instead.",
"inputSchema": {
"type": "object",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"description": "Capability slug, from `/v0/unified`."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Rows to return. Clamped to 200; values outside the range are clamped, not rejected."
},
"probable": {
"type": "boolean",
"default": false,
"description": "Include endpoints the matcher was not confident about. Off by default: grouping two endpoints that do different jobs invents a cheaper competitor that does not exist."
}
},
"additionalProperties": false
},
"annotations": {
"title": "One capability: who offers it, and what it costs",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}| number |
| Hard ceiling in USDC per call. Endpoints with no published price are excluded when set. |
{
"name": "recommend_capability_offers",
"title": "Shortlist endpoints for a capability",
"description": "A ranked shortlist of endpoints that do this job, under criteria you choose and the response echoes back. Every term is something the endpoint publishes about itself — its listed price against the going rate, and its own reported demand. Roundhouse does not endorse any provider, and there is no cross-capability ranking. Only confident matches are ever recommended.\n\nWraps GET /v0/unified/{slug}/recommend.\nAccess: no API key required.\n\nReturns:\n- capability: The registry entry for the job being shortlisted.\n- criteria: Your criteria, echoed — a recommendation whose basis is invisible is an opinion.\n- price: The capability's going rate, so each candidate's index has context.\n- candidates: Ranked endpoints, each with `reasons` for where it placed.\n- considered: How many confident offers were ranked before filters.\n- excluded: How many were dropped, by which filter.\n- truncated: True when the candidate read hit its cap.\n- catalog_read_at: When the catalog rows behind this shortlist were read.\n- stale: True when that read is over an hour old and a newer one is not in yet.\n- note: What the ranking is and is not — Roundhouse endorses no provider.",
"inputSchema": {
"type": "object",
"required": [
"slug"
],
"properties": {
"live": {
"type": "boolean",
"default": false,
"description": "Only endpoints answering when last probed."
},
"slug": {
"type": "string",
"description": "Capability slug, from `/v0/unified`."
},
"limit": {
"type": "integer",
"default": 5,
"maximum": 25,
"minimum": 1,
"description": "Rows to return. Clamped to 25; values outside the range are clamped, not rejected."
},
"model": {
"type": "string",
"description": "Require the endpoint to name this model family (inference capabilities only)."
},
"prefer": {
"enum": [
"balanced",
"price",
"demand"
],
"type": "string",
"default": "balanced",
"description": "What to weight: cheapest, most-used, or an even split."
},
"max_price": {
"type": "number",
"description": "Hard ceiling in USDC per call. Endpoints with no published price are excluded when set."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Shortlist endpoints for a capability",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}| integer |
| Rows to return. Clamped to 300. |
{
"name": "run_sql",
"title": "Read-only SQL over the public dataset",
"description": "One `SELECT` (or `WITH`) over the public data-layer tables. Enforced in the database, not the worker: a read-only transaction as a role that can see only those tables, a statement timeout set by the TIER, and a hard 300-row cap. No semicolons, no comments, no multi-statement.\n\nPriced by the time it takes: one Query Unit per started 5 seconds, floor of 1 — so a query that answers quickly costs 1, which is what every query cost before this was metered. `tier` buys the ceiling (`standard` 15s, `extended` 60s and a paid plan); the tier maximum is HELD when the call starts and the unused part released the moment the duration is known, so `usage.units_charged` on the response is the settled figure. Call `get_account` for the tier table, or send `explain_only` to be quoted without running or paying for anything.\n\nWraps POST /v0/sql.\nAccess: an organization API key on any plan, metered against that organization’s Query Unit balance at 1 unit per started 5 seconds of query time. A paid plan buys the longer 60-second tier, not the route. A trial key belongs to no organization and is refused with the x402 price of one query instead of being served.\n\nReturns:\n- rows: Result rows.\n- row_count: Number of rows returned.\n- duration_ms: Server-side execution time. This is what the call is priced on.\n- authenticated: Whether a key was accepted.\n- tier: The CREDENTIAL: `anonymous`, `trial`, or an organization tier.\n- sql_tier: The QUERY: which ceiling this run was given and priced at. A separate field from `tier`, which has always meant the credential.\n- quote: What the query was quoted at before it ran: the tier's ceiling and price bounds, plus the planner's own `planner_cost` and `plan_rows`. The planner figures are ADVISORY — arbitrary units, uncalibrated against this schema — and never charge anything; settlement is from measured duration, which needs no calibration to be right.\n- usage: What this call cost and what is left. `units_charged` is SETTLED, not the hold: the tier maximum is taken up front and the unused part released once the duration is known.",
"inputSchema": {
"type": "object",
"required": [
"sql"
],
"properties": {
"sql": {
"type": "string",
"description": "A single read-only SELECT (or WITH) statement over the public dataset. No semicolons, no comments, no platform internals. Row cap 300."
},
"limit": {
"type": "integer",
"default": 100,
"maximum": 300,
"minimum": 1,
"description": "Rows to return. Clamped to 300."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read-only SQL over the public dataset",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}