Web research5 min readBy Purrkey team

How to pull live Google results with DataForSEO

Get live Google organic results, People Also Ask, related searches and the AI overview for one keyword with a single DataForSEO call

On this page

You have 12 target keywords to check before a landing-page refresh and need each keyword's live Google organic winners, People Also Ask questions, related searches and any AI overview. The deliverable is a review table with one row per organic result and a keyword-level note for the extra SERP blocks. No run has been executed for this guide, so the table below is a design, not a result

Example input and table design

Example keyword: espresso machine for small kitchen. The phrase is invented for this guide; replace it with your own keyword. The tool takes one keyword per call, so a 12-keyword review means 12 calls

The table columns are keyword, rank, title, site, siteName, description, peopleAlsoAsk, relatedSearches, aiOverview and briefAngle. Values here are placeholders showing the shape

keywordranktitlesitesiteNamedescriptionpeopleAlsoAskrelatedSearchesaiOverviewbriefAngle
espresso machine for small kitchen1first organic titleespresso-shop.exampleSite namemeta descriptionquestion one; question tworelated search one; related search twooverview text or nulladd a countertop-size section

Pick one convention for repeated fields. If a keyword returns eight organic results, the table has eight rows, and the keyword-level fields can repeat on each row or appear on the first row only. Tell the agent which convention you want before the run so the output does not mix the two

Inputs the tool takes

dataforseo.serp.google_organic is exposed at POST /v1/runs. The contract lists keyword, location_code and language_code. keyword is required, with a minimum length of 1 and a maximum of 700 characters. location_code is an integer with a minimum of 1 and a default of 2840, which the contract describes as the United States. language_code is a string with a pattern that allows a two-letter lowercase language code, optionally followed by a region subtag, and its default is English. For another country, pass the DataForSEO location code

How to read the output fields that drive a decision

The response echoes keyword, locationCode, languageCode and checkedAt. totalResults is an integer or null. aiOverview is a string or null; a string is the text of an AI overview, and null means the response does not include one. The organic array holds items with rank and title, plus optional url, site, siteName, breadcrumb and description. Use rank and site to see which pages own the SERP. Use siteName and description to decide where the brief can add a subtopic. The contract says url is usually a Google redirect rather than the page address, so use site for the real origin. peopleAlsoAsk and relatedSearches are arrays of strings that can seed the brief

Limit: organic returns at most 100 results, while peopleAlsoAsk and relatedSearches return at most 50 items each. That cap affects the step where you read the SERP: if a keyword returns 100 organic items, you have no more than 100 rows for that keyword in the table. The companion article at check Google AI overviews covers the aiOverview field

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to pull live Google organic results for the keywords in the list below. Check the current inputs and price of dataforseo.serp.google_organic before running anything. Call the tool once per keyword with location_code 2840 and language_code en. Return one table with keyword, rank, title, site, siteName, description, peopleAlsoAsk, relatedSearches, aiOverview and briefAngle. Keep the organic items in rank order and leave fields empty when the response has null.

Example keyword to replace with your 12: espresso machine for small kitchen

The prompt tells the agent to check the current inputs and price before a call. It also tells the agent to return a table rather than a prose summary. Replace the example keyword with your list of 12

Estimated tool cost

Prices from the Purrkey catalog, read on November 17, 2026. The unit is max_call: "Maximum per call. Successful runs settle at DataForSEO's actual charge, with no markup." The totals below are ceilings

StepFormulaUnit pricePlanned quantityTotal
Single keyword check1 call x max price$0.004 per call1$0.004
12-keyword SERP review12 calls x max price$0.004 per call12$0.048

Agent model fees are not counted. A 12-keyword review uses 12 calls at most $0.048. If you test one keyword first, that check is at most $0.004, and the remaining 11 calls are at most $0.044

Check the SERP before the brief

Open the DataForSEO Google organic tool page to confirm the current price and run the first keyword. Then fill the table from the response

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with DataForSEO.
Explore DataForSEO tools and pricing

FAQ

How do I pull live Google organic results for a keyword with DataForSEO?

Call dataforseo.serp.google_organic with the required keyword; location_code defaults to 2840 and language_code defaults to en. The response includes organic, peopleAlsoAsk, relatedSearches and aiOverview.

What inputs does dataforseo.serp.google_organic take?

The contract lists keyword, location_code and language_code. keyword is required and has a maximum length of 700 characters; location_code has a default of 2840, and language_code has a default of en.

What does the organic array contain?

Each organic item has rank and title, plus optional url, site, siteName, breadcrumb and description. The url is usually a Google redirect, so use site for the real origin.

How many organic, People Also Ask and related search items can a response return?

organic returns at most 100 items. peopleAlsoAsk and relatedSearches each return at most 50 items.

How much does a 12-keyword SERP review cost?

At the max_call ceiling of $0.004 per call, 12 calls are at most $0.048. A single keyword check is at most $0.004. Agent model fees are not counted.

What does a null aiOverview mean?

aiOverview is a string or null. A string is the text of an AI overview; null means the response does not include one.

What happens if I leave location_code and language_code out?

The contract defaults location_code to 2840, the United States, and language_code to en. The response echoes locationCode and languageCode, which can be null.

Next step

Try this with DataForSEO

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See DataForSEO tools

Share this article