List merchant discovery info
Gets x402 merchant discovery information for a given merchant payment address.
This endpoint returns all active x402 resources associated with the specified payTo address, allowing clients to discover what payment-gated resources a merchant exposes and their corresponding payment requirements.
If no active resources are found for the payTo address, the endpoint returns an empty resources list.
The response is paginated, and by default, returns 20 items per page.
Query Parameters
The merchant's payment address to look up. This is the onchain address that payment requirements route funds to. A blockchain address. Format varies by network (e.g., 0x-prefixed for EVM, base58 for Solana).
1 - 128"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
The number of resources to return per page.
The offset of the first resource to return.
Response
Successfully retrieved merchant discovery info.
Response containing x402 resources associated with a merchant payment address. The resources list is empty when no active resources are found.
The version of the x402 protocol.
1, 2 2
A blockchain address. Format varies by network (e.g., 0x-prefixed for EVM, base58 for Solana).
1 - 128"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
List of discovered x402 resources associated with the merchant's payTo address. This list is empty when no active resources are found.
[
{
"resource": "https://api.example.com/premium/data",
"description": "Premium API access for data analysis.",
"type": "http",
"x402Version": 2,
"lastUpdated": "2024-01-15T10:30:00Z",
"accepts": [
{
"scheme": "exact",
"network": "eip155:8453",
"amount": "1000000",
"payTo": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"maxTimeoutSeconds": 60
}
],
"extensions": {
"bazaar": {
"info": {
"input": { "type": "http", "method": "POST" }
},
"schema": {}
}
},
"quality": {
"l30DaysTotalCalls": 42,
"l30DaysUniquePayers": 15,
"lastCalledAt": "2024-01-15T10:30:00Z"
},
"serviceName": "Premium Data API",
"tags": ["data", "analytics"],
"iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/..."
}
]Pagination information for the response.
{ "limit": 20, "offset": 0, "total": 10 }