morigraph Start free

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

APIIdPrice
Google Searchgoogle.search0.01 credits a call
Google Jobsgoogle.jobs0.017 credits a call
Google AI Modegoogle.ai_mode0.04 credits a call
Google AI Overviewgoogle.ai_overview0.03 credits a call
Google AI Overview Previewgoogle.ai_overview_preview0.014 credits a call
Google Autocompletegoogle.autocomplete0.017 credits a call
Google Imagesgoogle.images0.017 credits a call
Google Jobgoogle.job0.017 credits a call
Google Lensgoogle.lens0.017 credits a call
Google Local Servicesgoogle.local_services0.017 credits a call
Google Newsgoogle.news0.016 credits a call
Google Patentsgoogle.patents0.017 credits a call
Google Resolve Linksgoogle.resolve_links0.001 credits a call
Google Scholargoogle.scholar0.017 credits a call
Google Search Top 100google.search_1000.036 credits a call
Google Trendsgoogle.trends0.04 credits a call
Google Videosgoogle.videos0.017 credits a call

Google Jobs

google.jobs0.017 credits a call (about $1.70 for 1,000)

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

ArgumentTypeRequiredWhat it is
cursorstringnoOpaque 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.
glstringnoTwo-letter country code to search in (e.g. us, gb, de). Default "us".
hlstringnoLanguage code for the listings and their details (e.g. en, de, es). Default "en".
locationstringnoCity, region or country to search around, e.g. Chicago, IL or London. Google may include nearby places.
querystringyesJob 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

google.ai_mode0.04 credits a call (about $4.00 for 1,000)

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.

ArgumentTypeRequiredWhat it is
promptstringyesThe 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

google.ai_overview0.03 credits a call (about $3.00 for 1,000), at most 0.096

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.

ArgumentTypeRequiredWhat it is
promptstringyesThe 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

google.ai_overview_preview0.014 credits a call (about $1.40 for 1,000)

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.

ArgumentTypeRequiredWhat it is
promptstringyesThe 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

google.autocomplete0.017 credits a call (about $1.70 for 1,000), at most 0.019

Get Google search autocomplete suggestions for a partial query (keyword ideas).

ArgumentTypeRequiredWhat it is
glstringnoTwo-letter country code for result localization (e.g. us, gb, de). Default "us".
hlstringnoTwo-letter interface and results language code for the suggestions (e.g. en, es, de). Default "en".
querystringyesThe partial Google search query.

Returns query suggestions value

The call

data_api({"api":"google.autocomplete","input":{"query":"best coff"}})

Google Images

google.images0.017 credits a call (about $1.70 for 1,000), at most 0.039

Run a Google Images search and get structured results: image URLs, dimensions, titles, and source pages.

ArgumentTypeRequiredWhat it is
autocorrectbooleannoToggle Google spelling autocorrect (default true). Set false to search the exact query without correction.
glstringnoTwo-letter country code for result localization (e.g. us, gb, de). Default "us".
hlstringnoTwo-letter interface and results language code (e.g. en, es, de). Default "en".
limitintegernoMaximum number of images to return (1-100, default 20). Requests for 10 results or fewer are billed at a lower rate than larger requests.
locationstringnoFine-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.
querystringyesImage search query (e.g. golden gate bridge at sunset).
timeframe1h | 1d | 7d | 1y | allnoRestrict 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

google.job0.017 credits a call (about $1.70 for 1,000)

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.

ArgumentTypeRequiredWhat it is
listingTokenstringyesThe 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

google.lens0.017 credits a call (about $1.70 for 1,000), at most 0.059

Reverse image search: find web pages and visual matches for an image URL.

ArgumentTypeRequiredWhat it is
urlstringyesPublic 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

google.local_services0.017 credits a call (about $1.70 for 1,000), at most 0.284

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.

ArgumentTypeRequiredWhat it is
limitintegernoMaximum 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.
locationstringyesThe US city to search, with its state (e.g. Denver, CO or Austin, TX).
querystringyesThe 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

google.news0.016 credits a call (about $1.60 for 1,000), at most 0.019

Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.

ArgumentTypeRequiredWhat it is
glstringnoTwo-letter country code for result localization (e.g. us, gb, de). Default "us".
hlstringnoTwo-letter interface and results language code (e.g. en, es, de). Default "en".
limitintegernoRequested 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.
locationstringnoFine-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.
querystringyesNews search query; supports operators like '-', 'OR', and 'site:' (e.g. bitcoin site:cnn.com).
timeframestringnoHow 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

google.patents0.017 credits a call (about $1.70 for 1,000), at most 0.019

Search Google Patents with title, patent number, inventor, assignee, key dates, and PDF link.

ArgumentTypeRequiredWhat it is
querystringyesThe 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 Scholar

google.scholar0.017 credits a call (about $1.70 for 1,000), at most 0.019

Search Google Scholar for academic papers with title, authors, citation count, and PDF link.

ArgumentTypeRequiredWhat it is
querystringyesThe 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

google.search_1000.036 credits a call (about $3.60 for 1,000), at most 0.48

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

ArgumentTypeRequiredWhat it is
autocorrectbooleannoToggle Google spelling autocorrect (default true). Set false to search the exact query without correction.
glstringnoTwo-letter country code for result localization (e.g. us, gb, de). Default "us".
hlstringnoTwo-letter interface and results language code (e.g. en, es, de). Default "en".
querystringyesThe Google search query.
timeframe1h | 1d | 7d | 1y | allnoRestrict 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 Videos

google.videos0.017 credits a call (about $1.70 for 1,000), at most 0.019

Search Google for video results (YouTube and others) with title, link, thumbnail, and source.

ArgumentTypeRequiredWhat it is
autocorrectbooleannoToggle Google spelling autocorrect (default true). Set false to search the exact query without correction.
glstringnoTwo-letter country code for result localization (e.g. us, gb, de). Default "us".
hlstringnoTwo-letter interface and results language code (e.g. en, es, de). Default "en".
locationstringnoFine-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.
querystringyesThe video search query.
timeframe1h | 1d | 7d | 1y | allnoRestrict 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

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.