Data APIs · Google Search
Google Search APIs for AI agents
morigraph has 17 Google Search APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including search, jobs, AI mode and AI overview. You need no account or API key with a data vendor, only one morigraph connection. Calls cost from 0.001 credits, about $0.10 for 1,000 calls, paid from one balance.
- APIs
- 17
- Price
- 0.001 to 0.04 credits a call
- Call it from
- MCP, command line and HTTP API
- Needs
- One morigraph connection. No vendor account or API key
Three ways to call it
Every data API is run by one tool, data_api, with the API's id and its arguments. The example is Google Search.
In your assistant (MCP). Connect once, then ask in plain words
claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp
Use morigraph's Google Search data API with {"gl":"us","hl":"en","limit":10,"query":"best coffee maker"} and summarise what comes back.From a terminal or script (CLI)
npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"google.search","input":{"gl":"us","hl":"en","limit":10,"query":"best coffee maker"}}'From your own code (HTTP API)
curl https://api.morigraph.com/v1/tools/data_api \
-H "Authorization: Bearer $MORIGRAPH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"google.search","input":{"gl":"us","hl":"en","limit":10,"query":"best coffee maker"}}'17 Google Search APIs
| API | Id | Price |
|---|---|---|
| Google Search | google.search | 0.01 credits a call |
| Google Jobs | google.jobs | 0.017 credits a call |
| Google AI Mode | google.ai_mode | 0.04 credits a call |
| Google AI Overview | google.ai_overview | 0.03 credits a call |
| Google AI Overview Preview | google.ai_overview_preview | 0.014 credits a call |
| Google Autocomplete | google.autocomplete | 0.017 credits a call |
| Google Images | google.images | 0.017 credits a call |
| Google Job | google.job | 0.017 credits a call |
| Google Lens | google.lens | 0.017 credits a call |
| Google Local Services | google.local_services | 0.017 credits a call |
| Google News | google.news | 0.016 credits a call |
| Google Patents | google.patents | 0.017 credits a call |
| Google Resolve Links | google.resolve_links | 0.001 credits a call |
| Google Scholar | google.scholar | 0.017 credits a call |
| Google Search Top 100 | google.search_100 | 0.036 credits a call |
| Google Trends | google.trends | 0.04 credits a call |
| Google Videos | google.videos | 0.017 credits a call |
Google Search
Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past ro
| Argument | Type | Required | What it is |
|---|---|---|---|
autocorrect | boolean | no | Toggle Google spelling autocorrect (default true). Set false to search the exact query without correction. |
cursor | string | no | Deprecated: send page instead. A token from an earlier response's nextCursor continues on the source that issued it; page is ignored when cursor is sent alongside it. A token issued for a query restricted with site: may be refused; repea… |
gl | string | no | Two-letter country code for result localization (e.g. us, gb, de). Default "us". |
hl | string | no | Two-letter interface and results language code (e.g. en, es, de). Default "en". |
limit | integer | no | Page size to ask for. Google returns about 10 organic results per page and stopped honoring larger counts in September 2025, so a limit above 10 still returns about 10. Some sources return their whole page of about 10 whatever limit says… Default 10. |
location | string | no | Fine-grained location to localize results to, more specific than the country-level gl. Send it as an Active Canonical Name from Google's geo-target list: place, then each parent region, then country, with no space after each comma, e.g. … |
page | integer | no | Which page of about 10 organic results to return, starting at 1. Send page 2, 3, ... to walk deeper; each page is billed as one request. Past page 1, a query restricted with site: is served only by sources that keep the restriction on la… Default 1. |
query | string | yes | The Google search query. |
requireCursor | boolean | no | Deprecated: send page instead. Serves the request only from a source that returns a nextCursor for it. Some sources return none for a query restricted with site:, so for such a query this can pick a dearer source. |
timeframe | 1h | 1d | 7d | 1y | all | no | Restrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction). |
Returns link nextCursor position query results snippet title
The call
data_api({"api":"google.search","input":{"gl":"us","hl":"en","limit":10,"query":"best coffee maker"}})Google Jobs
Search Google Jobs, the job listings Google gathers from LinkedIn, Indeed, ZipRecruiter, company career sites and other boards, and get about 10 listings per call: title, company, location, the site it was found on, the full description, apply links on every board that carries it, and the posting details Google shows (posted, pay, job type, benefits). Each listing carries a listingToken you can pa
| Argument | Type | Required | What it is |
|---|---|---|---|
cursor | string | no | Opaque cursor from a previous response's nextCursor. Send it with the same query, location, gl and hl to get the next page of about 10 listings; it expires about an hour after it was issued, after which you start again from page 1. |
gl | string | no | Two-letter country code to search in (e.g. us, gb, de). Default "us". |
hl | string | no | Language code for the listings and their details (e.g. en, de, es). Default "en". |
location | string | no | City, region or country to search around, e.g. Chicago, IL or London. Google may include nearby places. |
query | string | yes | Job title or keywords to search, e.g. registered nurse. A place written into the query ("barista in Austin, TX") also localizes the search. |
Returns applyOptions companyName extensions jobId listingToken location nextCursor position title via
The call
data_api({"api":"google.jobs","input":{"gl":"us","hl":"en","location":"Chicago, IL","query":"registered nurse"}})Google AI Mode
Ask Google AI Mode a prompt and receive the cited answer it generates. AI Mode composes the answer at search time, so repeat calls on one prompt can differ in wording and in which sources are cited.
| Argument | Type | Required | What it is |
|---|---|---|---|
prompt | string | yes | The question or prompt to answer with Google AI Mode. |
Returns answer answerMarkdown citations prompt title url
The call
data_api({"api":"google.ai_mode","input":{"prompt":"What is AnyAPI at getanyapi.com, and what does it offer?"}})Google AI Overview
Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
| Argument | Type | Required | What it is |
|---|---|---|---|
prompt | string | yes | The question or prompt to answer with a Google AI Overview. |
Returns answer answerMarkdown citations index language prompt scrapedAt title url
The call
data_api({"api":"google.ai_overview","input":{"prompt":"How does photosynthesis work?"}})Google AI Overview Preview
Ask Google Search a prompt and receive the AI Overview as a searcher first sees it, before selecting Show more: the opening text and the sources linked inside it. When Google shows the whole overview without a Show more button, that is what you receive. For the complete expanded overview with every source Google listed, use google.ai_overview.
| Argument | Type | Required | What it is |
|---|---|---|---|
prompt | string | yes | The question or prompt to search Google for. |
Returns answer citations index prompt title url
The call
data_api({"api":"google.ai_overview_preview","input":{"prompt":"How does photosynthesis work?"}})Google Autocomplete
Get Google search autocomplete suggestions for a partial query (keyword ideas).
| Argument | Type | Required | What it is |
|---|---|---|---|
gl | string | no | Two-letter country code for result localization (e.g. us, gb, de). Default "us". |
hl | string | no | Two-letter interface and results language code for the suggestions (e.g. en, es, de). Default "en". |
query | string | yes | The partial Google search query. |
Returns query suggestions value
The call
data_api({"api":"google.autocomplete","input":{"query":"best coff"}})Google Images
Run a Google Images search and get structured results: image URLs, dimensions, titles, and source pages.
| Argument | Type | Required | What it is |
|---|---|---|---|
autocorrect | boolean | no | Toggle Google spelling autocorrect (default true). Set false to search the exact query without correction. |
gl | string | no | Two-letter country code for result localization (e.g. us, gb, de). Default "us". |
hl | string | no | Two-letter interface and results language code (e.g. en, es, de). Default "en". |
limit | integer | no | Maximum number of images to return (1-100, default 20). Requests for 10 results or fewer are billed at a lower rate than larger requests. |
location | string | no | Fine-grained location for result localization, given as a canonical Google location string (e.g. 'New York, United States', 'London, United Kingdom'). More specific than the country-level gl. |
query | string | yes | Image search query (e.g. golden gate bridge at sunset). |
timeframe | 1h | 1d | 7d | 1y | all | no | Restrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction). |
Returns height position source sourceUrl thumbnailUrl title url width
The call
data_api({"api":"google.images","input":{"gl":"us","hl":"en","limit":5,"query":"golden retriever"}})Google Job
Fetch one Google Jobs listing by the listingToken that google.jobs returns: title, company, location, the site it was found on, the full description, apply links on every board that carries it, the posting details Google shows (posted, pay, job type, benefits), and the employer's ratings on review sites such as Glassdoor and Indeed when Google shows them.
| Argument | Type | Required | What it is |
|---|---|---|---|
listingToken | string | yes | The listingToken of one listing in a google.jobs response. |
Returns applyOptions companyName companyRatings description extensions jobId location rating source title url via
The call
data_api({"api":"google.job","input":{"listingToken":"gcb1.eyJ2IjoxLCJvcCI6Imdvb2dsZV9qb2JzX2xpc3RpbmciLCJzY29wZSI6InctN2lTM2lzV09LSUhqZTMwaVR5NkEiLCJxIjoicmVnaXN0ZXJlZCBudXJzZSIsImZjIjoiRXN3QkNvd0JRVXBwVkRSMFRGVnBlamxoVFdaQ2FVZHpiMWh4Y0cxVE1TMDBlV2c1UWxWSFZpMWpjelpYVmtOaFpUSjBXbmRQT0ZCQ01VWXlURFl5TWs0NFgyOVFTM1pEVjFSaU5VRkZhR1JzYTBGTU1IUnRPR0Z2V1ZaemFGUk5XRlJRVTFSU2JETkZSaTFOVUV4eVkwcDJTbGd0YkZWUlZXTktjMHhMYjBWdWFHWjFPRFpZUldoUFFtVnlaRk5tYlhVU0YzbHNYMU5oZEdvM1FYRmhjbWt0WjFBME9UTlJMVkZ6R2lKQlJITnlPV1pVV2pGS05XbENSMnRyUTJkelNqbGhkelpIVnkxT1RscE1NbU5CIiwiZWkiOiJ5bF9TYXRqN0FxYXJpLWdQNDkzUS1RcyIsImlkIjoiMFRHZ0p6WW1XT0drWFZCR0FBQUFBQT09IiwidmVkIjoiMmFoVUtFd2pZaUlQeGlMLVhBeFdtMVFJSEhlTXVOTDhRcDR3Q2VnUUlKUkFCIn0"}})Google Lens
Reverse image search: find web pages and visual matches for an image URL.
| Argument | Type | Required | What it is |
|---|---|---|---|
url | string | yes | Public URL of the image to search with. |
Returns image link results source thumbnailUrl title url
The call
data_api({"api":"google.lens","input":{"url":"https://i.imgur.com/HBrB8p0.png"}})Google Local Services
Find the businesses Google lists in Local Services ads for a service in a US city (plumbers, electricians, cleaners...): up to 20 per request, each with phone, star rating, review count, category, service area and Google profile link.
| Argument | Type | Required | What it is |
|---|---|---|---|
limit | integer | no | Maximum number of businesses to return (1-20, default 20). Google lists at most 20 businesses for one service in one city, so there are no further pages. |
location | string | yes | The US city to search, with its state (e.g. Denver, CO or Austin, TX). |
query | string | yes | The service to find businesses for, in everyday words (e.g. plumber, electrician, house cleaning, roofer). |
Returns bid category cid highlights hours image isOpenNow name phone pid position profileUrl rating responseTime reviewCount serviceArea yearsInBusiness
The call
data_api({"api":"google.local_services","input":{"limit":5,"location":"Denver, CO","query":"plumber"}})Google News
Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
| Argument | Type | Required | What it is |
|---|---|---|---|
gl | string | no | Two-letter country code for result localization (e.g. us, gb, de). Default "us". |
hl | string | no | Two-letter interface and results language code (e.g. en, es, de). Default "en". |
limit | integer | no | Requested article count (1-20, default 20). Google News returns its latest matching articles and may return more or fewer than requested. Price is flat per request. |
location | string | no | Fine-grained location for result localization, given as a canonical Google location string (e.g. 'New York, United States', 'London, United Kingdom'). More specific than the country-level gl. |
query | string | yes | News search query; supports operators like '-', 'OR', and 'site:' (e.g. bitcoin site:cnn.com). |
timeframe | string | no | How far back to search, written as a count plus a unit: h hours, d days, w weeks, m months, y years. So 2h is the last two hours, 30d the last thirty days, 6m the last six months. Omit this field, or send 'all', to search without a time … |
Returns createdUtc image snippet source title url
The call
data_api({"api":"google.news","input":{"gl":"us","hl":"en","query":"openai"}})Google Patents
Search Google Patents with title, patent number, inventor, assignee, key dates, and PDF link.
| Argument | Type | Required | What it is |
|---|---|---|---|
query | string | yes | The Google Patents search query. |
Returns assignee filedUtc grantedUtc image inventor language link pdfUrl priorityUtc publicationNumber publishedUtc query results snippet title
The call
data_api({"api":"google.patents","input":{"query":"wireless charging"}})Google Resolve Links
Turn Google redirect links (google.com/goto?url=...) into the destination URLs they point to. Google search, video, jobs and AI Overview results carry such a link in place of the destination when Google withholds it. Send up to 100 links in one call and get each one back in the order sent, with its destination, or resolved false when Google would not reveal it. One price per call whatever the numb
| Argument | Type | Required | What it is |
|---|---|---|---|
urls | array of string | yes | Google redirect links to resolve, as Google search, video, jobs or AI Overview results return them: https://www.google.com/goto?url=... or https://google.com/goto?url=.... |
Returns gotoUrl resolved results url
The call
data_api({"api":"google.resolve_links","input":{"urls":["https://www.google.com/goto?url=CAESXAHEIkXX-k1JDF6Qm-ZU80RgctK1e1kdU0lHAgJ3GmEYXJNuaDgsSFU8mZVr16FAhiZU72RhtPVNfgRmzgSrpkhv_3XB4FyHiTxWRGeAJxe08-tV3aHUReJ4kC6m","https://www.google.com/goto?url=CAESWwHEIkXXUR3b8PmwqSp-vpUo7COcGYqs-lcvqN4jG_We2j1tLsoCdGeHmqS3QgYaD-ZgCuRLp_DiuWLobg_oiXpEk7o6rEZVKMB7sLza0I6uWpYgj3_rJwO5POs"]}})Google Scholar
Search Google Scholar for academic papers with title, authors, citation count, and PDF link.
| Argument | Type | Required | What it is |
|---|---|---|---|
query | string | yes | The Google Scholar search query. |
Returns citedBy id link pdfUrl publicationInfo query results snippet title year
The call
data_api({"api":"google.scholar","input":{"query":"attention is all you need"}})Google Search Top 100
Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can tak
| Argument | Type | Required | What it is |
|---|---|---|---|
autocorrect | boolean | no | Toggle Google spelling autocorrect (default true). Set false to search the exact query without correction. |
gl | string | no | Two-letter country code for result localization (e.g. us, gb, de). Default "us". |
hl | string | no | Two-letter interface and results language code (e.g. en, es, de). Default "en". |
query | string | yes | The Google search query. |
timeframe | 1h | 1d | 7d | 1y | all | no | Restrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction). |
Returns aiOverview link position query results snippet title
The call
data_api({"api":"google.search_100","input":{"gl":"us","hl":"en","query":"best crm software"}})Google Trends
Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the resp
| Argument | Type | Required | What it is |
|---|---|---|---|
geo | string | no | Where the searches came from: an uppercase ISO country code (US, GB, DE) or a country subdivision (US-CA, GB-ENG). Omit it, or send worldwide, for worldwide interest. Default "worldwide". |
keywords | array of string | yes | Search terms to compare, 1 to 5, each 2 to 100 characters and without commas (e.g. ["coffee", "tea"]). Values are relative across the whole set, so the same term scores differently next to different terms. |
timeframe | 1h | 4h | 1d | 7d | 1m | 3m | 12m | 5y | all | no | The window to chart, ending now: 1h, 4h, 1d or 7d (hours and days), 1m or 3m (months), 12m, 5y, or all (back to January 2004). Buckets grow with the window: minutes up to 1d, hours for 7d, days for 1m and 3m, weeks for 12m and 5y, months… Default "12m". |
Returns geo keyword points series timeframe
The call
data_api({"api":"google.trends","input":{"geo":"US","keywords":["coffee","tea"],"timeframe":"12m"}})Google Videos
Search Google for video results (YouTube and others) with title, link, thumbnail, and source.
| Argument | Type | Required | What it is |
|---|---|---|---|
autocorrect | boolean | no | Toggle Google spelling autocorrect (default true). Set false to search the exact query without correction. |
gl | string | no | Two-letter country code for result localization (e.g. us, gb, de). Default "us". |
hl | string | no | Two-letter interface and results language code (e.g. en, es, de). Default "en". |
location | string | no | Fine-grained location for result localization, given as a canonical Google location string (e.g. 'New York, United States', 'London, United Kingdom'). More specific than the country-level gl. |
query | string | yes | The video search query. |
timeframe | 1h | 1d | 7d | 1y | all | no | Restrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction). |
Returns image link position query results snippet source title
The call
data_api({"api":"google.videos","input":{"gl":"us","hl":"en","query":"lofi hip hop"}})Good to know
- The price shown is the usual one. A call can cost more when the first source fails and another serves it; the most it can cost is shown beside each API, and
max_creditssets your own limit. - These APIs return public data. What you may do with it depends on the platform's terms and the privacy law where you operate, and that responsibility is yours.
- A failed call is not charged.
When to choose something else
Choose a provider that specialises in Google search results when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.
Questions
Do I need my own API key for Google search results?
No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 17 APIs on this page.
What does Google search results cost through morigraph?
Between 0.001 and 0.04 credits a call depending on the API, where a credit is about 10 cents. That is from about $0.10 for 1,000 calls. You pay per call from one balance, with no separate subscription.
Can Claude, ChatGPT or Cursor get Google search results?
Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.
Which Google Search APIs are available?
Google Search, Google Jobs, Google AI Mode, Google AI Overview, Google AI Overview Preview, Google Autocomplete, Google Images, Google Job, Google Lens and Google Local Services, and 7 more listed on this page.
Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.