{"uid":"cap_36s_9fGMs8Iw7oZjAdCKJ","slug":"tollex-x402-endpoint-inspector-eb0fb658","name":"Tollex x402 Endpoint Inspector","description":"Tollex lets software agents buy APIs and tools under rules you set: it finds a capability that fits, checks your policy before anything is signed, pays with x402 in USDC on Base or USDG on Robinhood Chain, reconciles uncertain payments and returns a signed receipt.","url":"https://api.tollex.org/tools/x402_inspect_endpoint?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","pattern":"^https?://","examples":["https://merchant.example/v1/quote"],"maxLength":2048}}},"responseSchema":{"type":"json","example":{"tool":{"id":"x402_inspect_endpoint","version":"1.0.0","provider":"tollex.robinhood-chain"},"result":{"error":null,"accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","amount":"10000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300}],"payable":true,"resource":{"url":"https://api.example.com/paid"},"latencyMs":180,"extensions":["bazaar"],"httpStatus":402,"acceptsHash":"0x7a3d7400b27830f4f91c2c16a082486d67c1befecaec2f53b33f1f35d5b62036"},"evidence":[],"untrustedOutput":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0079","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.0079/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0079","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0079","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5h2-wnlF4SwIp7Xs1CA8d","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0079","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects a URL to determine if it is an x402-compatible paid API endpoint and returns its payment requirements and capability metadata","exampleAgentPrompt":"Can you check whether https://merchant.example/v1/quote is an x402-compatible endpoint and tell me what it costs, which tokens it accepts, and which blockchain it runs on?","exampleUseCases":[{"title":"Pre-flight check before agent payment","prompt":"Before my agent pays for the data feed at https://api.dataprovider.io/v2/prices, inspect that endpoint to confirm it supports x402, what it charges, and whether it accepts USDC on Base."},{"title":"Vetting a new tool for agent policy","prompt":"I want to add a new API tool to my agent's allowed list — can you inspect https://tools.example.com/summarize to see if it's x402-compliant and what the per-call cost is so I can decide if it fits my spending policy?"},{"title":"Debugging a failed autonomous payment","prompt":"My agent tried to pay for https://api.speechsynthesis.io/tts but the payment didn't go through — can you inspect that endpoint to see exactly what x402 payment parameters it expects, including accepted tokens and network?"}],"resultDescription":"Returns a structured report on whether the target URL supports the x402 payment protocol, including accepted stablecoins (USDC on Base, USDG on Robinhood Chain), per-call price, supported blockchain networks, payment policy details, and a signed receipt confirming the inspection.","failureModes":["URL does not support x402 — endpoint returns no 402 payment-required header, inspection reports non-compliance","Malformed URL input — rejected by pattern validation if scheme is not http/https","Endpoint unreachable or timeout — network error returned if target host is down","URL exceeds 2048 character limit — request rejected with validation error","Endpoint returns ambiguous or malformed x402 headers — payment requirements cannot be reliably parsed"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify whether a specific URL implements the x402 paid-API standard before committing a payment or adding it to an agent's tool policy. It is the right choice when you want machine-readable payment metadata (token type, chain, price) rather than just checking HTTP headers manually. Prefer it over generic HTTP probing when you need a signed, reconcilable inspection receipt for audit or policy compliance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:47:54.142Z","isFirstParty":false,"canonicalSlug":"tollex-x402-endpoint-inspector-eb0fb658"}