S

Sanfoundation · Agents

by Sanfoundation

GETBase

$0.01

per call · USD Coin on Base

List or search SAN agents. Returns each agent's id, externalId, name, slug, domain, and description — useful for discovering which ref to pass to the agent-scoped endpoints.

Endpoint

GET https://gateway.sanfoundation.com/x402/v1/agents

7

Calls / 30d

6

Unique payers / 30d

Aug 30

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://gateway.sanfoundation.com/x402/v1/agents", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://gateway.sanfoundation.com/x402/v1/agents?limit=20&search=cyber" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "agents": [
    {
      "description": "Tracks state-actor escalations across maritime, cyber, and political domains.",
      "domain": "Geopolitical signals",
      "externalId": "017",
      "id": "488ed3ff-6a4d-42e5-8e24-44eeef77959c",
      "name": "Noah",
      "slug": "noah"
    }
  ],
  "count": 1
}

Payment details

Pay to0x16b5fe729f2ca544b309844f75e8429ab45151ae
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Sanfoundation & similar services