{"uid":"cap_2CNESraJ-XpWOnAzgJJGq","slug":"altspider-http-check-12f62e55","name":"AltSpider HTTP Check","description":"Pay or skip on someone else's 402: network, answered, free sibling, one reason","url":"https://altspider.ai/api/check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","properties":{"url":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"call":"pay","quoted":true,"reason":"Base USDC, and the free page does not return it","target":"https://altspider.ai/api/sample","network":"eip155:8453","answered":true,"freeSibling":false}},"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_pgE5u7rn0aIrgkJBHH_eQ","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 HTTP URL is behind an x402 payment wall and returns network, response, or free-tier details","exampleAgentPrompt":"Can you check whether this URL is behind an x402 payment wall using a GET request: https://example.com/api/data?url=https://target-site.com/resource","exampleUseCases":[{"title":"Pre-flight paywall detection for agent","prompt":"Before my agent tries to fetch https://data.example.com/report, can you probe it with a GET to see if it's behind an x402 payment gate so I know whether to budget for it?"},{"title":"Compare free vs paid API tiers","prompt":"Check whether https://altspider.ai/api/listings requires payment — I want to know if there's a free version before my agent commits to paying."},{"title":"Automated route selection by access type","prompt":"My agent is about to call https://feeds.newswire.com/premium — use a GET probe to check if it's x402-gated so I can decide whether to use the paid path or fall back to the free sibling."}],"resultDescription":"Returns structured data about the target URL's HTTP response, including whether the endpoint returned a 402 status, network-level details, any x402 payment headers, and whether a free alternative exists — allowing the caller to decide whether to pay or skip.","failureModes":["Target URL is unreachable or times out — network error returned","Invalid or missing 'url' query parameter — validation error","Method not in allowed enum (GET, HEAD, DELETE) — schema rejection","Target returns non-HTTP protocol — unsupported","Rate limiting or authentication issues with AltSpider itself"],"whenToPreferThis":"Choose this endpoint when an agent needs to pre-flight a URL before deciding whether to pay an x402 toll — especially useful for cost-aware routing, comparing free vs paid API tiers, or detecting payment walls programmatically before committing resources. Prefer this over direct fetching when the resource may or may not be gated and you want to avoid unexpected charges.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:30:50.569Z","isFirstParty":false,"canonicalSlug":"altspider-http-check-12f62e55"}