{"uid":"cap_27GmRIFWVxxQemrQBZM6p","slug":"google-search-serp-api-x402atlas-91a74ee1","name":"Google Search SERP API (x402atlas)","description":"Perform a Google search and return structured results. Returns title, URL, snippet, position for each result. Google search SERP results for AI agents: organic results as clean JSON, scoped by country (ISO 3166) and language (ISO 639-1), up to 20 results per call.","url":"https://websearch.use.x402atlas.com/google-search?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["query"],"properties":{"query":{"type":"string","maxLength":400,"description":"Search query"},"country":{"type":"string","maxLength":64,"description":"Country to scope results to, as an ISO 3166-1 alpha-2 code (MX), alpha-3 code (MEX), numeric code (484), or exact country name (Mexico). \"UK\" is accepted as an alias for GB. Unrecognised values are rejected before the search runs rather than silently ignored. Omit for unscoped global results."},"language":{"type":"string","pattern":"^[A-Za-z]{2}(-[A-Za-z]{2})?$","description":"Language for results, as an ISO 639-1 code (\"en\"), optionally with a region (\"pt-BR\"). Validated for shape and rejected before the search runs if malformed, rather than silently ignored. Omit for Google's default."},"num_results":{"type":"integer","default":10,"maximum":20,"minimum":1,"description":"Number of results (default 10, max 20)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["queried_at","query","results"],"properties":{"note":{"type":"string","description":"Present only on a sample response (empty/omitted query): a hint to pass a real query. The paid request ran; no search was made."},"query":{"type":"string","description":"Echoed search query (trimmed)"},"country":{"type":"string","description":"Resolved ISO 3166-1 alpha-2 code the results were scoped to, upper-case; absent when unscoped"},"results":{"type":"array","items":{"type":"object","required":["position","title","url","snippet"],"properties":{"url":{"type":"string","description":"Result URL"},"title":{"type":"string","description":"Result title"},"snippet":{"type":"string","description":"Result snippet as shown by Google; may be empty"},"position":{"type":"integer","description":"1-based rank on the results page"}}},"description":"Organic results in ranking order; empty when nothing matched (still HTTP 200)"},"language":{"type":"string","description":"Result language used, lower-case; absent when Google's default was used"},"queried_at":{"type":"string","format":"date-time","description":"Time the search was executed (UTC)"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.108","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.108/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.108","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.108","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rtyNbdyh_lU0ontf0IkDq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.108","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a Google search and returns structured SERP results (title, URL, snippet, position) as clean JSON, scoped by country and language.","exampleAgentPrompt":"Search Google for 'best electric vehicles 2025' and give me the top 10 results scoped to the United States in English — return the title, URL, and snippet for each.","exampleUseCases":[{"title":"Competitor research for a product launch","prompt":"Search Google for 'project management software for remote teams' and return the top 15 results scoped to the UK in English — I want to see what's ranking so I can benchmark our competition."},{"title":"Real-time news lookup on a topic","prompt":"Can you search Google for 'latest AI regulation news Europe' and give me the top 10 results in French, scoped to France? I want the titles, URLs, and snippets."},{"title":"Local market research by country","prompt":"Search Google for 'popular online payment methods' scoped to Mexico in Spanish and return up to 20 results — I want to understand what services are dominant in that market."}],"resultDescription":"A JSON object containing the echoed query, timestamp (queried_at), optional resolved country code, and an array of up to 20 result objects each with position (integer rank), title, URL, and snippet. Optionally includes a note field on sample/empty-query responses.","failureModes":["Invalid or unrecognised country code — request rejected before search runs","Malformed language code (not matching ISO 639-1 pattern) — request rejected","Query string exceeds 400 characters — validation error","num_results out of range (< 1 or > 20) — validation error","Payment failure (insufficient USDC balance) — 402 response","Google search returns no results for niche queries — empty results array","Rate limiting or upstream Google service unavailability"],"whenToPreferThis":"Choose this endpoint when you need structured, ranked Google SERP results as JSON with per-result position, title, URL, and snippet — especially when country or language scoping is important. Prefer this over generic web-scraping endpoints when you want clean, agent-ready output without HTML parsing. It is ideal for research agents, competitive intelligence, news monitoring, and any workflow where Google's ranking signal matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T21:42:21.719Z","isFirstParty":false,"canonicalSlug":"google-search-serp-api-x402atlas-91a74ee1"}