Migrate from DataForSEO
On this page
The SERP, Pages, AI answers and Business families accept DataForSEO v3 paths, task arrays and field names, and return the v3 envelope and status codes. For the endpoints we serve, moving over is a base-URL and password change.
1. Swap the base URL and password
| Setting | DataForSEO | DataForGAIO |
|---|---|---|
| Base URL | https://api.dataforseo.com | https://api.dataforgaio.com/v1 |
| Login | your login | anything (ignored) |
| Password | your API password | your dg_ API key |
If your client builds paths as /v3/serp/..., keep them: /v1/v3/... resolves to the same routes (details). Otherwise use the paths in the table below.
import os
import requests
# Before: requests.post("https://api.dataforseo.com/v3/serp/google/organic/live/advanced",
# auth=(LOGIN, PASSWORD), json=tasks)
res = requests.post(
"https://api.dataforgaio.com/v1/serp/google/organic/live/advanced",
auth=("api", os.environ["DATAFORGAIO_API_KEY"]),
json=[{"keyword": "trail running shoes", "location_code": 2840, "language_code": "en"}],
timeout=120,
)
print(res.json()["tasks"][0]["status_code"])# Point the client at our host and keep its /v3 paths.
BASE_URL = "https://api.dataforgaio.com/v1"
LOGIN = "api" # ignored
PASSWORD = "dg_..." # your DataForGAIO key2. Map your paths
| Family | DataForSEO path | DataForGAIO path | Reference |
|---|---|---|---|
| SERP | /v3/serp/google/organic/{live/advanced, live/regular, task_post, tasks_ready, tasks_fixed, task_get/advanced, task_get/regular} | /v1/serp/google/organic/... (same suffixes) | POSTGoogle Organic SERP: Live Advanced |
| SERP | /v3/serp/bing/organic/... (same suffixes) | /v1/serp/bing/organic/... | POSTBing Organic SERP: Live Advanced |
| SERP | /v3/serp/google/maps/{live/advanced, task_post, tasks_ready, tasks_fixed, task_get/advanced} | /v1/serp/google/maps/... | POSTGoogle Maps SERP: Live Advanced |
| SERP | /v3/serp/google/locations, /languages (and Bing) | /v1/serp/google/locations, /languages | GETGoogle SERP: Locations |
| OnPage | /v3/on_page/instant_pages | /v1/pages/instant_pages | POSTInstant Pages |
| OnPage | /v3/on_page/content_parsing/live | /v1/pages/content_parsing/live | POSTContent Parsing: Live |
| AI Optimization | /v3/ai_optimization/chat_gpt/llm_responses/{live, task_post, tasks_ready, task_get, models} | /v1/ai/chat_gpt/llm_responses/... | POSTChatGPT LLM Responses: Live |
| AI Optimization | /v3/ai_optimization/claude/llm_responses/... | /v1/ai/claude/llm_responses/... | POSTClaude LLM Responses: Live |
| AI Optimization | /v3/ai_optimization/perplexity/llm_responses/{live, models} | /v1/ai/perplexity/llm_responses/... | POSTPerplexity LLM Responses: Live |
| Business Data | /v3/business_data/google/my_business_info/{live, task_post, tasks_ready, tasks_fixed, task_get} | /v1/business/google/my_business_info/... | POSTGoogle Business Profile: Live |
| Appendix | /v3/appendix/user_data | /v1/account/user_data | GETUser Data |
| Appendix | /v3/appendix/errors | /v1/account/errors | POSTErrors |
| Appendix | /v3/appendix/webhook_resend | /v1/account/webhook_resend | POSTWebhook Resend |
| Appendix | /v3/appendix/status | /v1/account/status | GETStatus |
| (ours) | /v1/account/support_matrix | GETSupport Matrix |
3. Check what's served
Families and endpoints not in the table above are routed but not served yet. They answer 40402 ("This endpoint isn't available yet") at $0, so a client calling them fails cleanly rather than with a 404. This includes Keywords Data, DataForSEO Labs, Backlinks, Domain Analytics, Content Analysis, Merchant, App Data, the other SERP engines and types, ai_optimization/gemini, and the other OnPage and Business Data endpoints.
The support matrix lists every route with its status and price. The same list is available from the API:
curl "https://api.dataforgaio.com/v1/account/support_matrix?supported=true" -u "api:$DATAFORGAIO_API_KEY"Filter with family=serp (or pages, ai, business, ads, account) and supported=true.
4. What's the same
- Task arrays of up to 100,
tag,priority,pingback_url,postback_url,postback_data,$idand$tag. - The envelope (
version,status_code,status_message,time,cost,tasks_count,tasks_error,tasks) and the task fields (id,status_code,status_message,time,cost,result_count,path,data,result). - Status codes:
20000,20100,40006,40100,40101,40102,40202,40210,40400,40401,40402,40501,40503,40601,40602,50000. - Result and item schemas for organic,
maps_search,google_business_info,llm_responses,instant_pagesandcontent_parsing.
5. Known differences
Extra fields. Every task adds receipt_id, fetch_level, upgraded, upgrade_reason and cache_hit, and results add fetched_at. Clients that don't know them ignore them. path starts with "v1".
Auto-upgrade and request controls. Tasks accept auto_upgrade, max_level, max_cost and max_age. A queued Google organic task whose included sources fail falls back to our live source and is billed at the live price, with upgraded: true. Send auto_upgrade: false to keep queue pricing and fail at $0 instead. See Fetch levels and Auto-upgrade.
Shared cache. Standard-queue SERP results may come from a cache up to 6 hours old (priority: 1 hour; live: none). fetched_at and cache_hit say so. Send max_age: 0 to always fetch fresh. See Caching and max_age.
SERP.
location_codeaccepts country-level codes only. Uselocation_name("Austin,Texas,United States") for cities.- Organic
depthis 1 to 200. Maps accepts up to 700 but returns at most 100. - Fields we can't fill from our sources are present and
null:xpath,cache_url,pre_snippet,extended_snippet,faq,about_this_result,address_infoon Maps items, and others. Organicadvanceditems areorganiconly; other SERP features (people_also_ask,featured_snippet,local_pack, ...) aren't returned yet. task_get/htmlisn't served (40402).- Bing
mobilereturns the desktop results page. - The standard and priority queues share workers; priority uses faster sources and a shorter cache window.
OnPage.
- Everything is computed from the single HTML document. We don't load sub-resources, so resource sizes, browser timings, CLS and spell checks are
null.duration_timeis our fetch time. onpage_scoreis our own weighted score of the checks (0 to 100), not DataForSEO's formula.- Ignored:
load_resources,check_spell,validate_micromarkup,custom_user_agent,accept_language,browser_*,ip_pool_for_scan,switch_pool,store_raw_html,disable_cookie_popup,enable_xhr,return_despite_timeout,checks_threshold. custom_jsis rejected with40501.enable_javascript: truebills the Rendered level.
AI Optimization.
- Gemini isn't served yet. Perplexity is live only.
- Each task is billed as a base fee plus tokens and web searches at the model provider's list price;
money_spentin the result is that token part. user_promptandsystem_messageare limited to 500 characters,message_chainto 10 messages,max_output_tokensto 4,096.- Queued tasks run through model providers' batch processing and can take hours (Beta).
- Answers are added to our anonymized AI-answer dataset unless your organization opts out. See Data retention.
Business Data (my_business_info) (Beta).
keywordtakes a business name,cid:<n>orplace_id:<id>.location_nameis added to a name search;location_codeis echoed but doesn't target the search.- Price is per profile and the same in every mode, by fetch level.
- Results are cached for 24 hours.
Appendix.
user_datareturnsmoney.balance,money.currencyandprice(our price table), not DataForSEO's full account object.errorslists failed queued tasks from the last 7 days.
Status codes. HTTP statuses follow the code: 40100/40101 → 401, 40210 → 402, 40400/40402 → 404, 40202 → 429, 40006/40503 → 400, 50000 → 500, for request-level errors.
6. Checklist
- Create a key under Dashboard → Developers and top up the wallet.
- Change the base URL and password.
- Call
GET /v1/account/support_matrix?supported=trueand confirm every path you use is listed. - Run a handful of tasks in each mode and compare results and
cost. - Decide on
auto_upgradeandmax_costfor queued work. - Point
pingback_url/postback_urlat your receivers; they work unchanged. Read Handling webhooks securely.