# API reference

Base URL: `https://api.dataforgaio.com/v1`

## SERP API

Google and Bing organic results and Google Maps listings for a keyword, location, language and device, in the DataForSEO request and response shape.

- [Google Organic SERP: Live Advanced](https://dataforgaio.com/docs/api/serp-google-organic-live-advanced.md): `POST /v1/serp/google/organic/live/advanced` Google organic results for a keyword, location, language and device. Returned in the same call, in the advanced format.
- [Google Organic SERP: Live Regular](https://dataforgaio.com/docs/api/serp-google-organic-live-regular.md): `POST /v1/serp/google/organic/live/regular` Google organic results for a keyword, location, language and device. Returned in the same call, in the regular format.
- [Google Organic SERP: Task Post](https://dataforgaio.com/docs/api/serp-google-organic-task-post.md): `POST /v1/serp/google/organic/task_post` Queue Google organic searches on the standard or priority queue, then collect them with tasks_ready and task_get.
- [Google Organic SERP: Tasks Fixed](https://dataforgaio.com/docs/api/serp-google-organic-tasks-fixed.md): `GET /v1/serp/google/organic/tasks_fixed` Same list as tasks_ready, kept for clients that call tasks_fixed.
- [Google Organic SERP: Tasks Ready](https://dataforgaio.com/docs/api/serp-google-organic-tasks-ready.md): `GET /v1/serp/google/organic/tasks_ready` List your finished tasks for this endpoint that you haven't collected yet.
- [Google Organic SERP: Task Get Advanced](https://dataforgaio.com/docs/api/serp-google-organic-task-get-advanced.md): `GET /v1/serp/google/organic/task_get/advanced/{id}` Read one queued task's result in the advanced format.
- [Google Organic SERP: Task Get Regular](https://dataforgaio.com/docs/api/serp-google-organic-task-get-regular.md): `GET /v1/serp/google/organic/task_get/regular/{id}` Read one queued task's result in the regular format.
- [Bing Organic SERP: Live Advanced](https://dataforgaio.com/docs/api/serp-bing-organic-live-advanced.md): `POST /v1/serp/bing/organic/live/advanced` Bing organic results for a keyword, location, language and device. Returned in the same call, in the advanced format.
- [Bing Organic SERP: Live Regular](https://dataforgaio.com/docs/api/serp-bing-organic-live-regular.md): `POST /v1/serp/bing/organic/live/regular` Bing organic results for a keyword, location, language and device. Returned in the same call, in the regular format.
- [Bing Organic SERP: Task Post](https://dataforgaio.com/docs/api/serp-bing-organic-task-post.md): `POST /v1/serp/bing/organic/task_post` Queue Bing organic searches on the standard or priority queue, then collect them with tasks_ready and task_get.
- [Bing Organic SERP: Tasks Fixed](https://dataforgaio.com/docs/api/serp-bing-organic-tasks-fixed.md): `GET /v1/serp/bing/organic/tasks_fixed` Same list as tasks_ready, kept for clients that call tasks_fixed.
- [Bing Organic SERP: Tasks Ready](https://dataforgaio.com/docs/api/serp-bing-organic-tasks-ready.md): `GET /v1/serp/bing/organic/tasks_ready` List your finished tasks for this endpoint that you haven't collected yet.
- [Bing Organic SERP: Task Get Advanced](https://dataforgaio.com/docs/api/serp-bing-organic-task-get-advanced.md): `GET /v1/serp/bing/organic/task_get/advanced/{id}` Read one queued task's result in the advanced format.
- [Bing Organic SERP: Task Get Regular](https://dataforgaio.com/docs/api/serp-bing-organic-task-get-regular.md): `GET /v1/serp/bing/organic/task_get/regular/{id}` Read one queued task's result in the regular format.
- [Google Maps SERP: Live Advanced](https://dataforgaio.com/docs/api/serp-google-maps-live-advanced.md): `POST /v1/serp/google/maps/live/advanced` Maps listings for a keyword and location: name, rating, reviews, address, phone, category, coordinates and Google ids. Returned in the same call, in the advanced format.
- [Google Maps SERP: Task Post](https://dataforgaio.com/docs/api/serp-google-maps-task-post.md): `POST /v1/serp/google/maps/task_post` Queue Google Maps searches on the standard or priority queue, then collect them with tasks_ready and task_get.
- [Google Maps SERP: Tasks Fixed](https://dataforgaio.com/docs/api/serp-google-maps-tasks-fixed.md): `GET /v1/serp/google/maps/tasks_fixed` Same list as tasks_ready, kept for clients that call tasks_fixed.
- [Google Maps SERP: Tasks Ready](https://dataforgaio.com/docs/api/serp-google-maps-tasks-ready.md): `GET /v1/serp/google/maps/tasks_ready` List your finished tasks for this endpoint that you haven't collected yet.
- [Google Maps SERP: Task Get Advanced](https://dataforgaio.com/docs/api/serp-google-maps-task-get-advanced.md): `GET /v1/serp/google/maps/task_get/advanced/{id}` Read one queued task's result in the advanced format.
- [Google SERP: Languages](https://dataforgaio.com/docs/api/serp-google-languages.md): `GET /v1/serp/google/languages` The `language_code` values Google SERP tasks accept.
- [Google SERP: Locations](https://dataforgaio.com/docs/api/serp-google-locations.md): `GET /v1/serp/google/locations` The country `location_code` values Google SERP tasks accept.
- [Bing SERP: Languages](https://dataforgaio.com/docs/api/serp-bing-languages.md): `GET /v1/serp/bing/languages` The `language_code` values Bing SERP tasks accept.
- [Bing SERP: Locations](https://dataforgaio.com/docs/api/serp-bing-locations.md): `GET /v1/serp/bing/locations` The country `location_code` values Bing SERP tasks accept.

## Pages API

On-page checks and the readable content of one URL, fetched at the cheapest level that works and billed by the level that returned the page.

- [Instant Pages](https://dataforgaio.com/docs/api/pages-instant-pages.md): `POST /v1/pages/instant_pages` On-page data for one URL: status, meta tags, headings, links, structured data, text statistics, about 50 checks and an on-page score.
- [Content Parsing: Live](https://dataforgaio.com/docs/api/pages-content-parsing-live.md): `POST /v1/pages/content_parsing/live` The readable content of one URL: header, main topics by heading, sidebar, footer, tables, ratings, offers and contacts, with optional Markdown.

## AI answers API

One answer from a ChatGPT, Claude or Perplexity model for your prompt, with the sources it cited and the tokens it used.

- [ChatGPT LLM Responses: Live](https://dataforgaio.com/docs/api/ai-chat-gpt-llm-responses-live.md): `POST /v1/ai/chat_gpt/llm_responses/live` One answer from a ChatGPT model for your prompt, with the sources it cited, the searches it ran and the tokens it used.
- [ChatGPT LLM Responses: Task Post](https://dataforgaio.com/docs/api/ai-chat-gpt-llm-responses-task-post.md): `POST /v1/ai/chat_gpt/llm_responses/task_post` Queue prompts for a ChatGPT model at the lower queued base fee, then collect the answers.
- [ChatGPT LLM Responses: Tasks Fixed](https://dataforgaio.com/docs/api/ai-chat-gpt-llm-responses-tasks-fixed.md): `GET /v1/ai/chat_gpt/llm_responses/tasks_fixed` Same list as tasks_ready, kept for clients that call tasks_fixed.
- [ChatGPT LLM Responses: Tasks Ready](https://dataforgaio.com/docs/api/ai-chat-gpt-llm-responses-tasks-ready.md): `GET /v1/ai/chat_gpt/llm_responses/tasks_ready` List finished answers you haven't collected yet.
- [ChatGPT LLM Responses: Task Get](https://dataforgaio.com/docs/api/ai-chat-gpt-llm-responses-task-get.md): `GET /v1/ai/chat_gpt/llm_responses/task_get/{id}` Read one queued answer.
- [ChatGPT LLM Responses: Models](https://dataforgaio.com/docs/api/ai-chat-gpt-llm-responses-models.md): `GET /v1/ai/chat_gpt/llm_responses/models` The ChatGPT model ids you can send as `model_name`.
- [Claude LLM Responses: Live](https://dataforgaio.com/docs/api/ai-claude-llm-responses-live.md): `POST /v1/ai/claude/llm_responses/live` One answer from a Claude model for your prompt, with the sources it cited, the searches it ran and the tokens it used.
- [Claude LLM Responses: Task Post](https://dataforgaio.com/docs/api/ai-claude-llm-responses-task-post.md): `POST /v1/ai/claude/llm_responses/task_post` Queue prompts for a Claude model at the lower queued base fee, then collect the answers.
- [Claude LLM Responses: Tasks Fixed](https://dataforgaio.com/docs/api/ai-claude-llm-responses-tasks-fixed.md): `GET /v1/ai/claude/llm_responses/tasks_fixed` Same list as tasks_ready, kept for clients that call tasks_fixed.
- [Claude LLM Responses: Tasks Ready](https://dataforgaio.com/docs/api/ai-claude-llm-responses-tasks-ready.md): `GET /v1/ai/claude/llm_responses/tasks_ready` List finished answers you haven't collected yet.
- [Claude LLM Responses: Task Get](https://dataforgaio.com/docs/api/ai-claude-llm-responses-task-get.md): `GET /v1/ai/claude/llm_responses/task_get/{id}` Read one queued answer.
- [Claude LLM Responses: Models](https://dataforgaio.com/docs/api/ai-claude-llm-responses-models.md): `GET /v1/ai/claude/llm_responses/models` The Claude model ids you can send as `model_name`.
- [Perplexity LLM Responses: Live](https://dataforgaio.com/docs/api/ai-perplexity-llm-responses-live.md): `POST /v1/ai/perplexity/llm_responses/live` One answer from a Perplexity model for your prompt, with the sources it cited, the searches it ran and the tokens it used.
- [Perplexity LLM Responses: Models](https://dataforgaio.com/docs/api/ai-perplexity-llm-responses-models.md): `GET /v1/ai/perplexity/llm_responses/models` The Perplexity model ids you can send as `model_name`.

## Business API

Google business profiles, the products a profile lists, and place photos, in the DataForSEO, Scale SERP and Outscraper shapes.

- [Google Business Profile: Live](https://dataforgaio.com/docs/api/business-google-my-business-info-live.md): `POST /v1/business/google/my_business_info/live` A Google business profile: name, categories, address, phone, website, rating and review counts, hours, coordinates and Google ids.
- [Google Business Profile: Task Post](https://dataforgaio.com/docs/api/business-google-my-business-info-task-post.md): `POST /v1/business/google/my_business_info/task_post` Queue business profile lookups and collect them with tasks_ready and task_get.
- [Google Business Profile: Tasks Fixed](https://dataforgaio.com/docs/api/business-google-my-business-info-tasks-fixed.md): `GET /v1/business/google/my_business_info/tasks_fixed` Same list as tasks_ready, kept for clients that call tasks_fixed.
- [Google Business Profile: Tasks Ready](https://dataforgaio.com/docs/api/business-google-my-business-info-tasks-ready.md): `GET /v1/business/google/my_business_info/tasks_ready` List finished profile lookups you haven't collected yet.
- [Google Business Profile: Task Get](https://dataforgaio.com/docs/api/business-google-my-business-info-task-get.md): `GET /v1/business/google/my_business_info/task_get/{id}` Read one queued profile lookup.
- [Google Business Products](https://dataforgaio.com/docs/api/business-google-products.md): `GET /v1/business/google/products` The products a Google business profile lists, with name, price, image and link, in the Scale SERP `place_products` request and response shape.
- [Google Business Photos](https://dataforgaio.com/docs/api/business-google-photos.md): `GET /v1/business/google/photos` Photo URLs for a place, filterable to owner uploads with `tag=by_owner`, in the Outscraper photos request and response shape.

## Ads API

Meta Ad Library ads and Yelp search results with paid placements flagged, in the Apify actor input and dataset item shape.

- [Meta Ad Library](https://dataforgaio.com/docs/api/ads-meta.md): `POST /v1/ads/meta` Ads from the Meta ad library by keyword, page or URL: page, dates, platforms, creative, and spend and impressions where disclosed, as Apify-style dataset items.
- [Yelp Search Ads](https://dataforgaio.com/docs/api/ads-yelp.md): `POST /v1/ads/yelp` Yelp search results with sponsored rows flagged (`isAd`), plus name, rating, reviews, price range, categories and position, as Apify-style dataset items.

## Crawl API

Our native routes: crawl one URL or a batch of up to 100, map a site's URLs, run a search, and read your usage. Every task carries a receipt.

- [Crawl a batch](https://dataforgaio.com/docs/api/crawls-batch.md): `POST /v1/crawls/batch` Queue up to 100 URLs in one request; poll the job or get it at your webhook.
- [Crawl a page](https://dataforgaio.com/docs/api/crawls-create.md): `POST /v1/crawls` Fetch one page now and get its content with a receipt: where and when it was fetched, what robots.txt and the site's AI-use signals said, a content hash and the cost.
- [Get a crawl](https://dataforgaio.com/docs/api/crawls-get.md): `GET /v1/crawls/{id}` A batch job and its tasks, or one task, with content and receipts.
- [Get crawl receipts](https://dataforgaio.com/docs/api/crawls-receipt.md): `GET /v1/crawls/{id}/receipt` Just the receipts for a job or task, one per page.
- [Map a site](https://dataforgaio.com/docs/api/map.md): `POST /v1/map` The URLs a site lists in its sitemaps and on its start page, each marked with whether robots.txt lets our crawler fetch it, so you can choose what to crawl.
- [Search results](https://dataforgaio.com/docs/api/serp.md): `POST /v1/serp` The top 10 organic results for one search, with a receipt recording the search URL, fetch time and a hash of the results.
- [Usage](https://dataforgaio.com/docs/api/usage.md): `GET /v1/usage` Your organization's spend and request counts across every product.

## AI visibility

Read the AI visibility trackers you set up in the dashboard: mention and citation rates, share of voice and sentiment across AI answer engines.

- [List visibility trackers](https://dataforgaio.com/docs/api/visibility-trackers.md): `GET /v1/visibility/trackers` Your organization's AI visibility trackers, each with its latest run.
- [Visibility tracker summary](https://dataforgaio.com/docs/api/visibility-tracker-summary.md): `GET /v1/visibility/trackers/{id}/summary` How often AI answers mention and cite your brand, share of voice against competitors, sentiment, and the prompts where you're missing.

## Account

Balance and prices, failed tasks, service status, callback resends, the route list, and the location and language lists SERP tasks accept. All free.

- [Errors](https://dataforgaio.com/docs/api/account-errors.md): `POST /v1/account/errors` Tasks that failed in the last 7 days, newest first.
- [Receipt](https://dataforgaio.com/docs/api/account-receipts.md): `GET /v1/account/receipts/{receipt_id}` Look up the receipt behind any response's `receipt_id`.
- [Status](https://dataforgaio.com/docs/api/account-status.md): `GET /v1/account/status` A health check that also confirms your key.
- [Support Matrix](https://dataforgaio.com/docs/api/account-support-matrix.md): `GET /v1/account/support_matrix` Every route we mirror, whether it's supported yet, and its list price.
- [User Data](https://dataforgaio.com/docs/api/account-user-data.md): `GET /v1/account/user_data` Your login, organization, rate limit, wallet balance and the price list.
- [Webhook Resend](https://dataforgaio.com/docs/api/account-webhook-resend.md): `POST /v1/account/webhook_resend` Send a finished task's pingback and postback again.
