x402station.io API reference
Provider verification certificate
Provider-side audit that mints a 30-day signed certificate and public badge for one endpoint or supported pattern.
This HTML page is served by GET /api/v1/verified. The paid API operation remains POST /api/v1/verified.
x402 challenge example
HTTP/1.1 402 Payment Required
payment-required: <base64 PaymentRequiredResponse>
www-authenticate: x402
content-type: application/json; charset=utf-8
{
"x402Version": 2,
"error": "Payment required",
"resource": {
"url": "https://x402station.io/api/v1/verified",
"description": "Provider verification certificate"
},
"accepts": [
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "USDC",
"amount": "1000000",
"payTo": "0x4053338C7cB38624C0bc23c900F78Cf8470b4E38",
"maxTimeoutSeconds": 300
}
]
}
Request body
{
"url": "https://api.example.com/x402-endpoint",
"name": "Example API"
}
Success response
{
"certId": "ver_123",
"verified": true,
"tier": "verified",
"badgeUrl": "https://x402station.io/verified/ver_123/badge.svg",
"pageUrl": "https://x402station.io/verified/ver_123",
"validUntil": "2026-07-12T00:00:00.000Z"
}
Error codes
| status | meaning |
|---|---|
400 | Malformed JSON body, invalid URL, or missing required field. |
402 | Payment required. Decode payment-required, sign x402, retry. |
503 | Query/probe pipeline timeout. Treat as failed preflight; do not pay target blindly. |
422 | Endpoint did not meet verification criteria; certificate may be not_verified. |
Notes
- Designed for providers and CI bots, not as a per-payment agent check.