# ERC-8004 agent lookup

GET https://horizonpulse.dev/api/agent/identity

- Price: $0.01 per call. The exact amount is in the 402.
- Pay with: USDC on Base, USDC on Polygon
- Family: Onchain and payments (/catalog/onchain.md)

## What it returns
ERC-8004 agent lookup: GET ?agentId=42&chain=base (or ethereum, polygon). Returns owner, agent wallet, registration URI, and reputation and validation summaries. On-chain reads only; registration files and IPFS are not fetched. Owner-written, untrusted data; not an endorsement. Not affiliated with the ERC-8004 authors. Bad input, unknown agent or RPC down: not charged; partial answers (partial:true) are charged. USDC on Base or Polygon. This call is charged the listed price, including a partial answer: if the owner, agent wallet and registration URI were read but a reputation or validation field could not be, the response has partial:true and lists the unread fields in missing[]. On USDC on Base, errors are not charged, apart from the exceptions noted on a route. On USDC on Solana, and RLUSD on the XRP Ledger, a refused or failed request may still be charged. On Polygon (native USDC), a…

## Inputs
See /openapi.json for this path.

## If the call fails
- USDC on Base: errors are not charged, apart from the exceptions noted on a route.
- On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.

## Try it
- Call it unpaid to read the 402: GET https://horizonpulse.dev/api/agent/identity
- Setup: /setup.md
