{"uid":"cap_x9P-ki9GIeiLYB7L98eic","slug":"scrapegraphai-extract-70df0311","name":"ScrapeGraphAI Extract","description":"LLM-driven extraction from a URL, HTML, or markdown input with a prompt and optional JSON schema.","url":"https://mpp.orthogonal.com/scrapegraphai/api/extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":{"request":{"html":"<html><head><title>Sample Product</title></head><body><div class='product'><h1>Wireless Bluetooth Headphones</h1><span class='price'>$79.99</span><p class='availability'>In Stock</p></div></body></html>","prompt":"Extract the product name, price, and stock status","schema":{"type":"object","required":["name","price","in_stock"],"properties":{"name":{"type":"string","description":"Product name"},"price":{"type":"string","description":"Product price"},"in_stock":{"type":"boolean","description":"Whether the product is in stock"}}}},"response":{"id":"68df6475-2278-4b00-a501-6c6dcb932237","raw":null,"json":{"name":"Wireless Bluetooth Headphones","price":"$79.99","in_stock":true},"usage":{"promptTokens":430,"completionTokens":112},"metadata":{"chunker":{"chunks":[{"size":14}]}}}},"exampleRequest":{"html":"<html><head><title>Sample Product</title></head><body><div class='product'><h1>Wireless Bluetooth Headphones</h1><span class='price'>$79.99</span><p class='availability'>In Stock</p></div></body></html>","prompt":"Extract the product name, price, and stock status","schema":{"type":"object","required":["name","price","in_stock"],"properties":{"name":{"type":"string","description":"Product name"},"price":{"type":"string","description":"Product price"},"in_stock":{"type":"boolean","description":"Whether the product is in stock"}}}},"tags":["scraping","extraction","llm","crawl","web","data"],"displayCostAmount":"0.025","displayCostAsset":"USDC","priceDynamic":true,"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":"dynamic","summary":"$0.025/call (dynamic — varies by input)","primary":{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_3MTelT0Tc0x-vstZmiZBe","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"unknown","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"ScrapeGraphAI","brandSlug":"scrapegraphai-mpp","brandBaseUrl":"https://v2-api.scrapegraphai.com","brandDocsUrl":"https://v2-api.scrapegraphai.com","whatItDoes":"Uses LLMs to extract structured data from a URL, HTML, or markdown input given a natural language prompt and optional JSON schema.","exampleAgentPrompt":"Extract the product name, price, and availability from this URL — https://example.com/product/123 — and return it as JSON with fields: name, price, and in_stock.","exampleUseCases":null,"resultDescription":"Returns a structured JSON object containing the fields requested in the prompt and schema, extracted from the provided URL, HTML, or markdown content using LLM-driven parsing.","failureModes":["URL is inaccessible or returns non-200 status","HTML/markdown input is malformed or too large","LLM fails to map content to the provided JSON schema","Schema fields cannot be found in the source content, returning nulls","Rate limit exceeded or insufficient USDC balance","Prompt is too vague to produce deterministic extraction"],"whenToPreferThis":"Use this endpoint when you need LLM-powered, schema-driven extraction from a specific URL or raw HTML/markdown — especially when the target data is unstructured or requires semantic understanding rather than CSS selectors or XPath. Prefer this over generic scraping when you want typed, validated JSON output matching a custom schema.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:51:40.852Z","isFirstParty":false,"canonicalSlug":"scrapegraphai-extract-70df0311"}