Google search API for AI assistants
18 endpoints from 3 providers, from $0.00198 per call.
Providers
AnyAPI
- Google Search Top 100$0.00198 per call
- Google Shopping Search$0.07 per call
DataForSEO
- Google Hotels search results for a keyword, live$0.0044 per call
- Search intent for up to 1000 keywords$0.014 per call
- Top Google searches from the 7B keyword database$0.014 per call
SerpApi
- Paid ads on a Google results page for a query$0.017 per call
- Google AI Overview panel by page token$0.017 per call
- Google Events results for a query and location$0.017 per call
- Google Finance quote, chart and news by ticker$0.017 per call
- Google Flights itineraries by route and date — prices$0.017 per call
- Google Hotels results for a query and stay dates$0.017 per call
- Google Images results for a query$0.017 per call
- Google Jobs postings for a query and location$0.017 per call
- Google Lens reverse image search by image URL$0.017 per call
- Google Patents results for a query — inventor, assignee$0.017 per call
- Google Scholar results for a query — citation counts$0.017 per call
- Google Shopping results for a query — price, seller$0.017 per call
- Google Videos results for a query$0.017 per call
Prices include the router's 10% markup and are paid from the usage wallet. Checked on November 11, 2026.
The Google search API runs a query on Google and returns the results as JSON. The search covers Google's main index and specialized engines: Images, Videos, Shopping, Scholar, Patents, Jobs, Hotels, and others.
What it does
You pass a search query, a location, and a language. Some endpoints let you specify which Google engine to search (web, images, videos, shopping, scholar, patents, jobs, flights, hotels, events), and others work with the main web search only. The reply holds the search results, each with its title, link, and snippet or description. Shopping endpoints add prices and seller names, Scholar adds citation counts, and Patents adds inventor and assignee fields.
A few endpoints return keyword data from large databases instead of live search results. One endpoint tells you whether Google sees a set of keywords as informational, commercial, or navigational. Another lists the top searches from a database of seven billion keywords.
How a Joshu assistant uses it
Before a partnership call, Joshu runs a Google search for the other company's product name and reports back on recent coverage, pricing pages, and what competitors show up in the ads.
When you hand Joshu a list of product ideas, it searches for each one, checks what comes up first on Google Shopping, and writes a one-line summary of whether the market looks crowded.
Every week, Joshu searches Google Images for your brand name to see what visuals appear in the top results, and it flags any new screenshots or logos it has not seen before.
Choosing a provider
Pick the endpoint that matches which Google engine you want to search. If you need web results only, the cheapest general search endpoint works. If you need images or videos, use an endpoint that targets Google Images or Google Videos. Shopping and Scholar endpoints return the extra fields their results include.
Keyword intent endpoints are different: they do not run a live search, but instead check a provider's database for what Google historically shows for those keywords.
Call it
This example calls Google Search Top 100. Each endpoint takes its own inputs, which its page lists. A Joshu assistant makes the same call with its own token.
curl https://hello.joshu.me/api/router/call \
-H "Authorization: Bearer $JOSHU_ROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{
"endpoint": "anyapi.google.search_100",
"params": {
"gl": "us",
"hl": "en",
"query": "best crm software"
}
}'