SEO and AI-search data, on one key and one wallet.
Search results, page data, AI answers, business profiles and ad libraries. Each request upgrades itself when a page needs more than a plain fetch, bills the level that worked, and says why on the receipt.
Product families
- SERP APIGoogle and Bing organic results and Google Maps, in three queue modes./v1/serp/…Endpoints and prices
- Pages APIPage content and on-page data for any URL, at the fetch level the page needs./v1/pages/…Endpoints and prices
- AI answers APIAnswers from AI models with their citations, plus brand visibility tracking./v1/ai/…Endpoints and prices
- Business APIGoogle Business Profile data, products and owner photos./v1/business/…Endpoints and prices
- Ads APIAds from the Meta Ad Library and sponsored results on Yelp./v1/ads/…Endpoints and prices
Auto-upgrade gets the data, and the receipt says what it cost
- standard$0.00011
A plain HTTP fetch. Covers most of the open web: articles, docs, sitemaps and product pages that serve their content in the HTML.
$0.00011 - rendered$0.00011 + $0.00099
A headless browser runs the page's JavaScript before we read it. For single-page apps and content loaded after the first paint.
$0.00011 + $0.00099 - protected$0.003
For pages that answer a plain fetch and a browser with a challenge screen, 403 or 429. The slowest and most expensive level.
$0.003
Set a limit in the request
- auto_upgrade: false
- Stay at the level the price includes. A blocked request returns an error and costs $0.
- max_level
- A ceiling:
standard,renderedorprotected. Withrendered, a request never uses Protected. - max_cost
- The most a task may cost, in dollars. We never upgrade past it.
Read what happened in the response
- fetch_level
standard,renderedorprotected: the level that returned the data.- upgraded
truewhen the request went above the level its price includes.- upgrade_reason
- Why, in plain terms, for example
403 at standard; challenge page at rendered. - cost
- What this task was charged. The receipt splits it into base and upgrade.
Moving from DataForSEO
- 1.Change the base URL from
https://api.dataforseo.com/v3/tohttps://api.dataforgaio.com/v1/. - 2.Rename the family segment:
on_pagebecomespages,ai_optimizationbecomesai,business_databecomesbusiness, andserpstaysserp. The rest of the path is the same. - 3.Keep Basic auth. Use any login and your
dg_API key as the password. Bearer andX-API-Keyheaders work too. - 4.Keep your request bodies and response parsing. Each task also returns
receipt_id,fetch_levelandupgraded, which a parser that doesn't know them ignores.
Routes we don't serve yet return status 40402 and cost $0. The support matrix at GET /v1/account/support_matrix lists every path and whether it returns data.
# 1. Queue tasks (standard or priority queue)
curl -u "any-login:$DATAFORGAIO_API_KEY" -H "Content-Type: application/json" \
https://api.dataforgaio.com/v1/serp/google/organic/task_post \
-d '[{ "keyword": "running shoes", "location_code": 2840, "language_code": "en" }]'
# 2. List the tasks that have finished
curl -u "any-login:$DATAFORGAIO_API_KEY" \
https://api.dataforgaio.com/v1/serp/google/organic/tasks_ready
# 3. Fetch one result by task id
curl -u "any-login:$DATAFORGAIO_API_KEY" \
https://api.dataforgaio.com/v1/serp/google/organic/task_get/advanced/<task_id>Three ways to run a task
- Standard queue
- The lowest price. Collect results later with tasks_ready and task_get. They may come from a shared cache up to 6 hours old.
- Priority queue
- Ahead of the standard queue, at a higher price, with a 1-hour cache window.
- Live
- One request, answer inline, always fetched fresh. The highest price.
Every response carries fetched_at. Send max_age in seconds to set your own cache limit, or max_age: 0 to always fetch fresh.
Try an endpoint on your own queries.
Start with no deposit. Every task reports its cost, its fetch level and a receipt.