APIs

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.

Auto-upgrade gets the data, and the receipt says what it cost

Pages are fetched at the cheapest level that returns real content. When a plain fetch gets a 403, a 429, a challenge screen or an empty shell, the request moves up a level on its own. It's on by default, and you can cap it or turn it off per request.
  • 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.

  • 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.

  • 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.

You pay for the level that returned the data, never for the attempts below it. If no level gets the page, the request costs $0. A SERP request that has to switch to the live path bills at the live price, $0.0018.

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, rendered or protected. With rendered, 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, rendered or protected: the level that returned the data.
upgraded
true when 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. 1.Change the base URL from https://api.dataforseo.com/v3/ to https://api.dataforgaio.com/v1/.
  2. 2.Rename the family segment: on_page becomes pages, ai_optimization becomes ai, business_data becomes business, and serp stays serp. The rest of the path is the same.
  3. 3.Keep Basic auth. Use any login and your dg_ API key as the password. Bearer and X-API-Key headers work too.
  4. 4.Keep your request bodies and response parsing. Each task also returns receipt_id, fetch_level and upgraded, 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.

task_post → tasks_ready → task_getbash
# 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.