Runs onSearch API

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.

Get a free API key

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.

Country
Try:

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.

quickstart.pyplain REST
# 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())

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.

2 months free
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
50020,000100,000500,0001,000,000
SearchesGoogle's full results page, for any country or city.2 credits
25010,00050,000250,000500,000
Requests per second15102525
Start freeCompare plans and credit packsEvery account starts free. Upgrade when you need more, or buy a credit pack from $10.

What customers say.

Read all reviews
“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.”
Nicolas RiosHead of Product
“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 Consulting

People Also Ask, specifically.

General search questions are answered on the Search API page.

Open the Search API page

Send your keyword to the Geekflare Search API with serp: true. The questions come back in data.people_also_ask, with each question's text, type and position.

No. It returns the questions shown on the first results page, not the expanded answers. Use question_link when it is present, or search the question itself.

Yes. Add location with a country code, or city for a specific city. The questions often differ between markets.

Yes. Send a POST request with requests to https://api.geekflare.com/search and read data["people_also_ask"] from the JSON. There is also an official Python SDK.

Each search costs 2 credits. The free plan covers 250 searches a month, and on paid plans 1,000 searches cost between $1.00 and $1.90.

People Also Ask data, from your first search.

Create a free account and get 250 searches a month. No credit card needed.