agentSearch
Lists the agents in Arc's ERC-8004 IdentityRegistry that match what their registration files declare.
Cost: 0.005 USDC per call, paid over x402.
Inputs:
chainId(path). Optional body filtersquery,capabilities,protocolsandfetchStatus, andafterandlimitto page. Every filter given must hold.Returns: a page of agents by
agentIdascending, each with its on-chain facts and what its last good registration file declares. UsenextAfterasafterfor the next page. Declarations are the agent's own claims. Feedback never orders or filters the results.Errors:
404
unknown_chain: use the chain this deployment serves.
Next:
agentProfile: read one agent's checks and feedback.
Costs 5000 base units (0.005 USDC) per call. Or send an account's key in the ARCGATE-KEY header on the MCP connection to pay in units instead. Payment goes in params._meta["x402/payment"]; use an x402-aware MCP client (see https://docs.arcgate.dev/#arcgate/description/mcp-for-agents).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Return only agents with a greater agentId: pass the previous page's nextAfter. Omit for the first page. | |
| limit | No | Most agents to return, 1-50. | |
| query | No | Case-insensitive text the agent's registration-file name or description contains. A literal substring: no wildcards. | |
| chainId | Yes | The chain's EIP-155 id, e.g. 5042 for Arc mainnet. Only the chain this deployment serves is answered; any other is 404 unknown_chain. | |
| protocols | No | Protocols the agent must declare, every one: MCP or A2A as a service in its registration file, x402 as x402Support true. | |
| fetchStatus | No | The registration file's fetch state: fetched (the last attempt succeeded), failed (it did not) or never_fetched (not tried yet). | |
| capabilities | No | Declared capabilities the agent must have: every one, not any. |