{"uid":"cap_Lhrb1yoVkwpS6F-IEZ-N0","slug":"pennyrail-x402-quote-inspector-9466df35","name":"PennyRail x402 Quote Inspector","description":"Probe a public HTTP endpoint without paying and decode its HTTP 402 payment requirements into clean JSON: status, network, asset, amount, pay-to and challenge metadata when exposed. Exact-match PennyRail gap-arbitrage route.","url":"https://pennyrail.vercel.app/api/bazaar/x402-quote","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","description":"Input for x402 payment quote inspector.","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_16tT9QK1-j0cg3EvZDxwL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Probes a public HTTP endpoint and decodes its HTTP 402 payment requirements into structured JSON, returning network, asset, amount, pay-to address, and challenge metadata.","exampleAgentPrompt":"Check what payment this endpoint requires before I can call it — probe https://api.example.com/data using a POST with a JSON body and decode any x402 payment requirements like the network, asset, amount, and pay-to address.","exampleUseCases":[{"title":"Discover API payment requirements before calling","prompt":"Before I try to call https://api.someservice.com/generate, can you probe it and tell me exactly what cryptocurrency payment it requires — the network, token, amount, and wallet address I'd need to pay?"},{"title":"Compare costs of multiple paywalled APIs","prompt":"I want to compare what these three APIs charge — probe each one and decode their x402 payment info so I can see which network and asset they accept and how much each costs."},{"title":"Debug a 402 response from a new API","prompt":"I'm getting a 402 from https://data.newapi.io/query when I POST JSON to it — can you inspect that endpoint and extract the full payment metadata so I understand what I need to pay to proceed?"}],"resultDescription":"A JSON object containing the decoded HTTP 402 payment requirements of the probed endpoint, including: payment status, blockchain network, accepted asset (e.g. USDC), required amount, pay-to wallet address, and any challenge or nonce metadata exposed by the endpoint's x402 payment header.","failureModes":["Endpoint does not return a 402 response — no payment metadata available","Target URL is unreachable or times out","Endpoint returns 402 but with a non-standard or unrecognized payment scheme","Malformed or missing x402 headers on the target endpoint","Target endpoint requires authentication before returning 402 metadata"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover the payment requirements of an unknown HTTP API before attempting to pay and call it. It is specifically designed for the x402 payment protocol and decodes structured payment metadata that generic HTTP probing tools would not interpret. Prefer this over manual inspection when building agents that need to auto-discover and satisfy API payment requirements at runtime.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:48:48.412Z","isFirstParty":false}