M

Memoryapi · Erc8004 Agent

by Memoryapi

GETBase

$0.001

per call · USD Coin on Base

Look up an ERC-8004 AI agent identity on Base mainnet. Returns name, description, services, x402 support, and owner.

Endpoint

GET https://agent.memoryapi.org/x402/erc8004/agent

5

Calls / 30d

4

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://agent.memoryapi.org/x402/erc8004/agent", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://agent.memoryapi.org/x402/erc8004/agent?chain=base&id=1" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "active": true,
  "agent_id": 1,
  "name": "Example Agent",
  "owner": "0x...",
  "services": [],
  "source": "ERC-8004 Identity Registry on Base",
  "success": true,
  "x402_support": true
}

Payment details

Pay to0x24facafeb49b4e3facf0b3e69604a2f4640c9bf2
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from Memoryapi & similar services