{"uid":"cap_Vr2eiGs4GJpkwtraxwWsQ","slug":"apiosk-gateway-scrapestack-execute-6c5d561c","name":"Apiosk Gateway – Scrapestack Execute","description":"Pay-per-call API gateway on the x402 protocol (HTTP 402 + USDC on Base). This document covers the gateway's discovery and execution meta-endpoints. Individual provider APIs are reachable at /{api_slug}/{path} and described by GET /{api_slug}/metadata.","url":"https://gateway.apiosk.com/scrapestack/execute","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","description":"JSON payload forwarded to the selected operation."},"operation":{"type":"string","description":"Operation id, /path, or METHOD /path selector."}}},"responseSchema":{"type":"object","required":["status","result"],"properties":{"api":{"type":"string"},"cost":{"type":"string"},"result":{"description":"Upstream response body."},"status":{"type":"string"},"latency":{"type":"number"},"operation":{"type":"string"},"upstream_status":{"type":"integer"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1265","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.11/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.11","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.11","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qTFH7QhYmTbwOT2EeCBRW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.11","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a web scraping operation via the Scrapestack API through the Apiosk x402 pay-per-call gateway, forwarding the JSON payload and returning the upstream scraping result.","exampleAgentPrompt":"Can you scrape the product listing page at https://example.com/products and return the full HTML content using the Scrapestack execute operation?","exampleUseCases":[{"title":"Competitor price monitoring","prompt":"Scrape the pricing page at https://competitor.com/pricing and give me the full page HTML so I can extract their current plan prices."},{"title":"News article content extraction","prompt":"Fetch the full HTML content of this news article at https://techcrunch.com/2024/01/15/article-title using Scrapestack — I need the raw page source."},{"title":"E-commerce product data retrieval","prompt":"Use Scrapestack to scrape https://shop.example.com/item/12345 and return the page content so I can pull out the product description and availability."}],"resultDescription":"Returns a JSON object with a status string, the upstream response body (the scraped content from Scrapestack), the HTTP status code returned by Scrapestack, the operation that was executed, the API slug, the cost of the call in USDC, and the latency in milliseconds.","failureModes":["Invalid or unreachable target URL causes upstream_status 4xx or 5xx with an empty or error result","Missing or malformed operation selector causes gateway to return an error status","Scrapestack rate limits or quota exhaustion returns upstream_status 429","Payment failure (insufficient USDC balance) causes HTTP 402 before the request is forwarded","Timeout on slow or heavy pages may result in high latency or a failed result"],"whenToPreferThis":"Choose this endpoint when you need to scrape web pages through Scrapestack's anti-bot and proxy infrastructure and want pay-per-call billing via USDC on Base (x402 protocol) without managing a Scrapestack subscription directly. Prefer this over direct Scrapestack API access when operating in an agent or crypto-native payment context where micropayments per call are preferred over monthly API key billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:50:04.984Z","isFirstParty":false}