SERP API
Get Google search results as JSON, including organic results, ads, AI Overviews, Maps, News, People Also Ask, and related searches for any country or city.
- 500 free credits every month
- No card to start
- Failed requests cost nothing
POST /search
{
"query": "business insurance",
"serp": true
}





Scraping Google yourself
- CAPTCHAs and blocked IPs after a few hundred queries
- Residential proxies per country to see local results
- HTML that changes and breaks your parser without warning
- Rank positions you have to count and clean yourself
One parameter
2 credits a searchserp: truereturns Google's first page as structured JSON- A rank on every result, ready to store and compare
location,cityanddevicefor local and mobile results, no proxies to buy- The same fields on every query, no parser to maintain
Send your query to the Search API with serp: true, and add location or city when you need local results. To check a single keyword without code, use the free SERP Checker.
Google's results page, already parsed.
Every section Google shows for the query comes back as its own field, with the order and ranks intact.
Ranked organic results
Rank, title, link, displayed URL, source name and snippet for every organic result on the page.
organic[].rankPeople Also Ask
The questions Google shows for the query, in order, for content briefs and FAQ research.
people_also_askRelated searches
Google's suggested variations of the query, a free source of long-tail keyword ideas.
relatedCountry, city and device
Set a country code or a city, on desktop or mobile, to see the results searchers there see, without running proxies yourself.
location: "gb"Web, news or images
Choose the results source and a time filter, for news monitoring or image research.
source: "news"Domain filters
Include or exclude domains to focus on the sites you track, or drop the ones you don't care about.
includeDomainsSee the results searchers see, wherever they are.
Rankings change from one country to the next, and from one city to the next. Set a location and get the page Google shows there, for local SEO, market research and international rank tracking.
locationtakes an ISO country code such as"gb"or"au"citynarrows it to one of 65,000+ supported cities, written as"City,Region,Country"devicereturns desktop or mobile results: about a quarter of keywords have a different #1 on mobile- Included in every search at no extra cost
- 0
- Countries
- 65,000+
- Cities
- No proxies
- To buy or rotate
What teams build on SERP data.
Track where you rank, every day
Run your keywords daily for each country or city you care about, find your domain in the ranked results and store its position. Movements for you and your competitors show up as a diff you can chart.
- A rank on every result
- Country, city and device per check
- 100 keywords a day fits the $19 plan
POST /search
{
"query": "business insurance",
"serp": true,
"location": "us"
}Your first SERP request, in a few lines.
# pip install requests
import requests
response = requests.post(
"https://api.geekflare.com/search",
headers={"x-api-key": "<api-key>"},
json={"query":"business insurance","serp":True},
)
print(response.json())2 credits a search. Here is what that buys.
Credits are shared with every other Geekflare API, and failed requests cost nothing.
Growth covers up to ~50,000 searches a month (100K credits), about $1.38 per 1,000 searches. Or $58/mo billed yearly.
- 500 credits / month
- 1 team member
- 7 days log retention
- 1 request per second
- 10K credits / month
- 3 team members
- 30 days log retention
- 5 requests per second
- 100K credits / month
- 5 team members
- 30 days log retention
- 10 requests per second
- 1M credits / month
- 25 team members
- 90 days log retention
- 25 requests per second
What developers say after switching.
“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“After trying many scraping services, I selected Geekflare to scrape public directories. Mainly for two reasons - it is cheaper and fast.”
“Documentation was easy to follow. We were scraping dynamic pages within hours. Very reliable service.”
Before you integrate SERP data.
General questions about the endpoint are answered on the Search API page.
Open the Search API pageorganic results with rank, title, link and snippet, people_also_ask, related searches, pagination and Google's navigation tabs. Which sections appear depends on what Google shows for the query.location to a country code, such as "gb", or set city to a name from the list of supported cities, written exactly as listed, for example "London,England,United Kingdom". city takes priority when both are set.limit. SERP mode returns the first results page only.serp: true on a schedule, usually once a day, and find your domain in organic by matching each result's link. Its rank is your position; store it with the date to chart movements. Tracking 100 keywords daily takes about 3,000 searches a month (6,000 credits), which the Starter plan covers. For a walkthrough, see how to track keyword rankings, or check one keyword with the free SERP Checker.source to "news" or "images", one source per request, and combine it with the time filter.location to a country code or city to a supported city, and the results come back as searchers there see them. There are no proxies to buy, rotate or maintain.device to "mobile" to get the results page Google shows on phones, or leave it at "desktop". Mobile rankings often differ: in our study of 100 keywords, about a quarter had a different #1 result on mobile. It's included in every search at no extra cost.250 searches a month, free.
The free tier renews every month and needs no card. Get your first results page as JSON in a single call.