People Also Ask API
A People Also Ask API returns the questions in Google's 'People also ask' box for a search as structured data, so you can collect them for many keywords without scraping Google yourself.
Send a search with serp: true and Geekflare returns the questions from Google's People Also Ask box in data.people_also_ask.
Rated 4.9 on average: G2 4.8,
Google 4.9,
Product Hunt 5.0.
- 250 free searches every month
- No card to start
- Failed requests cost nothing
Try it on your own keyword
Add a country to see the questions searchers there get.
Trusted by teams at Pfizer, NBCUniversal, TCS, Hostinger, Kissflow, Lookout, Plivo, ClearSale, Sparkian, CBSplit and Omreon.
What you get back
People Also Ask is the box of related questions Google shows on many results pages. With serp: true, the Search API returns those questions as a list. Each entry has the question text, a question_type, and its position: rank within the box and global_rank on the results page. When Google exposes a link for the question, it is included as question_link. The example below is from the Geekflare docs.
{
"people_also_ask": [
{
"question": "What is the best ATS for recruiting agencies?",
"question_type": "ai_overview",
"rank": 1,
"global_rank": 3
},
{
"question": "What is an ATS vs CRM?",
"question_link": "https://www.google.com/search?q=What+is+an+ATS+vs+CRM%3F",
"question_type": "ai_overview",
"rank": 3,
"global_rank": 5
}
]
}Get People Also Ask questions for a keyword
Send the keyword as query with serp: true. The same response also includes the organic results, related searches and the AI Overview when Google shows one, so one request covers the whole results page. Every option is in the Search API docs.
# pip install requests
import requests
response = requests.post(
"https://api.geekflare.com/search",
headers={"x-api-key": "<api-key>"},
json={"query":"ats for agencies","serp":True,"location":"gb"},
)
print(response.json())const response = await fetch("https://api.geekflare.com/search", {
method: "POST",
headers: {
"x-api-key": "<api-key>",
"Content-Type": "application/json",
},
body: JSON.stringify({
"query": "ats for agencies",
"serp": true,
"location": "gb"
}),
});
console.log(await response.json());curl --request POST \
--url 'https://api.geekflare.com/search' \
--header 'x-api-key: YOUR_KEY' \
--header 'Content-Type: application/json' \
--data '{"query":"ats for agencies","serp":true,"location":"gb"}'See it in 20 seconds
Questions for a country, city or device
The questions Google shows change with location and device. Add location with a country code such as "us" or "gb", or city in the form "London,England,United Kingdom", and use device for mobile results. Run the same keyword for each market you care about to compare what people there ask.
What the API doesn't return
The API returns the questions Google shows on the first results page. It doesn't return the expanded answers under each question, and it doesn't click questions open to load more. If you need the answer text, open question_link when it is present, or run the question itself as a new search.
What teams use People Also Ask data for
People Also Ask shows the follow-up questions searchers have, in their own words.
- FAQ and article planning around real questions
- Comparing questions by country or city, next to who ranks there
- Tracking which questions appear or disappear over time
How many searches each plan covers.
A search costs 2 credits, including SERP mode with People Also Ask. The free plan has 500 credits a month, which is 250 searches, with no credit card. Failed requests cost nothing.
| Covered per month | Free $0/mo No card | Starter $19/mo | Most popular Growth $69/mo | Business 500K $299/mo | Business 1M $499/mo |
|---|---|---|---|---|---|
Credits a month | 500 | 20,000 | 100,000 | 500,000 | 1,000,000 |
SearchesGoogle's full results page, for any country or city.2 credits | 250 | 10,000 | 50,000 | 250,000 | 500,000 |
| Requests per second | 1 | 5 | 10 | 25 | 25 |
What customers say.
“Its been couple of years we are using Geekflare API, we like its stable production ready performance and cost-effectiveness of accessing multiple APIs through a single plan.”
Jitendra RauloDirector, Aarav Infotech“I've been using Geekflare for both their API tools and their multi-AI chat platform. The URL-to-Markdown API has been a game changer for my content pipeline.”
“Found Geekflare API to get markdown from URL for my AI agents. It is fast and cheaper and works on almost every website.”
Ram DasiArchitect, PA ConsultingPeople Also Ask, specifically.
General search questions are answered on the Search API page.
Open the Search API pageserp: true. The questions come back in data.people_also_ask, with each question's text, type and position.question_link when it is present, or search the question itself.location with a country code, or city for a specific city. The questions often differ between markets.requests to https://api.geekflare.com/search and read data["people_also_ask"] from the JSON. There is also an official Python SDK.People Also Ask data, from your first search.
Create a free account and get 250 searches a month. No credit card needed.


