Retrieve Google autocomplete predictions for any query, including suggested phrases and relevance scores, through one country- and language-aware search suggestion API.
Use the same API key and credit balance across every ScrapeBadger API.
{
"query": "python",
"suggestions": [
{
"value": "python tutorial",
"relevance": 850
},
{
"value": "python download",
"relevance": 790
}
],
"language": "en",
"country": "us"
}Send a search query or partial phrase and receive Google's autocomplete predictions for the selected country and language.
/v1/google/autocomplete7 creditsSubmit a search query or partial phrase and receive Google autocomplete predictions in structured JSON. Each suggestion contains its proposed query value and a numerical relevance score.
q | required | Search query or partial phrase for which suggestions should be returned. |
hl | optional | Language code. Defaults to en. |
gl | optional | Country code. Defaults to us. |
curl --get \
'https://scrapebadger.com/v1/google/autocomplete' \
--data-urlencode 'q=python' \
--data-urlencode 'hl=en' \
--data-urlencode 'gl=us' \
--header 'x-api-key: YOUR_API_KEY'{
"query": "python",
"suggestions": [
{
"value": "python tutorial",
"relevance": 850
},
{
"value": "python download",
"relevance": 790
},
{
"value": "python course",
"relevance": 720
},
{
"value": "python interview questions",
"relevance": 680
}
],
"language": "en",
"country": "us"
}Start with a broad keyword and collect the more specific queries Google suggests. Repeat the process with relevant suggestions to expand a keyword list around products, services, questions, or topics.
Use question words and search modifiers to find more specific ways users search around a subject. Organise the returned suggestions into potential articles, landing pages, help content, or topic clusters.
Use the API as a search suggestion API inside an application, research tool, or internal dashboard. Display relevant query predictions without building and maintaining a separate prediction model.
Submit brand, product, or category phrases to examine the autocomplete predictions Google currently associates with them. Compare results between countries and languages when researching different markets.
1,000 free credits · No credit card required
Use the same ScrapeBadger account, API key, and credit balance to validate autocomplete suggestions with search results, demand trends, organic listings, and AI-generated answers.
Run selected autocomplete suggestions through Google Search to retrieve organic results, ads, People Also Ask, Knowledge Graph data, AI Overviews, and related searches.
Explore the Google Search API →Compare relative search interest over time, analyse geographic demand, and find rising or related queries for selected autocomplete suggestions.
Explore the Google Trends API →Retrieve organic results and related searches for selected suggestions without requesting the complete set of rich Google SERP features.
Explore the Google Light Search API →Submit research questions to Google AI Mode and retrieve structured answers, source references, Markdown, and optional cleaned HTML.
Explore the Google AI Mode Search API →Structured JSON responses remove browser automation, proxy orchestration, and HTML parsing from your roadmap. Make your first request in minutes and move from proof of concept to production without maintaining scrapers.
99.9% uptime SLA. Your data pipeline does not stop because Google changes a page, rotates an anti-bot challenge, or moves a result block. Monitoring, session management, browser infrastructure, and parsing are all us.
Search, Maps, News, Hotels, Trends, Jobs, Shopping, Patents, Scholar, Images, Videos, Finance, AI Mode, Lens, Local, Shorts, Flights, Products, and Autocomplete — every Google surface under one API key.
RESTful API, SDK support, MCP, CLI, and no-code options. Use ScrapeBadger in an existing system or a new application with consistent authentication, structured JSON, and unified billing.
Use ScrapeBadger through an official SDK, a standard API request, MCP, CLI, or the tools already in your workflow.
Build asynchronous data pipelines with typed responses, retry handling, and access to the complete Google API suite.
Add Google data to Node.js and TypeScript applications with type definitions and support for both ESM and CommonJS.
Connect from any backend or programming language using standard HTTP requests. Responses arrive as structured JSON that can be stored, transformed, or passed into another service.
Access Search, Maps, News, Trends, Shopping, Scholar, Flights, and every other supported Google product with one ScrapeBadger API key and one credit balance.
Give compatible AI agents access to Google Search, Maps, News, Trends, Shopping, Scholar, Images, Flights, and more through ScrapeBadger's MCP server.
Run Google searches, inspect trends, collect local business data, and export results as JSON, CSV, Markdown, or terminal-friendly tables without building an application.
See why developers choose ScrapeBadger for reliable, structured web data.
“We switched from the official Twitter API and cut our costs by 95%. The pagination is seamless, and we've never hit a rate limit. Best decision we made this year.”
“The follower and engagement endpoints are incredibly detailed. We use it for influencer research and competitor analysis. Response times are sub-100ms consistently.”
“Started with the Apify actor, then moved to the API for more control. The 1,000 free credits were enough to build our MVP. Now processing 2M+ tweets monthly.”
“Perfect for academic research. The community and trends endpoints give us data we couldn't get anywhere else. Documentation could use more examples, but support is responsive.”
“We monitor 50,000+ accounts for our clients. ScrapeBadger handles it without breaking a sweat. The bulk ID endpoints are a game-changer for large-scale monitoring.”
“The geo and trends endpoints power our location-based analytics. Setup took 10 minutes. Their Apify actors are also great for quick one-off scrapes.”
Start with pay-as-you-go credits (never expire) or save up to 64% with a monthly or annual subscription. Failed requests never consume credits, and every Google API endpoint is included on every plan.
Choose an endpoint and enter your expected request volume. Google APIs use flat per-request credits, making usage easy to forecast. Failed requests cost 0 credits.
Everything you need to know about the Autocomplete API.
GET /v1/google/autocomplete .value , which is the suggested query, and relevance , which is the numerical relevance score returned with it.gl to choose the country and hl to choose the language. The same query can return different suggestions when either setting changes, making the API suitable for multilingual and market-specific research.relevance as monthly search volume, traffic, CPC, or ranking difficulty. Use the score as returned by the endpoint, and combine the suggestions with Google Trends or another keyword-data source when you need demand metrics./v1/google/autocomplete for search suggestions and /v1/google/search for organic results and other SERP features.Use 1,000 free credits to retrieve Google search suggestions, discover long-tail keywords, research market-specific queries, and build autocomplete workflows with structured JSON.
No credit card required · Failed requests cost 0 credits
Disclaimer: ScrapeBadger is not affiliated with, endorsed by, or in any way officially connected with Google LLC or any of its subsidiaries or affiliates. Google and related trademarks are the property of their respective owners.