{"uid":"cap_3w64HEb5KncoxrwODkIzz","slug":"scrapegraphai-search-f8cd6b4c","name":"ScrapeGraphAI Search","description":"Runs a search, scrapes the top N result URLs, optionally runs LLM extraction with prompt and schema.","url":"https://mpp.orthogonal.com/scrapegraphai/api/search?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"mode":{"type":"string","description":"Content mode: normal, reader, or prune (default prune)"},"query":{"type":"string","description":"Search query (1-500 chars)"},"format":{"type":"string","description":"Output format: html or markdown (default markdown)"},"prompt":{"type":"string","description":"LLM extraction prompt (1-10000 chars)"},"schema":{"type":"object","description":"JSON schema for structured extraction"},"timeRange":{"type":"string","description":"Time filter: past_hour, past_24_hours, past_week, past_month, past_year"},"numResults":{"type":"number","description":"Number of results to scrape (1-20, default 3)"},"fetchConfig":{"type":"object","description":"Fetch options"},"locationGeoCode":{"type":"string","description":"Geo code for location-based results (max 10 chars)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["scraping","extraction","llm","crawl","web","data"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":true,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.03/call","primary":{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Wkcn7CZvXKGf3D24Db5hF","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"ScrapeGraphAI","brandSlug":"scrapegraphai-mpp","brandBaseUrl":"https://v2-api.scrapegraphai.com","brandDocsUrl":"https://v2-api.scrapegraphai.com","whatItDoes":"Runs a web search, scrapes the top N result URLs, and optionally applies LLM extraction with a prompt and schema to return structured data.","exampleAgentPrompt":"Search for 'best electric SUVs 2025', scrape the top 5 results, and extract the car name, price range, and range in miles from each page as structured JSON.","exampleUseCases":null,"resultDescription":"Returns scraped content from the top N search result URLs, plus optionally LLM-extracted structured data matching the provided prompt and JSON schema — giving the agent both raw page content and parsed fields in one call.","failureModes":["Search query returns no results — empty results array returned","Target URLs block scraping (bot detection, paywalls) — partial or empty content for affected URLs","LLM extraction prompt is ambiguous or schema doesn't match page content — extraction returns nulls or partial fields","N is too large — rate limiting or timeout on scraping many pages","Invalid JSON schema provided — extraction step fails with schema validation error"],"whenToPreferThis":"Choose this endpoint when you need to both search the web AND extract structured data from the results in a single call — ideal for research automation, competitive intelligence, or any workflow where you want LLM-parsed fields from live search results without chaining separate search and scrape calls. Prefer it over a standalone scrape endpoint when you don't already know the target URLs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T23:11:59.029Z","isFirstParty":false,"canonicalSlug":"scrapegraphai-search-f8cd6b4c"}