{"uid":"cap_zFQPwR7MFnhjxiu7bKJYV","slug":"x-402-structured-web-extractor-5fe82ce6","name":"x-402 Structured Web Extractor","description":"Pay-per-call APIs for AI agents — x402 protocol, USDC on Base, no account needed.","url":"https://api.x-402.online/v1/extract-structured?utm_source=zero.xyz","method":"POST","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"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://…","data":{"price":19.9,"title":"…"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1JiDXCikMzYxD4ZZih7j3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scrapes any URL from a residential IP and uses an LLM to return only the specific fields you request as clean JSON","exampleAgentPrompt":"Scrape this product page https://example.com/product/123 and give me the price, rating, and stock availability as JSON — it might block regular scrapers so use a residential IP.","exampleUseCases":[{"title":"E-commerce price and stock monitoring","prompt":"Go to https://www.somestore.com/product/sneakers-airmax and extract the price, stock status, and customer rating as JSON for me."},{"title":"Real estate listing data extraction","prompt":"Pull the asking price, number of bedrooms, square footage, and address from this property listing: https://realestatesite.com/listing/48291"},{"title":"Restaurant menu scraping","prompt":"Scrape https://restaurantwebsite.com/menu and return the dish names, descriptions, and prices as structured JSON — the site seems to block normal bots."}],"resultDescription":"A clean JSON object containing exactly the fields requested via the `fields` query parameter (e.g. price, rating, stock) or matching a free-text schema description. The page is fetched through a residential IP to bypass anti-bot measures, and an LLM interprets the page content to populate the requested fields accurately.","failureModes":["Target URL is unreachable or returns a non-200 status","Page uses heavy JavaScript rendering that cannot be fully processed","Requested fields do not exist on the page — returned as null or missing keys","Anti-bot measures too aggressive even for residential IP (CAPTCHA walls)","Malformed or ambiguous field/schema specification leads to unexpected output","Rate limits exceeded on the target site from the residential IP pool"],"whenToPreferThis":"Choose this endpoint when you need to extract specific structured fields from a webpage, especially when the target site blocks datacenter IPs. It is cheaper than Firecrawl's extract API and ideal for e-commerce price/rating/stock lookups, real estate data, or any scenario where you want a predefined JSON shape rather than raw HTML or markdown. Prefer it over general-purpose scrapers when you already know which fields you want and want them returned directly as typed JSON.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:34:44.794Z","isFirstParty":false,"canonicalSlug":"x-402-structured-web-extractor-5fe82ce6"}