Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man agent-card-resolve

/agent-card-resolve(1)

agentutility / edge-market / agent-card-resolve
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarket
CATEGORY
uncategorized
STATUS
live
NAME
agent-card-resolve agent card resolver / erc-8004 identity registry lookup / trustless agents / agentid → owner + agenturi / a2a identity / agent.json fetch…
SYNOPSIS
POST https://x402.org/v1/agent-card-resolve
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Agent card resolver / ERC-8004 Identity Registry lookup / Trustless Agents / agentId → owner + agentURI / A2A identity / agent.json fetch / on-chain agent metadata. Pass an ERC-8004 agentId (uint256 on Base) — returns the on-chain owner address, the agentURI from the Identity Registry, and the resolved agent card JSON (set fetch_card=false to skip the HTTP follow-up). Reads from Base mainnet Identity Registry 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432 via a static eth_call (no gas, no wallet). Useful for agents discovering peers in the A2A ecosystem.

INPUTrequest schema
propertytypedescriptionreq?
agent_idinteger | stringERC-8004 agentId on Base — non-negative integer. Accepted as number or decimal string.required
fetch_cardbooleanIf true (default), also fetches the resolved agentURI and embeds the JSON agent card in the response. Set false to skip the HTTP fetch.optional
OUTPUTresponse shape
fieldtypedescription
agent_idnumberERC-8004 agentId (uint256) that was resolved on the Base Identity Registry.
networkstringChain the registry was read from, e.g. "base" for Base mainnet.
identity_registrystringContract address of the ERC-8004 Identity Registry on Base used for the lookup.
ownerstringOn-chain owner address returned by the Identity Registry for this agentId.
agent_uristringagentURI string stored on-chain for this agent, typically an https:// or ipfs:// URL.
agent_cardobjectResolved agent card JSON fetched from agentURI; null when fetch_card=false or fetch failed.
agent_card_fetch_errorstringnullError message if the agentURI HTTP fetch failed, otherwise null.
rpc_usedstringBase RPC endpoint URL that served the eth_call for the registry read.
sourcestringIdentifier of the resolver service that produced this response.
attributionstringCredit string pointing back to the x402 agent-card-resolve endpoint.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/agent-card-resolve \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the agent-card-resolve tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
erc-8004agentidentityregistrytrustless-agentsa2abase
methods
POST
cluster
edgemarket
price
$0.005 USDC per call
ADJACENTother endpoints in edgemarket
endpointdescriptionprice
arbitrage-spreadCross-exchange arbitrage spread / max-min price / CEX price dispersion / spread % calculator.$0.005
basename-resolveBasename resolver / Coinbase Basenames / .base.eth lookup / Base name service / on-chain name resolution.$0.005
defi-yield-poolsDeFi yield pools / APY aggregator / yield-farming opportunities / DeFiLlama yields / cross-protocol APY ranking / stablecoin yields / LP…$0.005
ipfs-fetchIPFS fetch / IPFS gateway / Web3 storage retrieval / NFT metadata fetcher / Filecoin gateway / decentralized content / pinned-content reader.$0.005
price-impactPrice-impact / slippage estimator / DEX swap size impact / size-keyed quote / depth simulation.$0.005
safe-multisig-statusSafe multisig status / Gnosis Safe info / Safe owners / Safe threshold / Safe pending queue / DAO treasury wallet / Safe wallet lookup.$0.005
stablecoin-monitorStablecoin monitor.$0.005
stablecoin-pegStablecoin peg monitor / depeg detector.$0.005
SEE ALSO
agentutility(7) · edgemarket(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org