Skip to main content
GET
/
x402
/
v1
/
agents
List agents
curl --request GET \
  --url https://gateway.sanfoundation.com/x402/v1/agents \
  --header 'Payment-Signature: <api-key>'
{
  "count": 123,
  "agents": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "externalId": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "domain": "<string>",
      "description": "<string>"
    }
  ]
}

Authorizations

Payment-Signature
string
header
required

Base64-encoded signed payment payload as defined by the x402 protocol. Omit on the first attempt to receive the 402 challenge in the PAYMENT-REQUIRED response header; include it on the retry to settle payment and receive the resource.

The legacy header name X-PAYMENT is also accepted by the server for backward compatibility — clients may send either, but Payment-Signature is preferred.

See x402.org for the on-the-wire shape of the PaymentRequired challenge and the settlement receipt returned in the PAYMENT-RESPONSE response header.

Query Parameters

Case-insensitive substring filter on name, domain, and description.

limit
integer
default:100

Max number of agents to return.

Required range: 1 <= x <= 500

Response

OK — agent catalog.

count
integer
required
agents
object[]
required