APIs / Search engines / Google Related Questions
1 credit per call1 endpoint2 datapointsChecked working 6 Dec 2026
Google Related Questions API
Google Related Questions API for the questions related to a search query, each with a next_page_token, as JSON. One endpoint, 1 credit per successful call.
{
"query": "how does espresso work",
"related_questions": [
{
"question": "Is espresso stronger than regular coffee?",
"next_page_token": "fc=EqEBCmJBSmlUNHRKd1EwVllFZ2xFZ3loS2xCYmtYVEszbTQ2NEVzcDZvbExoOUltSDNaYkhpdEp5T1EyN3J0Z1pnMVA0STF3YUZ0ODV3LVQxRlBERkZTWFlpRVhSTmJLd2x1YWhvZxIXVHNuYmFxN3JIZGZoN19VUGg0aWt1UWsaIkFEc3I5ZlFCVzhYcEw0bk9qTWFPQVRkQ3RPVWJaSHV4NEE&vet=12ahUKEwiuysf…"
},
{
"question": "Do you sip or chug an espresso?",
"next_page_token": "fc=EqEBCmJBSmlUNHRKd1EwVllFZ2xFZ3loS2xCYmtYVEszbTQ2NEVzcDZvbExoOUltSDNaYkhpdEp5T1EyN3J0Z1pnMVA0STF3YUZ0ODV3LVQxRlBERkZTWFlpRVhSTmJLd2x1YWhvZxIXVHNuYmFxN3JIZGZoN19VUGg0aWt1UWsaIkFEc3I5ZlFCVzhYcEw0bk9qTWFPQVRkQ3RPVWJaSHV4NEE&vet=12ahUKEwiuysf…"
},
{
"question": "Is an espresso 1 or 2 shots?",
"next_page_token": "fc=EqEBCmJBSmlUNHRKd1EwVllFZ2xFZ3loS2xCYmtYVEszbTQ2NEVzcDZvbExoOUltSDNaYkhpdEp5T1EyN3J0Z1pnMVA0STF3YUZ0ODV3LVQxRlBERkZTWFlpRVhSTmJLd2x1YWhvZxIXVHNuYmFxN3JIZGZoN19VUGg0aWt1UWsaIkFEc3I5ZlFCVzhYcEw0bk9qTWFPQVRkQ3RPVWJaSHV4NEE&vet=12ahUKEwiuysf…"
}
]
}Sample data
What one call returns
A recorded run of related-questions: the fields and shapes you will get, shortened to 3 items.
| # | questionstring | next_page_tokenstring |
|---|---|---|
| 1 | Is espresso stronger than regular coffee? | fc=EqEBCmJBSmlUNHRKd1EwVllFZ2xFZ3loS2xCYmtYVEszbTQ2NEVzcDZvbExoOUltSDNaYkhpdEp5T1EyN3J0Z1pnMVA0STF3YUZ0ODV3LVQxRlBERkZTWFlpRVhSTmJLd2x1YWhvZxIXVHNuYmFxN3JIZGZoN19VUGg0aWt1UWsaIkFEc3I5ZlFCVzhYcEw0bk9qTWFPQVRkQ3RPVWJaSHV4NEE&vet=12ahUKEwiuysf… |
| 2 | Do you sip or chug an espresso? | fc=EqEBCmJBSmlUNHRKd1EwVllFZ2xFZ3loS2xCYmtYVEszbTQ2NEVzcDZvbExoOUltSDNaYkhpdEp5T1EyN3J0Z1pnMVA0STF3YUZ0ODV3LVQxRlBERkZTWFlpRVhSTmJLd2x1YWhvZxIXVHNuYmFxN3JIZGZoN19VUGg0aWt1UWsaIkFEc3I5ZlFCVzhYcEw0bk9qTWFPQVRkQ3RPVWJaSHV4NEE&vet=12ahUKEwiuysf… |
| 3 | Is an espresso 1 or 2 shots? | fc=EqEBCmJBSmlUNHRKd1EwVllFZ2xFZ3loS2xCYmtYVEszbTQ2NEVzcDZvbExoOUltSDNaYkhpdEp5T1EyN3J0Z1pnMVA0STF3YUZ0ODV3LVQxRlBERkZTWFlpRVhSTmJLd2x1YWhvZxIXVHNuYmFxN3JIZGZoN19VUGg0aWt1UWsaIkFEc3I5ZlFCVzhYcEw0bk9qTWFPQVRkQ3RPVWJaSHV4NEE&vet=12ahUKEwiuysf… |
[
{
"question": "Is espresso stronger than regular coffee?",
"next_page_token": "fc=EqEBCmJBSmlUNHRKd1EwVllFZ2xFZ3loS2xCYmtYVEszbTQ2NEVzcDZvbExoOUltSDNaYkhpdEp5T1EyN3J0Z1pnMVA0STF3YUZ0ODV3LVQxRlBERkZTWFlpRVhSTmJLd2x1YWhvZxIXVHNuYmFxN3JIZGZoN19VUGg0aWt1UWsaIkFEc3I5ZlFCVzhYcEw0bk9qTWFPQVRkQ3RPVWJaSHV4NEE&vet=12ahUKEwiuysf…"
},
{
"question": "Do you sip or chug an espresso?",
"next_page_token": "fc=EqEBCmJBSmlUNHRKd1EwVllFZ2xFZ3loS2xCYmtYVEszbTQ2NEVzcDZvbExoOUltSDNaYkhpdEp5T1EyN3J0Z1pnMVA0STF3YUZ0ODV3LVQxRlBERkZTWFlpRVhSTmJLd2x1YWhvZxIXVHNuYmFxN3JIZGZoN19VUGg0aWt1UWsaIkFEc3I5ZlFCVzhYcEw0bk9qTWFPQVRkQ3RPVWJaSHV4NEE&vet=12ahUKEwiuysf…"
},
{
"question": "Is an espresso 1 or 2 shots?",
"next_page_token": "fc=EqEBCmJBSmlUNHRKd1EwVllFZ2xFZ3loS2xCYmtYVEszbTQ2NEVzcDZvbExoOUltSDNaYkhpdEp5T1EyN3J0Z1pnMVA0STF3YUZ0ODV3LVQxRlBERkZTWFlpRVhSTmJLd2x1YWhvZxIXVHNuYmFxN3JIZGZoN19VUGg0aWt1UWsaIkFEc3I5ZlFCVzhYcEw0bk9qTWFPQVRkQ3RPVWJaSHV4NEE&vet=12ahUKEwiuysf…"
}
]question,next_page_token Is espresso stronger than regular coffee?,fc=EqEBCmJBSmlUNHRKd1EwVllFZ2xFZ3loS2xCYmtYVEszbTQ2NEVzcDZvbExoOUltSDNaYkhpdEp5T1EyN3J0Z1pnMVA0STF3YUZ0ODV3LVQxRlBERkZTWFlpRVhSTmJLd2x1YWhvZxIXVHNuYmFxN3JIZGZoN19VUGg0aWt1UWsaIkFEc3I5ZlFCVzhYcEw0bk9qTWFPQVRkQ3RPVWJaSHV4NEE&vet=12ahUKEwiuysf… Do you sip or chug an espresso?,fc=EqEBCmJBSmlUNHRKd1EwVllFZ2xFZ3loS2xCYmtYVEszbTQ2NEVzcDZvbExoOUltSDNaYkhpdEp5T1EyN3J0Z1pnMVA0STF3YUZ0ODV3LVQxRlBERkZTWFlpRVhSTmJLd2x1YWhvZxIXVHNuYmFxN3JIZGZoN19VUGg0aWt1UWsaIkFEc3I5ZlFCVzhYcEw0bk9qTWFPQVRkQ3RPVWJaSHV4NEE&vet=12ahUKEwiuysf… Is an espresso 1 or 2 shots?,fc=EqEBCmJBSmlUNHRKd1EwVllFZ2xFZ3loS2xCYmtYVEszbTQ2NEVzcDZvbExoOUltSDNaYkhpdEp5T1EyN3J0Z1pnMVA0STF3YUZ0ODV3LVQxRlBERkZTWFlpRVhSTmJLd2x1YWhvZxIXVHNuYmFxN3JIZGZoN19VUGg0aWt1UWsaIkFEc3I5ZlFCVzhYcEw0bk9qTWFPQVRkQ3RPVWJaSHV4NEE&vet=12ahUKEwiuysf…
Recorded from our API · 3 items shown · 2 datapoints per itemGET /v1/google-related-questions/related-questions?q=how+does+espresso+work&hl=en&gl=us
2 datapoints
Other
- questionstring
- next_page_tokenstring
Playground
Run this API
curl "https://api.perceptlayer.com/v1/google-related-questions/related-questions?q=how+does+espresso+work&hl=en&gl=us" \
-H "X-API-Key: $API_KEY"Google Related Questions · 1 endpoint
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/google-related-questions/related-questions | none+4 optional | questionnext_page_token | 1 credit |
Overview
About the Google Related Questions API
What you can get
The Google Related Questions API returns the related questions for a search query as JSON through 1 endpoint.
- Related questions:
related-questionstakes aq, withhl,glandnext_page_token.
hl and gl each take up to two characters. The response has a query field and a related_questions array; each item has a question and a next_page_token.
How a call works
Ask for the questions around a query: GET /v1/google-related-questions/related-questions?q=how%20does%20espresso%20work&hl=en&gl=us with your key in the X-API-Key header.
In our recorded response to that call, query echoes "how does espresso work" and related_questions holds three items, such as "Is espresso stronger than regular coffee?" and "Is an espresso 1 or 2 shots?". Each item carries a next_page_token, the same name as the endpoint's optional next_page_token param. Every successful call costs 1 credit; failed calls cost nothing.
More search engines APIs
Use cases
List the questions people ask around a topic before writing an article or FAQ
Use the Google Related Questions API to list the questions people ask around a topic before writing an article or FAQBuild an FAQ section from the `question` strings for a product category
Use the Google Related Questions API to build an FAQ section from the `question` strings for a product categoryCompare the related questions for one `q` across `hl` and `gl` values
Use the Google Related Questions API to compare the related questions for one `q` across `hl` and `gl` valuesGive an AI agent the questions around a query as research context
Use the Google Related Questions API to give an AI agent the questions around a query as research contextFAQ
Questions
Do I need a Google API key?
No. You call this Google Related Questions API with your Perceptlayer key in the `X-API-Key` header, so there's no Google project or key to set up.
How much does the Google Related Questions API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
What does a related-questions response contain?
In our recorded response, a `query` string and a `related_questions` array, where each item has a `question` and a `next_page_token`.
Is this the official Google Related Questions API?
No. Perceptlayer is an independent service and is not affiliated with Google Related Questions. It returns Google Related Questions data as JSON with a Perceptlayer key, so there is no Google Related Questions developer account, app review or partner approval to get first. It only reads data: if Google Related Questions has an official API and you need to act on your own Google Related Questions account, such as posting, managing orders or reading private data, use that one.
Should I build a Google Related Questions scraper instead?
You can, but a Google Related Questions scraper is code you maintain: page changes break it, requests get blocked, and Google Related Questions's terms govern how you collect data. The Google Related Questions API gives you 1 endpoint of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Google Related Questions API with 100 free credits
No credit card. Failed calls are never billed.