Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Every POST takes a JSON ARRAY of task objects, e.g. [{“keyword”: ”…”, “location_code”: 2840, “language_code”: “en”}]; the params below describe one task object. Live calls accept one task per call.
- Billing is prepaid in USD per task (the cost field of each answer); minimum top-up is $50 and new accounts get $1 trial credit. Prices vary by endpoint and mode: Google organic SERP is $0.0006 per SERP (standard queue), $0.0012 (priority) or $0.002 (live).
- Live endpoints answer in one call (about 6 seconds for SERP); the queue pattern is task_post, then tasks_ready, then task_get. Results are kept 30 days.
- Answers wrap a tasks array; check each task’s status_code and status_message as well as the HTTP status.
- Most calls need a location and a language; give either the code or the full name of each. Valid values come from each product’s locations and languages endpoints.
- pingback_url and postback_url are left out: each sends the result to an address the caller picks; poll tasks_ready instead.
Endpoints
Get account data
- Free. Returned prices are the base cost per call; paid add-on parameters are not included.
Live Google organic SERP
- Cost: $0.002 per SERP of up to 10 results in live mode; depth above 10 adds charges. Each call carries one task.
- Needs one of location_name, location_code or location_coordinate, plus a language.
- The body is sent as a one-task JSON array, as DataForSEO requires; one call is one task.
Queue a Google organic SERP task
- Starts a billed job: it only produces data and changes nothing else in your account.
- The call returns a task id. Fetch results with dataforseo.serp.google_organic_task_get, or list finished ids with the tasks_ready endpoint.
- Cost: $0.0006 per SERP in the standard queue (about 5 minutes) or $0.0012 in the priority queue (about 1 minute).
- The body is sent as a one-task JSON array, as DataForSEO requires; one call is one task.
Get a queued SERP task
- Free: you are charged only for posting the task. Results stay available for 30 days.
Google Ads search volume
- Google Ads groups similar keywords into combined volumes; send close variants in separate calls to separate their volume. No location means worldwide data.
- The body is sent as a one-task JSON array, as DataForSEO requires; one call is one task.
Keyword ideas (Labs)
- Billed per task plus per item returned; see the pricing page. include_clickstream_data doubles the price.
- The body is sent as a one-task JSON array, as DataForSEO requires; one call is one task.
Keywords a domain ranks for (Labs)
- Billed per task plus per item returned; see the pricing page.
- The body is sent as a one-task JSON array, as DataForSEO requires; one call is one task.
Domain rank overview (Labs)
- Billed per task; see the pricing page.
- The body is sent as a one-task JSON array, as DataForSEO requires; one call is one task.
Backlinks summary
- Backlinks API access is billed per task; see the pricing page.
- The body is sent as a one-task JSON array, as DataForSEO requires; one call is one task.