{"uid":"cap_fuiPw3GZMfY6gX2rpfCEd","slug":"agent-rest-stop-pair-allow-d48f2378","name":"Agent Rest Stop Pair Allow","description":"Pass or fail against the pair list.","url":"https://agent-gas-station.agent-gas-station.workers.dev/v1/PairAllow?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"have":{"type":"string"},"want":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YWG7LWA_2mEi2x-d4hnGt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given asset pair (have/want) is permitted according to the configured pair allowlist.","exampleAgentPrompt":"Before I try to swap USDC for ETH, check if that pair is allowed — I have USDC and want ETH.","exampleUseCases":[{"title":"Pre-swap pair eligibility check","prompt":"I want to swap DAI for WBTC — can you check if that pair is on the allowed list before I proceed?"},{"title":"Route validation for agent trading","prompt":"My trading agent is about to execute a USDC-to-SOL swap. Verify that the have-USDC, want-SOL pair passes the allowlist check first."},{"title":"Filter unsupported pairs","prompt":"I have a list of potential swaps I want to run. Start by checking if USDC for MATIC is allowed on the pair list."}],"resultDescription":"A pass or fail response indicating whether the specified asset pair (have → want) is permitted according to the pair allowlist. No additional routing or pricing data is returned — just the binary eligibility decision.","failureModes":["Missing 'have' or 'want' fields returns a validation error","Unknown or unsupported asset symbols may return a fail rather than an error","Network timeout from the Cloudflare Worker edge environment","Payment not processed (x402) results in 402 response before the check runs"],"whenToPreferThis":"Use this endpoint when you need a quick binary check on whether a specific asset swap pair is permitted before committing to a trade or route. Prefer this over fetching full route tables or swap tickets when you only need eligibility, not pricing or execution details. Ideal as a guard step in automated trading pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:35.486Z","isFirstParty":false,"canonicalSlug":"agent-rest-stop-pair-allow-d48f2378"}