{"uid":"cap_PVjiYzbqmJ2vX6JvRUwa8","slug":"agishub-structured-data-extraction-21161dbf","name":"AGISHub Structured Data Extraction","description":"AI-powered structured extraction: give a URL plus a natural-language prompt and/or a JSON Schema, and get back clean structured JSON (e.g. product name, price, rating). Renders the page in a headless browser first, so it works on SPAs.","url":"https://api.agishub.com/paid/extract-structured","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"Full http/https URL of the page to extract data from."},"prompt":{"type":"string","description":"Natural-language instruction of what to extract, e.g. 'the product name, price and rating'. Provide this and/or a schema."},"schema":{"type":"object","description":"Optional JSON Schema object describing the exact shape of the data to return. When given, the output is constrained to it.","additionalProperties":{}}},"additionalProperties":false},"type":{"enum":["http"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"enum":["json"],"type":"string"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yg2qm9V8_Qt7Fo4xkoUgf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders a web page in a headless browser and extracts structured JSON data from it using a natural-language prompt and/or a JSON Schema","exampleAgentPrompt":"Go to https://www.amazon.com/dp/B09JQMJHXY and extract the product name, price, star rating, and number of reviews as structured JSON — the page is JavaScript-rendered so make sure it fully loads first.","exampleUseCases":[{"title":"Ecommerce price and rating scraper","prompt":"Scrape https://www.bestbuy.com/site/apple-macbook-air/6509650.p and give me back the product name, current price, and average customer rating as structured JSON."},{"title":"Job listing details extractor","prompt":"Extract the job title, location, salary range, and required skills from this job posting: https://jobs.lever.co/stripe/abc123 — return it as clean JSON so I can save it to my database."},{"title":"SaaS pricing page parser","prompt":"Pull the plan names, monthly prices, and feature lists from https://www.notion.so/pricing and return them as structured JSON — the page uses React so it needs a real browser to render."}],"resultDescription":"A structured JSON object whose shape is determined either by the provided JSON Schema or inferred from the natural-language prompt. Fields typically include whatever data points were requested (e.g. product name, price, rating, description). The response is clean and ready for downstream processing without further parsing.","failureModes":["URL is inaccessible or requires login — returns error indicating page could not be loaded","Page content does not contain the requested data — returns empty or null fields","Invalid URL format — validation error on the url field","Ambiguous prompt with no schema — may return inconsistently shaped JSON","Anti-bot protection (Cloudflare, CAPTCHAs) blocks headless browser — extraction fails","Timeout if page takes too long to render"],"whenToPreferThis":"Choose this endpoint when you need to extract structured, schema-conformant data from any public web page — especially JavaScript-rendered SPAs where a plain HTTP fetch would return an empty shell. It is ideal when you already know the shape of data you want (via JSON Schema) or can describe it in plain English. Prefer it over raw page fetchers when the output must be machine-readable JSON rather than Markdown or raw HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:48:05.287Z","isFirstParty":false}