{"uid":"cap_sJJqKe3ghOhJe0z4xbdmE","slug":"x402serps-search-extract-api-0b612011","name":"x402serps Search + Extract API","description":"x402serps: Web search plus clean extracted markdown of the top N results (default 3, max 5) in one call","url":"https://x402serps.com/api/v1/search-extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"number","description":"Results to extract 1-5, default 3"},"q":{"type":"string","description":"Search query (alias: query)"},"maxChars":{"type":"number","description":"Max chars per page, default 15000"}}},"responseSchema":{"type":"json","example":{"query":"how does x402 work","results":[{"url":"https://www.x402.org/","title":"x402 payments protocol","content":{"url":"https://www.x402.org/","title":"x402","length":5210,"markdown":"# x402\n\n...","truncated":false},"snippet":"An open standard for internet-native payments over HTTP 402.","position":1}],"provider":"primary"}},"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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_i1fkNB_HHurFFzl4zG1Nb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a Google web search and extracts full page content for the top results, returning titles, snippets, and markdown-rendered page text in a single call","exampleAgentPrompt":"Search the web for 'best open-source LLM fine-tuning frameworks 2025' and pull the full content from the top 3 results so I can read what they actually say.","exampleUseCases":[{"title":"Real-time news research for a report","prompt":"Search for the latest news on 'Federal Reserve interest rate decision June 2025' and extract the full text from the top 3 articles so I can summarize what happened."},{"title":"Competitor product page analysis","prompt":"Search for 'Notion AI features pricing 2025' and fetch the content from the top 5 results — I want to read the actual pages, not just snippets."},{"title":"Technical documentation lookup","prompt":"Look up 'how to configure Nginx reverse proxy for WebSockets' on the web and pull the full page content from the top 2 results, keeping up to 10000 characters per page."}],"resultDescription":"Returns a JSON object with the original query, provider name, and an array of results. Each result includes position, URL, title, snippet, and a content object with the extracted page text in markdown format, final URL after redirects, content length, content type, and a truncation flag.","failureModes":["Individual page extraction may fail (per-result error field populated) if the target site blocks scraping or times out","Query with no results returns an empty results array","Exceeding n=5 results limit may be rejected or capped","Payment failure via x402 returns HTTP 402 before the query is processed","Very large pages may be truncated if content exceeds maxChars limit"],"whenToPreferThis":"Choose this endpoint when your agent needs both search result metadata AND the full readable content of web pages in a single call, eliminating the need to chain a search API with a separate scraper. It is especially useful for agents that need current, real-world information without managing API keys or subscriptions — payment is handled per-call in USDC via x402. Prefer it over search-only APIs when you need to read what the pages actually say, not just their titles and snippets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:37:43.730Z","isFirstParty":false,"canonicalSlug":"x402serps-search-extract-api-0b612011"}