x402 Dev Tools – Payment Header Decoder is a paid API for AI agents from dev.kagurazaka.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).
Decodes and explains x402 payment headers (PAYMENT-REQUIRED, PAYMENT-SIGNATURE, or PAYMENT-RESPONSE) in plain English, flagging validation issues like expired authorizations, wrong domains, or missing Bazaar extensions.
Decodes a PAYMENT-REQUIRED, PAYMENT-SIGNATURE or PAYMENT-RESPONSE header (x402 v2, or X-PAYMENT / X-PAYMENT-RESPONSE of v1), base64 or JSON, detecting which it is. Explains it in plain terms (price in dollars, network, payer and payee, validity window, explorer link) and lists problems: wrong USDC EIP-712 domain, expired or not-yet-valid authorizations, amount or payee mismatches, missing Bazaar extension.
Returns the decoded header type (payment-required, payment-signature, or payment-response), a plain-English summary (price in USD, network, payer/payee addresses, validity window, explorer link), a structured decoded object, and a list of findings with severity levels (info, warning, error) flagging issues such as wrong EIP-712 USDC domain, expired or not-yet-valid authorizations, amount or payee mismatches, and missing Bazaar discovery extension.
POSThttps://dev.kagurazaka.dev/v1/decode?utm_source=zero.xyzUse this endpoint when you need to inspect, debug, or validate any x402 protocol payment header — whether you're a developer building an x402 client or server, an agent troubleshooting payment failures, or a seller verifying Bazaar compliance. It handles all three header types (payment-required, payment-signature, payment-response) for both x402 v1 and v2, and automatically detects the type if unknown. Prefer it over manual base64 decoding or generic JSON parsers because it applies x402-specific validation rules (EIP-712 domains, USDC contract addresses, authorization windows, Bazaar extensions) and returns human-readable findings.
| Field | Type | Description |
|---|---|---|
| kind | string | default auto |
| header | string | the header value (base64 or JSON); a leading 'Header-Name:' is ignored |
{
"type": "json",
"example": {
"kind": "payment-required",
"accepts": [
{
"pay_to": "0xe6f7508ab572a4dc9c7486ea017b100d83f3c3f8",
"scheme": "exact",
"network": "eip155:8453",
"price_usd": 0.001,
"network_name": "Base"
}
],
"decoded": {
"x402Version": 2
},
"summary": "Pay $0.001 on Base for https://api.example.com/v1/weather",
"findings": [
{
"level": "info",
"message": "no bazaar extension: the CDP Bazaar lists the resource only with it (declareDiscoveryExtension)"
}
],
"x402_version": 2
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"