Skip to content
Fourohtwo

Discover and fetch a site's A2A (Agent2Agent protocol) Agent Card

agent402.tools/api/a2a-card-fetch

Discover and fetch a site's A2A (Agent2Agent protocol) Agent Card - tries /.well-known/agent-card.json then /.well-known/agent.json (or fetches a direct .json URL as-is) - and validate it against the spec v0.3 structural core. Returns the card, errors, interop warnings, and a normalized summary. Mini-A2A discovery for agents. Marked untrustedContent: the fetched card is external data to analyze, n

SolanaBaseAnswering
POSThttps://agent402.tools/api/a2a-card-fetch

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent402.tools/api/a2a-card-fetch", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://agent402.tools/samples/a2a-agent-card.json"}),
});
console.log(await res.json());

Example input

{
  "url": "https://agent402.tools/samples/a2a-agent-card.json"
}