{"uid":"cap_MumS_E57n9Qi-lFBHOdOe","slug":"scrapegraphai-llm-powered-web-extraction-f6617614","name":"ScrapeGraphAI LLM-Powered Web Extraction","description":"LLM-driven extraction from a URL, HTML, or markdown input with a prompt and optional JSON schema.","url":"https://x402.orth.sh/scrapegraphai/api/extract","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"URL to extract from"},"html":{"type":"string","description":"Raw HTML to extract from"},"mode":{"type":"string","description":"Content mode: normal, reader, or prune"},"prompt":{"type":"string","description":"Extraction prompt (1-10000 chars)"},"schema":{"type":"object","description":"JSON schema for structured output"},"markdown":{"type":"string","description":"Markdown to extract from"},"contentType":{"type":"string","description":"Force content type"},"fetchConfig":{"type":"object","description":"Fetch options: mode, stealth, timeout, wait, headers, cookies, country, scrolls"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","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.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PAr0C9mlHDFldPOLT6pW3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured or free-form data from a URL, raw HTML, or markdown using an LLM-driven pipeline with a natural language prompt and optional JSON schema for structured output.","exampleAgentPrompt":"Go to https://news.ycombinator.com and extract a list of the top 10 story titles and their URLs — return it as structured JSON with fields 'title' and 'url' for each item, using reader mode to clean up the page first.","exampleUseCases":null,"resultDescription":"Returns extracted data shaped according to the optional JSON schema provided, or as free-form LLM-generated output if no schema is given. Fields are populated based on what the LLM interprets from the source content (URL-fetched, raw HTML, or markdown) in response to the natural language prompt.","failureModes":["URL is unreachable or returns a non-200 status — extraction fails with a fetch error","Prompt is too vague and LLM returns incomplete or hallucinated fields","Source HTML is too large or complex and gets truncated","Schema mismatch: LLM cannot reliably populate all required schema fields from the content","Stealth/fetch mode insufficient for JavaScript-heavy SPAs — returns empty or partial content","Rate limiting or blocking by the target site — returns empty fetch result"],"whenToPreferThis":"Choose this endpoint when you need AI-driven, prompt-guided extraction from a specific URL or raw content — especially when the output needs to conform to a JSON schema. Prefer this over generic scrapers when the data is semi-structured or requires interpretation (e.g. extracting sentiment, summarizing paragraphs, or pulling fields embedded in prose). It is ideal when you already have the HTML or markdown and just need structured extraction without re-fetching.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:42:35.496Z","isFirstParty":false}