API documentation

Requests, responses, and what each one cost.

63 documented operations across the SERP, Pages, AI answers, Business and Ads APIs, plus the Crawl API. Every task reports its fetch level, any upgrade and its reason, and the amount billed.

Open as Markdown

Quickstart

  1. 1. Create a key under Dashboard → Developers. It starts with dg_ and is shown once.
  2. 2. Export it as DATAFORGAIO_API_KEY and run the request. Basic auth: any login, the key as the password.
  3. 3. Read tasks[0].cost and the receipt to see what was billed and why.
cURL
curl -X POST "https://api.dataforgaio.com/v1/serp/google/organic/live/advanced" \
  -u "api:$DATAFORGAIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
  {
    "keyword": "trail running shoes",
    "location_code": 2840,
    "language_code": "en",
    "device": "desktop",
    "depth": 10
  }
]'

API reference

All endpoints

Guides

Concepts

Recipes

For agents and tools

Every docs page is also available as Markdown: add .md to its URL.