Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man agent-card-resolve

/agent-card-resolve

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 resolves an erc-8004 agentid to its on-chain owner, agenturi, and agent card json
SYNOPSIS
POST https://x402.agentutility.ai/agent-card-resolve
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

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

Resolves an ERC-8004 agentId to its on-chain owner, agentURI, and agent card JSON. Pass an agentId (uint256 on Base) — returns the 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. Use it as an agent card resolver, ERC-8004 Identity Registry lookup, Trustless Agents query, A2A identity check, agent.json fetch, or on-chain agent metadata reader.

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.agentutility.ai/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 the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the agent-card-resolve tool from your MCP-aware agent.
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-spreadFinds the cross-exchange arbitrage spread for any CoinGecko-listed coin.$0.005
basename-resolveResolves Coinbase Basenames (.base.eth) to Ethereum addresses and back, reading the Base mainnet L2 Resolver on-chain (no gas, no wallet).$0.005
cid-fetchFetches the content behind an IPFS CID and optional path through public gateways, returning text, JSON, or base64 with a 5 MB cap.$0.005
current-balanceReads a wallet's current ERC-20 token balance with a read-only balanceOf call on Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, or Ava…$0.005
defi-yield-poolsFilters and ranks thousands of DeFi yield-bearing pools by APY across every chain DeFiLlama tracks.$0.005
erc20-balanceReads an ERC-20 token balance on-chain across any supported EVM chain, including Base, Ethereum, Arbitrum, Optimism, and Polygon.$0.005
erc20-metadataReads ERC-20 token metadata: name(), symbol(), decimals(), and totalSupply() in parallel via public RPC on Base, Ethereum, Arbitrum, Opti…$0.005
flagged-tokensFeed of flagged risky Solana tokens: thin liquidity, extreme moves, sell pressure, very new pairs, and missing profile context.$0.005
SEE ALSO
agentutility · edgemarket · x402 · mcp · llms.txt · registry.json · bazaar.x402.org