{
 "openapi": "3.1.0",
 "info": {
  "title": "DataForGAIO API",
  "version": "2026-12-03",
  "description": "SERP, page, AI answer, business and ads data, billed per result, with a receipt for every fetch. Mirrored routes accept the request and response shapes of the products they replace."
 },
 "servers": [
  {
   "url": "https://api.dataforgaio.com/v1"
  }
 ],
 "tags": [
  {
   "name": "serp",
   "description": "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."
  },
  {
   "name": "pages",
   "description": "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."
  },
  {
   "name": "ai",
   "description": "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."
  },
  {
   "name": "business",
   "description": "Business API. Google business profiles, the products a profile lists, and place photos, in the DataForSEO, Scale SERP and Outscraper shapes."
  },
  {
   "name": "ads",
   "description": "Ads API. Meta Ad Library ads and Yelp search results with paid placements flagged, in the Apify actor input and dataset item shape."
  },
  {
   "name": "crawl",
   "description": "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."
  },
  {
   "name": "visibility",
   "description": "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."
  },
  {
   "name": "account",
   "description": "Account. Balance and prices, failed tasks, service status, callback resends, the route list, and the location and language lists SERP tasks accept. All free."
  }
 ],
 "security": [
  {
   "bearerAuth": []
  },
  {
   "apiKeyHeader": []
  },
  {
   "basicAuth": []
  }
 ],
 "paths": {
  "/serp/google/organic/live/advanced": {
   "post": {
    "operationId": "serp-google-organic-live-advanced",
    "summary": "Google Organic SERP: Live Advanced",
    "description": "Google organic results for a keyword, location, language and device. Returned in the same call, in the advanced format.\n\nSend up to 100 tasks in one POST as a JSON array. Each task runs at once and comes back in `tasks[]` in the order you sent it. Use the live mode when you need the results now; use `task_post` for the cheaper standard and priority queues.\n\nThe **advanced** format returns every field of each organic item; fields our sources can't fill are present and null. The **regular** format keeps the core fields: rank, page, domain, title, description, URL and breadcrumb.\n\n**Billing.** Billed per 10 results returned (so `ceil(items / 10)` units), at the price of the mode the task ran in. A search with no results, or one that returned no data, costs $0. With `auto_upgrade` on (the default), a standard or priority task that the included search path can't serve is answered by the live path and billed at the live price; the task shows `upgraded: true` and an `upgrade_reason`. Live results aren't cached unless you send `max_age`.\n\n**Beta.** The parsers that read this engine's results were written from the upstream documentation and haven't been checked against live responses yet. Field names and the response shape are fixed; expect some fields to be null more often than they should be until that check is done.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "SERP page of up to 10 results",
     "usd": {
      "live": 0.0018
     },
     "by_level": null,
     "notes": "Billed per unit returned; no results costs $0."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "live",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/organic/live/advanced"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "keyword": {
           "type": "string",
           "description": "The search query, up to 700 characters. Leading and trailing spaces are trimmed.",
           "maxLength": 700,
           "examples": [
            "trail running shoes"
           ]
          },
          "location_code": {
           "type": "integer",
           "description": "Country location code from `/v1/serp/google/locations`, for example `2840` for the United States. City and region codes aren't served yet. Send this, `location_name` or `location_coordinate`.",
           "examples": [
            2840
           ]
          },
          "location_name": {
           "type": "string",
           "description": "A country name (`United States`), or a comma-separated place that ends in a country (`Boulder,Colorado,United States`) to search from that place.",
           "examples": [
            "United States"
           ]
          },
          "location_coordinate": {
           "type": "string",
           "description": "`latitude,longitude` or `latitude,longitude,zoom` for a search centered on a point. Used when neither `location_code` nor `location_name` is sent.",
           "examples": [
            "40.0176,-105.2797,14"
           ]
          },
          "language_code": {
           "type": "string",
           "description": "Language code from `/v1/serp/google/languages`, for example `en`. Send this or `language_name`.",
           "examples": [
            "en"
           ]
          },
          "language_name": {
           "type": "string",
           "description": "Language name, for example `English`, used when `language_code` is not sent.",
           "examples": [
            "English"
           ]
          },
          "device": {
           "type": "string",
           "description": "Device the results are for.",
           "enum": [
            "desktop",
            "mobile"
           ],
           "default": "desktop",
           "examples": [
            "desktop"
           ]
          },
          "os": {
           "type": "string",
           "description": "Operating system for the device: `windows` or `macos` on desktop, `android` or `ios` on mobile. Defaults to `windows` on desktop and `android` on mobile.",
           "enum": [
            "windows",
            "macos",
            "android",
            "ios"
           ],
           "examples": [
            "windows"
           ]
          },
          "depth": {
           "type": "integer",
           "description": "Results to return, 1 to 200. Billed per 10 results returned, so `depth: 100` with 100 results costs 10 units.",
           "default": 10,
           "minimum": 1,
           "maximum": 200,
           "examples": [
            10
           ]
          },
          "se_domain": {
           "type": "string",
           "description": "Search engine domain to report in the result's `se_domain`, for example `google.co.uk`. It's echoed back only: the location and language fields decide where the search runs.",
           "default": "google.com",
           "examples": [
            "google.com"
           ]
          },
          "auto_upgrade": {
           "type": "boolean",
           "description": "If the included search path can't return the page, the task is served by the live path and billed at the live price, with `upgraded: true`. `false` returns the failure at $0 instead.",
           "default": true,
           "examples": [
            true
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may cost, in USD. The wallet check reserves this instead of the worst case, and the task doesn't upgrade to the live price when that would go over it.",
           "minimum": 0,
           "examples": [
            0.002
           ]
          },
          "max_age": {
           "type": "integer",
           "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always searches fresh. Default window: none on live (always fresh), 6 h on the standard queue, 1 h on the priority queue. Leave it out to use the default.",
           "minimum": 0,
           "maximum": 86400,
           "examples": [
            3600
           ]
          }
         },
         "required": [
          "keyword"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "keyword": "trail running shoes",
         "location_code": 2840,
         "language_code": "en",
         "device": "desktop",
         "depth": 10
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0018
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0018
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "trail running shoes",
                "location_code": 2840,
                "language_code": "en",
                "device": "desktop",
                "depth": 10
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "keyword": {
                   "type": "string",
                   "description": "The keyword you sent, trimmed.",
                   "examples": [
                    "trail running shoes"
                   ]
                  },
                  "type": {
                   "type": "string",
                   "description": "`organic` or `maps`.",
                   "examples": [
                    "organic"
                   ]
                  },
                  "se_domain": {
                   "type": "string",
                   "description": "The `se_domain` you sent, or the engine's default domain.",
                   "examples": [
                    "google.com"
                   ]
                  },
                  "location_code": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Location code the search ran for. Null for a city-level `location_name` or a coordinate search.",
                   "examples": [
                    2840
                   ]
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Language code the search ran for.",
                   "examples": [
                    "en"
                   ]
                  },
                  "check_url": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "A URL that opens the same search in a browser, to check the result by hand.",
                   "examples": [
                    "https://www.google.com/search?q=trail+running+shoes&gl=us&hl=en"
                   ]
                  },
                  "datetime": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, `YYYY-MM-DD HH:MM:SS +00:00`. For a cache hit this is the original fetch time.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "spell": {
                   "type": "null",
                   "description": "Spelling suggestion. Not available yet. Always null."
                  },
                  "refinement_chips": {
                   "type": "null",
                   "description": "Not available. Always null."
                  },
                  "item_types": {
                   "type": "array",
                   "items": {
                    "type": "string"
                   },
                   "description": "Item types present in `items`.",
                   "examples": [
                    [
                     "organic"
                    ]
                   ]
                  },
                  "se_results_count": {
                   "type": "integer",
                   "description": "Total results the engine reported for the query; 0 when it didn't say.",
                   "examples": [
                    48200000
                   ]
                  },
                  "pages_count": {
                   "type": "integer",
                   "description": "Results pages read: 1 per 10 organic results.",
                   "examples": [
                    1
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Number of entries in `items`.",
                   "examples": [
                    3
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `organic`.",
                      "examples": [
                       "organic"
                      ]
                     },
                     "rank_group": {
                      "type": "integer",
                      "description": "Position among items of the same type, starting at 1.",
                      "examples": [
                       1
                      ]
                     },
                     "rank_absolute": {
                      "type": "integer",
                      "description": "Position among all items on the page, starting at 1. Equal to `rank_group` for now: only one item type is returned.",
                      "examples": [
                       1
                      ]
                     },
                     "page": {
                      "type": "integer",
                      "description": "Results page the item sits on, counting 10 results per page.",
                      "examples": [
                       1
                      ]
                     },
                     "position": {
                      "type": "string",
                      "description": "Side of the page the item appears on. Always `left` for organic results.",
                      "examples": [
                       "left"
                      ]
                     },
                     "xpath": {
                      "type": "null",
                      "description": "Not available from our sources. Always null."
                     },
                     "domain": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Domain of the result URL, for example `www.example-reviews.com`.",
                      "examples": [
                       "www.example-reviews.com"
                      ]
                     },
                     "title": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result title as shown on the page.",
                      "examples": [
                       "The 12 best trail running shoes of 2026, tested"
                      ]
                     },
                     "url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result URL.",
                      "examples": [
                       "https://www.example-reviews.com/gear/trail-running-shoes"
                      ]
                     },
                     "cache_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "related_search_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "breadcrumb": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Breadcrumb shown under the title.",
                      "examples": [
                       "https://www.example-reviews.com › gear"
                      ]
                     },
                     "website_name": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Site name shown with the result, when the engine shows one.",
                      "examples": [
                       "Example Reviews"
                      ]
                     },
                     "is_image": {
                      "type": "boolean",
                      "description": "Always false: image results aren't parsed yet.",
                      "examples": [
                       false
                      ]
                     },
                     "is_video": {
                      "type": "boolean",
                      "description": "Always false: video results aren't parsed yet.",
                      "examples": [
                       false
                      ]
                     },
                     "is_featured_snippet": {
                      "type": "boolean",
                      "description": "Always false: featured snippets aren't parsed yet.",
                      "examples": [
                       false
                      ]
                     },
                     "is_malicious": {
                      "type": "boolean",
                      "description": "Always false.",
                      "examples": [
                       false
                      ]
                     },
                     "is_web_story": {
                      "type": "boolean",
                      "description": "Always false.",
                      "examples": [
                       false
                      ]
                     },
                     "description": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Snippet text under the title.",
                      "examples": [
                       "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last."
                      ]
                     },
                     "pre_snippet": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "extended_snippet": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "images": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "rating": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "price": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "links": {
                      "anyOf": [
                       {
                        "type": "array",
                        "items": {
                         "type": "object",
                         "properties": {
                          "type": {
                           "type": "string",
                           "description": "Always `link_element`.",
                           "examples": [
                            "link_element"
                           ]
                          },
                          "title": {
                           "type": [
                            "string",
                            "null"
                           ],
                           "description": "Sitelink text.",
                           "examples": [
                            "Best for mud"
                           ]
                          },
                          "description": {
                           "type": [
                            "string",
                            "null"
                           ],
                           "description": "Sitelink description, when shown."
                          },
                          "url": {
                           "type": [
                            "string",
                            "null"
                           ],
                           "description": "Sitelink URL.",
                           "examples": [
                            "https://www.example-reviews.com/gear/trail-running-shoes#mud"
                           ]
                          }
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Sitelinks shown under the result, when there are any."
                     },
                     "faq": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "extended_people_also_search": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "about_this_result": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "related_result": {
                      "type": "null",
                      "description": "Not available. Always null."
                     }
                    }
                   },
                   "description": "The organic items."
                  },
                  "fetched_at": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, ISO 8601 in UTC.",
                   "examples": [
                    "2026-12-03T10:42:18Z"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0018,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0018,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "google",
            "organic",
            "live",
            "advanced"
           ],
           "data": {
            "keyword": "trail running shoes",
            "location_code": 2840,
            "language_code": "en",
            "device": "desktop",
            "depth": 10
           },
           "result": [
            {
             "keyword": "trail running shoes",
             "type": "organic",
             "se_domain": "google.com",
             "location_code": 2840,
             "language_code": "en",
             "check_url": "https://www.google.com/search?q=trail+running+shoes&gl=us&hl=en",
             "datetime": "2026-12-03 10:42:18 +00:00",
             "spell": null,
             "refinement_chips": null,
             "item_types": [
              "organic"
             ],
             "se_results_count": 48200000,
             "pages_count": 1,
             "items_count": 3,
             "items": [
              {
               "type": "organic",
               "rank_group": 1,
               "rank_absolute": 1,
               "page": 1,
               "position": "left",
               "xpath": null,
               "domain": "www.example-reviews.com",
               "title": "The 12 best trail running shoes of 2026, tested",
               "url": "https://www.example-reviews.com/gear/trail-running-shoes",
               "cache_url": null,
               "related_search_url": null,
               "breadcrumb": "https://www.example-reviews.com › gear",
               "website_name": "Example Reviews",
               "is_image": false,
               "is_video": false,
               "is_featured_snippet": false,
               "is_malicious": false,
               "is_web_story": false,
               "description": "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last.",
               "pre_snippet": null,
               "extended_snippet": null,
               "images": null,
               "rating": null,
               "price": null,
               "links": [
                {
                 "type": "link_element",
                 "title": "Best for mud",
                 "description": null,
                 "url": "https://www.example-reviews.com/gear/trail-running-shoes#mud"
                }
               ],
               "faq": null,
               "extended_people_also_search": null,
               "about_this_result": null,
               "related_result": null
              },
              {
               "type": "organic",
               "rank_group": 2,
               "rank_absolute": 2,
               "page": 1,
               "position": "left",
               "xpath": null,
               "domain": "summitrunning.example",
               "title": "Trail running shoes | Summit Running Co.",
               "url": "https://summitrunning.example/trail-shoes",
               "cache_url": null,
               "related_search_url": null,
               "breadcrumb": "https://summitrunning.example › trail-shoes",
               "website_name": "Summit Running Co.",
               "is_image": false,
               "is_video": false,
               "is_featured_snippet": false,
               "is_malicious": false,
               "is_web_story": false,
               "description": "Free gait analysis and 60-day returns on every trail shoe we stock.",
               "pre_snippet": null,
               "extended_snippet": null,
               "images": null,
               "rating": null,
               "price": null,
               "links": null,
               "faq": null,
               "extended_people_also_search": null,
               "about_this_result": null,
               "related_result": null
              },
              {
               "type": "organic",
               "rank_group": 3,
               "rank_absolute": 3,
               "page": 1,
               "position": "left",
               "xpath": null,
               "domain": "runnersguide.example",
               "title": "How to choose trail running shoes",
               "url": "https://runnersguide.example/choose-trail-shoes",
               "cache_url": null,
               "related_search_url": null,
               "breadcrumb": "https://runnersguide.example › choose-trail-shoes",
               "website_name": "Runner's Guide",
               "is_image": false,
               "is_video": false,
               "is_featured_snippet": false,
               "is_malicious": false,
               "is_web_story": false,
               "description": "Lug depth, rock plates and drop: what matters on which terrain.",
               "pre_snippet": null,
               "extended_snippet": null,
               "images": null,
               "rating": null,
               "price": null,
               "links": null,
               "faq": null,
               "extended_people_also_search": null,
               "about_this_result": null,
               "related_result": null
              }
             ],
             "fetched_at": "2026-12-03T10:42:18Z"
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000, 40102, 40402); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/organic/live/regular": {
   "post": {
    "operationId": "serp-google-organic-live-regular",
    "summary": "Google Organic SERP: Live Regular",
    "description": "Google organic results for a keyword, location, language and device. Returned in the same call, in the regular format.\n\nSend up to 100 tasks in one POST as a JSON array. Each task runs at once and comes back in `tasks[]` in the order you sent it. Use the live mode when you need the results now; use `task_post` for the cheaper standard and priority queues.\n\nThe **advanced** format returns every field of each organic item; fields our sources can't fill are present and null. The **regular** format keeps the core fields: rank, page, domain, title, description, URL and breadcrumb.\n\n**Billing.** Billed per 10 results returned (so `ceil(items / 10)` units), at the price of the mode the task ran in. A search with no results, or one that returned no data, costs $0. With `auto_upgrade` on (the default), a standard or priority task that the included search path can't serve is answered by the live path and billed at the live price; the task shows `upgraded: true` and an `upgrade_reason`. Live results aren't cached unless you send `max_age`.\n\n**Beta.** The parsers that read this engine's results were written from the upstream documentation and haven't been checked against live responses yet. Field names and the response shape are fixed; expect some fields to be null more often than they should be until that check is done.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "SERP page of up to 10 results",
     "usd": {
      "live": 0.0018
     },
     "by_level": null,
     "notes": "Billed per unit returned; no results costs $0."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "live",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/organic/live/regular"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "keyword": {
           "type": "string",
           "description": "The search query, up to 700 characters. Leading and trailing spaces are trimmed.",
           "maxLength": 700,
           "examples": [
            "trail running shoes"
           ]
          },
          "location_code": {
           "type": "integer",
           "description": "Country location code from `/v1/serp/google/locations`, for example `2840` for the United States. City and region codes aren't served yet. Send this, `location_name` or `location_coordinate`.",
           "examples": [
            2840
           ]
          },
          "location_name": {
           "type": "string",
           "description": "A country name (`United States`), or a comma-separated place that ends in a country (`Boulder,Colorado,United States`) to search from that place.",
           "examples": [
            "United States"
           ]
          },
          "location_coordinate": {
           "type": "string",
           "description": "`latitude,longitude` or `latitude,longitude,zoom` for a search centered on a point. Used when neither `location_code` nor `location_name` is sent.",
           "examples": [
            "40.0176,-105.2797,14"
           ]
          },
          "language_code": {
           "type": "string",
           "description": "Language code from `/v1/serp/google/languages`, for example `en`. Send this or `language_name`.",
           "examples": [
            "en"
           ]
          },
          "language_name": {
           "type": "string",
           "description": "Language name, for example `English`, used when `language_code` is not sent.",
           "examples": [
            "English"
           ]
          },
          "device": {
           "type": "string",
           "description": "Device the results are for.",
           "enum": [
            "desktop",
            "mobile"
           ],
           "default": "desktop",
           "examples": [
            "desktop"
           ]
          },
          "os": {
           "type": "string",
           "description": "Operating system for the device: `windows` or `macos` on desktop, `android` or `ios` on mobile. Defaults to `windows` on desktop and `android` on mobile.",
           "enum": [
            "windows",
            "macos",
            "android",
            "ios"
           ],
           "examples": [
            "windows"
           ]
          },
          "depth": {
           "type": "integer",
           "description": "Results to return, 1 to 200. Billed per 10 results returned, so `depth: 100` with 100 results costs 10 units.",
           "default": 10,
           "minimum": 1,
           "maximum": 200,
           "examples": [
            10
           ]
          },
          "se_domain": {
           "type": "string",
           "description": "Search engine domain to report in the result's `se_domain`, for example `google.co.uk`. It's echoed back only: the location and language fields decide where the search runs.",
           "default": "google.com",
           "examples": [
            "google.com"
           ]
          },
          "auto_upgrade": {
           "type": "boolean",
           "description": "If the included search path can't return the page, the task is served by the live path and billed at the live price, with `upgraded: true`. `false` returns the failure at $0 instead.",
           "default": true,
           "examples": [
            true
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may cost, in USD. The wallet check reserves this instead of the worst case, and the task doesn't upgrade to the live price when that would go over it.",
           "minimum": 0,
           "examples": [
            0.002
           ]
          },
          "max_age": {
           "type": "integer",
           "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always searches fresh. Default window: none on live (always fresh), 6 h on the standard queue, 1 h on the priority queue. Leave it out to use the default.",
           "minimum": 0,
           "maximum": 86400,
           "examples": [
            3600
           ]
          }
         },
         "required": [
          "keyword"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "keyword": "trail running shoes",
         "location_code": 2840,
         "language_code": "en",
         "device": "desktop",
         "depth": 10
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0018
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0018
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "trail running shoes",
                "location_code": 2840,
                "language_code": "en",
                "device": "desktop",
                "depth": 10
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "keyword": {
                   "type": "string",
                   "description": "The keyword you sent, trimmed.",
                   "examples": [
                    "trail running shoes"
                   ]
                  },
                  "type": {
                   "type": "string",
                   "description": "`organic` or `maps`.",
                   "examples": [
                    "organic"
                   ]
                  },
                  "se_domain": {
                   "type": "string",
                   "description": "The `se_domain` you sent, or the engine's default domain.",
                   "examples": [
                    "google.com"
                   ]
                  },
                  "location_code": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Location code the search ran for. Null for a city-level `location_name` or a coordinate search.",
                   "examples": [
                    2840
                   ]
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Language code the search ran for.",
                   "examples": [
                    "en"
                   ]
                  },
                  "check_url": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "A URL that opens the same search in a browser, to check the result by hand.",
                   "examples": [
                    "https://www.google.com/search?q=trail+running+shoes&gl=us&hl=en"
                   ]
                  },
                  "datetime": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, `YYYY-MM-DD HH:MM:SS +00:00`. For a cache hit this is the original fetch time.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "spell": {
                   "type": "null",
                   "description": "Spelling suggestion. Not available yet. Always null."
                  },
                  "refinement_chips": {
                   "type": "null",
                   "description": "Not available. Always null."
                  },
                  "item_types": {
                   "type": "array",
                   "items": {
                    "type": "string"
                   },
                   "description": "Item types present in `items`.",
                   "examples": [
                    [
                     "organic"
                    ]
                   ]
                  },
                  "se_results_count": {
                   "type": "integer",
                   "description": "Total results the engine reported for the query; 0 when it didn't say.",
                   "examples": [
                    48200000
                   ]
                  },
                  "pages_count": {
                   "type": "integer",
                   "description": "Results pages read: 1 per 10 organic results.",
                   "examples": [
                    1
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Number of entries in `items`.",
                   "examples": [
                    3
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `organic`.",
                      "examples": [
                       "organic"
                      ]
                     },
                     "rank_group": {
                      "type": "integer",
                      "description": "Position among items of the same type, starting at 1.",
                      "examples": [
                       1
                      ]
                     },
                     "rank_absolute": {
                      "type": "integer",
                      "description": "Position among all items on the page, starting at 1. Equal to `rank_group` for now: only one item type is returned.",
                      "examples": [
                       1
                      ]
                     },
                     "page": {
                      "type": "integer",
                      "description": "Results page the item sits on, counting 10 results per page.",
                      "examples": [
                       1
                      ]
                     },
                     "domain": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Domain of the result URL, for example `www.example-reviews.com`.",
                      "examples": [
                       "www.example-reviews.com"
                      ]
                     },
                     "title": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result title as shown on the page.",
                      "examples": [
                       "The 12 best trail running shoes of 2026, tested"
                      ]
                     },
                     "description": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Snippet text under the title.",
                      "examples": [
                       "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last."
                      ]
                     },
                     "url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result URL.",
                      "examples": [
                       "https://www.example-reviews.com/gear/trail-running-shoes"
                      ]
                     },
                     "breadcrumb": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Breadcrumb shown under the title.",
                      "examples": [
                       "https://www.example-reviews.com › gear"
                      ]
                     }
                    }
                   },
                   "description": "The organic items."
                  },
                  "fetched_at": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, ISO 8601 in UTC.",
                   "examples": [
                    "2026-12-03T10:42:18Z"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0018,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0018,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "google",
            "organic",
            "live",
            "regular"
           ],
           "data": {
            "keyword": "trail running shoes",
            "location_code": 2840,
            "language_code": "en",
            "device": "desktop",
            "depth": 10
           },
           "result": [
            {
             "keyword": "trail running shoes",
             "type": "organic",
             "se_domain": "google.com",
             "location_code": 2840,
             "language_code": "en",
             "check_url": "https://www.google.com/search?q=trail+running+shoes&gl=us&hl=en",
             "datetime": "2026-12-03 10:42:18 +00:00",
             "spell": null,
             "refinement_chips": null,
             "item_types": [
              "organic"
             ],
             "se_results_count": 48200000,
             "pages_count": 1,
             "items_count": 3,
             "items": [
              {
               "type": "organic",
               "rank_group": 1,
               "rank_absolute": 1,
               "page": 1,
               "domain": "www.example-reviews.com",
               "title": "The 12 best trail running shoes of 2026, tested",
               "description": "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last.",
               "url": "https://www.example-reviews.com/gear/trail-running-shoes",
               "breadcrumb": "https://www.example-reviews.com › gear"
              },
              {
               "type": "organic",
               "rank_group": 2,
               "rank_absolute": 2,
               "page": 1,
               "domain": "summitrunning.example",
               "title": "Trail running shoes | Summit Running Co.",
               "description": "Free gait analysis and 60-day returns on every trail shoe we stock.",
               "url": "https://summitrunning.example/trail-shoes",
               "breadcrumb": "https://summitrunning.example › trail-shoes"
              },
              {
               "type": "organic",
               "rank_group": 3,
               "rank_absolute": 3,
               "page": 1,
               "domain": "runnersguide.example",
               "title": "How to choose trail running shoes",
               "description": "Lug depth, rock plates and drop: what matters on which terrain.",
               "url": "https://runnersguide.example/choose-trail-shoes",
               "breadcrumb": "https://runnersguide.example › choose-trail-shoes"
              }
             ],
             "fetched_at": "2026-12-03T10:42:18Z"
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000, 40102, 40402); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/organic/task_post": {
   "post": {
    "operationId": "serp-google-organic-task-post",
    "summary": "Google Organic SERP: Task Post",
    "description": "Queue Google organic searches on the standard or priority queue, then collect them with tasks_ready and task_get.\n\nPost up to 100 tasks in one request. Each comes back at once with status 20100 and a task id; nothing is charged yet. When a task finishes it appears in `tasks_ready`, and we call your `pingback_url` or `postback_url` if you set one. Read the result with `task_get`.\n\n`priority: 1` uses the standard queue, `priority: 2` the priority queue, which runs sooner and is priced higher.\n\n**Billing.** Billed per 10 results returned (so `ceil(items / 10)` units), at the price of the mode the task ran in. A search with no results, or one that returned no data, costs $0. With `auto_upgrade` on (the default), a standard or priority task that the included search path can't serve is answered by the live path and billed at the live price; the task shows `upgraded: true` and an `upgrade_reason`. Queued results reuse the shared cache: 6 h on the standard queue, 1 h on the priority queue. `max_age: 0` forces a fresh search.\n\nThe wallet check at post time reserves the worst case each task can cost (the live price when Auto-upgrade is on), so the post is refused with 40210 if the balance can't cover it.\n\n**Beta.** The parsers that read this engine's results were written from the upstream documentation and haven't been checked against live responses yet. Field names and the response shape are fixed; expect some fields to be null more often than they should be until that check is done.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "SERP page of up to 10 results",
     "usd": {
      "standard": 0.00054,
      "priority": 0.00108
     },
     "by_level": null,
     "notes": "`standard` is `priority: 1`, `priority` is `priority: 2`. A task served by the live fallback bills at the live price."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_post",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/organic/task_post"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "keyword": {
           "type": "string",
           "description": "The search query, up to 700 characters. Leading and trailing spaces are trimmed.",
           "maxLength": 700,
           "examples": [
            "trail running shoes"
           ]
          },
          "location_code": {
           "type": "integer",
           "description": "Country location code from `/v1/serp/google/locations`, for example `2840` for the United States. City and region codes aren't served yet. Send this, `location_name` or `location_coordinate`.",
           "examples": [
            2840
           ]
          },
          "location_name": {
           "type": "string",
           "description": "A country name (`United States`), or a comma-separated place that ends in a country (`Boulder,Colorado,United States`) to search from that place.",
           "examples": [
            "United States"
           ]
          },
          "location_coordinate": {
           "type": "string",
           "description": "`latitude,longitude` or `latitude,longitude,zoom` for a search centered on a point. Used when neither `location_code` nor `location_name` is sent.",
           "examples": [
            "40.0176,-105.2797,14"
           ]
          },
          "language_code": {
           "type": "string",
           "description": "Language code from `/v1/serp/google/languages`, for example `en`. Send this or `language_name`.",
           "examples": [
            "en"
           ]
          },
          "language_name": {
           "type": "string",
           "description": "Language name, for example `English`, used when `language_code` is not sent.",
           "examples": [
            "English"
           ]
          },
          "device": {
           "type": "string",
           "description": "Device the results are for.",
           "enum": [
            "desktop",
            "mobile"
           ],
           "default": "desktop",
           "examples": [
            "desktop"
           ]
          },
          "os": {
           "type": "string",
           "description": "Operating system for the device: `windows` or `macos` on desktop, `android` or `ios` on mobile. Defaults to `windows` on desktop and `android` on mobile.",
           "enum": [
            "windows",
            "macos",
            "android",
            "ios"
           ],
           "examples": [
            "windows"
           ]
          },
          "depth": {
           "type": "integer",
           "description": "Results to return, 1 to 200. Billed per 10 results returned, so `depth: 100` with 100 results costs 10 units.",
           "default": 10,
           "minimum": 1,
           "maximum": 200,
           "examples": [
            10
           ]
          },
          "se_domain": {
           "type": "string",
           "description": "Search engine domain to report in the result's `se_domain`, for example `google.co.uk`. It's echoed back only: the location and language fields decide where the search runs.",
           "default": "google.com",
           "examples": [
            "google.com"
           ]
          },
          "auto_upgrade": {
           "type": "boolean",
           "description": "If the included search path can't return the page, the task is served by the live path and billed at the live price, with `upgraded: true`. `false` returns the failure at $0 instead.",
           "default": true,
           "examples": [
            true
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may cost, in USD. The wallet check reserves this instead of the worst case, and the task doesn't upgrade to the live price when that would go over it.",
           "minimum": 0,
           "examples": [
            0.002
           ]
          },
          "max_age": {
           "type": "integer",
           "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always searches fresh. Default window: none on live (always fresh), 6 h on the standard queue, 1 h on the priority queue. Leave it out to use the default.",
           "minimum": 0,
           "maximum": 86400,
           "examples": [
            3600
           ]
          },
          "priority": {
           "type": "integer",
           "description": "Queue for this task: `1` is the standard queue, `2` the priority queue (faster, priced higher).",
           "enum": [
            1,
            2
           ],
           "default": 1,
           "examples": [
            1
           ]
          },
          "tag": {
           "type": "string",
           "description": "Your own label for the task, up to 255 characters. Returned by tasks_ready.",
           "maxLength": 255,
           "examples": [
            "weekly-rank-check"
           ]
          },
          "pingback_url": {
           "type": "string",
           "description": "We send a GET to this http(s) URL when the task finishes. `$id` and `$tag` in the URL are replaced with the task id and tag. Only public hosts are called and redirects aren't followed.",
           "maxLength": 2000,
           "examples": [
            "https://hooks.example.com/done?id=$id&tag=$tag"
           ]
          },
          "postback_url": {
           "type": "string",
           "description": "We POST the finished task, in the task_get envelope, to this http(s) URL. Only public hosts are called and redirects aren't followed.",
           "maxLength": 2000,
           "examples": [
            "https://hooks.example.com/results"
           ]
          },
          "postback_data": {
           "type": "string",
           "description": "Result format sent to `postback_url`. Defaults to `advanced` when `postback_url` is set.",
           "enum": [
            "regular",
            "advanced",
            "html"
           ],
           "examples": [
            "advanced"
           ]
          }
         },
         "required": [
          "keyword"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "keyword": "trail running shoes",
         "location_code": 2840,
         "language_code": "en",
         "device": "desktop",
         "depth": 10,
         "priority": 1,
         "tag": "weekly-rank-check",
         "pingback_url": "https://hooks.example.com/done?id=$id&tag=$tag"
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20100
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Task Created."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               0
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "trail running shoes",
                "location_code": 2840,
                "language_code": "en",
                "device": "desktop",
                "depth": 10,
                "priority": 1
               }
              ]
             },
             "result": {
              "type": "null",
              "description": "Always null for task_post. Read the result with task_get."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20100,
           "status_message": "Task Created.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 0,
           "path": [
            "v1",
            "serp",
            "google",
            "organic",
            "task_post"
           ],
           "data": {
            "keyword": "trail running shoes",
            "location_code": 2840,
            "language_code": "en",
            "device": "desktop",
            "depth": 10,
            "priority": 1,
            "tag": "weekly-rank-check",
            "pingback_url": "https://hooks.example.com/done?id=$id&tag=$tag"
           },
           "result": null,
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 40501); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/organic/tasks_ready": {
   "get": {
    "operationId": "serp-google-organic-tasks-ready",
    "summary": "Google Organic SERP: Tasks Ready",
    "description": "List your finished tasks for this endpoint that you haven't collected yet.\n\nReturns up to 1,000 completed tasks posted to this endpoint's task_post that task_get hasn't returned yet, oldest first. A task leaves the list once you read it with task_get.\n\nEach entry carries ready-made task_get paths.\n\nFree.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "tasks_ready",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/organic/tasks_ready"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "id": {
                   "type": "string",
                   "description": "Task id. Pass it to task_get.",
                   "examples": [
                    "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "se": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Engine segment of the task's path, for example `google`.",
                   "examples": [
                    "google"
                   ]
                  },
                  "se_type": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Type segment of the task's path, for example `organic`.",
                   "examples": [
                    "organic"
                   ]
                  },
                  "date_posted": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the task was posted, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "tag": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "The `tag` you sent with the task.",
                   "examples": [
                    "weekly-rank-check"
                   ]
                  },
                  "endpoint_regular": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the regular format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/serp/google/organic/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_advanced": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the advanced format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/serp/google/organic/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_html": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for raw HTML. Null while HTML output isn't served."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per task ready to collect."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "google",
            "organic",
            "tasks_ready"
           ],
           "data": {},
           "result": [
            {
             "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "se": "google",
             "se_type": "organic",
             "date_posted": "2026-12-03 10:42:18 +00:00",
             "tag": "weekly-rank-check",
             "endpoint_regular": "/v1/serp/google/organic/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_advanced": "/v1/serp/google/organic/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_html": null
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/organic/tasks_fixed": {
   "get": {
    "operationId": "serp-google-organic-tasks-fixed",
    "summary": "Google Organic SERP: Tasks Fixed",
    "description": "Same list as tasks_ready, kept for clients that call tasks_fixed.\n\nReturns up to 1,000 completed tasks posted to this endpoint's task_post that task_get hasn't returned yet, oldest first. A task leaves the list once you read it with task_get.\n\nWe don't re-parse tasks, so tasks_fixed returns the same list as tasks_ready.\n\nFree.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "tasks_ready",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/organic/tasks_fixed"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "id": {
                   "type": "string",
                   "description": "Task id. Pass it to task_get.",
                   "examples": [
                    "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "se": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Engine segment of the task's path, for example `google`.",
                   "examples": [
                    "google"
                   ]
                  },
                  "se_type": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Type segment of the task's path, for example `organic`.",
                   "examples": [
                    "organic"
                   ]
                  },
                  "date_posted": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the task was posted, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "tag": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "The `tag` you sent with the task.",
                   "examples": [
                    "weekly-rank-check"
                   ]
                  },
                  "endpoint_regular": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the regular format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/serp/google/organic/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_advanced": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the advanced format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/serp/google/organic/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_html": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for raw HTML. Null while HTML output isn't served."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per task ready to collect."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "google",
            "organic",
            "tasks_fixed"
           ],
           "data": {},
           "result": [
            {
             "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "se": "google",
             "se_type": "organic",
             "date_posted": "2026-12-03 10:42:18 +00:00",
             "tag": "weekly-rank-check",
             "endpoint_regular": "/v1/serp/google/organic/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_advanced": "/v1/serp/google/organic/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_html": null
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/organic/task_get/advanced/{id}": {
   "get": {
    "operationId": "serp-google-organic-task-get-advanced",
    "summary": "Google Organic SERP: Task Get Advanced",
    "description": "Read one queued task's result in the advanced format.\n\nPass the task id from task_post or tasks_ready. While the task is queued you get 40602, and 40601 while it runs. A finished task returns its result here and leaves the tasks_ready list; you can read it again for 30 days.\n\nReturns the result exactly as the live route would have.\n\nFree: the task was billed when it returned data.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_get",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/organic/task_get/advanced"
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "The task id returned by task_post.",
      "schema": {
       "type": "string",
       "examples": [
        "7f8d2c1e-4b5a-4c3d-9e8f-0a1b2c3d4e5f"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.00054
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.00054
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "trail running shoes",
                "location_code": 2840,
                "language_code": "en",
                "device": "desktop",
                "depth": 10
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "keyword": {
                   "type": "string",
                   "description": "The keyword you sent, trimmed.",
                   "examples": [
                    "trail running shoes"
                   ]
                  },
                  "type": {
                   "type": "string",
                   "description": "`organic` or `maps`.",
                   "examples": [
                    "organic"
                   ]
                  },
                  "se_domain": {
                   "type": "string",
                   "description": "The `se_domain` you sent, or the engine's default domain.",
                   "examples": [
                    "google.com"
                   ]
                  },
                  "location_code": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Location code the search ran for. Null for a city-level `location_name` or a coordinate search.",
                   "examples": [
                    2840
                   ]
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Language code the search ran for.",
                   "examples": [
                    "en"
                   ]
                  },
                  "check_url": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "A URL that opens the same search in a browser, to check the result by hand.",
                   "examples": [
                    "https://www.google.com/search?q=trail+running+shoes&gl=us&hl=en"
                   ]
                  },
                  "datetime": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, `YYYY-MM-DD HH:MM:SS +00:00`. For a cache hit this is the original fetch time.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "spell": {
                   "type": "null",
                   "description": "Spelling suggestion. Not available yet. Always null."
                  },
                  "refinement_chips": {
                   "type": "null",
                   "description": "Not available. Always null."
                  },
                  "item_types": {
                   "type": "array",
                   "items": {
                    "type": "string"
                   },
                   "description": "Item types present in `items`.",
                   "examples": [
                    [
                     "organic"
                    ]
                   ]
                  },
                  "se_results_count": {
                   "type": "integer",
                   "description": "Total results the engine reported for the query; 0 when it didn't say.",
                   "examples": [
                    48200000
                   ]
                  },
                  "pages_count": {
                   "type": "integer",
                   "description": "Results pages read: 1 per 10 organic results.",
                   "examples": [
                    1
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Number of entries in `items`.",
                   "examples": [
                    3
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `organic`.",
                      "examples": [
                       "organic"
                      ]
                     },
                     "rank_group": {
                      "type": "integer",
                      "description": "Position among items of the same type, starting at 1.",
                      "examples": [
                       1
                      ]
                     },
                     "rank_absolute": {
                      "type": "integer",
                      "description": "Position among all items on the page, starting at 1. Equal to `rank_group` for now: only one item type is returned.",
                      "examples": [
                       1
                      ]
                     },
                     "page": {
                      "type": "integer",
                      "description": "Results page the item sits on, counting 10 results per page.",
                      "examples": [
                       1
                      ]
                     },
                     "position": {
                      "type": "string",
                      "description": "Side of the page the item appears on. Always `left` for organic results.",
                      "examples": [
                       "left"
                      ]
                     },
                     "xpath": {
                      "type": "null",
                      "description": "Not available from our sources. Always null."
                     },
                     "domain": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Domain of the result URL, for example `www.example-reviews.com`.",
                      "examples": [
                       "www.example-reviews.com"
                      ]
                     },
                     "title": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result title as shown on the page.",
                      "examples": [
                       "The 12 best trail running shoes of 2026, tested"
                      ]
                     },
                     "url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result URL.",
                      "examples": [
                       "https://www.example-reviews.com/gear/trail-running-shoes"
                      ]
                     },
                     "cache_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "related_search_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "breadcrumb": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Breadcrumb shown under the title.",
                      "examples": [
                       "https://www.example-reviews.com › gear"
                      ]
                     },
                     "website_name": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Site name shown with the result, when the engine shows one.",
                      "examples": [
                       "Example Reviews"
                      ]
                     },
                     "is_image": {
                      "type": "boolean",
                      "description": "Always false: image results aren't parsed yet.",
                      "examples": [
                       false
                      ]
                     },
                     "is_video": {
                      "type": "boolean",
                      "description": "Always false: video results aren't parsed yet.",
                      "examples": [
                       false
                      ]
                     },
                     "is_featured_snippet": {
                      "type": "boolean",
                      "description": "Always false: featured snippets aren't parsed yet.",
                      "examples": [
                       false
                      ]
                     },
                     "is_malicious": {
                      "type": "boolean",
                      "description": "Always false.",
                      "examples": [
                       false
                      ]
                     },
                     "is_web_story": {
                      "type": "boolean",
                      "description": "Always false.",
                      "examples": [
                       false
                      ]
                     },
                     "description": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Snippet text under the title.",
                      "examples": [
                       "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last."
                      ]
                     },
                     "pre_snippet": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "extended_snippet": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "images": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "rating": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "price": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "links": {
                      "anyOf": [
                       {
                        "type": "array",
                        "items": {
                         "type": "object",
                         "properties": {
                          "type": {
                           "type": "string",
                           "description": "Always `link_element`.",
                           "examples": [
                            "link_element"
                           ]
                          },
                          "title": {
                           "type": [
                            "string",
                            "null"
                           ],
                           "description": "Sitelink text.",
                           "examples": [
                            "Best for mud"
                           ]
                          },
                          "description": {
                           "type": [
                            "string",
                            "null"
                           ],
                           "description": "Sitelink description, when shown."
                          },
                          "url": {
                           "type": [
                            "string",
                            "null"
                           ],
                           "description": "Sitelink URL.",
                           "examples": [
                            "https://www.example-reviews.com/gear/trail-running-shoes#mud"
                           ]
                          }
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Sitelinks shown under the result, when there are any."
                     },
                     "faq": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "extended_people_also_search": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "about_this_result": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "related_result": {
                      "type": "null",
                      "description": "Not available. Always null."
                     }
                    }
                   },
                   "description": "The organic items."
                  },
                  "fetched_at": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, ISO 8601 in UTC.",
                   "examples": [
                    "2026-12-03T10:42:18Z"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.00054,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.00054,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "google",
            "organic",
            "task_get",
            "advanced"
           ],
           "data": {
            "keyword": "trail running shoes",
            "location_code": 2840,
            "language_code": "en",
            "device": "desktop",
            "depth": 10
           },
           "result": [
            {
             "keyword": "trail running shoes",
             "type": "organic",
             "se_domain": "google.com",
             "location_code": 2840,
             "language_code": "en",
             "check_url": "https://www.google.com/search?q=trail+running+shoes&gl=us&hl=en",
             "datetime": "2026-12-03 10:42:18 +00:00",
             "spell": null,
             "refinement_chips": null,
             "item_types": [
              "organic"
             ],
             "se_results_count": 48200000,
             "pages_count": 1,
             "items_count": 3,
             "items": [
              {
               "type": "organic",
               "rank_group": 1,
               "rank_absolute": 1,
               "page": 1,
               "position": "left",
               "xpath": null,
               "domain": "www.example-reviews.com",
               "title": "The 12 best trail running shoes of 2026, tested",
               "url": "https://www.example-reviews.com/gear/trail-running-shoes",
               "cache_url": null,
               "related_search_url": null,
               "breadcrumb": "https://www.example-reviews.com › gear",
               "website_name": "Example Reviews",
               "is_image": false,
               "is_video": false,
               "is_featured_snippet": false,
               "is_malicious": false,
               "is_web_story": false,
               "description": "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last.",
               "pre_snippet": null,
               "extended_snippet": null,
               "images": null,
               "rating": null,
               "price": null,
               "links": [
                {
                 "type": "link_element",
                 "title": "Best for mud",
                 "description": null,
                 "url": "https://www.example-reviews.com/gear/trail-running-shoes#mud"
                }
               ],
               "faq": null,
               "extended_people_also_search": null,
               "about_this_result": null,
               "related_result": null
              },
              {
               "type": "organic",
               "rank_group": 2,
               "rank_absolute": 2,
               "page": 1,
               "position": "left",
               "xpath": null,
               "domain": "summitrunning.example",
               "title": "Trail running shoes | Summit Running Co.",
               "url": "https://summitrunning.example/trail-shoes",
               "cache_url": null,
               "related_search_url": null,
               "breadcrumb": "https://summitrunning.example › trail-shoes",
               "website_name": "Summit Running Co.",
               "is_image": false,
               "is_video": false,
               "is_featured_snippet": false,
               "is_malicious": false,
               "is_web_story": false,
               "description": "Free gait analysis and 60-day returns on every trail shoe we stock.",
               "pre_snippet": null,
               "extended_snippet": null,
               "images": null,
               "rating": null,
               "price": null,
               "links": null,
               "faq": null,
               "extended_people_also_search": null,
               "about_this_result": null,
               "related_result": null
              },
              {
               "type": "organic",
               "rank_group": 3,
               "rank_absolute": 3,
               "page": 1,
               "position": "left",
               "xpath": null,
               "domain": "runnersguide.example",
               "title": "How to choose trail running shoes",
               "url": "https://runnersguide.example/choose-trail-shoes",
               "cache_url": null,
               "related_search_url": null,
               "breadcrumb": "https://runnersguide.example › choose-trail-shoes",
               "website_name": "Runner's Guide",
               "is_image": false,
               "is_video": false,
               "is_featured_snippet": false,
               "is_malicious": false,
               "is_web_story": false,
               "description": "Lug depth, rock plates and drop: what matters on which terrain.",
               "pre_snippet": null,
               "extended_snippet": null,
               "images": null,
               "rating": null,
               "price": null,
               "links": null,
               "faq": null,
               "extended_people_also_search": null,
               "about_this_result": null,
               "related_result": null
              }
             ],
             "fetched_at": "2026-12-03T10:42:18Z"
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40401, 40602, 40601); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/organic/task_get/regular/{id}": {
   "get": {
    "operationId": "serp-google-organic-task-get-regular",
    "summary": "Google Organic SERP: Task Get Regular",
    "description": "Read one queued task's result in the regular format.\n\nPass the task id from task_post or tasks_ready. While the task is queued you get 40602, and 40601 while it runs. A finished task returns its result here and leaves the tasks_ready list; you can read it again for 30 days.\n\nResults are stored in the advanced format; this route returns the regular format, keeping organic items only.\n\nFree: the task was billed when it returned data.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_get",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/organic/task_get/regular"
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "The task id returned by task_post.",
      "schema": {
       "type": "string",
       "examples": [
        "7f8d2c1e-4b5a-4c3d-9e8f-0a1b2c3d4e5f"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.00054
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.00054
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "trail running shoes",
                "location_code": 2840,
                "language_code": "en",
                "device": "desktop",
                "depth": 10
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "keyword": {
                   "type": "string",
                   "description": "The keyword you sent, trimmed.",
                   "examples": [
                    "trail running shoes"
                   ]
                  },
                  "type": {
                   "type": "string",
                   "description": "`organic` or `maps`.",
                   "examples": [
                    "organic"
                   ]
                  },
                  "se_domain": {
                   "type": "string",
                   "description": "The `se_domain` you sent, or the engine's default domain.",
                   "examples": [
                    "google.com"
                   ]
                  },
                  "location_code": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Location code the search ran for. Null for a city-level `location_name` or a coordinate search.",
                   "examples": [
                    2840
                   ]
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Language code the search ran for.",
                   "examples": [
                    "en"
                   ]
                  },
                  "check_url": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "A URL that opens the same search in a browser, to check the result by hand.",
                   "examples": [
                    "https://www.google.com/search?q=trail+running+shoes&gl=us&hl=en"
                   ]
                  },
                  "datetime": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, `YYYY-MM-DD HH:MM:SS +00:00`. For a cache hit this is the original fetch time.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "spell": {
                   "type": "null",
                   "description": "Spelling suggestion. Not available yet. Always null."
                  },
                  "refinement_chips": {
                   "type": "null",
                   "description": "Not available. Always null."
                  },
                  "item_types": {
                   "type": "array",
                   "items": {
                    "type": "string"
                   },
                   "description": "Item types present in `items`.",
                   "examples": [
                    [
                     "organic"
                    ]
                   ]
                  },
                  "se_results_count": {
                   "type": "integer",
                   "description": "Total results the engine reported for the query; 0 when it didn't say.",
                   "examples": [
                    48200000
                   ]
                  },
                  "pages_count": {
                   "type": "integer",
                   "description": "Results pages read: 1 per 10 organic results.",
                   "examples": [
                    1
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Number of entries in `items`.",
                   "examples": [
                    3
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `organic`.",
                      "examples": [
                       "organic"
                      ]
                     },
                     "rank_group": {
                      "type": "integer",
                      "description": "Position among items of the same type, starting at 1.",
                      "examples": [
                       1
                      ]
                     },
                     "rank_absolute": {
                      "type": "integer",
                      "description": "Position among all items on the page, starting at 1. Equal to `rank_group` for now: only one item type is returned.",
                      "examples": [
                       1
                      ]
                     },
                     "page": {
                      "type": "integer",
                      "description": "Results page the item sits on, counting 10 results per page.",
                      "examples": [
                       1
                      ]
                     },
                     "domain": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Domain of the result URL, for example `www.example-reviews.com`.",
                      "examples": [
                       "www.example-reviews.com"
                      ]
                     },
                     "title": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result title as shown on the page.",
                      "examples": [
                       "The 12 best trail running shoes of 2026, tested"
                      ]
                     },
                     "description": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Snippet text under the title.",
                      "examples": [
                       "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last."
                      ]
                     },
                     "url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result URL.",
                      "examples": [
                       "https://www.example-reviews.com/gear/trail-running-shoes"
                      ]
                     },
                     "breadcrumb": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Breadcrumb shown under the title.",
                      "examples": [
                       "https://www.example-reviews.com › gear"
                      ]
                     }
                    }
                   },
                   "description": "The organic items."
                  },
                  "fetched_at": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, ISO 8601 in UTC.",
                   "examples": [
                    "2026-12-03T10:42:18Z"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.00054,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.00054,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "google",
            "organic",
            "task_get",
            "regular"
           ],
           "data": {
            "keyword": "trail running shoes",
            "location_code": 2840,
            "language_code": "en",
            "device": "desktop",
            "depth": 10
           },
           "result": [
            {
             "keyword": "trail running shoes",
             "type": "organic",
             "se_domain": "google.com",
             "location_code": 2840,
             "language_code": "en",
             "check_url": "https://www.google.com/search?q=trail+running+shoes&gl=us&hl=en",
             "datetime": "2026-12-03 10:42:18 +00:00",
             "spell": null,
             "refinement_chips": null,
             "item_types": [
              "organic"
             ],
             "se_results_count": 48200000,
             "pages_count": 1,
             "items_count": 3,
             "items": [
              {
               "type": "organic",
               "rank_group": 1,
               "rank_absolute": 1,
               "page": 1,
               "domain": "www.example-reviews.com",
               "title": "The 12 best trail running shoes of 2026, tested",
               "description": "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last.",
               "url": "https://www.example-reviews.com/gear/trail-running-shoes",
               "breadcrumb": "https://www.example-reviews.com › gear"
              },
              {
               "type": "organic",
               "rank_group": 2,
               "rank_absolute": 2,
               "page": 1,
               "domain": "summitrunning.example",
               "title": "Trail running shoes | Summit Running Co.",
               "description": "Free gait analysis and 60-day returns on every trail shoe we stock.",
               "url": "https://summitrunning.example/trail-shoes",
               "breadcrumb": "https://summitrunning.example › trail-shoes"
              },
              {
               "type": "organic",
               "rank_group": 3,
               "rank_absolute": 3,
               "page": 1,
               "domain": "runnersguide.example",
               "title": "How to choose trail running shoes",
               "description": "Lug depth, rock plates and drop: what matters on which terrain.",
               "url": "https://runnersguide.example/choose-trail-shoes",
               "breadcrumb": "https://runnersguide.example › choose-trail-shoes"
              }
             ],
             "fetched_at": "2026-12-03T10:42:18Z"
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40401, 40602, 40601); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/bing/organic/live/advanced": {
   "post": {
    "operationId": "serp-bing-organic-live-advanced",
    "summary": "Bing Organic SERP: Live Advanced",
    "description": "Bing organic results for a keyword, location, language and device. Returned in the same call, in the advanced format.\n\nSend up to 100 tasks in one POST as a JSON array. Each task runs at once and comes back in `tasks[]` in the order you sent it. Use the live mode when you need the results now; use `task_post` for the cheaper standard and priority queues.\n\nThe **advanced** format returns every field of each organic item; fields our sources can't fill are present and null. The **regular** format keeps the core fields: rank, page, domain, title, description, URL and breadcrumb.\n\n**Billing.** Billed per 10 results returned (so `ceil(items / 10)` units), at the price of the mode the task ran in. A search with no results, or one that returned no data, costs $0. Bing results are fetched by us. A page the Standard fetch can't get moves up the fetch levels under Auto-upgrade; the task's price stays the SERP price for its mode. Live results aren't cached unless you send `max_age`.\n\n**Beta.** The parsers that read this engine's results were written from the upstream documentation and haven't been checked against live responses yet. Field names and the response shape are fixed; expect some fields to be null more often than they should be until that check is done.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "SERP page of up to 10 results",
     "usd": {
      "live": 0.0018
     },
     "by_level": null,
     "notes": "Billed per unit returned; no results costs $0."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "live",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/bing/organic/live/advanced"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "keyword": {
           "type": "string",
           "description": "The search query, up to 700 characters. Leading and trailing spaces are trimmed.",
           "maxLength": 700,
           "examples": [
            "trail running shoes"
           ]
          },
          "location_code": {
           "type": "integer",
           "description": "Country location code from `/v1/serp/bing/locations`, for example `2840` for the United States. City and region codes aren't served yet. Send this, `location_name` or `location_coordinate`.",
           "examples": [
            2840
           ]
          },
          "location_name": {
           "type": "string",
           "description": "A country name (`United States`), or a comma-separated place that ends in a country (`Boulder,Colorado,United States`) to search from that place.",
           "examples": [
            "United States"
           ]
          },
          "location_coordinate": {
           "type": "string",
           "description": "`latitude,longitude` or `latitude,longitude,zoom` for a search centered on a point. Used when neither `location_code` nor `location_name` is sent.",
           "examples": [
            "40.0176,-105.2797,14"
           ]
          },
          "language_code": {
           "type": "string",
           "description": "Language code from `/v1/serp/bing/languages`, for example `en`. Send this or `language_name`.",
           "examples": [
            "en"
           ]
          },
          "language_name": {
           "type": "string",
           "description": "Language name, for example `English`, used when `language_code` is not sent.",
           "examples": [
            "English"
           ]
          },
          "device": {
           "type": "string",
           "description": "Device the results are for.",
           "enum": [
            "desktop",
            "mobile"
           ],
           "default": "desktop",
           "examples": [
            "desktop"
           ]
          },
          "os": {
           "type": "string",
           "description": "Operating system for the device: `windows` or `macos` on desktop, `android` or `ios` on mobile. Defaults to `windows` on desktop and `android` on mobile.",
           "enum": [
            "windows",
            "macos",
            "android",
            "ios"
           ],
           "examples": [
            "windows"
           ]
          },
          "depth": {
           "type": "integer",
           "description": "Results to return, 1 to 200. Billed per 10 results returned, so `depth: 100` with 100 results costs 10 units.",
           "default": 10,
           "minimum": 1,
           "maximum": 200,
           "examples": [
            10
           ]
          },
          "se_domain": {
           "type": "string",
           "description": "Search engine domain to report in the result's `se_domain`, for example `google.co.uk`. It's echoed back only: the location and language fields decide where the search runs.",
           "default": "bing.com",
           "examples": [
            "bing.com"
           ]
          },
          "auto_upgrade": {
           "type": "boolean",
           "description": "Lets the Bing fetch move from the Standard level to Rendered or Protected when a page is refused. `false` stops at Standard and returns the failure at $0.",
           "default": true,
           "examples": [
            true
           ]
          },
          "max_level": {
           "type": "string",
           "description": "The highest fetch level the Bing fetch may use.",
           "enum": [
            "standard",
            "rendered",
            "protected"
           ],
           "default": "protected",
           "examples": [
            "protected"
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may cost, in USD. The wallet check reserves this instead of the worst case, and the task doesn't upgrade to the live price when that would go over it.",
           "minimum": 0,
           "examples": [
            0.002
           ]
          },
          "max_age": {
           "type": "integer",
           "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always searches fresh. Default window: none on live (always fresh), 6 h on the standard queue, 1 h on the priority queue. Leave it out to use the default.",
           "minimum": 0,
           "maximum": 86400,
           "examples": [
            3600
           ]
          }
         },
         "required": [
          "keyword"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "keyword": "trail running shoes",
         "location_code": 2840,
         "language_code": "en",
         "depth": 10
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0018
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0018
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "bing"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "trail running shoes",
                "location_code": 2840,
                "language_code": "en",
                "depth": 10
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "keyword": {
                   "type": "string",
                   "description": "The keyword you sent, trimmed.",
                   "examples": [
                    "trail running shoes"
                   ]
                  },
                  "type": {
                   "type": "string",
                   "description": "`organic` or `maps`.",
                   "examples": [
                    "organic"
                   ]
                  },
                  "se_domain": {
                   "type": "string",
                   "description": "The `se_domain` you sent, or the engine's default domain.",
                   "examples": [
                    "bing.com"
                   ]
                  },
                  "location_code": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Location code the search ran for. Null for a city-level `location_name` or a coordinate search.",
                   "examples": [
                    2840
                   ]
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Language code the search ran for.",
                   "examples": [
                    "en"
                   ]
                  },
                  "check_url": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "A URL that opens the same search in a browser, to check the result by hand.",
                   "examples": [
                    "https://www.bing.com/search?q=trail+running+shoes"
                   ]
                  },
                  "datetime": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, `YYYY-MM-DD HH:MM:SS +00:00`. For a cache hit this is the original fetch time.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "spell": {
                   "type": "null",
                   "description": "Spelling suggestion. Not available yet. Always null."
                  },
                  "refinement_chips": {
                   "type": "null",
                   "description": "Not available. Always null."
                  },
                  "item_types": {
                   "type": "array",
                   "items": {
                    "type": "string"
                   },
                   "description": "Item types present in `items`.",
                   "examples": [
                    [
                     "organic"
                    ]
                   ]
                  },
                  "se_results_count": {
                   "type": "integer",
                   "description": "Total results the engine reported for the query; 0 when it didn't say.",
                   "examples": [
                    48200000
                   ]
                  },
                  "pages_count": {
                   "type": "integer",
                   "description": "Results pages read: 1 per 10 organic results.",
                   "examples": [
                    1
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Number of entries in `items`.",
                   "examples": [
                    3
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `organic`.",
                      "examples": [
                       "organic"
                      ]
                     },
                     "rank_group": {
                      "type": "integer",
                      "description": "Position among items of the same type, starting at 1.",
                      "examples": [
                       1
                      ]
                     },
                     "rank_absolute": {
                      "type": "integer",
                      "description": "Position among all items on the page, starting at 1. Equal to `rank_group` for now: only one item type is returned.",
                      "examples": [
                       1
                      ]
                     },
                     "page": {
                      "type": "integer",
                      "description": "Results page the item sits on, counting 10 results per page.",
                      "examples": [
                       1
                      ]
                     },
                     "position": {
                      "type": "string",
                      "description": "Side of the page the item appears on. Always `left` for organic results.",
                      "examples": [
                       "left"
                      ]
                     },
                     "xpath": {
                      "type": "null",
                      "description": "Not available from our sources. Always null."
                     },
                     "domain": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Domain of the result URL, for example `www.example-reviews.com`.",
                      "examples": [
                       "www.example-reviews.com"
                      ]
                     },
                     "title": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result title as shown on the page.",
                      "examples": [
                       "The 12 best trail running shoes of 2026, tested"
                      ]
                     },
                     "url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result URL.",
                      "examples": [
                       "https://www.example-reviews.com/gear/trail-running-shoes"
                      ]
                     },
                     "cache_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "related_search_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "breadcrumb": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Breadcrumb shown under the title.",
                      "examples": [
                       "https://www.example-reviews.com › gear"
                      ]
                     },
                     "website_name": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Site name shown with the result, when the engine shows one.",
                      "examples": [
                       "Example Reviews"
                      ]
                     },
                     "is_image": {
                      "type": "boolean",
                      "description": "Always false: image results aren't parsed yet.",
                      "examples": [
                       false
                      ]
                     },
                     "is_video": {
                      "type": "boolean",
                      "description": "Always false: video results aren't parsed yet.",
                      "examples": [
                       false
                      ]
                     },
                     "is_featured_snippet": {
                      "type": "boolean",
                      "description": "Always false: featured snippets aren't parsed yet.",
                      "examples": [
                       false
                      ]
                     },
                     "is_malicious": {
                      "type": "boolean",
                      "description": "Always false.",
                      "examples": [
                       false
                      ]
                     },
                     "is_web_story": {
                      "type": "boolean",
                      "description": "Always false.",
                      "examples": [
                       false
                      ]
                     },
                     "description": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Snippet text under the title.",
                      "examples": [
                       "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last."
                      ]
                     },
                     "pre_snippet": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "extended_snippet": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "images": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "rating": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "price": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "links": {
                      "anyOf": [
                       {
                        "type": "array",
                        "items": {
                         "type": "object",
                         "properties": {
                          "type": {
                           "type": "string",
                           "description": "Always `link_element`.",
                           "examples": [
                            "link_element"
                           ]
                          },
                          "title": {
                           "type": [
                            "string",
                            "null"
                           ],
                           "description": "Sitelink text.",
                           "examples": [
                            "Best for mud"
                           ]
                          },
                          "description": {
                           "type": [
                            "string",
                            "null"
                           ],
                           "description": "Sitelink description, when shown."
                          },
                          "url": {
                           "type": [
                            "string",
                            "null"
                           ],
                           "description": "Sitelink URL.",
                           "examples": [
                            "https://www.example-reviews.com/gear/trail-running-shoes#mud"
                           ]
                          }
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Sitelinks shown under the result, when there are any."
                     },
                     "faq": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "extended_people_also_search": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "about_this_result": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "related_result": {
                      "type": "null",
                      "description": "Not available. Always null."
                     }
                    }
                   },
                   "description": "The organic items."
                  },
                  "fetched_at": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, ISO 8601 in UTC.",
                   "examples": [
                    "2026-12-03T10:42:18Z"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ],
              "examples": [
               "standard"
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0018,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0018,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "bing",
            "organic",
            "live",
            "advanced"
           ],
           "data": {
            "keyword": "trail running shoes",
            "location_code": 2840,
            "language_code": "en",
            "depth": 10
           },
           "result": [
            {
             "keyword": "trail running shoes",
             "type": "organic",
             "se_domain": "bing.com",
             "location_code": 2840,
             "language_code": "en",
             "check_url": "https://www.bing.com/search?q=trail+running+shoes",
             "datetime": "2026-12-03 10:42:18 +00:00",
             "spell": null,
             "refinement_chips": null,
             "item_types": [
              "organic"
             ],
             "se_results_count": 48200000,
             "pages_count": 1,
             "items_count": 3,
             "items": [
              {
               "type": "organic",
               "rank_group": 1,
               "rank_absolute": 1,
               "page": 1,
               "position": "left",
               "xpath": null,
               "domain": "www.example-reviews.com",
               "title": "The 12 best trail running shoes of 2026, tested",
               "url": "https://www.example-reviews.com/gear/trail-running-shoes",
               "cache_url": null,
               "related_search_url": null,
               "breadcrumb": "https://www.example-reviews.com › gear",
               "website_name": "Example Reviews",
               "is_image": false,
               "is_video": false,
               "is_featured_snippet": false,
               "is_malicious": false,
               "is_web_story": false,
               "description": "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last.",
               "pre_snippet": null,
               "extended_snippet": null,
               "images": null,
               "rating": null,
               "price": null,
               "links": [
                {
                 "type": "link_element",
                 "title": "Best for mud",
                 "description": null,
                 "url": "https://www.example-reviews.com/gear/trail-running-shoes#mud"
                }
               ],
               "faq": null,
               "extended_people_also_search": null,
               "about_this_result": null,
               "related_result": null
              },
              {
               "type": "organic",
               "rank_group": 2,
               "rank_absolute": 2,
               "page": 1,
               "position": "left",
               "xpath": null,
               "domain": "summitrunning.example",
               "title": "Trail running shoes | Summit Running Co.",
               "url": "https://summitrunning.example/trail-shoes",
               "cache_url": null,
               "related_search_url": null,
               "breadcrumb": "https://summitrunning.example › trail-shoes",
               "website_name": "Summit Running Co.",
               "is_image": false,
               "is_video": false,
               "is_featured_snippet": false,
               "is_malicious": false,
               "is_web_story": false,
               "description": "Free gait analysis and 60-day returns on every trail shoe we stock.",
               "pre_snippet": null,
               "extended_snippet": null,
               "images": null,
               "rating": null,
               "price": null,
               "links": null,
               "faq": null,
               "extended_people_also_search": null,
               "about_this_result": null,
               "related_result": null
              },
              {
               "type": "organic",
               "rank_group": 3,
               "rank_absolute": 3,
               "page": 1,
               "position": "left",
               "xpath": null,
               "domain": "runnersguide.example",
               "title": "How to choose trail running shoes",
               "url": "https://runnersguide.example/choose-trail-shoes",
               "cache_url": null,
               "related_search_url": null,
               "breadcrumb": "https://runnersguide.example › choose-trail-shoes",
               "website_name": "Runner's Guide",
               "is_image": false,
               "is_video": false,
               "is_featured_snippet": false,
               "is_malicious": false,
               "is_web_story": false,
               "description": "Lug depth, rock plates and drop: what matters on which terrain.",
               "pre_snippet": null,
               "extended_snippet": null,
               "images": null,
               "rating": null,
               "price": null,
               "links": null,
               "faq": null,
               "extended_people_also_search": null,
               "about_this_result": null,
               "related_result": null
              }
             ],
             "fetched_at": "2026-12-03T10:42:18Z"
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": "standard",
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000, 40102, 40402); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/bing/organic/live/regular": {
   "post": {
    "operationId": "serp-bing-organic-live-regular",
    "summary": "Bing Organic SERP: Live Regular",
    "description": "Bing organic results for a keyword, location, language and device. Returned in the same call, in the regular format.\n\nSend up to 100 tasks in one POST as a JSON array. Each task runs at once and comes back in `tasks[]` in the order you sent it. Use the live mode when you need the results now; use `task_post` for the cheaper standard and priority queues.\n\nThe **advanced** format returns every field of each organic item; fields our sources can't fill are present and null. The **regular** format keeps the core fields: rank, page, domain, title, description, URL and breadcrumb.\n\n**Billing.** Billed per 10 results returned (so `ceil(items / 10)` units), at the price of the mode the task ran in. A search with no results, or one that returned no data, costs $0. Bing results are fetched by us. A page the Standard fetch can't get moves up the fetch levels under Auto-upgrade; the task's price stays the SERP price for its mode. Live results aren't cached unless you send `max_age`.\n\n**Beta.** The parsers that read this engine's results were written from the upstream documentation and haven't been checked against live responses yet. Field names and the response shape are fixed; expect some fields to be null more often than they should be until that check is done.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "SERP page of up to 10 results",
     "usd": {
      "live": 0.0018
     },
     "by_level": null,
     "notes": "Billed per unit returned; no results costs $0."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "live",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/bing/organic/live/regular"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "keyword": {
           "type": "string",
           "description": "The search query, up to 700 characters. Leading and trailing spaces are trimmed.",
           "maxLength": 700,
           "examples": [
            "trail running shoes"
           ]
          },
          "location_code": {
           "type": "integer",
           "description": "Country location code from `/v1/serp/bing/locations`, for example `2840` for the United States. City and region codes aren't served yet. Send this, `location_name` or `location_coordinate`.",
           "examples": [
            2840
           ]
          },
          "location_name": {
           "type": "string",
           "description": "A country name (`United States`), or a comma-separated place that ends in a country (`Boulder,Colorado,United States`) to search from that place.",
           "examples": [
            "United States"
           ]
          },
          "location_coordinate": {
           "type": "string",
           "description": "`latitude,longitude` or `latitude,longitude,zoom` for a search centered on a point. Used when neither `location_code` nor `location_name` is sent.",
           "examples": [
            "40.0176,-105.2797,14"
           ]
          },
          "language_code": {
           "type": "string",
           "description": "Language code from `/v1/serp/bing/languages`, for example `en`. Send this or `language_name`.",
           "examples": [
            "en"
           ]
          },
          "language_name": {
           "type": "string",
           "description": "Language name, for example `English`, used when `language_code` is not sent.",
           "examples": [
            "English"
           ]
          },
          "device": {
           "type": "string",
           "description": "Device the results are for.",
           "enum": [
            "desktop",
            "mobile"
           ],
           "default": "desktop",
           "examples": [
            "desktop"
           ]
          },
          "os": {
           "type": "string",
           "description": "Operating system for the device: `windows` or `macos` on desktop, `android` or `ios` on mobile. Defaults to `windows` on desktop and `android` on mobile.",
           "enum": [
            "windows",
            "macos",
            "android",
            "ios"
           ],
           "examples": [
            "windows"
           ]
          },
          "depth": {
           "type": "integer",
           "description": "Results to return, 1 to 200. Billed per 10 results returned, so `depth: 100` with 100 results costs 10 units.",
           "default": 10,
           "minimum": 1,
           "maximum": 200,
           "examples": [
            10
           ]
          },
          "se_domain": {
           "type": "string",
           "description": "Search engine domain to report in the result's `se_domain`, for example `google.co.uk`. It's echoed back only: the location and language fields decide where the search runs.",
           "default": "bing.com",
           "examples": [
            "bing.com"
           ]
          },
          "auto_upgrade": {
           "type": "boolean",
           "description": "Lets the Bing fetch move from the Standard level to Rendered or Protected when a page is refused. `false` stops at Standard and returns the failure at $0.",
           "default": true,
           "examples": [
            true
           ]
          },
          "max_level": {
           "type": "string",
           "description": "The highest fetch level the Bing fetch may use.",
           "enum": [
            "standard",
            "rendered",
            "protected"
           ],
           "default": "protected",
           "examples": [
            "protected"
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may cost, in USD. The wallet check reserves this instead of the worst case, and the task doesn't upgrade to the live price when that would go over it.",
           "minimum": 0,
           "examples": [
            0.002
           ]
          },
          "max_age": {
           "type": "integer",
           "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always searches fresh. Default window: none on live (always fresh), 6 h on the standard queue, 1 h on the priority queue. Leave it out to use the default.",
           "minimum": 0,
           "maximum": 86400,
           "examples": [
            3600
           ]
          }
         },
         "required": [
          "keyword"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "keyword": "trail running shoes",
         "location_code": 2840,
         "language_code": "en",
         "depth": 10
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0018
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0018
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "bing"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "trail running shoes",
                "location_code": 2840,
                "language_code": "en",
                "depth": 10
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "keyword": {
                   "type": "string",
                   "description": "The keyword you sent, trimmed.",
                   "examples": [
                    "trail running shoes"
                   ]
                  },
                  "type": {
                   "type": "string",
                   "description": "`organic` or `maps`.",
                   "examples": [
                    "organic"
                   ]
                  },
                  "se_domain": {
                   "type": "string",
                   "description": "The `se_domain` you sent, or the engine's default domain.",
                   "examples": [
                    "bing.com"
                   ]
                  },
                  "location_code": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Location code the search ran for. Null for a city-level `location_name` or a coordinate search.",
                   "examples": [
                    2840
                   ]
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Language code the search ran for.",
                   "examples": [
                    "en"
                   ]
                  },
                  "check_url": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "A URL that opens the same search in a browser, to check the result by hand.",
                   "examples": [
                    "https://www.bing.com/search?q=trail+running+shoes"
                   ]
                  },
                  "datetime": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, `YYYY-MM-DD HH:MM:SS +00:00`. For a cache hit this is the original fetch time.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "spell": {
                   "type": "null",
                   "description": "Spelling suggestion. Not available yet. Always null."
                  },
                  "refinement_chips": {
                   "type": "null",
                   "description": "Not available. Always null."
                  },
                  "item_types": {
                   "type": "array",
                   "items": {
                    "type": "string"
                   },
                   "description": "Item types present in `items`.",
                   "examples": [
                    [
                     "organic"
                    ]
                   ]
                  },
                  "se_results_count": {
                   "type": "integer",
                   "description": "Total results the engine reported for the query; 0 when it didn't say.",
                   "examples": [
                    48200000
                   ]
                  },
                  "pages_count": {
                   "type": "integer",
                   "description": "Results pages read: 1 per 10 organic results.",
                   "examples": [
                    1
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Number of entries in `items`.",
                   "examples": [
                    3
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `organic`.",
                      "examples": [
                       "organic"
                      ]
                     },
                     "rank_group": {
                      "type": "integer",
                      "description": "Position among items of the same type, starting at 1.",
                      "examples": [
                       1
                      ]
                     },
                     "rank_absolute": {
                      "type": "integer",
                      "description": "Position among all items on the page, starting at 1. Equal to `rank_group` for now: only one item type is returned.",
                      "examples": [
                       1
                      ]
                     },
                     "page": {
                      "type": "integer",
                      "description": "Results page the item sits on, counting 10 results per page.",
                      "examples": [
                       1
                      ]
                     },
                     "domain": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Domain of the result URL, for example `www.example-reviews.com`.",
                      "examples": [
                       "www.example-reviews.com"
                      ]
                     },
                     "title": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result title as shown on the page.",
                      "examples": [
                       "The 12 best trail running shoes of 2026, tested"
                      ]
                     },
                     "description": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Snippet text under the title.",
                      "examples": [
                       "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last."
                      ]
                     },
                     "url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result URL.",
                      "examples": [
                       "https://www.example-reviews.com/gear/trail-running-shoes"
                      ]
                     },
                     "breadcrumb": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Breadcrumb shown under the title.",
                      "examples": [
                       "https://www.example-reviews.com › gear"
                      ]
                     }
                    }
                   },
                   "description": "The organic items."
                  },
                  "fetched_at": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, ISO 8601 in UTC.",
                   "examples": [
                    "2026-12-03T10:42:18Z"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ],
              "examples": [
               "standard"
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0018,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0018,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "bing",
            "organic",
            "live",
            "regular"
           ],
           "data": {
            "keyword": "trail running shoes",
            "location_code": 2840,
            "language_code": "en",
            "depth": 10
           },
           "result": [
            {
             "keyword": "trail running shoes",
             "type": "organic",
             "se_domain": "bing.com",
             "location_code": 2840,
             "language_code": "en",
             "check_url": "https://www.bing.com/search?q=trail+running+shoes",
             "datetime": "2026-12-03 10:42:18 +00:00",
             "spell": null,
             "refinement_chips": null,
             "item_types": [
              "organic"
             ],
             "se_results_count": 48200000,
             "pages_count": 1,
             "items_count": 3,
             "items": [
              {
               "type": "organic",
               "rank_group": 1,
               "rank_absolute": 1,
               "page": 1,
               "domain": "www.example-reviews.com",
               "title": "The 12 best trail running shoes of 2026, tested",
               "description": "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last.",
               "url": "https://www.example-reviews.com/gear/trail-running-shoes",
               "breadcrumb": "https://www.example-reviews.com › gear"
              },
              {
               "type": "organic",
               "rank_group": 2,
               "rank_absolute": 2,
               "page": 1,
               "domain": "summitrunning.example",
               "title": "Trail running shoes | Summit Running Co.",
               "description": "Free gait analysis and 60-day returns on every trail shoe we stock.",
               "url": "https://summitrunning.example/trail-shoes",
               "breadcrumb": "https://summitrunning.example › trail-shoes"
              },
              {
               "type": "organic",
               "rank_group": 3,
               "rank_absolute": 3,
               "page": 1,
               "domain": "runnersguide.example",
               "title": "How to choose trail running shoes",
               "description": "Lug depth, rock plates and drop: what matters on which terrain.",
               "url": "https://runnersguide.example/choose-trail-shoes",
               "breadcrumb": "https://runnersguide.example › choose-trail-shoes"
              }
             ],
             "fetched_at": "2026-12-03T10:42:18Z"
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": "standard",
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000, 40102, 40402); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/bing/organic/task_post": {
   "post": {
    "operationId": "serp-bing-organic-task-post",
    "summary": "Bing Organic SERP: Task Post",
    "description": "Queue Bing organic searches on the standard or priority queue, then collect them with tasks_ready and task_get.\n\nPost up to 100 tasks in one request. Each comes back at once with status 20100 and a task id; nothing is charged yet. When a task finishes it appears in `tasks_ready`, and we call your `pingback_url` or `postback_url` if you set one. Read the result with `task_get`.\n\n`priority: 1` uses the standard queue, `priority: 2` the priority queue, which runs sooner and is priced higher.\n\n**Billing.** Billed per 10 results returned (so `ceil(items / 10)` units), at the price of the mode the task ran in. A search with no results, or one that returned no data, costs $0. Bing results are fetched by us. A page the Standard fetch can't get moves up the fetch levels under Auto-upgrade; the task's price stays the SERP price for its mode. Queued results reuse the shared cache: 6 h on the standard queue, 1 h on the priority queue. `max_age: 0` forces a fresh search.\n\nThe wallet check at post time reserves the worst case each task can cost (the live price when Auto-upgrade is on), so the post is refused with 40210 if the balance can't cover it.\n\n**Beta.** The parsers that read this engine's results were written from the upstream documentation and haven't been checked against live responses yet. Field names and the response shape are fixed; expect some fields to be null more often than they should be until that check is done.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "SERP page of up to 10 results",
     "usd": {
      "standard": 0.00054,
      "priority": 0.00108
     },
     "by_level": null,
     "notes": "`standard` is `priority: 1`, `priority` is `priority: 2`. A task served by the live fallback bills at the live price."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_post",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/bing/organic/task_post"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "keyword": {
           "type": "string",
           "description": "The search query, up to 700 characters. Leading and trailing spaces are trimmed.",
           "maxLength": 700,
           "examples": [
            "trail running shoes"
           ]
          },
          "location_code": {
           "type": "integer",
           "description": "Country location code from `/v1/serp/bing/locations`, for example `2840` for the United States. City and region codes aren't served yet. Send this, `location_name` or `location_coordinate`.",
           "examples": [
            2840
           ]
          },
          "location_name": {
           "type": "string",
           "description": "A country name (`United States`), or a comma-separated place that ends in a country (`Boulder,Colorado,United States`) to search from that place.",
           "examples": [
            "United States"
           ]
          },
          "location_coordinate": {
           "type": "string",
           "description": "`latitude,longitude` or `latitude,longitude,zoom` for a search centered on a point. Used when neither `location_code` nor `location_name` is sent.",
           "examples": [
            "40.0176,-105.2797,14"
           ]
          },
          "language_code": {
           "type": "string",
           "description": "Language code from `/v1/serp/bing/languages`, for example `en`. Send this or `language_name`.",
           "examples": [
            "en"
           ]
          },
          "language_name": {
           "type": "string",
           "description": "Language name, for example `English`, used when `language_code` is not sent.",
           "examples": [
            "English"
           ]
          },
          "device": {
           "type": "string",
           "description": "Device the results are for.",
           "enum": [
            "desktop",
            "mobile"
           ],
           "default": "desktop",
           "examples": [
            "desktop"
           ]
          },
          "os": {
           "type": "string",
           "description": "Operating system for the device: `windows` or `macos` on desktop, `android` or `ios` on mobile. Defaults to `windows` on desktop and `android` on mobile.",
           "enum": [
            "windows",
            "macos",
            "android",
            "ios"
           ],
           "examples": [
            "windows"
           ]
          },
          "depth": {
           "type": "integer",
           "description": "Results to return, 1 to 200. Billed per 10 results returned, so `depth: 100` with 100 results costs 10 units.",
           "default": 10,
           "minimum": 1,
           "maximum": 200,
           "examples": [
            10
           ]
          },
          "se_domain": {
           "type": "string",
           "description": "Search engine domain to report in the result's `se_domain`, for example `google.co.uk`. It's echoed back only: the location and language fields decide where the search runs.",
           "default": "bing.com",
           "examples": [
            "bing.com"
           ]
          },
          "auto_upgrade": {
           "type": "boolean",
           "description": "Lets the Bing fetch move from the Standard level to Rendered or Protected when a page is refused. `false` stops at Standard and returns the failure at $0.",
           "default": true,
           "examples": [
            true
           ]
          },
          "max_level": {
           "type": "string",
           "description": "The highest fetch level the Bing fetch may use.",
           "enum": [
            "standard",
            "rendered",
            "protected"
           ],
           "default": "protected",
           "examples": [
            "protected"
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may cost, in USD. The wallet check reserves this instead of the worst case, and the task doesn't upgrade to the live price when that would go over it.",
           "minimum": 0,
           "examples": [
            0.002
           ]
          },
          "max_age": {
           "type": "integer",
           "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always searches fresh. Default window: none on live (always fresh), 6 h on the standard queue, 1 h on the priority queue. Leave it out to use the default.",
           "minimum": 0,
           "maximum": 86400,
           "examples": [
            3600
           ]
          },
          "priority": {
           "type": "integer",
           "description": "Queue for this task: `1` is the standard queue, `2` the priority queue (faster, priced higher).",
           "enum": [
            1,
            2
           ],
           "default": 1,
           "examples": [
            1
           ]
          },
          "tag": {
           "type": "string",
           "description": "Your own label for the task, up to 255 characters. Returned by tasks_ready.",
           "maxLength": 255,
           "examples": [
            "weekly-rank-check"
           ]
          },
          "pingback_url": {
           "type": "string",
           "description": "We send a GET to this http(s) URL when the task finishes. `$id` and `$tag` in the URL are replaced with the task id and tag. Only public hosts are called and redirects aren't followed.",
           "maxLength": 2000,
           "examples": [
            "https://hooks.example.com/done?id=$id&tag=$tag"
           ]
          },
          "postback_url": {
           "type": "string",
           "description": "We POST the finished task, in the task_get envelope, to this http(s) URL. Only public hosts are called and redirects aren't followed.",
           "maxLength": 2000,
           "examples": [
            "https://hooks.example.com/results"
           ]
          },
          "postback_data": {
           "type": "string",
           "description": "Result format sent to `postback_url`. Defaults to `advanced` when `postback_url` is set.",
           "enum": [
            "regular",
            "advanced",
            "html"
           ],
           "examples": [
            "advanced"
           ]
          }
         },
         "required": [
          "keyword"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "keyword": "trail running shoes",
         "location_code": 2840,
         "language_code": "en",
         "depth": 10,
         "priority": 1,
         "tag": "weekly-rank-check",
         "pingback_url": "https://hooks.example.com/done?id=$id&tag=$tag"
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20100
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Task Created."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               0
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "bing"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "trail running shoes",
                "location_code": 2840,
                "language_code": "en",
                "depth": 10,
                "priority": 1,
                "tag": "weekly-rank-check"
               }
              ]
             },
             "result": {
              "type": "null",
              "description": "Always null for task_post. Read the result with task_get."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20100,
           "status_message": "Task Created.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 0,
           "path": [
            "v1",
            "serp",
            "bing",
            "organic",
            "task_post"
           ],
           "data": {
            "keyword": "trail running shoes",
            "location_code": 2840,
            "language_code": "en",
            "depth": 10,
            "priority": 1,
            "tag": "weekly-rank-check",
            "pingback_url": "https://hooks.example.com/done?id=$id&tag=$tag"
           },
           "result": null,
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 40501); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/bing/organic/tasks_ready": {
   "get": {
    "operationId": "serp-bing-organic-tasks-ready",
    "summary": "Bing Organic SERP: Tasks Ready",
    "description": "List your finished tasks for this endpoint that you haven't collected yet.\n\nReturns up to 1,000 completed tasks posted to this endpoint's task_post that task_get hasn't returned yet, oldest first. A task leaves the list once you read it with task_get.\n\nEach entry carries ready-made task_get paths.\n\nFree.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "tasks_ready",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/bing/organic/tasks_ready"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "bing"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "id": {
                   "type": "string",
                   "description": "Task id. Pass it to task_get.",
                   "examples": [
                    "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "se": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Engine segment of the task's path, for example `google`.",
                   "examples": [
                    "bing"
                   ]
                  },
                  "se_type": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Type segment of the task's path, for example `organic`.",
                   "examples": [
                    "organic"
                   ]
                  },
                  "date_posted": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the task was posted, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "tag": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "The `tag` you sent with the task.",
                   "examples": [
                    "weekly-rank-check"
                   ]
                  },
                  "endpoint_regular": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the regular format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/serp/bing/organic/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_advanced": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the advanced format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/serp/bing/organic/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_html": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for raw HTML. Null while HTML output isn't served."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per task ready to collect."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "bing",
            "organic",
            "tasks_ready"
           ],
           "data": {},
           "result": [
            {
             "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "se": "bing",
             "se_type": "organic",
             "date_posted": "2026-12-03 10:42:18 +00:00",
             "tag": "weekly-rank-check",
             "endpoint_regular": "/v1/serp/bing/organic/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_advanced": "/v1/serp/bing/organic/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_html": null
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/bing/organic/tasks_fixed": {
   "get": {
    "operationId": "serp-bing-organic-tasks-fixed",
    "summary": "Bing Organic SERP: Tasks Fixed",
    "description": "Same list as tasks_ready, kept for clients that call tasks_fixed.\n\nReturns up to 1,000 completed tasks posted to this endpoint's task_post that task_get hasn't returned yet, oldest first. A task leaves the list once you read it with task_get.\n\nWe don't re-parse tasks, so tasks_fixed returns the same list as tasks_ready.\n\nFree.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "tasks_ready",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/bing/organic/tasks_fixed"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "bing"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "id": {
                   "type": "string",
                   "description": "Task id. Pass it to task_get.",
                   "examples": [
                    "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "se": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Engine segment of the task's path, for example `google`.",
                   "examples": [
                    "bing"
                   ]
                  },
                  "se_type": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Type segment of the task's path, for example `organic`.",
                   "examples": [
                    "organic"
                   ]
                  },
                  "date_posted": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the task was posted, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "tag": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "The `tag` you sent with the task.",
                   "examples": [
                    "weekly-rank-check"
                   ]
                  },
                  "endpoint_regular": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the regular format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/serp/bing/organic/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_advanced": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the advanced format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/serp/bing/organic/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_html": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for raw HTML. Null while HTML output isn't served."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per task ready to collect."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "bing",
            "organic",
            "tasks_fixed"
           ],
           "data": {},
           "result": [
            {
             "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "se": "bing",
             "se_type": "organic",
             "date_posted": "2026-12-03 10:42:18 +00:00",
             "tag": "weekly-rank-check",
             "endpoint_regular": "/v1/serp/bing/organic/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_advanced": "/v1/serp/bing/organic/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_html": null
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/bing/organic/task_get/advanced/{id}": {
   "get": {
    "operationId": "serp-bing-organic-task-get-advanced",
    "summary": "Bing Organic SERP: Task Get Advanced",
    "description": "Read one queued task's result in the advanced format.\n\nPass the task id from task_post or tasks_ready. While the task is queued you get 40602, and 40601 while it runs. A finished task returns its result here and leaves the tasks_ready list; you can read it again for 30 days.\n\nReturns the result exactly as the live route would have.\n\nFree: the task was billed when it returned data.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_get",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/bing/organic/task_get/advanced"
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "The task id returned by task_post.",
      "schema": {
       "type": "string",
       "examples": [
        "7f8d2c1e-4b5a-4c3d-9e8f-0a1b2c3d4e5f"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.00054
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.00054
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "bing"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "trail running shoes",
                "location_code": 2840,
                "language_code": "en",
                "depth": 10
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "keyword": {
                   "type": "string",
                   "description": "The keyword you sent, trimmed.",
                   "examples": [
                    "trail running shoes"
                   ]
                  },
                  "type": {
                   "type": "string",
                   "description": "`organic` or `maps`.",
                   "examples": [
                    "organic"
                   ]
                  },
                  "se_domain": {
                   "type": "string",
                   "description": "The `se_domain` you sent, or the engine's default domain.",
                   "examples": [
                    "bing.com"
                   ]
                  },
                  "location_code": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Location code the search ran for. Null for a city-level `location_name` or a coordinate search.",
                   "examples": [
                    2840
                   ]
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Language code the search ran for.",
                   "examples": [
                    "en"
                   ]
                  },
                  "check_url": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "A URL that opens the same search in a browser, to check the result by hand.",
                   "examples": [
                    "https://www.bing.com/search?q=trail+running+shoes"
                   ]
                  },
                  "datetime": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, `YYYY-MM-DD HH:MM:SS +00:00`. For a cache hit this is the original fetch time.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "spell": {
                   "type": "null",
                   "description": "Spelling suggestion. Not available yet. Always null."
                  },
                  "refinement_chips": {
                   "type": "null",
                   "description": "Not available. Always null."
                  },
                  "item_types": {
                   "type": "array",
                   "items": {
                    "type": "string"
                   },
                   "description": "Item types present in `items`.",
                   "examples": [
                    [
                     "organic"
                    ]
                   ]
                  },
                  "se_results_count": {
                   "type": "integer",
                   "description": "Total results the engine reported for the query; 0 when it didn't say.",
                   "examples": [
                    48200000
                   ]
                  },
                  "pages_count": {
                   "type": "integer",
                   "description": "Results pages read: 1 per 10 organic results.",
                   "examples": [
                    1
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Number of entries in `items`.",
                   "examples": [
                    3
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `organic`.",
                      "examples": [
                       "organic"
                      ]
                     },
                     "rank_group": {
                      "type": "integer",
                      "description": "Position among items of the same type, starting at 1.",
                      "examples": [
                       1
                      ]
                     },
                     "rank_absolute": {
                      "type": "integer",
                      "description": "Position among all items on the page, starting at 1. Equal to `rank_group` for now: only one item type is returned.",
                      "examples": [
                       1
                      ]
                     },
                     "page": {
                      "type": "integer",
                      "description": "Results page the item sits on, counting 10 results per page.",
                      "examples": [
                       1
                      ]
                     },
                     "position": {
                      "type": "string",
                      "description": "Side of the page the item appears on. Always `left` for organic results.",
                      "examples": [
                       "left"
                      ]
                     },
                     "xpath": {
                      "type": "null",
                      "description": "Not available from our sources. Always null."
                     },
                     "domain": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Domain of the result URL, for example `www.example-reviews.com`.",
                      "examples": [
                       "www.example-reviews.com"
                      ]
                     },
                     "title": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result title as shown on the page.",
                      "examples": [
                       "The 12 best trail running shoes of 2026, tested"
                      ]
                     },
                     "url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result URL.",
                      "examples": [
                       "https://www.example-reviews.com/gear/trail-running-shoes"
                      ]
                     },
                     "cache_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "related_search_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "breadcrumb": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Breadcrumb shown under the title.",
                      "examples": [
                       "https://www.example-reviews.com › gear"
                      ]
                     },
                     "website_name": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Site name shown with the result, when the engine shows one.",
                      "examples": [
                       "Example Reviews"
                      ]
                     },
                     "is_image": {
                      "type": "boolean",
                      "description": "Always false: image results aren't parsed yet.",
                      "examples": [
                       false
                      ]
                     },
                     "is_video": {
                      "type": "boolean",
                      "description": "Always false: video results aren't parsed yet.",
                      "examples": [
                       false
                      ]
                     },
                     "is_featured_snippet": {
                      "type": "boolean",
                      "description": "Always false: featured snippets aren't parsed yet.",
                      "examples": [
                       false
                      ]
                     },
                     "is_malicious": {
                      "type": "boolean",
                      "description": "Always false.",
                      "examples": [
                       false
                      ]
                     },
                     "is_web_story": {
                      "type": "boolean",
                      "description": "Always false.",
                      "examples": [
                       false
                      ]
                     },
                     "description": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Snippet text under the title.",
                      "examples": [
                       "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last."
                      ]
                     },
                     "pre_snippet": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "extended_snippet": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "images": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "rating": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "price": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "links": {
                      "anyOf": [
                       {
                        "type": "array",
                        "items": {
                         "type": "object",
                         "properties": {
                          "type": {
                           "type": "string",
                           "description": "Always `link_element`.",
                           "examples": [
                            "link_element"
                           ]
                          },
                          "title": {
                           "type": [
                            "string",
                            "null"
                           ],
                           "description": "Sitelink text.",
                           "examples": [
                            "Best for mud"
                           ]
                          },
                          "description": {
                           "type": [
                            "string",
                            "null"
                           ],
                           "description": "Sitelink description, when shown."
                          },
                          "url": {
                           "type": [
                            "string",
                            "null"
                           ],
                           "description": "Sitelink URL.",
                           "examples": [
                            "https://www.example-reviews.com/gear/trail-running-shoes#mud"
                           ]
                          }
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Sitelinks shown under the result, when there are any."
                     },
                     "faq": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "extended_people_also_search": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "about_this_result": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "related_result": {
                      "type": "null",
                      "description": "Not available. Always null."
                     }
                    }
                   },
                   "description": "The organic items."
                  },
                  "fetched_at": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, ISO 8601 in UTC.",
                   "examples": [
                    "2026-12-03T10:42:18Z"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ],
              "examples": [
               "standard"
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.00054,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.00054,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "bing",
            "organic",
            "task_get",
            "advanced"
           ],
           "data": {
            "keyword": "trail running shoes",
            "location_code": 2840,
            "language_code": "en",
            "depth": 10
           },
           "result": [
            {
             "keyword": "trail running shoes",
             "type": "organic",
             "se_domain": "bing.com",
             "location_code": 2840,
             "language_code": "en",
             "check_url": "https://www.bing.com/search?q=trail+running+shoes",
             "datetime": "2026-12-03 10:42:18 +00:00",
             "spell": null,
             "refinement_chips": null,
             "item_types": [
              "organic"
             ],
             "se_results_count": 48200000,
             "pages_count": 1,
             "items_count": 3,
             "items": [
              {
               "type": "organic",
               "rank_group": 1,
               "rank_absolute": 1,
               "page": 1,
               "position": "left",
               "xpath": null,
               "domain": "www.example-reviews.com",
               "title": "The 12 best trail running shoes of 2026, tested",
               "url": "https://www.example-reviews.com/gear/trail-running-shoes",
               "cache_url": null,
               "related_search_url": null,
               "breadcrumb": "https://www.example-reviews.com › gear",
               "website_name": "Example Reviews",
               "is_image": false,
               "is_video": false,
               "is_featured_snippet": false,
               "is_malicious": false,
               "is_web_story": false,
               "description": "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last.",
               "pre_snippet": null,
               "extended_snippet": null,
               "images": null,
               "rating": null,
               "price": null,
               "links": [
                {
                 "type": "link_element",
                 "title": "Best for mud",
                 "description": null,
                 "url": "https://www.example-reviews.com/gear/trail-running-shoes#mud"
                }
               ],
               "faq": null,
               "extended_people_also_search": null,
               "about_this_result": null,
               "related_result": null
              },
              {
               "type": "organic",
               "rank_group": 2,
               "rank_absolute": 2,
               "page": 1,
               "position": "left",
               "xpath": null,
               "domain": "summitrunning.example",
               "title": "Trail running shoes | Summit Running Co.",
               "url": "https://summitrunning.example/trail-shoes",
               "cache_url": null,
               "related_search_url": null,
               "breadcrumb": "https://summitrunning.example › trail-shoes",
               "website_name": "Summit Running Co.",
               "is_image": false,
               "is_video": false,
               "is_featured_snippet": false,
               "is_malicious": false,
               "is_web_story": false,
               "description": "Free gait analysis and 60-day returns on every trail shoe we stock.",
               "pre_snippet": null,
               "extended_snippet": null,
               "images": null,
               "rating": null,
               "price": null,
               "links": null,
               "faq": null,
               "extended_people_also_search": null,
               "about_this_result": null,
               "related_result": null
              },
              {
               "type": "organic",
               "rank_group": 3,
               "rank_absolute": 3,
               "page": 1,
               "position": "left",
               "xpath": null,
               "domain": "runnersguide.example",
               "title": "How to choose trail running shoes",
               "url": "https://runnersguide.example/choose-trail-shoes",
               "cache_url": null,
               "related_search_url": null,
               "breadcrumb": "https://runnersguide.example › choose-trail-shoes",
               "website_name": "Runner's Guide",
               "is_image": false,
               "is_video": false,
               "is_featured_snippet": false,
               "is_malicious": false,
               "is_web_story": false,
               "description": "Lug depth, rock plates and drop: what matters on which terrain.",
               "pre_snippet": null,
               "extended_snippet": null,
               "images": null,
               "rating": null,
               "price": null,
               "links": null,
               "faq": null,
               "extended_people_also_search": null,
               "about_this_result": null,
               "related_result": null
              }
             ],
             "fetched_at": "2026-12-03T10:42:18Z"
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": "standard",
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40401, 40602, 40601); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/bing/organic/task_get/regular/{id}": {
   "get": {
    "operationId": "serp-bing-organic-task-get-regular",
    "summary": "Bing Organic SERP: Task Get Regular",
    "description": "Read one queued task's result in the regular format.\n\nPass the task id from task_post or tasks_ready. While the task is queued you get 40602, and 40601 while it runs. A finished task returns its result here and leaves the tasks_ready list; you can read it again for 30 days.\n\nResults are stored in the advanced format; this route returns the regular format, keeping organic items only.\n\nFree: the task was billed when it returned data.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_get",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/bing/organic/task_get/regular"
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "The task id returned by task_post.",
      "schema": {
       "type": "string",
       "examples": [
        "7f8d2c1e-4b5a-4c3d-9e8f-0a1b2c3d4e5f"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.00054
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.00054
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "bing"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "trail running shoes",
                "location_code": 2840,
                "language_code": "en",
                "depth": 10
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "keyword": {
                   "type": "string",
                   "description": "The keyword you sent, trimmed.",
                   "examples": [
                    "trail running shoes"
                   ]
                  },
                  "type": {
                   "type": "string",
                   "description": "`organic` or `maps`.",
                   "examples": [
                    "organic"
                   ]
                  },
                  "se_domain": {
                   "type": "string",
                   "description": "The `se_domain` you sent, or the engine's default domain.",
                   "examples": [
                    "bing.com"
                   ]
                  },
                  "location_code": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Location code the search ran for. Null for a city-level `location_name` or a coordinate search.",
                   "examples": [
                    2840
                   ]
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Language code the search ran for.",
                   "examples": [
                    "en"
                   ]
                  },
                  "check_url": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "A URL that opens the same search in a browser, to check the result by hand.",
                   "examples": [
                    "https://www.bing.com/search?q=trail+running+shoes"
                   ]
                  },
                  "datetime": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, `YYYY-MM-DD HH:MM:SS +00:00`. For a cache hit this is the original fetch time.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "spell": {
                   "type": "null",
                   "description": "Spelling suggestion. Not available yet. Always null."
                  },
                  "refinement_chips": {
                   "type": "null",
                   "description": "Not available. Always null."
                  },
                  "item_types": {
                   "type": "array",
                   "items": {
                    "type": "string"
                   },
                   "description": "Item types present in `items`.",
                   "examples": [
                    [
                     "organic"
                    ]
                   ]
                  },
                  "se_results_count": {
                   "type": "integer",
                   "description": "Total results the engine reported for the query; 0 when it didn't say.",
                   "examples": [
                    48200000
                   ]
                  },
                  "pages_count": {
                   "type": "integer",
                   "description": "Results pages read: 1 per 10 organic results.",
                   "examples": [
                    1
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Number of entries in `items`.",
                   "examples": [
                    3
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `organic`.",
                      "examples": [
                       "organic"
                      ]
                     },
                     "rank_group": {
                      "type": "integer",
                      "description": "Position among items of the same type, starting at 1.",
                      "examples": [
                       1
                      ]
                     },
                     "rank_absolute": {
                      "type": "integer",
                      "description": "Position among all items on the page, starting at 1. Equal to `rank_group` for now: only one item type is returned.",
                      "examples": [
                       1
                      ]
                     },
                     "page": {
                      "type": "integer",
                      "description": "Results page the item sits on, counting 10 results per page.",
                      "examples": [
                       1
                      ]
                     },
                     "domain": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Domain of the result URL, for example `www.example-reviews.com`.",
                      "examples": [
                       "www.example-reviews.com"
                      ]
                     },
                     "title": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result title as shown on the page.",
                      "examples": [
                       "The 12 best trail running shoes of 2026, tested"
                      ]
                     },
                     "description": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Snippet text under the title.",
                      "examples": [
                       "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last."
                      ]
                     },
                     "url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Result URL.",
                      "examples": [
                       "https://www.example-reviews.com/gear/trail-running-shoes"
                      ]
                     },
                     "breadcrumb": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Breadcrumb shown under the title.",
                      "examples": [
                       "https://www.example-reviews.com › gear"
                      ]
                     }
                    }
                   },
                   "description": "The organic items."
                  },
                  "fetched_at": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, ISO 8601 in UTC.",
                   "examples": [
                    "2026-12-03T10:42:18Z"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ],
              "examples": [
               "standard"
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.00054,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.00054,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "bing",
            "organic",
            "task_get",
            "regular"
           ],
           "data": {
            "keyword": "trail running shoes",
            "location_code": 2840,
            "language_code": "en",
            "depth": 10
           },
           "result": [
            {
             "keyword": "trail running shoes",
             "type": "organic",
             "se_domain": "bing.com",
             "location_code": 2840,
             "language_code": "en",
             "check_url": "https://www.bing.com/search?q=trail+running+shoes",
             "datetime": "2026-12-03 10:42:18 +00:00",
             "spell": null,
             "refinement_chips": null,
             "item_types": [
              "organic"
             ],
             "se_results_count": 48200000,
             "pages_count": 1,
             "items_count": 3,
             "items": [
              {
               "type": "organic",
               "rank_group": 1,
               "rank_absolute": 1,
               "page": 1,
               "domain": "www.example-reviews.com",
               "title": "The 12 best trail running shoes of 2026, tested",
               "description": "We ran 400 miles in 30 pairs to find the shoes that grip, drain and last.",
               "url": "https://www.example-reviews.com/gear/trail-running-shoes",
               "breadcrumb": "https://www.example-reviews.com › gear"
              },
              {
               "type": "organic",
               "rank_group": 2,
               "rank_absolute": 2,
               "page": 1,
               "domain": "summitrunning.example",
               "title": "Trail running shoes | Summit Running Co.",
               "description": "Free gait analysis and 60-day returns on every trail shoe we stock.",
               "url": "https://summitrunning.example/trail-shoes",
               "breadcrumb": "https://summitrunning.example › trail-shoes"
              },
              {
               "type": "organic",
               "rank_group": 3,
               "rank_absolute": 3,
               "page": 1,
               "domain": "runnersguide.example",
               "title": "How to choose trail running shoes",
               "description": "Lug depth, rock plates and drop: what matters on which terrain.",
               "url": "https://runnersguide.example/choose-trail-shoes",
               "breadcrumb": "https://runnersguide.example › choose-trail-shoes"
              }
             ],
             "fetched_at": "2026-12-03T10:42:18Z"
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": "standard",
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40401, 40602, 40601); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/maps/live/advanced": {
   "post": {
    "operationId": "serp-google-maps-live-advanced",
    "summary": "Google Maps SERP: Live Advanced",
    "description": "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.\n\nSend up to 100 tasks in one POST as a JSON array. Each task runs at once and comes back in `tasks[]` in the order you sent it. Use the live mode when you need the results now; use `task_post` for the cheaper standard and priority queues.\n\nMaps returns `maps_search` items in the advanced format only.\n\n**Billing.** Billed per search (up to 100 listings), at the price of the mode the task ran in. A search with no results, or one that returned no data, costs $0. With `auto_upgrade` on (the default), a standard or priority task that the included search path can't serve is answered by the live path and billed at the live price; the task shows `upgraded: true` and an `upgrade_reason`. Live results aren't cached unless you send `max_age`.\n\n**Beta.** The parsers that read this engine's results were written from the upstream documentation and haven't been checked against live responses yet. Field names and the response shape are fixed; expect some fields to be null more often than they should be until that check is done.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "search (up to 100 listings)",
     "usd": {
      "live": 0.0018
     },
     "by_level": null,
     "notes": "Billed per unit returned; no results costs $0."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "live",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/maps/live/advanced"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "keyword": {
           "type": "string",
           "description": "The search query, up to 700 characters. Leading and trailing spaces are trimmed.",
           "maxLength": 700,
           "examples": [
            "running store"
           ]
          },
          "location_code": {
           "type": "integer",
           "description": "Country location code from `/v1/serp/google/locations`, for example `2840` for the United States. City and region codes aren't served yet. Send this, `location_name` or `location_coordinate`.",
           "examples": [
            2840
           ]
          },
          "location_name": {
           "type": "string",
           "description": "A country name (`United States`), or a comma-separated place that ends in a country (`Boulder,Colorado,United States`) to search from that place.",
           "examples": [
            "United States"
           ]
          },
          "location_coordinate": {
           "type": "string",
           "description": "`latitude,longitude` or `latitude,longitude,zoom` for a search centered on a point. Used when neither `location_code` nor `location_name` is sent.",
           "examples": [
            "40.0176,-105.2797,14"
           ]
          },
          "language_code": {
           "type": "string",
           "description": "Language code from `/v1/serp/google/languages`, for example `en`. Send this or `language_name`.",
           "examples": [
            "en"
           ]
          },
          "language_name": {
           "type": "string",
           "description": "Language name, for example `English`, used when `language_code` is not sent.",
           "examples": [
            "English"
           ]
          },
          "device": {
           "type": "string",
           "description": "Device the results are for.",
           "enum": [
            "desktop",
            "mobile"
           ],
           "default": "desktop",
           "examples": [
            "desktop"
           ]
          },
          "os": {
           "type": "string",
           "description": "Operating system for the device: `windows` or `macos` on desktop, `android` or `ios` on mobile. Defaults to `windows` on desktop and `android` on mobile.",
           "enum": [
            "windows",
            "macos",
            "android",
            "ios"
           ],
           "examples": [
            "windows"
           ]
          },
          "depth": {
           "type": "integer",
           "description": "Results to return. Values up to 700 are accepted; we return up to 100 listings. Billed per search, not per result.",
           "default": 100,
           "minimum": 1,
           "maximum": 700,
           "examples": [
            20
           ]
          },
          "se_domain": {
           "type": "string",
           "description": "Search engine domain to report in the result's `se_domain`, for example `google.co.uk`. It's echoed back only: the location and language fields decide where the search runs.",
           "default": "google.com",
           "examples": [
            "google.com"
           ]
          },
          "auto_upgrade": {
           "type": "boolean",
           "description": "If the included search path can't return the page, the task is served by the live path and billed at the live price, with `upgraded: true`. `false` returns the failure at $0 instead.",
           "default": true,
           "examples": [
            true
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may cost, in USD. The wallet check reserves this instead of the worst case, and the task doesn't upgrade to the live price when that would go over it.",
           "minimum": 0,
           "examples": [
            0.002
           ]
          },
          "max_age": {
           "type": "integer",
           "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always searches fresh. Default window: none on live (always fresh), 6 h on the standard queue, 1 h on the priority queue. Leave it out to use the default.",
           "minimum": 0,
           "maximum": 86400,
           "examples": [
            3600
           ]
          }
         },
         "required": [
          "keyword"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "keyword": "running store",
         "location_name": "Boulder,Colorado,United States",
         "language_code": "en",
         "depth": 20
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0018
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0018
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "running store",
                "location_name": "Boulder,Colorado,United States",
                "language_code": "en",
                "depth": 20
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "keyword": {
                   "type": "string",
                   "description": "The keyword you sent, trimmed.",
                   "examples": [
                    "running store"
                   ]
                  },
                  "type": {
                   "type": "string",
                   "description": "`organic` or `maps`.",
                   "examples": [
                    "maps"
                   ]
                  },
                  "se_domain": {
                   "type": "string",
                   "description": "The `se_domain` you sent, or the engine's default domain.",
                   "examples": [
                    "google.com"
                   ]
                  },
                  "location_code": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Location code the search ran for. Null for a city-level `location_name` or a coordinate search."
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Language code the search ran for.",
                   "examples": [
                    "en"
                   ]
                  },
                  "check_url": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "A URL that opens the same search in a browser, to check the result by hand.",
                   "examples": [
                    "https://www.google.com/maps/search/running+store"
                   ]
                  },
                  "datetime": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, `YYYY-MM-DD HH:MM:SS +00:00`. For a cache hit this is the original fetch time.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "spell": {
                   "type": "null",
                   "description": "Spelling suggestion. Not available yet. Always null."
                  },
                  "refinement_chips": {
                   "type": "null",
                   "description": "Not available. Always null."
                  },
                  "item_types": {
                   "type": "array",
                   "items": {
                    "type": "string"
                   },
                   "description": "Item types present in `items`.",
                   "examples": [
                    [
                     "maps_search"
                    ]
                   ]
                  },
                  "se_results_count": {
                   "type": "integer",
                   "description": "Total results the engine reported for the query; 0 when it didn't say.",
                   "examples": [
                    2
                   ]
                  },
                  "pages_count": {
                   "type": "integer",
                   "description": "Always 1 for Maps.",
                   "examples": [
                    1
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Number of entries in `items`.",
                   "examples": [
                    2
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `maps_search`.",
                      "examples": [
                       "maps_search"
                      ]
                     },
                     "rank_group": {
                      "type": "integer",
                      "description": "Position among items of the same type, starting at 1.",
                      "examples": [
                       1
                      ]
                     },
                     "rank_absolute": {
                      "type": "integer",
                      "description": "Position among all items on the page, starting at 1. Equal to `rank_group` for now: only one item type is returned.",
                      "examples": [
                       1
                      ]
                     },
                     "domain": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Domain of the listing's website.",
                      "examples": [
                       "summitrunning.example"
                      ]
                     },
                     "title": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Business name.",
                      "examples": [
                       "Summit Running Co."
                      ]
                     },
                     "original_title": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "The listing's website.",
                      "examples": [
                       "https://summitrunning.example/"
                      ]
                     },
                     "contact_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "contributor_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "book_online_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "rating": {
                      "anyOf": [
                       {
                        "type": "object",
                        "properties": {
                         "rating_type": {
                          "type": "string",
                          "description": "Always `Max5`.",
                          "examples": [
                           "Max5"
                          ]
                         },
                         "value": {
                          "type": [
                           "number",
                           "null"
                          ],
                          "description": "Average rating, 1 to 5.",
                          "examples": [
                           4.7
                          ]
                         },
                         "votes_count": {
                          "type": [
                           "integer",
                           "null"
                          ],
                          "description": "Number of reviews.",
                          "examples": [
                           318
                          ]
                         },
                         "rating_max": {
                          "type": "integer",
                          "description": "Always 5.",
                          "examples": [
                           5
                          ]
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Star rating, when the listing has one."
                     },
                     "rating_distribution": {
                      "type": "null",
                      "description": "Not available in search listings. Always null."
                     },
                     "snippet": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Short line shown with the listing.",
                      "examples": [
                       "Running store in Boulder"
                      ]
                     },
                     "address": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Street address as shown.",
                      "examples": [
                       "120 Main St, Boulder, CO 80302"
                      ]
                     },
                     "address_info": {
                      "type": "null",
                      "description": "Not available in search listings. Always null."
                     },
                     "place_id": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Google place id.",
                      "examples": [
                       "ChIJexample-summit-0001"
                      ]
                     },
                     "phone": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Phone number as shown.",
                      "examples": [
                       "+1 303-555-0142"
                      ]
                     },
                     "main_image": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "URL of the listing's main photo.",
                      "examples": [
                       "https://images.example/summit.jpg"
                      ]
                     },
                     "total_photos": {
                      "type": "null",
                      "description": "Not available in search listings. Always null."
                     },
                     "category": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Main business category.",
                      "examples": [
                       "Running store"
                      ]
                     },
                     "additional_categories": {
                      "anyOf": [
                       {
                        "type": "array",
                        "items": {
                         "type": "string"
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Other categories, when listed.",
                      "examples": [
                       [
                        "Shoe store",
                        "Sportswear store"
                       ]
                      ]
                     },
                     "category_ids": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "work_hours": {
                      "anyOf": [
                       {
                        "type": "object",
                        "properties": {
                         "timetable": {
                          "type": "null",
                          "description": "Not available in search listings. Always null."
                         },
                         "current_status": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "Status text as shown, for example `Open ⋅ Closes 7 PM`.",
                          "examples": [
                           "Open ⋅ Closes 7 PM"
                          ]
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Opening status, when shown."
                     },
                     "feature_id": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Google feature id, `0x…:0x…`.",
                      "examples": [
                       "0x876bec0d1a2b3c4d:0x112210f4a8c0b315"
                      ]
                     },
                     "cid": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Google customer id (CID) of the place, as a decimal string.",
                      "examples": [
                       "1234567890123456789"
                      ]
                     },
                     "latitude": {
                      "type": [
                       "number",
                       "null"
                      ],
                      "description": "Latitude of the place.",
                      "examples": [
                       40.0176
                      ]
                     },
                     "longitude": {
                      "type": [
                       "number",
                       "null"
                      ],
                      "description": "Longitude of the place.",
                      "examples": [
                       -105.2797
                      ]
                     },
                     "is_claimed": {
                      "type": "null",
                      "description": "Not available in search listings. Always null."
                     },
                     "local_justifications": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "is_directory_item": {
                      "type": "boolean",
                      "description": "Always false.",
                      "examples": [
                       false
                      ]
                     },
                     "price_level": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "`inexpensive`, `moderate`, `expensive` or `very_expensive`, from the listing's `$` signs.",
                      "examples": [
                       "moderate"
                      ]
                     },
                     "hotel_rating": {
                      "type": "null",
                      "description": "Not available. Always null."
                     }
                    }
                   },
                   "description": "The maps_search items."
                  },
                  "fetched_at": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, ISO 8601 in UTC.",
                   "examples": [
                    "2026-12-03T10:42:18Z"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0018,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0018,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "google",
            "maps",
            "live",
            "advanced"
           ],
           "data": {
            "keyword": "running store",
            "location_name": "Boulder,Colorado,United States",
            "language_code": "en",
            "depth": 20
           },
           "result": [
            {
             "keyword": "running store",
             "type": "maps",
             "se_domain": "google.com",
             "location_code": null,
             "language_code": "en",
             "check_url": "https://www.google.com/maps/search/running+store",
             "datetime": "2026-12-03 10:42:18 +00:00",
             "spell": null,
             "refinement_chips": null,
             "item_types": [
              "maps_search"
             ],
             "se_results_count": 2,
             "pages_count": 1,
             "items_count": 2,
             "items": [
              {
               "type": "maps_search",
               "rank_group": 1,
               "rank_absolute": 1,
               "domain": "summitrunning.example",
               "title": "Summit Running Co.",
               "original_title": null,
               "url": "https://summitrunning.example/",
               "contact_url": null,
               "contributor_url": null,
               "book_online_url": null,
               "rating": {
                "rating_type": "Max5",
                "value": 4.7,
                "votes_count": 318,
                "rating_max": 5
               },
               "rating_distribution": null,
               "snippet": "Running store in Boulder",
               "address": "120 Main St, Boulder, CO 80302",
               "address_info": null,
               "place_id": "ChIJexample-summit-0001",
               "phone": "+1 303-555-0142",
               "main_image": "https://images.example/summit.jpg",
               "total_photos": null,
               "category": "Running store",
               "additional_categories": [
                "Shoe store",
                "Sportswear store"
               ],
               "category_ids": null,
               "work_hours": {
                "timetable": null,
                "current_status": "Open ⋅ Closes 7 PM"
               },
               "feature_id": "0x876bec0d1a2b3c4d:0x112210f4a8c0b315",
               "cid": "1234567890123456789",
               "latitude": 40.0176,
               "longitude": -105.2797,
               "is_claimed": null,
               "local_justifications": null,
               "is_directory_item": false,
               "price_level": "moderate",
               "hotel_rating": null
              },
              {
               "type": "maps_search",
               "rank_group": 2,
               "rank_absolute": 2,
               "domain": "trailhead.example",
               "title": "Trailhead Outfitters",
               "original_title": null,
               "url": "https://trailhead.example/",
               "contact_url": null,
               "contributor_url": null,
               "book_online_url": null,
               "rating": {
                "rating_type": "Max5",
                "value": 4.5,
                "votes_count": 96,
                "rating_max": 5
               },
               "rating_distribution": null,
               "snippet": null,
               "address": "455 Pearl St, Boulder, CO 80302",
               "address_info": null,
               "place_id": "ChIJexample-trailhead-0002",
               "phone": "+1 303-555-0199",
               "main_image": null,
               "total_photos": null,
               "category": "Outdoor sports store",
               "additional_categories": null,
               "category_ids": null,
               "work_hours": null,
               "feature_id": "0x876bec0d5e6f7a8b:0x8911c0ffee00d0d1",
               "cid": "9876543210987654321",
               "latitude": 40.0189,
               "longitude": -105.2811,
               "is_claimed": null,
               "local_justifications": null,
               "is_directory_item": false,
               "price_level": null,
               "hotel_rating": null
              }
             ],
             "fetched_at": "2026-12-03T10:42:18Z"
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000, 40102, 40402); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/maps/task_post": {
   "post": {
    "operationId": "serp-google-maps-task-post",
    "summary": "Google Maps SERP: Task Post",
    "description": "Queue Google Maps searches on the standard or priority queue, then collect them with tasks_ready and task_get.\n\nPost up to 100 tasks in one request. Each comes back at once with status 20100 and a task id; nothing is charged yet. When a task finishes it appears in `tasks_ready`, and we call your `pingback_url` or `postback_url` if you set one. Read the result with `task_get`.\n\n`priority: 1` uses the standard queue, `priority: 2` the priority queue, which runs sooner and is priced higher.\n\n**Billing.** Billed per search (up to 100 listings), at the price of the mode the task ran in. A search with no results, or one that returned no data, costs $0. With `auto_upgrade` on (the default), a standard or priority task that the included search path can't serve is answered by the live path and billed at the live price; the task shows `upgraded: true` and an `upgrade_reason`. Queued results reuse the shared cache: 6 h on the standard queue, 1 h on the priority queue. `max_age: 0` forces a fresh search.\n\nThe wallet check at post time reserves the worst case each task can cost (the live price when Auto-upgrade is on), so the post is refused with 40210 if the balance can't cover it.\n\n**Beta.** The parsers that read this engine's results were written from the upstream documentation and haven't been checked against live responses yet. Field names and the response shape are fixed; expect some fields to be null more often than they should be until that check is done.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "search (up to 100 listings)",
     "usd": {
      "standard": 0.00054,
      "priority": 0.00108
     },
     "by_level": null,
     "notes": "`standard` is `priority: 1`, `priority` is `priority: 2`. A task served by the live fallback bills at the live price."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_post",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/maps/task_post"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "keyword": {
           "type": "string",
           "description": "The search query, up to 700 characters. Leading and trailing spaces are trimmed.",
           "maxLength": 700,
           "examples": [
            "running store"
           ]
          },
          "location_code": {
           "type": "integer",
           "description": "Country location code from `/v1/serp/google/locations`, for example `2840` for the United States. City and region codes aren't served yet. Send this, `location_name` or `location_coordinate`.",
           "examples": [
            2840
           ]
          },
          "location_name": {
           "type": "string",
           "description": "A country name (`United States`), or a comma-separated place that ends in a country (`Boulder,Colorado,United States`) to search from that place.",
           "examples": [
            "United States"
           ]
          },
          "location_coordinate": {
           "type": "string",
           "description": "`latitude,longitude` or `latitude,longitude,zoom` for a search centered on a point. Used when neither `location_code` nor `location_name` is sent.",
           "examples": [
            "40.0176,-105.2797,14"
           ]
          },
          "language_code": {
           "type": "string",
           "description": "Language code from `/v1/serp/google/languages`, for example `en`. Send this or `language_name`.",
           "examples": [
            "en"
           ]
          },
          "language_name": {
           "type": "string",
           "description": "Language name, for example `English`, used when `language_code` is not sent.",
           "examples": [
            "English"
           ]
          },
          "device": {
           "type": "string",
           "description": "Device the results are for.",
           "enum": [
            "desktop",
            "mobile"
           ],
           "default": "desktop",
           "examples": [
            "desktop"
           ]
          },
          "os": {
           "type": "string",
           "description": "Operating system for the device: `windows` or `macos` on desktop, `android` or `ios` on mobile. Defaults to `windows` on desktop and `android` on mobile.",
           "enum": [
            "windows",
            "macos",
            "android",
            "ios"
           ],
           "examples": [
            "windows"
           ]
          },
          "depth": {
           "type": "integer",
           "description": "Results to return. Values up to 700 are accepted; we return up to 100 listings. Billed per search, not per result.",
           "default": 100,
           "minimum": 1,
           "maximum": 700,
           "examples": [
            20
           ]
          },
          "se_domain": {
           "type": "string",
           "description": "Search engine domain to report in the result's `se_domain`, for example `google.co.uk`. It's echoed back only: the location and language fields decide where the search runs.",
           "default": "google.com",
           "examples": [
            "google.com"
           ]
          },
          "auto_upgrade": {
           "type": "boolean",
           "description": "If the included search path can't return the page, the task is served by the live path and billed at the live price, with `upgraded: true`. `false` returns the failure at $0 instead.",
           "default": true,
           "examples": [
            true
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may cost, in USD. The wallet check reserves this instead of the worst case, and the task doesn't upgrade to the live price when that would go over it.",
           "minimum": 0,
           "examples": [
            0.002
           ]
          },
          "max_age": {
           "type": "integer",
           "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always searches fresh. Default window: none on live (always fresh), 6 h on the standard queue, 1 h on the priority queue. Leave it out to use the default.",
           "minimum": 0,
           "maximum": 86400,
           "examples": [
            3600
           ]
          },
          "priority": {
           "type": "integer",
           "description": "Queue for this task: `1` is the standard queue, `2` the priority queue (faster, priced higher).",
           "enum": [
            1,
            2
           ],
           "default": 1,
           "examples": [
            1
           ]
          },
          "tag": {
           "type": "string",
           "description": "Your own label for the task, up to 255 characters. Returned by tasks_ready.",
           "maxLength": 255,
           "examples": [
            "weekly-rank-check"
           ]
          },
          "pingback_url": {
           "type": "string",
           "description": "We send a GET to this http(s) URL when the task finishes. `$id` and `$tag` in the URL are replaced with the task id and tag. Only public hosts are called and redirects aren't followed.",
           "maxLength": 2000,
           "examples": [
            "https://hooks.example.com/done?id=$id&tag=$tag"
           ]
          },
          "postback_url": {
           "type": "string",
           "description": "We POST the finished task, in the task_get envelope, to this http(s) URL. Only public hosts are called and redirects aren't followed.",
           "maxLength": 2000,
           "examples": [
            "https://hooks.example.com/results"
           ]
          },
          "postback_data": {
           "type": "string",
           "description": "Result format sent to `postback_url`. Defaults to `advanced` when `postback_url` is set.",
           "enum": [
            "regular",
            "advanced",
            "html"
           ],
           "examples": [
            "advanced"
           ]
          }
         },
         "required": [
          "keyword"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "keyword": "running store",
         "location_name": "Boulder,Colorado,United States",
         "language_code": "en",
         "depth": 20,
         "priority": 1,
         "tag": "weekly-rank-check",
         "pingback_url": "https://hooks.example.com/done?id=$id&tag=$tag"
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20100
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Task Created."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               0
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "running store",
                "location_name": "Boulder,Colorado,United States",
                "language_code": "en",
                "depth": 20,
                "priority": 1,
                "tag": "weekly-rank-check"
               }
              ]
             },
             "result": {
              "type": "null",
              "description": "Always null for task_post. Read the result with task_get."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20100,
           "status_message": "Task Created.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 0,
           "path": [
            "v1",
            "serp",
            "google",
            "maps",
            "task_post"
           ],
           "data": {
            "keyword": "running store",
            "location_name": "Boulder,Colorado,United States",
            "language_code": "en",
            "depth": 20,
            "priority": 1,
            "tag": "weekly-rank-check",
            "pingback_url": "https://hooks.example.com/done?id=$id&tag=$tag"
           },
           "result": null,
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 40501); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/maps/tasks_ready": {
   "get": {
    "operationId": "serp-google-maps-tasks-ready",
    "summary": "Google Maps SERP: Tasks Ready",
    "description": "List your finished tasks for this endpoint that you haven't collected yet.\n\nReturns up to 1,000 completed tasks posted to this endpoint's task_post that task_get hasn't returned yet, oldest first. A task leaves the list once you read it with task_get.\n\nEach entry carries ready-made task_get paths.\n\nFree.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "tasks_ready",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/maps/tasks_ready"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "id": {
                   "type": "string",
                   "description": "Task id. Pass it to task_get.",
                   "examples": [
                    "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "se": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Engine segment of the task's path, for example `google`.",
                   "examples": [
                    "google"
                   ]
                  },
                  "se_type": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Type segment of the task's path, for example `organic`.",
                   "examples": [
                    "maps"
                   ]
                  },
                  "date_posted": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the task was posted, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "tag": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "The `tag` you sent with the task.",
                   "examples": [
                    "weekly-rank-check"
                   ]
                  },
                  "endpoint_regular": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the regular format, or null when this route doesn't serve it."
                  },
                  "endpoint_advanced": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the advanced format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/serp/google/maps/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_html": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for raw HTML. Null while HTML output isn't served."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per task ready to collect."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "google",
            "maps",
            "tasks_ready"
           ],
           "data": {},
           "result": [
            {
             "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "se": "google",
             "se_type": "maps",
             "date_posted": "2026-12-03 10:42:18 +00:00",
             "tag": "weekly-rank-check",
             "endpoint_regular": null,
             "endpoint_advanced": "/v1/serp/google/maps/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_html": null
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/maps/tasks_fixed": {
   "get": {
    "operationId": "serp-google-maps-tasks-fixed",
    "summary": "Google Maps SERP: Tasks Fixed",
    "description": "Same list as tasks_ready, kept for clients that call tasks_fixed.\n\nReturns up to 1,000 completed tasks posted to this endpoint's task_post that task_get hasn't returned yet, oldest first. A task leaves the list once you read it with task_get.\n\nWe don't re-parse tasks, so tasks_fixed returns the same list as tasks_ready.\n\nFree.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "tasks_ready",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/maps/tasks_fixed"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "id": {
                   "type": "string",
                   "description": "Task id. Pass it to task_get.",
                   "examples": [
                    "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "se": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Engine segment of the task's path, for example `google`.",
                   "examples": [
                    "google"
                   ]
                  },
                  "se_type": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Type segment of the task's path, for example `organic`.",
                   "examples": [
                    "maps"
                   ]
                  },
                  "date_posted": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the task was posted, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "tag": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "The `tag` you sent with the task.",
                   "examples": [
                    "weekly-rank-check"
                   ]
                  },
                  "endpoint_regular": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the regular format, or null when this route doesn't serve it."
                  },
                  "endpoint_advanced": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the advanced format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/serp/google/maps/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_html": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for raw HTML. Null while HTML output isn't served."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per task ready to collect."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "google",
            "maps",
            "tasks_fixed"
           ],
           "data": {},
           "result": [
            {
             "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "se": "google",
             "se_type": "maps",
             "date_posted": "2026-12-03 10:42:18 +00:00",
             "tag": "weekly-rank-check",
             "endpoint_regular": null,
             "endpoint_advanced": "/v1/serp/google/maps/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_html": null
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/maps/task_get/advanced/{id}": {
   "get": {
    "operationId": "serp-google-maps-task-get-advanced",
    "summary": "Google Maps SERP: Task Get Advanced",
    "description": "Read one queued task's result in the advanced format.\n\nPass the task id from task_post or tasks_ready. While the task is queued you get 40602, and 40601 while it runs. A finished task returns its result here and leaves the tasks_ready list; you can read it again for 30 days.\n\nReturns the result exactly as the live route would have.\n\nFree: the task was billed when it returned data.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_get",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/maps/task_get/advanced"
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "The task id returned by task_post.",
      "schema": {
       "type": "string",
       "examples": [
        "7f8d2c1e-4b5a-4c3d-9e8f-0a1b2c3d4e5f"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.00054
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.00054
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "running store",
                "location_name": "Boulder,Colorado,United States",
                "language_code": "en",
                "depth": 20
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "keyword": {
                   "type": "string",
                   "description": "The keyword you sent, trimmed.",
                   "examples": [
                    "running store"
                   ]
                  },
                  "type": {
                   "type": "string",
                   "description": "`organic` or `maps`.",
                   "examples": [
                    "maps"
                   ]
                  },
                  "se_domain": {
                   "type": "string",
                   "description": "The `se_domain` you sent, or the engine's default domain.",
                   "examples": [
                    "google.com"
                   ]
                  },
                  "location_code": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Location code the search ran for. Null for a city-level `location_name` or a coordinate search."
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Language code the search ran for.",
                   "examples": [
                    "en"
                   ]
                  },
                  "check_url": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "A URL that opens the same search in a browser, to check the result by hand.",
                   "examples": [
                    "https://www.google.com/maps/search/running+store"
                   ]
                  },
                  "datetime": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, `YYYY-MM-DD HH:MM:SS +00:00`. For a cache hit this is the original fetch time.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "spell": {
                   "type": "null",
                   "description": "Spelling suggestion. Not available yet. Always null."
                  },
                  "refinement_chips": {
                   "type": "null",
                   "description": "Not available. Always null."
                  },
                  "item_types": {
                   "type": "array",
                   "items": {
                    "type": "string"
                   },
                   "description": "Item types present in `items`.",
                   "examples": [
                    [
                     "maps_search"
                    ]
                   ]
                  },
                  "se_results_count": {
                   "type": "integer",
                   "description": "Total results the engine reported for the query; 0 when it didn't say.",
                   "examples": [
                    2
                   ]
                  },
                  "pages_count": {
                   "type": "integer",
                   "description": "Always 1 for Maps.",
                   "examples": [
                    1
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Number of entries in `items`.",
                   "examples": [
                    2
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `maps_search`.",
                      "examples": [
                       "maps_search"
                      ]
                     },
                     "rank_group": {
                      "type": "integer",
                      "description": "Position among items of the same type, starting at 1.",
                      "examples": [
                       1
                      ]
                     },
                     "rank_absolute": {
                      "type": "integer",
                      "description": "Position among all items on the page, starting at 1. Equal to `rank_group` for now: only one item type is returned.",
                      "examples": [
                       1
                      ]
                     },
                     "domain": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Domain of the listing's website.",
                      "examples": [
                       "summitrunning.example"
                      ]
                     },
                     "title": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Business name.",
                      "examples": [
                       "Summit Running Co."
                      ]
                     },
                     "original_title": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "The listing's website.",
                      "examples": [
                       "https://summitrunning.example/"
                      ]
                     },
                     "contact_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "contributor_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "book_online_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "rating": {
                      "anyOf": [
                       {
                        "type": "object",
                        "properties": {
                         "rating_type": {
                          "type": "string",
                          "description": "Always `Max5`.",
                          "examples": [
                           "Max5"
                          ]
                         },
                         "value": {
                          "type": [
                           "number",
                           "null"
                          ],
                          "description": "Average rating, 1 to 5.",
                          "examples": [
                           4.7
                          ]
                         },
                         "votes_count": {
                          "type": [
                           "integer",
                           "null"
                          ],
                          "description": "Number of reviews.",
                          "examples": [
                           318
                          ]
                         },
                         "rating_max": {
                          "type": "integer",
                          "description": "Always 5.",
                          "examples": [
                           5
                          ]
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Star rating, when the listing has one."
                     },
                     "rating_distribution": {
                      "type": "null",
                      "description": "Not available in search listings. Always null."
                     },
                     "snippet": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Short line shown with the listing.",
                      "examples": [
                       "Running store in Boulder"
                      ]
                     },
                     "address": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Street address as shown.",
                      "examples": [
                       "120 Main St, Boulder, CO 80302"
                      ]
                     },
                     "address_info": {
                      "type": "null",
                      "description": "Not available in search listings. Always null."
                     },
                     "place_id": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Google place id.",
                      "examples": [
                       "ChIJexample-summit-0001"
                      ]
                     },
                     "phone": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Phone number as shown.",
                      "examples": [
                       "+1 303-555-0142"
                      ]
                     },
                     "main_image": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "URL of the listing's main photo.",
                      "examples": [
                       "https://images.example/summit.jpg"
                      ]
                     },
                     "total_photos": {
                      "type": "null",
                      "description": "Not available in search listings. Always null."
                     },
                     "category": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Main business category.",
                      "examples": [
                       "Running store"
                      ]
                     },
                     "additional_categories": {
                      "anyOf": [
                       {
                        "type": "array",
                        "items": {
                         "type": "string"
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Other categories, when listed.",
                      "examples": [
                       [
                        "Shoe store",
                        "Sportswear store"
                       ]
                      ]
                     },
                     "category_ids": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "work_hours": {
                      "anyOf": [
                       {
                        "type": "object",
                        "properties": {
                         "timetable": {
                          "type": "null",
                          "description": "Not available in search listings. Always null."
                         },
                         "current_status": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "Status text as shown, for example `Open ⋅ Closes 7 PM`.",
                          "examples": [
                           "Open ⋅ Closes 7 PM"
                          ]
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Opening status, when shown."
                     },
                     "feature_id": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Google feature id, `0x…:0x…`.",
                      "examples": [
                       "0x876bec0d1a2b3c4d:0x112210f4a8c0b315"
                      ]
                     },
                     "cid": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Google customer id (CID) of the place, as a decimal string.",
                      "examples": [
                       "1234567890123456789"
                      ]
                     },
                     "latitude": {
                      "type": [
                       "number",
                       "null"
                      ],
                      "description": "Latitude of the place.",
                      "examples": [
                       40.0176
                      ]
                     },
                     "longitude": {
                      "type": [
                       "number",
                       "null"
                      ],
                      "description": "Longitude of the place.",
                      "examples": [
                       -105.2797
                      ]
                     },
                     "is_claimed": {
                      "type": "null",
                      "description": "Not available in search listings. Always null."
                     },
                     "local_justifications": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "is_directory_item": {
                      "type": "boolean",
                      "description": "Always false.",
                      "examples": [
                       false
                      ]
                     },
                     "price_level": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "`inexpensive`, `moderate`, `expensive` or `very_expensive`, from the listing's `$` signs.",
                      "examples": [
                       "moderate"
                      ]
                     },
                     "hotel_rating": {
                      "type": "null",
                      "description": "Not available. Always null."
                     }
                    }
                   },
                   "description": "The maps_search items."
                  },
                  "fetched_at": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the results were fetched, ISO 8601 in UTC.",
                   "examples": [
                    "2026-12-03T10:42:18Z"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.00054,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.00054,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "google",
            "maps",
            "task_get",
            "advanced"
           ],
           "data": {
            "keyword": "running store",
            "location_name": "Boulder,Colorado,United States",
            "language_code": "en",
            "depth": 20
           },
           "result": [
            {
             "keyword": "running store",
             "type": "maps",
             "se_domain": "google.com",
             "location_code": null,
             "language_code": "en",
             "check_url": "https://www.google.com/maps/search/running+store",
             "datetime": "2026-12-03 10:42:18 +00:00",
             "spell": null,
             "refinement_chips": null,
             "item_types": [
              "maps_search"
             ],
             "se_results_count": 2,
             "pages_count": 1,
             "items_count": 2,
             "items": [
              {
               "type": "maps_search",
               "rank_group": 1,
               "rank_absolute": 1,
               "domain": "summitrunning.example",
               "title": "Summit Running Co.",
               "original_title": null,
               "url": "https://summitrunning.example/",
               "contact_url": null,
               "contributor_url": null,
               "book_online_url": null,
               "rating": {
                "rating_type": "Max5",
                "value": 4.7,
                "votes_count": 318,
                "rating_max": 5
               },
               "rating_distribution": null,
               "snippet": "Running store in Boulder",
               "address": "120 Main St, Boulder, CO 80302",
               "address_info": null,
               "place_id": "ChIJexample-summit-0001",
               "phone": "+1 303-555-0142",
               "main_image": "https://images.example/summit.jpg",
               "total_photos": null,
               "category": "Running store",
               "additional_categories": [
                "Shoe store",
                "Sportswear store"
               ],
               "category_ids": null,
               "work_hours": {
                "timetable": null,
                "current_status": "Open ⋅ Closes 7 PM"
               },
               "feature_id": "0x876bec0d1a2b3c4d:0x112210f4a8c0b315",
               "cid": "1234567890123456789",
               "latitude": 40.0176,
               "longitude": -105.2797,
               "is_claimed": null,
               "local_justifications": null,
               "is_directory_item": false,
               "price_level": "moderate",
               "hotel_rating": null
              },
              {
               "type": "maps_search",
               "rank_group": 2,
               "rank_absolute": 2,
               "domain": "trailhead.example",
               "title": "Trailhead Outfitters",
               "original_title": null,
               "url": "https://trailhead.example/",
               "contact_url": null,
               "contributor_url": null,
               "book_online_url": null,
               "rating": {
                "rating_type": "Max5",
                "value": 4.5,
                "votes_count": 96,
                "rating_max": 5
               },
               "rating_distribution": null,
               "snippet": null,
               "address": "455 Pearl St, Boulder, CO 80302",
               "address_info": null,
               "place_id": "ChIJexample-trailhead-0002",
               "phone": "+1 303-555-0199",
               "main_image": null,
               "total_photos": null,
               "category": "Outdoor sports store",
               "additional_categories": null,
               "category_ids": null,
               "work_hours": null,
               "feature_id": "0x876bec0d5e6f7a8b:0x8911c0ffee00d0d1",
               "cid": "9876543210987654321",
               "latitude": 40.0189,
               "longitude": -105.2811,
               "is_claimed": null,
               "local_justifications": null,
               "is_directory_item": false,
               "price_level": null,
               "hotel_rating": null
              }
             ],
             "fetched_at": "2026-12-03T10:42:18Z"
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40401, 40602, 40601); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/locations": {
   "get": {
    "operationId": "serp-google-locations",
    "summary": "Google SERP: Locations",
    "description": "The country `location_code` values Google SERP tasks accept.\n\nReturns every country we serve. Add a two-letter country code to the path, for example `/v1/serp/google/locations/us`, to get just that country.\n\nCity and region codes aren't served yet. To search from a city, send `location_name` with the full place, such as `Boulder,Colorado,United States`.\n\nFree.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. This route never charges your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/locations"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "location_code": {
                   "type": "integer",
                   "description": "Use as `location_code`. Country codes are 2000 plus the ISO 3166-1 numeric code (2840 is the United States).",
                   "examples": [
                    2840
                   ]
                  },
                  "location_name": {
                   "type": "string",
                   "description": "English country name. Also accepted as `location_name`.",
                   "examples": [
                    "United States"
                   ]
                  },
                  "location_code_parent": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Parent location. Null for countries."
                  },
                  "country_iso_code": {
                   "type": "string",
                   "description": "ISO 3166-1 alpha-2 code.",
                   "examples": [
                    "US"
                   ]
                  },
                  "location_type": {
                   "type": "string",
                   "description": "Always `Country`: city and region codes aren't served yet.",
                   "examples": [
                    "Country"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per location."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "google",
            "locations"
           ],
           "data": {},
           "result": [
            {
             "location_code": 2840,
             "location_name": "United States",
             "location_code_parent": null,
             "country_iso_code": "US",
             "location_type": "Country"
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/locations/{country}": {
   "get": {
    "operationId": "serp-google-locations-by-country",
    "summary": "Google SERP: Locations",
    "description": "The country `location_code` values Google SERP tasks accept.\n\nReturns every country we serve. Add a two-letter country code to the path, for example `/v1/serp/google/locations/us`, to get just that country.\n\nCity and region codes aren't served yet. To search from a city, send `location_name` with the full place, such as `Boulder,Colorado,United States`.\n\nFree.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. This route never charges your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/locations"
    },
    "parameters": [
     {
      "name": "country",
      "in": "path",
      "required": true,
      "description": "Optional path segment: a two-letter country code that filters the list to that country.",
      "schema": {
       "type": "string",
       "examples": [
        "us"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "location_code": {
                   "type": "integer",
                   "description": "Use as `location_code`. Country codes are 2000 plus the ISO 3166-1 numeric code (2840 is the United States).",
                   "examples": [
                    2840
                   ]
                  },
                  "location_name": {
                   "type": "string",
                   "description": "English country name. Also accepted as `location_name`.",
                   "examples": [
                    "United States"
                   ]
                  },
                  "location_code_parent": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Parent location. Null for countries."
                  },
                  "country_iso_code": {
                   "type": "string",
                   "description": "ISO 3166-1 alpha-2 code.",
                   "examples": [
                    "US"
                   ]
                  },
                  "location_type": {
                   "type": "string",
                   "description": "Always `Country`: city and region codes aren't served yet.",
                   "examples": [
                    "Country"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per location."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "google",
            "locations"
           ],
           "data": {},
           "result": [
            {
             "location_code": 2840,
             "location_name": "United States",
             "location_code_parent": null,
             "country_iso_code": "US",
             "location_type": "Country"
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/google/languages": {
   "get": {
    "operationId": "serp-google-languages",
    "summary": "Google SERP: Languages",
    "description": "The `language_code` values Google SERP tasks accept.\n\nReturns every language we serve, with the code and name SERP tasks accept. Free.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. This route never charges your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/google/languages"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               75
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "language_name": {
                   "type": "string",
                   "description": "English language name. Also accepted as `language_name`.",
                   "examples": [
                    "Afrikaans"
                   ]
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Use as `language_code`.",
                   "examples": [
                    "af"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per language."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 75,
           "path": [
            "v1",
            "serp",
            "google",
            "languages"
           ],
           "data": {},
           "result": [
            {
             "language_name": "Afrikaans",
             "language_code": "af"
            },
            {
             "language_name": "Albanian",
             "language_code": "sq"
            },
            {
             "language_name": "Amharic",
             "language_code": "am"
            },
            {
             "language_name": "Arabic",
             "language_code": "ar"
            },
            {
             "language_name": "Armenian",
             "language_code": "hy"
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/bing/locations": {
   "get": {
    "operationId": "serp-bing-locations",
    "summary": "Bing SERP: Locations",
    "description": "The country `location_code` values Bing SERP tasks accept.\n\nReturns every country we serve. Add a two-letter country code to the path, for example `/v1/serp/bing/locations/us`, to get just that country.\n\nCity and region codes aren't served yet. To search from a city, send `location_name` with the full place, such as `Boulder,Colorado,United States`.\n\nFree.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. This route never charges your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/bing/locations"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "bing"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "location_code": {
                   "type": "integer",
                   "description": "Use as `location_code`. Country codes are 2000 plus the ISO 3166-1 numeric code (2840 is the United States).",
                   "examples": [
                    2840
                   ]
                  },
                  "location_name": {
                   "type": "string",
                   "description": "English country name. Also accepted as `location_name`.",
                   "examples": [
                    "United States"
                   ]
                  },
                  "location_code_parent": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Parent location. Null for countries."
                  },
                  "country_iso_code": {
                   "type": "string",
                   "description": "ISO 3166-1 alpha-2 code.",
                   "examples": [
                    "US"
                   ]
                  },
                  "location_type": {
                   "type": "string",
                   "description": "Always `Country`: city and region codes aren't served yet.",
                   "examples": [
                    "Country"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per location."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "bing",
            "locations"
           ],
           "data": {},
           "result": [
            {
             "location_code": 2840,
             "location_name": "United States",
             "location_code_parent": null,
             "country_iso_code": "US",
             "location_type": "Country"
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/bing/locations/{country}": {
   "get": {
    "operationId": "serp-bing-locations-by-country",
    "summary": "Bing SERP: Locations",
    "description": "The country `location_code` values Bing SERP tasks accept.\n\nReturns every country we serve. Add a two-letter country code to the path, for example `/v1/serp/bing/locations/us`, to get just that country.\n\nCity and region codes aren't served yet. To search from a city, send `location_name` with the full place, such as `Boulder,Colorado,United States`.\n\nFree.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. This route never charges your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/bing/locations"
    },
    "parameters": [
     {
      "name": "country",
      "in": "path",
      "required": true,
      "description": "Optional path segment: a two-letter country code that filters the list to that country.",
      "schema": {
       "type": "string",
       "examples": [
        "us"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "bing"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "location_code": {
                   "type": "integer",
                   "description": "Use as `location_code`. Country codes are 2000 plus the ISO 3166-1 numeric code (2840 is the United States).",
                   "examples": [
                    2840
                   ]
                  },
                  "location_name": {
                   "type": "string",
                   "description": "English country name. Also accepted as `location_name`.",
                   "examples": [
                    "United States"
                   ]
                  },
                  "location_code_parent": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "Parent location. Null for countries."
                  },
                  "country_iso_code": {
                   "type": "string",
                   "description": "ISO 3166-1 alpha-2 code.",
                   "examples": [
                    "US"
                   ]
                  },
                  "location_type": {
                   "type": "string",
                   "description": "Always `Country`: city and region codes aren't served yet.",
                   "examples": [
                    "Country"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per location."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "serp",
            "bing",
            "locations"
           ],
           "data": {},
           "result": [
            {
             "location_code": 2840,
             "location_name": "United States",
             "location_code_parent": null,
             "country_iso_code": "US",
             "location_type": "Country"
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/serp/bing/languages": {
   "get": {
    "operationId": "serp-bing-languages",
    "summary": "Bing SERP: Languages",
    "description": "The `language_code` values Bing SERP tasks accept.\n\nReturns every language we serve, with the code and name SERP tasks accept. Free.",
    "tags": [
     "serp"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. This route never charges your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/serp/bing/languages"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               75
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "serp",
                "bing"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "language_name": {
                   "type": "string",
                   "description": "English language name. Also accepted as `language_name`.",
                   "examples": [
                    "Afrikaans"
                   ]
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Use as `language_code`.",
                   "examples": [
                    "af"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per language."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 75,
           "path": [
            "v1",
            "serp",
            "bing",
            "languages"
           ],
           "data": {},
           "result": [
            {
             "language_name": "Afrikaans",
             "language_code": "af"
            },
            {
             "language_name": "Albanian",
             "language_code": "sq"
            },
            {
             "language_name": "Amharic",
             "language_code": "am"
            },
            {
             "language_name": "Arabic",
             "language_code": "ar"
            },
            {
             "language_name": "Armenian",
             "language_code": "hy"
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/pages/instant_pages": {
   "post": {
    "operationId": "pages-instant-pages",
    "summary": "Instant Pages",
    "description": "On-page data for one URL: status, meta tags, headings, links, structured data, text statistics, about 50 checks and an on-page score.\n\nSend up to 100 tasks, one URL each. Every task fetches its page at the cheapest level that works and returns one item in `result[0].items`.\n\nEverything is read from the HTML document itself. We don't download images, scripts or stylesheets, so their sizes are 0, and browser timings, layout shift and spell checks are null. `onpage_score` is our own weighted score of the checks.\n\n**Billing.** Billed by the fetch level that returned the page: Standard, Rendered or Protected (see the price table). A page that no allowed level could fetch, or that answered 5xx, costs $0 and comes back as 40102 with the reason. Redirect and 4xx answers are delivered pages and are billed.\n\nAccepted and ignored: `load_resources`, `check_spell`, `validate_micromarkup`, `custom_user_agent`, `accept_language`, the `browser_*` fields, `ip_pool_for_scan`, `switch_pool`, `store_raw_html`, `disable_cookie_popup`, `enable_xhr`, `return_despite_timeout` and `checks_threshold`.",
    "tags": [
     "pages"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "page",
     "usd": {
      "live": 0.00011
     },
     "by_level": {
      "standard": 0.00011,
      "rendered": 0.0011,
      "protected": 0.003
     },
     "notes": "`usd.live` is the Standard-level price. `by_level` is the price at the level that returned the page."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "live",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/on_page/instant_pages"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "url": {
           "type": "string",
           "description": "Absolute http or https URL of the page, up to 2,000 characters.",
           "maxLength": 2000,
           "examples": [
            "https://summitrunning.example/trail-shoes"
           ]
          },
          "enable_javascript": {
           "type": "boolean",
           "description": "Render the page in a browser before reading it. The fetch starts at the Rendered level, so `max_level` must be `rendered` or `protected`. Also accepts the string `\"true\"`.",
           "default": false,
           "examples": [
            false
           ]
          },
          "enable_browser_rendering": {
           "type": "boolean",
           "description": "Same as `enable_javascript`.",
           "default": false,
           "examples": [
            false
           ]
          },
          "custom_js": {
           "type": "string",
           "description": "Not supported. A task that sends it fails with 40501 and isn't billed."
          },
          "auto_upgrade": {
           "type": "boolean",
           "description": "Lets the request move to a higher fetch level when the included level can't get the data, billed at the level that delivered it. `false` stops at the Standard level and returns the failure at $0. Also accepts `\"true\"`, `\"false\"`, `1` and `0`.",
           "default": true,
           "examples": [
            true
           ]
          },
          "max_level": {
           "type": "string",
           "description": "The highest fetch level Auto-upgrade may use. `rendered` never uses the Protected level.",
           "enum": [
            "standard",
            "rendered",
            "protected"
           ],
           "default": "protected",
           "examples": [
            "rendered"
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may cost, in USD. The wallet check reserves this amount instead of the worst-case price, the request never upgrades past it, and the charge never exceeds it. Levels whose price is above it are skipped; if even the cheapest allowed level costs more, the task fails with 40501 at $0.",
           "minimum": 0,
           "examples": [
            0.002
           ]
          },
          "max_age": {
           "type": "integer",
           "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always fetches fresh. Pages are always fetched fresh: this field is accepted and has no effect here.",
           "minimum": 0,
           "maximum": 86400,
           "examples": [
            3600
           ]
          }
         },
         "required": [
          "url"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "url": "https://summitrunning.example/trail-shoes",
         "enable_javascript": false
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.00011
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.00011
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "pages",
                "instant_pages"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "url": "https://summitrunning.example/trail-shoes",
                "enable_javascript": false
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "crawl_progress": {
                   "type": "string",
                   "description": "Always `finished`: the page is fetched within the call.",
                   "examples": [
                    "finished"
                   ]
                  },
                  "crawl_status": {
                   "type": "object",
                   "properties": {
                    "max_crawl_pages": {
                     "type": "integer",
                     "description": "Always 1.",
                     "examples": [
                      1
                     ]
                    },
                    "pages_in_queue": {
                     "type": "integer",
                     "description": "Always 0.",
                     "examples": [
                      0
                     ]
                    },
                    "pages_crawled": {
                     "type": "integer",
                     "description": "Always 1.",
                     "examples": [
                      1
                     ]
                    }
                   },
                   "description": "Counters for the one-page crawl."
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Number of entries in `items`. Always 1.",
                   "examples": [
                    1
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "resource_type": {
                      "type": "string",
                      "description": "`html` for a page that answered 2xx. A redirect returns `redirect` and a 4xx/5xx page `broken`; those items carry only the fields up to `relative_url_length` plus `fetch_timing`, `checks` (status checks only), `resource_errors` and `last_modified`.",
                      "enum": [
                       "html",
                       "redirect",
                       "broken"
                      ],
                      "examples": [
                       "html"
                      ]
                     },
                     "status_code": {
                      "type": "integer",
                      "description": "HTTP status the page answered with.",
                      "examples": [
                       200
                      ]
                     },
                     "location": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "The `Location` header, for redirects."
                     },
                     "url": {
                      "type": "string",
                      "description": "The final URL after redirects.",
                      "examples": [
                       "https://summitrunning.example/trail-shoes"
                      ]
                     },
                     "size": {
                      "type": "integer",
                      "description": "Size of the HTML in bytes.",
                      "examples": [
                       1734
                      ]
                     },
                     "encoded_size": {
                      "type": "integer",
                      "description": "Bytes on the wire: `Content-Length` when sent, else `size`.",
                      "examples": [
                       1734
                      ]
                     },
                     "total_transfer_size": {
                      "type": "integer",
                      "description": "Same as `encoded_size`: sub-resources aren't loaded.",
                      "examples": [
                       1734
                      ]
                     },
                     "fetch_time": {
                      "type": "string",
                      "description": "When we fetched the page, `YYYY-MM-DD HH:MM:SS +00:00`.",
                      "examples": [
                       "2026-12-03 10:42:18 +00:00"
                      ]
                     },
                     "cache_control": {
                      "type": "object",
                      "properties": {
                       "cachable": {
                        "type": "boolean",
                        "description": "True when the response may be cached.",
                        "examples": [
                         true
                        ]
                       },
                       "ttl": {
                        "type": "integer",
                        "description": "`max-age` or `s-maxage` in seconds; 0 when absent.",
                        "examples": [
                         600
                        ]
                       }
                      },
                      "description": "What the `Cache-Control` header allows."
                     },
                     "content_encoding": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "The `Content-Encoding` header, for example `gzip`."
                     },
                     "media_type": {
                      "type": "string",
                      "description": "Media type from `Content-Type`, for example `text/html`.",
                      "examples": [
                       "text/html"
                      ]
                     },
                     "server": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "The `Server` header.",
                      "examples": [
                       "nginx"
                      ]
                     },
                     "is_resource": {
                      "type": "boolean",
                      "description": "Always false: the item is the page itself.",
                      "examples": [
                       false
                      ]
                     },
                     "url_length": {
                      "type": "integer",
                      "description": "Length of the final URL in characters.",
                      "examples": [
                       41
                      ]
                     },
                     "relative_url_length": {
                      "type": "integer",
                      "description": "Length of the path and query in characters.",
                      "examples": [
                       12
                      ]
                     },
                     "meta": {
                      "type": "object",
                      "properties": {
                       "title": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Text of the first `<title>`.",
                        "examples": [
                         "Trail running shoes: pricing and fit | Summit Running Co."
                        ]
                       },
                       "charset": {
                        "type": [
                         "integer",
                         "null"
                        ],
                        "description": "Code page of the declared charset, for example 65001 for UTF-8.",
                        "examples": [
                         65001
                        ]
                       },
                       "follow": {
                        "type": "boolean",
                        "description": "False when the robots meta tag or `X-Robots-Tag` says `nofollow` or `none`.",
                        "examples": [
                         true
                        ]
                       },
                       "generator": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "The generator meta tag."
                       },
                       "htags": {
                        "type": [
                         "object",
                         "null"
                        ],
                        "description": "Heading text by level: keys `h1` to `h6`, each a list of strings.",
                        "examples": [
                         {
                          "h1": [
                           "Trail running shoes"
                          ],
                          "h2": [
                           "Prices"
                          ]
                         }
                        ]
                       },
                       "description": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "The meta description.",
                        "examples": [
                         "Trail running shoes from Summit Running Co., with free gait analysis and 60-day returns."
                        ]
                       },
                       "favicon": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Absolute URL of the declared favicon.",
                        "examples": [
                         "https://summitrunning.example/favicon.ico"
                        ]
                       },
                       "meta_keywords": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "The meta keywords.",
                        "examples": [
                         "trail running shoes, gait analysis"
                        ]
                       },
                       "canonical": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Absolute canonical URL.",
                        "examples": [
                         "https://summitrunning.example/trail-shoes"
                        ]
                       },
                       "internal_links_count": {
                        "type": "integer",
                        "description": "Links to the same site (www ignored).",
                        "examples": [
                         4
                        ]
                       },
                       "external_links_count": {
                        "type": "integer",
                        "description": "Links to other sites.",
                        "examples": [
                         1
                        ]
                       },
                       "inbound_links_count": {
                        "type": "integer",
                        "description": "Always 0: one page can't see links to itself.",
                        "examples": [
                         0
                        ]
                       },
                       "images_count": {
                        "type": "integer",
                        "description": "Number of `<img>` tags.",
                        "examples": [
                         1
                        ]
                       },
                       "images_size": {
                        "type": "integer",
                        "description": "Always 0: images aren't downloaded.",
                        "examples": [
                         0
                        ]
                       },
                       "scripts_count": {
                        "type": "integer",
                        "description": "Number of external scripts.",
                        "examples": [
                         1
                        ]
                       },
                       "scripts_size": {
                        "type": "integer",
                        "description": "Always 0: scripts aren't downloaded.",
                        "examples": [
                         0
                        ]
                       },
                       "stylesheets_count": {
                        "type": "integer",
                        "description": "Number of stylesheet links.",
                        "examples": [
                         1
                        ]
                       },
                       "stylesheets_size": {
                        "type": "integer",
                        "description": "Always 0: stylesheets aren't downloaded.",
                        "examples": [
                         0
                        ]
                       },
                       "title_length": {
                        "type": "integer",
                        "description": "Title length in characters.",
                        "examples": [
                         57
                        ]
                       },
                       "description_length": {
                        "type": "integer",
                        "description": "Description length in characters.",
                        "examples": [
                         88
                        ]
                       },
                       "render_blocking_scripts_count": {
                        "type": "integer",
                        "description": "Scripts in `<head>` without async, defer or `type=module`.",
                        "examples": [
                         0
                        ]
                       },
                       "render_blocking_stylesheets_count": {
                        "type": "integer",
                        "description": "Stylesheets in `<head>` for all or screen media.",
                        "examples": [
                         1
                        ]
                       },
                       "cumulative_layout_shift": {
                        "type": "null",
                        "description": "Not measured. Always null."
                       },
                       "meta_title": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "The `<meta name=\"title\">` content."
                       },
                       "content": {
                        "type": "object",
                        "properties": {
                         "plain_text_size": {
                          "type": "integer",
                          "description": "Visible text length in characters.",
                          "examples": [
                           349
                          ]
                         },
                         "plain_text_rate": {
                          "type": "number",
                          "description": "Visible text length divided by HTML size.",
                          "examples": [
                           0.2013
                          ]
                         },
                         "plain_text_word_count": {
                          "type": "integer",
                          "description": "Words in the visible text.",
                          "examples": [
                           61
                          ]
                         },
                         "automated_readability_index": {
                          "type": [
                           "number",
                           "null"
                          ],
                          "description": "Automated Readability Index of the visible text.",
                          "examples": [
                           7.1198
                          ]
                         },
                         "coleman_liau_readability_index": {
                          "type": [
                           "number",
                           "null"
                          ],
                          "description": "Coleman-Liau index of the visible text.",
                          "examples": [
                           8.3816
                          ]
                         },
                         "dale_chall_readability_index": {
                          "type": "null",
                          "description": "Not computed. Always null."
                         },
                         "flesch_kincaid_readability_index": {
                          "type": [
                           "number",
                           "null"
                          ],
                          "description": "Flesch reading-ease score of the visible text (higher reads easier).",
                          "examples": [
                           79.0185
                          ]
                         },
                         "smog_readability_index": {
                          "type": [
                           "number",
                           "null"
                          ],
                          "description": "SMOG index of the visible text.",
                          "examples": [
                           8.0765
                          ]
                         },
                         "description_to_content_consistency": {
                          "type": [
                           "number",
                           "null"
                          ],
                          "description": "Share of the description's keywords found in the text, 0 to 1.",
                          "examples": [
                           1.0
                          ]
                         },
                         "title_to_content_consistency": {
                          "type": [
                           "number",
                           "null"
                          ],
                          "description": "Share of the title's keywords found in the text, 0 to 1.",
                          "examples": [
                           0.6667
                          ]
                         },
                         "meta_keywords_to_content_consistency": {
                          "type": [
                           "number",
                           "null"
                          ],
                          "description": "Share of the meta keywords found in the text, 0 to 1.",
                          "examples": [
                           1.0
                          ]
                         },
                         "deprecated_tags": {
                          "anyOf": [
                           {
                            "type": "array",
                            "items": {
                             "type": "string"
                            }
                           },
                           {
                            "type": "null"
                           }
                          ],
                          "description": "Deprecated tags found, sorted."
                         },
                         "duplicate_meta_tags": {
                          "anyOf": [
                           {
                            "type": "array",
                            "items": {
                             "type": "string"
                            }
                           },
                           {
                            "type": "null"
                           }
                          ],
                          "description": "Single-use meta names that appear more than once."
                         }
                        },
                        "description": "Text statistics for the visible text."
                       },
                       "spell": {
                        "type": "null",
                        "description": "Spell checks aren't supported. Always null."
                       },
                       "social_media_tags": {
                        "type": [
                         "object",
                         "null"
                        ],
                        "description": "Open Graph and Twitter meta tags, keyed by property name (`og:title`, `twitter:card`, ...).",
                        "examples": [
                         {
                          "og:title": "Trail running shoes",
                          "twitter:card": "summary"
                         }
                        ]
                       },
                       "page_timing": {
                        "type": "object",
                        "properties": {
                         "time_to_interactive": {
                          "type": "null",
                          "description": "Not measured. Always null."
                         },
                         "dom_complete": {
                          "type": "null",
                          "description": "Not measured. Always null."
                         },
                         "largest_contentful_paint": {
                          "type": "null",
                          "description": "Not measured. Always null."
                         },
                         "first_input_delay": {
                          "type": "null",
                          "description": "Not measured. Always null."
                         },
                         "connection_time": {
                          "type": "null",
                          "description": "Not measured. Always null."
                         },
                         "time_to_secure_connection": {
                          "type": "null",
                          "description": "Not measured. Always null."
                         },
                         "request_sent_time": {
                          "type": "null",
                          "description": "Not measured. Always null."
                         },
                         "waiting_time": {
                          "type": "null",
                          "description": "Not measured. Always null."
                         },
                         "download_time": {
                          "type": "null",
                          "description": "Not measured. Always null."
                         },
                         "duration_time": {
                          "type": "integer",
                          "description": "Our wall-clock fetch time in milliseconds.",
                          "examples": [
                           0
                          ]
                         },
                         "fetch_start": {
                          "type": "integer",
                          "description": "Always 0.",
                          "examples": [
                           0
                          ]
                         },
                         "fetch_end": {
                          "type": "integer",
                          "description": "Equal to `duration_time`.",
                          "examples": [
                           0
                          ]
                         }
                        },
                        "description": "Fetch timing. Browser paint timings aren't measured and are null."
                       }
                      },
                      "description": "What the page declares and contains."
                     },
                     "onpage_score": {
                      "type": "number",
                      "description": "Our weighted score of the checks, 0 to 100. Each failed check subtracts its weight (for example 10 for no title, 30 for a 4xx).",
                      "examples": [
                       95.0
                      ]
                     },
                     "total_dom_size": {
                      "type": "integer",
                      "description": "Number of elements in the document.",
                      "examples": [
                       42
                      ]
                     },
                     "custom_js_response": {
                      "type": "null",
                      "description": "Custom scripts aren't supported. Always null."
                     },
                     "custom_js_client_exception": {
                      "type": "null",
                      "description": "Always null."
                     },
                     "resource_errors": {
                      "type": "object",
                      "properties": {
                       "errors": {
                        "type": "array",
                        "items": {
                         "type": "object"
                        },
                        "description": "Always empty.",
                        "examples": [
                         []
                        ]
                       },
                       "warnings": {
                        "type": "array",
                        "items": {
                         "type": "object"
                        },
                        "description": "Always empty.",
                        "examples": [
                         []
                        ]
                       }
                      },
                      "description": "HTML errors and warnings. Not checked yet, so both lists are empty."
                     },
                     "broken_resources": {
                      "type": "null",
                      "description": "Sub-resources aren't loaded. Always null."
                     },
                     "broken_links": {
                      "type": "null",
                      "description": "Links aren't followed. Always null."
                     },
                     "duplicate_title": {
                      "type": "boolean",
                      "description": "Always false: one page has nothing to duplicate.",
                      "examples": [
                       false
                      ]
                     },
                     "duplicate_description": {
                      "type": "boolean",
                      "description": "Always false.",
                      "examples": [
                       false
                      ]
                     },
                     "duplicate_content": {
                      "type": "boolean",
                      "description": "Always false.",
                      "examples": [
                       false
                      ]
                     },
                     "click_depth": {
                      "type": "integer",
                      "description": "Always 0: the page is the crawl's start.",
                      "examples": [
                       0
                      ]
                     },
                     "checks": {
                      "type": "object",
                      "properties": {
                       "no_content_encoding": {
                        "type": "boolean",
                        "description": "The response wasn't compressed.",
                        "examples": [
                         true
                        ]
                       },
                       "high_loading_time": {
                        "type": "boolean",
                        "description": "The fetch took longer than 3,000 ms.",
                        "examples": [
                         false
                        ]
                       },
                       "is_redirect": {
                        "type": "boolean",
                        "description": "The URL answered with a redirect.",
                        "examples": [
                         false
                        ]
                       },
                       "is_4xx_code": {
                        "type": "boolean",
                        "description": "The URL answered 4xx.",
                        "examples": [
                         false
                        ]
                       },
                       "is_5xx_code": {
                        "type": "boolean",
                        "description": "The URL answered 5xx.",
                        "examples": [
                         false
                        ]
                       },
                       "is_broken": {
                        "type": "boolean",
                        "description": "The URL answered 4xx or 5xx.",
                        "examples": [
                         false
                        ]
                       },
                       "is_www": {
                        "type": "boolean",
                        "description": "The host starts with `www.`.",
                        "examples": [
                         false
                        ]
                       },
                       "is_https": {
                        "type": "boolean",
                        "description": "The URL uses https.",
                        "examples": [
                         true
                        ]
                       },
                       "is_http": {
                        "type": "boolean",
                        "description": "The URL uses plain http.",
                        "examples": [
                         false
                        ]
                       },
                       "high_waiting_time": {
                        "type": "boolean",
                        "description": "Not measured. Always false.",
                        "examples": [
                         false
                        ]
                       },
                       "has_micromarkup": {
                        "type": "boolean",
                        "description": "The page has JSON-LD, microdata or RDFa.",
                        "examples": [
                         true
                        ]
                       },
                       "has_micromarkup_errors": {
                        "type": "boolean",
                        "description": "A JSON-LD block didn't parse.",
                        "examples": [
                         false
                        ]
                       },
                       "no_doctype": {
                        "type": "boolean",
                        "description": "The document has no `<!doctype>`.",
                        "examples": [
                         false
                        ]
                       },
                       "has_html_doctype": {
                        "type": "boolean",
                        "description": "The doctype is `<!doctype html>`.",
                        "examples": [
                         true
                        ]
                       },
                       "canonical": {
                        "type": "boolean",
                        "description": "The page declares a canonical URL.",
                        "examples": [
                         true
                        ]
                       },
                       "no_encoding_meta_tag": {
                        "type": "boolean",
                        "description": "No charset is declared in a meta tag.",
                        "examples": [
                         false
                        ]
                       },
                       "no_h1_tag": {
                        "type": "boolean",
                        "description": "The page has no `<h1>`.",
                        "examples": [
                         false
                        ]
                       },
                       "https_to_http_links": {
                        "type": "boolean",
                        "description": "An https page links to http URLs.",
                        "examples": [
                         false
                        ]
                       },
                       "size_greater_than_3mb": {
                        "type": "boolean",
                        "description": "The HTML is larger than 3 MB.",
                        "examples": [
                         false
                        ]
                       },
                       "meta_charset_consistency": {
                        "type": "boolean",
                        "description": "The meta charset matches the `Content-Type` charset (true when either is missing).",
                        "examples": [
                         true
                        ]
                       },
                       "has_meta_refresh_redirect": {
                        "type": "boolean",
                        "description": "The page has a `<meta http-equiv=\"refresh\">`.",
                        "examples": [
                         false
                        ]
                       },
                       "has_render_blocking_resources": {
                        "type": "boolean",
                        "description": "The `<head>` has scripts without async/defer or screen stylesheets.",
                        "examples": [
                         true
                        ]
                       },
                       "low_content_rate": {
                        "type": "boolean",
                        "description": "Visible text is under 10% of the HTML size.",
                        "examples": [
                         false
                        ]
                       },
                       "high_content_rate": {
                        "type": "boolean",
                        "description": "Visible text is over 90% of the HTML size.",
                        "examples": [
                         false
                        ]
                       },
                       "low_character_count": {
                        "type": "boolean",
                        "description": "Visible text is under 1,024 characters.",
                        "examples": [
                         true
                        ]
                       },
                       "high_character_count": {
                        "type": "boolean",
                        "description": "Visible text is over 256,000 characters.",
                        "examples": [
                         false
                        ]
                       },
                       "small_page_size": {
                        "type": "boolean",
                        "description": "The HTML is under 1 KB.",
                        "examples": [
                         false
                        ]
                       },
                       "large_page_size": {
                        "type": "boolean",
                        "description": "The HTML is over 1 MB.",
                        "examples": [
                         false
                        ]
                       },
                       "low_readability_rate": {
                        "type": "boolean",
                        "description": "The Flesch reading-ease score is under 15.",
                        "examples": [
                         false
                        ]
                       },
                       "irrelevant_description": {
                        "type": "boolean",
                        "description": "Under 20% of the description's keywords appear in the page text.",
                        "examples": [
                         false
                        ]
                       },
                       "irrelevant_title": {
                        "type": "boolean",
                        "description": "Under 20% of the title's keywords appear in the page text.",
                        "examples": [
                         false
                        ]
                       },
                       "irrelevant_meta_keywords": {
                        "type": "boolean",
                        "description": "Under 20% of the meta keywords appear in the page text.",
                        "examples": [
                         false
                        ]
                       },
                       "title_too_long": {
                        "type": "boolean",
                        "description": "The title is longer than 65 characters.",
                        "examples": [
                         false
                        ]
                       },
                       "has_meta_title": {
                        "type": "boolean",
                        "description": "The page has a `<meta name=\"title\">`.",
                        "examples": [
                         false
                        ]
                       },
                       "title_too_short": {
                        "type": "boolean",
                        "description": "The title is 1 to 29 characters long.",
                        "examples": [
                         false
                        ]
                       },
                       "deprecated_html_tags": {
                        "type": "boolean",
                        "description": "The page uses deprecated tags such as `<font>` or `<center>`.",
                        "examples": [
                         false
                        ]
                       },
                       "duplicate_meta_tags": {
                        "type": "boolean",
                        "description": "A single-use meta tag (description, robots, viewport, ...) appears twice.",
                        "examples": [
                         false
                        ]
                       },
                       "duplicate_title_tag": {
                        "type": "boolean",
                        "description": "The page has more than one `<title>`.",
                        "examples": [
                         false
                        ]
                       },
                       "no_image_alt": {
                        "type": "boolean",
                        "description": "An image has no alt text.",
                        "examples": [
                         false
                        ]
                       },
                       "no_image_title": {
                        "type": "boolean",
                        "description": "An image has no title attribute.",
                        "examples": [
                         true
                        ]
                       },
                       "no_description": {
                        "type": "boolean",
                        "description": "The page has no meta description.",
                        "examples": [
                         false
                        ]
                       },
                       "no_title": {
                        "type": "boolean",
                        "description": "The page has no title.",
                        "examples": [
                         false
                        ]
                       },
                       "no_favicon": {
                        "type": "boolean",
                        "description": "The page declares no favicon.",
                        "examples": [
                         false
                        ]
                       },
                       "seo_friendly_url": {
                        "type": "boolean",
                        "description": "All four `seo_friendly_url_*` checks pass.",
                        "examples": [
                         true
                        ]
                       },
                       "flash": {
                        "type": "boolean",
                        "description": "The page embeds Flash.",
                        "examples": [
                         false
                        ]
                       },
                       "frame": {
                        "type": "boolean",
                        "description": "The page uses frames or iframes.",
                        "examples": [
                         false
                        ]
                       },
                       "lorem_ipsum": {
                        "type": "boolean",
                        "description": "The text contains \"lorem ipsum\".",
                        "examples": [
                         false
                        ]
                       },
                       "has_misspelling": {
                        "type": "null",
                        "description": "Spell checks aren't supported. Always null."
                       },
                       "seo_friendly_url_characters_check": {
                        "type": "boolean",
                        "description": "The path uses only lowercase letters, digits and `-_/.~%`.",
                        "examples": [
                         true
                        ]
                       },
                       "seo_friendly_url_dynamic_check": {
                        "type": "boolean",
                        "description": "The URL has no query string.",
                        "examples": [
                         true
                        ]
                       },
                       "seo_friendly_url_keywords_check": {
                        "type": "boolean",
                        "description": "A title keyword appears in the path (true for the home page).",
                        "examples": [
                         true
                        ]
                       },
                       "seo_friendly_url_relative_length_check": {
                        "type": "boolean",
                        "description": "The path and query are 120 characters or fewer.",
                        "examples": [
                         true
                        ]
                       }
                      },
                      "description": "Pass/fail checks on the page. True means the condition is present."
                     },
                     "last_modified": {
                      "type": "object",
                      "properties": {
                       "header": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "The `Last-Modified` header."
                       },
                       "sitemap": {
                        "type": "null",
                        "description": "Not read. Always null."
                       },
                       "meta_tag": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "`last-modified` meta or `article:modified_time`."
                       }
                      },
                      "description": "Last-modified dates the page declares."
                     }
                    }
                   },
                   "description": "The page."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ],
              "examples": [
               "standard"
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.00011,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.00011,
           "result_count": 1,
           "path": [
            "v1",
            "pages",
            "instant_pages"
           ],
           "data": {
            "url": "https://summitrunning.example/trail-shoes",
            "enable_javascript": false
           },
           "result": [
            {
             "crawl_progress": "finished",
             "crawl_status": {
              "max_crawl_pages": 1,
              "pages_in_queue": 0,
              "pages_crawled": 1
             },
             "items_count": 1,
             "items": [
              {
               "resource_type": "html",
               "status_code": 200,
               "location": null,
               "url": "https://summitrunning.example/trail-shoes",
               "size": 1734,
               "encoded_size": 1734,
               "total_transfer_size": 1734,
               "fetch_time": "2026-12-03 10:42:18 +00:00",
               "cache_control": {
                "cachable": true,
                "ttl": 600
               },
               "content_encoding": null,
               "media_type": "text/html",
               "server": "nginx",
               "is_resource": false,
               "url_length": 41,
               "relative_url_length": 12,
               "meta": {
                "title": "Trail running shoes: pricing and fit | Summit Running Co.",
                "charset": 65001,
                "follow": true,
                "generator": null,
                "htags": {
                 "h1": [
                  "Trail running shoes"
                 ],
                 "h2": [
                  "Prices"
                 ]
                },
                "description": "Trail running shoes from Summit Running Co., with free gait analysis and 60-day returns.",
                "favicon": "https://summitrunning.example/favicon.ico",
                "meta_keywords": "trail running shoes, gait analysis",
                "canonical": "https://summitrunning.example/trail-shoes",
                "internal_links_count": 4,
                "external_links_count": 1,
                "inbound_links_count": 0,
                "images_count": 1,
                "images_size": 0,
                "scripts_count": 1,
                "scripts_size": 0,
                "stylesheets_count": 1,
                "stylesheets_size": 0,
                "title_length": 57,
                "description_length": 88,
                "render_blocking_scripts_count": 0,
                "render_blocking_stylesheets_count": 1,
                "cumulative_layout_shift": null,
                "meta_title": null,
                "content": {
                 "plain_text_size": 349,
                 "plain_text_rate": 0.2013,
                 "plain_text_word_count": 61,
                 "automated_readability_index": 7.1198,
                 "coleman_liau_readability_index": 8.3816,
                 "dale_chall_readability_index": null,
                 "flesch_kincaid_readability_index": 79.0185,
                 "smog_readability_index": 8.0765,
                 "description_to_content_consistency": 1.0,
                 "title_to_content_consistency": 0.6667,
                 "meta_keywords_to_content_consistency": 1.0,
                 "deprecated_tags": null,
                 "duplicate_meta_tags": null
                },
                "spell": null,
                "social_media_tags": {
                 "og:title": "Trail running shoes",
                 "twitter:card": "summary"
                },
                "page_timing": {
                 "time_to_interactive": null,
                 "dom_complete": null,
                 "largest_contentful_paint": null,
                 "first_input_delay": null,
                 "connection_time": null,
                 "time_to_secure_connection": null,
                 "request_sent_time": null,
                 "waiting_time": null,
                 "download_time": null,
                 "duration_time": 0,
                 "fetch_start": 0,
                 "fetch_end": 0
                }
               },
               "onpage_score": 95.0,
               "total_dom_size": 42,
               "custom_js_response": null,
               "custom_js_client_exception": null,
               "resource_errors": {
                "errors": [],
                "warnings": []
               },
               "broken_resources": null,
               "broken_links": null,
               "duplicate_title": false,
               "duplicate_description": false,
               "duplicate_content": false,
               "click_depth": 0,
               "checks": {
                "no_content_encoding": true,
                "high_loading_time": false,
                "is_redirect": false,
                "is_4xx_code": false,
                "is_5xx_code": false,
                "is_broken": false,
                "is_www": false,
                "is_https": true,
                "is_http": false,
                "high_waiting_time": false,
                "has_micromarkup": true,
                "has_micromarkup_errors": false,
                "no_doctype": false,
                "has_html_doctype": true,
                "canonical": true,
                "no_encoding_meta_tag": false,
                "no_h1_tag": false,
                "https_to_http_links": false,
                "size_greater_than_3mb": false,
                "meta_charset_consistency": true,
                "has_meta_refresh_redirect": false,
                "has_render_blocking_resources": true,
                "low_content_rate": false,
                "high_content_rate": false,
                "low_character_count": true,
                "high_character_count": false,
                "small_page_size": false,
                "large_page_size": false,
                "low_readability_rate": false,
                "irrelevant_description": false,
                "irrelevant_title": false,
                "irrelevant_meta_keywords": false,
                "title_too_long": false,
                "has_meta_title": false,
                "title_too_short": false,
                "deprecated_html_tags": false,
                "duplicate_meta_tags": false,
                "duplicate_title_tag": false,
                "no_image_alt": false,
                "no_image_title": true,
                "no_description": false,
                "no_title": false,
                "no_favicon": false,
                "seo_friendly_url": true,
                "flash": false,
                "frame": false,
                "lorem_ipsum": false,
                "has_misspelling": null,
                "seo_friendly_url_characters_check": true,
                "seo_friendly_url_dynamic_check": true,
                "seo_friendly_url_keywords_check": true,
                "seo_friendly_url_relative_length_check": true
               },
               "last_modified": {
                "header": null,
                "sitemap": null,
                "meta_tag": null
               }
              }
             ]
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": "standard",
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000, 40102, 40501); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/pages/content_parsing/live": {
   "post": {
    "operationId": "pages-content-parsing-live",
    "summary": "Content Parsing: Live",
    "description": "The readable content of one URL: header, main topics by heading, sidebar, footer, tables, ratings, offers and contacts, with optional Markdown.\n\nSend up to 100 tasks, one URL each. Scripts, forms and navigation are dropped; the rest is split into the site header, the main content (one topic per heading), sidebar topics and the footer. Link-heavy blocks go to `secondary_content`.\n\nRatings and offers come from the page's JSON-LD; phone numbers and emails from `tel:` and `mailto:` links. Send `markdown_view: true` to also get the main content as Markdown.\n\n**Billing.** Billed by the fetch level that returned the page: Standard, Rendered or Protected (see the price table). A page that no allowed level could fetch, or that answered 5xx, costs $0 and comes back as 40102 with the reason. Redirect and 4xx answers are delivered pages and are billed.\n\nAccepted and ignored: `load_resources`, `check_spell`, `validate_micromarkup`, `custom_user_agent`, `accept_language`, the `browser_*` fields, `ip_pool_for_scan`, `switch_pool`, `store_raw_html`, `disable_cookie_popup`, `enable_xhr`, `return_despite_timeout` and `checks_threshold`.",
    "tags": [
     "pages"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "page",
     "usd": {
      "live": 0.00011
     },
     "by_level": {
      "standard": 0.00011,
      "rendered": 0.0011,
      "protected": 0.003
     },
     "notes": "`usd.live` is the Standard-level price. `by_level` is the price at the level that returned the page."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "live",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/on_page/content_parsing/live"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "url": {
           "type": "string",
           "description": "Absolute http or https URL of the page, up to 2,000 characters.",
           "maxLength": 2000,
           "examples": [
            "https://summitrunning.example/trail-shoes"
           ]
          },
          "enable_javascript": {
           "type": "boolean",
           "description": "Render the page in a browser before reading it. The fetch starts at the Rendered level, so `max_level` must be `rendered` or `protected`. Also accepts the string `\"true\"`.",
           "default": false,
           "examples": [
            false
           ]
          },
          "enable_browser_rendering": {
           "type": "boolean",
           "description": "Same as `enable_javascript`.",
           "default": false,
           "examples": [
            false
           ]
          },
          "custom_js": {
           "type": "string",
           "description": "Not supported. A task that sends it fails with 40501 and isn't billed."
          },
          "markdown_view": {
           "type": "boolean",
           "description": "Also return the page's main content as Markdown in `page_as_markdown`.",
           "default": false,
           "examples": [
            true
           ]
          },
          "auto_upgrade": {
           "type": "boolean",
           "description": "Lets the request move to a higher fetch level when the included level can't get the data, billed at the level that delivered it. `false` stops at the Standard level and returns the failure at $0. Also accepts `\"true\"`, `\"false\"`, `1` and `0`.",
           "default": true,
           "examples": [
            true
           ]
          },
          "max_level": {
           "type": "string",
           "description": "The highest fetch level Auto-upgrade may use. `rendered` never uses the Protected level.",
           "enum": [
            "standard",
            "rendered",
            "protected"
           ],
           "default": "protected",
           "examples": [
            "rendered"
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may cost, in USD. The wallet check reserves this amount instead of the worst-case price, the request never upgrades past it, and the charge never exceeds it. Levels whose price is above it are skipped; if even the cheapest allowed level costs more, the task fails with 40501 at $0.",
           "minimum": 0,
           "examples": [
            0.002
           ]
          },
          "max_age": {
           "type": "integer",
           "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always fetches fresh. Pages are always fetched fresh: this field is accepted and has no effect here.",
           "minimum": 0,
           "maximum": 86400,
           "examples": [
            3600
           ]
          }
         },
         "required": [
          "url"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "url": "https://summitrunning.example/trail-shoes",
         "markdown_view": true
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0011
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0011
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "pages",
                "content_parsing"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "url": "https://summitrunning.example/trail-shoes",
                "markdown_view": true
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "crawl_progress": {
                   "type": "string",
                   "description": "Always `finished`: the page is fetched within the call.",
                   "examples": [
                    "finished"
                   ]
                  },
                  "crawl_status": {
                   "type": "object",
                   "properties": {
                    "max_crawl_pages": {
                     "type": "integer",
                     "description": "Always 1.",
                     "examples": [
                      1
                     ]
                    },
                    "pages_in_queue": {
                     "type": "integer",
                     "description": "Always 0.",
                     "examples": [
                      0
                     ]
                    },
                    "pages_crawled": {
                     "type": "integer",
                     "description": "Always 1.",
                     "examples": [
                      1
                     ]
                    }
                   },
                   "description": "Counters for the one-page crawl."
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Number of entries in `items`. Always 1.",
                   "examples": [
                    1
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `content_parsing_element`.",
                      "examples": [
                       "content_parsing_element"
                      ]
                     },
                     "fetch_time": {
                      "type": "string",
                      "description": "When we fetched the page, `YYYY-MM-DD HH:MM:SS +00:00`.",
                      "examples": [
                       "2026-12-03 10:42:18 +00:00"
                      ]
                     },
                     "status_code": {
                      "type": "integer",
                      "description": "HTTP status the page answered with.",
                      "examples": [
                       200
                      ]
                     },
                     "page_content": {
                      "anyOf": [
                       {
                        "type": "object",
                        "properties": {
                         "header": {
                          "anyOf": [
                           {
                            "type": "object",
                            "properties": {
                             "primary_content": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "text": {
                                   "type": "string",
                                   "description": "Text of the block.",
                                   "examples": [
                                    "Home Stores"
                                   ]
                                  },
                                  "url": {
                                   "type": "null",
                                   "description": "Always null."
                                  },
                                  "urls": {
                                   "anyOf": [
                                    {
                                     "type": "array",
                                     "items": {
                                      "type": "object",
                                      "properties": {
                                       "url": {
                                        "type": "string",
                                        "description": "Absolute link URL.",
                                        "examples": [
                                         "https://summitrunning.example/"
                                        ]
                                       },
                                       "anchor_text": {
                                        "type": [
                                         "string",
                                         "null"
                                        ],
                                        "description": "Link text.",
                                        "examples": [
                                         "Home"
                                        ]
                                       }
                                      }
                                     }
                                    },
                                    {
                                     "type": "null"
                                    }
                                   ],
                                   "description": "Links inside the block."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Text blocks: paragraphs, list items, quotes."
                             },
                             "secondary_content": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "text": {
                                   "type": "string",
                                   "description": "Text of the block.",
                                   "examples": [
                                    "Home Stores"
                                   ]
                                  },
                                  "url": {
                                   "type": "null",
                                   "description": "Always null."
                                  },
                                  "urls": {
                                   "anyOf": [
                                    {
                                     "type": "array",
                                     "items": {
                                      "type": "object",
                                      "properties": {
                                       "url": {
                                        "type": "string",
                                        "description": "Absolute link URL.",
                                        "examples": [
                                         "https://summitrunning.example/"
                                        ]
                                       },
                                       "anchor_text": {
                                        "type": [
                                         "string",
                                         "null"
                                        ],
                                        "description": "Link text.",
                                        "examples": [
                                         "Home"
                                        ]
                                       }
                                      }
                                     }
                                    },
                                    {
                                     "type": "null"
                                    }
                                   ],
                                   "description": "Links inside the block."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Link-heavy blocks, such as menus and link lists."
                             },
                             "table_content": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "header": {
                                   "anyOf": [
                                    {
                                     "type": "array",
                                     "items": {
                                      "type": "object",
                                      "properties": {
                                       "row_cells": {
                                        "type": "array",
                                        "items": {
                                         "type": "object",
                                         "properties": {
                                          "text": {
                                           "type": [
                                            "string",
                                            "null"
                                           ],
                                           "description": "Cell text.",
                                           "examples": [
                                            "Model"
                                           ]
                                          },
                                          "urls": {
                                           "anyOf": [
                                            {
                                             "type": "array",
                                             "items": {
                                              "type": "object",
                                              "properties": {
                                               "url": {
                                                "type": "string",
                                                "description": "Absolute link URL.",
                                                "examples": [
                                                 "https://summitrunning.example/"
                                                ]
                                               },
                                               "anchor_text": {
                                                "type": [
                                                 "string",
                                                 "null"
                                                ],
                                                "description": "Link text.",
                                                "examples": [
                                                 "Home"
                                                ]
                                               }
                                              }
                                             }
                                            },
                                            {
                                             "type": "null"
                                            }
                                           ],
                                           "description": "Links in the cell."
                                          },
                                          "is_header": {
                                           "type": "boolean",
                                           "description": "True for `<th>` cells.",
                                           "examples": [
                                            true
                                           ]
                                          }
                                         }
                                        },
                                        "description": "Cells in the row."
                                       }
                                      }
                                     }
                                    },
                                    {
                                     "type": "null"
                                    }
                                   ],
                                   "description": "Header rows (`<thead>`, or a first row of `<th>` cells)."
                                  },
                                  "body": {
                                   "anyOf": [
                                    {
                                     "type": "array",
                                     "items": {
                                      "type": "object",
                                      "properties": {
                                       "row_cells": {
                                        "type": "array",
                                        "items": {
                                         "type": "object",
                                         "properties": {
                                          "text": {
                                           "type": [
                                            "string",
                                            "null"
                                           ],
                                           "description": "Cell text.",
                                           "examples": [
                                            "Model"
                                           ]
                                          },
                                          "urls": {
                                           "anyOf": [
                                            {
                                             "type": "array",
                                             "items": {
                                              "type": "object",
                                              "properties": {
                                               "url": {
                                                "type": "string",
                                                "description": "Absolute link URL.",
                                                "examples": [
                                                 "https://summitrunning.example/"
                                                ]
                                               },
                                               "anchor_text": {
                                                "type": [
                                                 "string",
                                                 "null"
                                                ],
                                                "description": "Link text.",
                                                "examples": [
                                                 "Home"
                                                ]
                                               }
                                              }
                                             }
                                            },
                                            {
                                             "type": "null"
                                            }
                                           ],
                                           "description": "Links in the cell."
                                          },
                                          "is_header": {
                                           "type": "boolean",
                                           "description": "True for `<th>` cells.",
                                           "examples": [
                                            true
                                           ]
                                          }
                                         }
                                        },
                                        "description": "Cells in the row."
                                       }
                                      }
                                     }
                                    },
                                    {
                                     "type": "null"
                                    }
                                   ],
                                   "description": "Body rows."
                                  },
                                  "footer": {
                                   "anyOf": [
                                    {
                                     "type": "array",
                                     "items": {
                                      "type": "object",
                                      "properties": {
                                       "row_cells": {
                                        "type": "array",
                                        "items": {
                                         "type": "object",
                                         "properties": {
                                          "text": {
                                           "type": [
                                            "string",
                                            "null"
                                           ],
                                           "description": "Cell text.",
                                           "examples": [
                                            "Model"
                                           ]
                                          },
                                          "urls": {
                                           "anyOf": [
                                            {
                                             "type": "array",
                                             "items": {
                                              "type": "object",
                                              "properties": {
                                               "url": {
                                                "type": "string",
                                                "description": "Absolute link URL.",
                                                "examples": [
                                                 "https://summitrunning.example/"
                                                ]
                                               },
                                               "anchor_text": {
                                                "type": [
                                                 "string",
                                                 "null"
                                                ],
                                                "description": "Link text.",
                                                "examples": [
                                                 "Home"
                                                ]
                                               }
                                              }
                                             }
                                            },
                                            {
                                             "type": "null"
                                            }
                                           ],
                                           "description": "Links in the cell."
                                          },
                                          "is_header": {
                                           "type": "boolean",
                                           "description": "True for `<th>` cells.",
                                           "examples": [
                                            true
                                           ]
                                          }
                                         }
                                        },
                                        "description": "Cells in the row."
                                       }
                                      }
                                     }
                                    },
                                    {
                                     "type": "null"
                                    }
                                   ],
                                   "description": "Footer rows."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Tables."
                             }
                            }
                           },
                           {
                            "type": "null"
                           }
                          ],
                          "description": "The site header (outside the main content)."
                         },
                         "footer": {
                          "anyOf": [
                           {
                            "type": "object",
                            "properties": {
                             "primary_content": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "text": {
                                   "type": "string",
                                   "description": "Text of the block.",
                                   "examples": [
                                    "Home Stores"
                                   ]
                                  },
                                  "url": {
                                   "type": "null",
                                   "description": "Always null."
                                  },
                                  "urls": {
                                   "anyOf": [
                                    {
                                     "type": "array",
                                     "items": {
                                      "type": "object",
                                      "properties": {
                                       "url": {
                                        "type": "string",
                                        "description": "Absolute link URL.",
                                        "examples": [
                                         "https://summitrunning.example/"
                                        ]
                                       },
                                       "anchor_text": {
                                        "type": [
                                         "string",
                                         "null"
                                        ],
                                        "description": "Link text.",
                                        "examples": [
                                         "Home"
                                        ]
                                       }
                                      }
                                     }
                                    },
                                    {
                                     "type": "null"
                                    }
                                   ],
                                   "description": "Links inside the block."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Text blocks: paragraphs, list items, quotes."
                             },
                             "secondary_content": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "text": {
                                   "type": "string",
                                   "description": "Text of the block.",
                                   "examples": [
                                    "Home Stores"
                                   ]
                                  },
                                  "url": {
                                   "type": "null",
                                   "description": "Always null."
                                  },
                                  "urls": {
                                   "anyOf": [
                                    {
                                     "type": "array",
                                     "items": {
                                      "type": "object",
                                      "properties": {
                                       "url": {
                                        "type": "string",
                                        "description": "Absolute link URL.",
                                        "examples": [
                                         "https://summitrunning.example/"
                                        ]
                                       },
                                       "anchor_text": {
                                        "type": [
                                         "string",
                                         "null"
                                        ],
                                        "description": "Link text.",
                                        "examples": [
                                         "Home"
                                        ]
                                       }
                                      }
                                     }
                                    },
                                    {
                                     "type": "null"
                                    }
                                   ],
                                   "description": "Links inside the block."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Link-heavy blocks, such as menus and link lists."
                             },
                             "table_content": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "header": {
                                   "anyOf": [
                                    {
                                     "type": "array",
                                     "items": {
                                      "type": "object",
                                      "properties": {
                                       "row_cells": {
                                        "type": "array",
                                        "items": {
                                         "type": "object",
                                         "properties": {
                                          "text": {
                                           "type": [
                                            "string",
                                            "null"
                                           ],
                                           "description": "Cell text.",
                                           "examples": [
                                            "Model"
                                           ]
                                          },
                                          "urls": {
                                           "anyOf": [
                                            {
                                             "type": "array",
                                             "items": {
                                              "type": "object",
                                              "properties": {
                                               "url": {
                                                "type": "string",
                                                "description": "Absolute link URL.",
                                                "examples": [
                                                 "https://summitrunning.example/"
                                                ]
                                               },
                                               "anchor_text": {
                                                "type": [
                                                 "string",
                                                 "null"
                                                ],
                                                "description": "Link text.",
                                                "examples": [
                                                 "Home"
                                                ]
                                               }
                                              }
                                             }
                                            },
                                            {
                                             "type": "null"
                                            }
                                           ],
                                           "description": "Links in the cell."
                                          },
                                          "is_header": {
                                           "type": "boolean",
                                           "description": "True for `<th>` cells.",
                                           "examples": [
                                            true
                                           ]
                                          }
                                         }
                                        },
                                        "description": "Cells in the row."
                                       }
                                      }
                                     }
                                    },
                                    {
                                     "type": "null"
                                    }
                                   ],
                                   "description": "Header rows (`<thead>`, or a first row of `<th>` cells)."
                                  },
                                  "body": {
                                   "anyOf": [
                                    {
                                     "type": "array",
                                     "items": {
                                      "type": "object",
                                      "properties": {
                                       "row_cells": {
                                        "type": "array",
                                        "items": {
                                         "type": "object",
                                         "properties": {
                                          "text": {
                                           "type": [
                                            "string",
                                            "null"
                                           ],
                                           "description": "Cell text.",
                                           "examples": [
                                            "Model"
                                           ]
                                          },
                                          "urls": {
                                           "anyOf": [
                                            {
                                             "type": "array",
                                             "items": {
                                              "type": "object",
                                              "properties": {
                                               "url": {
                                                "type": "string",
                                                "description": "Absolute link URL.",
                                                "examples": [
                                                 "https://summitrunning.example/"
                                                ]
                                               },
                                               "anchor_text": {
                                                "type": [
                                                 "string",
                                                 "null"
                                                ],
                                                "description": "Link text.",
                                                "examples": [
                                                 "Home"
                                                ]
                                               }
                                              }
                                             }
                                            },
                                            {
                                             "type": "null"
                                            }
                                           ],
                                           "description": "Links in the cell."
                                          },
                                          "is_header": {
                                           "type": "boolean",
                                           "description": "True for `<th>` cells.",
                                           "examples": [
                                            true
                                           ]
                                          }
                                         }
                                        },
                                        "description": "Cells in the row."
                                       }
                                      }
                                     }
                                    },
                                    {
                                     "type": "null"
                                    }
                                   ],
                                   "description": "Body rows."
                                  },
                                  "footer": {
                                   "anyOf": [
                                    {
                                     "type": "array",
                                     "items": {
                                      "type": "object",
                                      "properties": {
                                       "row_cells": {
                                        "type": "array",
                                        "items": {
                                         "type": "object",
                                         "properties": {
                                          "text": {
                                           "type": [
                                            "string",
                                            "null"
                                           ],
                                           "description": "Cell text.",
                                           "examples": [
                                            "Model"
                                           ]
                                          },
                                          "urls": {
                                           "anyOf": [
                                            {
                                             "type": "array",
                                             "items": {
                                              "type": "object",
                                              "properties": {
                                               "url": {
                                                "type": "string",
                                                "description": "Absolute link URL.",
                                                "examples": [
                                                 "https://summitrunning.example/"
                                                ]
                                               },
                                               "anchor_text": {
                                                "type": [
                                                 "string",
                                                 "null"
                                                ],
                                                "description": "Link text.",
                                                "examples": [
                                                 "Home"
                                                ]
                                               }
                                              }
                                             }
                                            },
                                            {
                                             "type": "null"
                                            }
                                           ],
                                           "description": "Links in the cell."
                                          },
                                          "is_header": {
                                           "type": "boolean",
                                           "description": "True for `<th>` cells.",
                                           "examples": [
                                            true
                                           ]
                                          }
                                         }
                                        },
                                        "description": "Cells in the row."
                                       }
                                      }
                                     }
                                    },
                                    {
                                     "type": "null"
                                    }
                                   ],
                                   "description": "Footer rows."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Tables."
                             }
                            }
                           },
                           {
                            "type": "null"
                           }
                          ],
                          "description": "The site footer."
                         },
                         "main_topic": {
                          "anyOf": [
                           {
                            "type": "array",
                            "items": {
                             "type": "object",
                             "properties": {
                              "h_title": {
                               "type": [
                                "string",
                                "null"
                               ],
                               "description": "The heading that starts this topic. Null for text before the first heading.",
                               "examples": [
                                "Trail running shoes"
                               ]
                              },
                              "main_title": {
                               "type": [
                                "string",
                                "null"
                               ],
                               "description": "The page's `<h1>`, or its `<title>` when there's no h1.",
                               "examples": [
                                "Trail running shoes"
                               ]
                              },
                              "author": {
                               "type": [
                                "string",
                                "null"
                               ],
                               "description": "Author from the author meta tag or JSON-LD.",
                               "examples": [
                                "Summit Running Co."
                               ]
                              },
                              "language": {
                               "type": [
                                "string",
                                "null"
                               ],
                               "description": "The `<html lang>` value.",
                               "examples": [
                                "en"
                               ]
                              },
                              "level": {
                               "type": [
                                "integer",
                                "null"
                               ],
                               "description": "Heading level, 1 to 6.",
                               "examples": [
                                1
                               ]
                              },
                              "primary_content": {
                               "anyOf": [
                                {
                                 "type": "array",
                                 "items": {
                                  "type": "object",
                                  "properties": {
                                   "text": {
                                    "type": "string",
                                    "description": "Text of the block.",
                                    "examples": [
                                     "Home Stores"
                                    ]
                                   },
                                   "url": {
                                    "type": "null",
                                    "description": "Always null."
                                   },
                                   "urls": {
                                    "anyOf": [
                                     {
                                      "type": "array",
                                      "items": {
                                       "type": "object",
                                       "properties": {
                                        "url": {
                                         "type": "string",
                                         "description": "Absolute link URL.",
                                         "examples": [
                                          "https://summitrunning.example/"
                                         ]
                                        },
                                        "anchor_text": {
                                         "type": [
                                          "string",
                                          "null"
                                         ],
                                         "description": "Link text.",
                                         "examples": [
                                          "Home"
                                         ]
                                        }
                                       }
                                      }
                                     },
                                     {
                                      "type": "null"
                                     }
                                    ],
                                    "description": "Links inside the block."
                                   }
                                  }
                                 }
                                },
                                {
                                 "type": "null"
                                }
                               ],
                               "description": "Text blocks: paragraphs, list items, quotes."
                              },
                              "secondary_content": {
                               "anyOf": [
                                {
                                 "type": "array",
                                 "items": {
                                  "type": "object",
                                  "properties": {
                                   "text": {
                                    "type": "string",
                                    "description": "Text of the block.",
                                    "examples": [
                                     "Home Stores"
                                    ]
                                   },
                                   "url": {
                                    "type": "null",
                                    "description": "Always null."
                                   },
                                   "urls": {
                                    "anyOf": [
                                     {
                                      "type": "array",
                                      "items": {
                                       "type": "object",
                                       "properties": {
                                        "url": {
                                         "type": "string",
                                         "description": "Absolute link URL.",
                                         "examples": [
                                          "https://summitrunning.example/"
                                         ]
                                        },
                                        "anchor_text": {
                                         "type": [
                                          "string",
                                          "null"
                                         ],
                                         "description": "Link text.",
                                         "examples": [
                                          "Home"
                                         ]
                                        }
                                       }
                                      }
                                     },
                                     {
                                      "type": "null"
                                     }
                                    ],
                                    "description": "Links inside the block."
                                   }
                                  }
                                 }
                                },
                                {
                                 "type": "null"
                                }
                               ],
                               "description": "Link-heavy blocks, such as menus and link lists."
                              },
                              "table_content": {
                               "anyOf": [
                                {
                                 "type": "array",
                                 "items": {
                                  "type": "object",
                                  "properties": {
                                   "header": {
                                    "anyOf": [
                                     {
                                      "type": "array",
                                      "items": {
                                       "type": "object",
                                       "properties": {
                                        "row_cells": {
                                         "type": "array",
                                         "items": {
                                          "type": "object",
                                          "properties": {
                                           "text": {
                                            "type": [
                                             "string",
                                             "null"
                                            ],
                                            "description": "Cell text.",
                                            "examples": [
                                             "Model"
                                            ]
                                           },
                                           "urls": {
                                            "anyOf": [
                                             {
                                              "type": "array",
                                              "items": {
                                               "type": "object",
                                               "properties": {
                                                "url": {
                                                 "type": "string",
                                                 "description": "Absolute link URL.",
                                                 "examples": [
                                                  "https://summitrunning.example/"
                                                 ]
                                                },
                                                "anchor_text": {
                                                 "type": [
                                                  "string",
                                                  "null"
                                                 ],
                                                 "description": "Link text.",
                                                 "examples": [
                                                  "Home"
                                                 ]
                                                }
                                               }
                                              }
                                             },
                                             {
                                              "type": "null"
                                             }
                                            ],
                                            "description": "Links in the cell."
                                           },
                                           "is_header": {
                                            "type": "boolean",
                                            "description": "True for `<th>` cells.",
                                            "examples": [
                                             true
                                            ]
                                           }
                                          }
                                         },
                                         "description": "Cells in the row."
                                        }
                                       }
                                      }
                                     },
                                     {
                                      "type": "null"
                                     }
                                    ],
                                    "description": "Header rows (`<thead>`, or a first row of `<th>` cells)."
                                   },
                                   "body": {
                                    "anyOf": [
                                     {
                                      "type": "array",
                                      "items": {
                                       "type": "object",
                                       "properties": {
                                        "row_cells": {
                                         "type": "array",
                                         "items": {
                                          "type": "object",
                                          "properties": {
                                           "text": {
                                            "type": [
                                             "string",
                                             "null"
                                            ],
                                            "description": "Cell text.",
                                            "examples": [
                                             "Model"
                                            ]
                                           },
                                           "urls": {
                                            "anyOf": [
                                             {
                                              "type": "array",
                                              "items": {
                                               "type": "object",
                                               "properties": {
                                                "url": {
                                                 "type": "string",
                                                 "description": "Absolute link URL.",
                                                 "examples": [
                                                  "https://summitrunning.example/"
                                                 ]
                                                },
                                                "anchor_text": {
                                                 "type": [
                                                  "string",
                                                  "null"
                                                 ],
                                                 "description": "Link text.",
                                                 "examples": [
                                                  "Home"
                                                 ]
                                                }
                                               }
                                              }
                                             },
                                             {
                                              "type": "null"
                                             }
                                            ],
                                            "description": "Links in the cell."
                                           },
                                           "is_header": {
                                            "type": "boolean",
                                            "description": "True for `<th>` cells.",
                                            "examples": [
                                             true
                                            ]
                                           }
                                          }
                                         },
                                         "description": "Cells in the row."
                                        }
                                       }
                                      }
                                     },
                                     {
                                      "type": "null"
                                     }
                                    ],
                                    "description": "Body rows."
                                   },
                                   "footer": {
                                    "anyOf": [
                                     {
                                      "type": "array",
                                      "items": {
                                       "type": "object",
                                       "properties": {
                                        "row_cells": {
                                         "type": "array",
                                         "items": {
                                          "type": "object",
                                          "properties": {
                                           "text": {
                                            "type": [
                                             "string",
                                             "null"
                                            ],
                                            "description": "Cell text.",
                                            "examples": [
                                             "Model"
                                            ]
                                           },
                                           "urls": {
                                            "anyOf": [
                                             {
                                              "type": "array",
                                              "items": {
                                               "type": "object",
                                               "properties": {
                                                "url": {
                                                 "type": "string",
                                                 "description": "Absolute link URL.",
                                                 "examples": [
                                                  "https://summitrunning.example/"
                                                 ]
                                                },
                                                "anchor_text": {
                                                 "type": [
                                                  "string",
                                                  "null"
                                                 ],
                                                 "description": "Link text.",
                                                 "examples": [
                                                  "Home"
                                                 ]
                                                }
                                               }
                                              }
                                             },
                                             {
                                              "type": "null"
                                             }
                                            ],
                                            "description": "Links in the cell."
                                           },
                                           "is_header": {
                                            "type": "boolean",
                                            "description": "True for `<th>` cells.",
                                            "examples": [
                                             true
                                            ]
                                           }
                                          }
                                         },
                                         "description": "Cells in the row."
                                        }
                                       }
                                      }
                                     },
                                     {
                                      "type": "null"
                                     }
                                    ],
                                    "description": "Footer rows."
                                   }
                                  }
                                 }
                                },
                                {
                                 "type": "null"
                                }
                               ],
                               "description": "Tables."
                              }
                             }
                            }
                           },
                           {
                            "type": "null"
                           }
                          ],
                          "description": "The main content, one topic per heading."
                         },
                         "secondary_topic": {
                          "anyOf": [
                           {
                            "type": "array",
                            "items": {
                             "type": "object",
                             "properties": {
                              "h_title": {
                               "type": [
                                "string",
                                "null"
                               ],
                               "description": "The heading that starts this topic. Null for text before the first heading.",
                               "examples": [
                                "Trail running shoes"
                               ]
                              },
                              "main_title": {
                               "type": [
                                "string",
                                "null"
                               ],
                               "description": "The page's `<h1>`, or its `<title>` when there's no h1.",
                               "examples": [
                                "Trail running shoes"
                               ]
                              },
                              "author": {
                               "type": [
                                "string",
                                "null"
                               ],
                               "description": "Author from the author meta tag or JSON-LD.",
                               "examples": [
                                "Summit Running Co."
                               ]
                              },
                              "language": {
                               "type": [
                                "string",
                                "null"
                               ],
                               "description": "The `<html lang>` value.",
                               "examples": [
                                "en"
                               ]
                              },
                              "level": {
                               "type": [
                                "integer",
                                "null"
                               ],
                               "description": "Heading level, 1 to 6.",
                               "examples": [
                                1
                               ]
                              },
                              "primary_content": {
                               "anyOf": [
                                {
                                 "type": "array",
                                 "items": {
                                  "type": "object",
                                  "properties": {
                                   "text": {
                                    "type": "string",
                                    "description": "Text of the block.",
                                    "examples": [
                                     "Home Stores"
                                    ]
                                   },
                                   "url": {
                                    "type": "null",
                                    "description": "Always null."
                                   },
                                   "urls": {
                                    "anyOf": [
                                     {
                                      "type": "array",
                                      "items": {
                                       "type": "object",
                                       "properties": {
                                        "url": {
                                         "type": "string",
                                         "description": "Absolute link URL.",
                                         "examples": [
                                          "https://summitrunning.example/"
                                         ]
                                        },
                                        "anchor_text": {
                                         "type": [
                                          "string",
                                          "null"
                                         ],
                                         "description": "Link text.",
                                         "examples": [
                                          "Home"
                                         ]
                                        }
                                       }
                                      }
                                     },
                                     {
                                      "type": "null"
                                     }
                                    ],
                                    "description": "Links inside the block."
                                   }
                                  }
                                 }
                                },
                                {
                                 "type": "null"
                                }
                               ],
                               "description": "Text blocks: paragraphs, list items, quotes."
                              },
                              "secondary_content": {
                               "anyOf": [
                                {
                                 "type": "array",
                                 "items": {
                                  "type": "object",
                                  "properties": {
                                   "text": {
                                    "type": "string",
                                    "description": "Text of the block.",
                                    "examples": [
                                     "Home Stores"
                                    ]
                                   },
                                   "url": {
                                    "type": "null",
                                    "description": "Always null."
                                   },
                                   "urls": {
                                    "anyOf": [
                                     {
                                      "type": "array",
                                      "items": {
                                       "type": "object",
                                       "properties": {
                                        "url": {
                                         "type": "string",
                                         "description": "Absolute link URL.",
                                         "examples": [
                                          "https://summitrunning.example/"
                                         ]
                                        },
                                        "anchor_text": {
                                         "type": [
                                          "string",
                                          "null"
                                         ],
                                         "description": "Link text.",
                                         "examples": [
                                          "Home"
                                         ]
                                        }
                                       }
                                      }
                                     },
                                     {
                                      "type": "null"
                                     }
                                    ],
                                    "description": "Links inside the block."
                                   }
                                  }
                                 }
                                },
                                {
                                 "type": "null"
                                }
                               ],
                               "description": "Link-heavy blocks, such as menus and link lists."
                              },
                              "table_content": {
                               "anyOf": [
                                {
                                 "type": "array",
                                 "items": {
                                  "type": "object",
                                  "properties": {
                                   "header": {
                                    "anyOf": [
                                     {
                                      "type": "array",
                                      "items": {
                                       "type": "object",
                                       "properties": {
                                        "row_cells": {
                                         "type": "array",
                                         "items": {
                                          "type": "object",
                                          "properties": {
                                           "text": {
                                            "type": [
                                             "string",
                                             "null"
                                            ],
                                            "description": "Cell text.",
                                            "examples": [
                                             "Model"
                                            ]
                                           },
                                           "urls": {
                                            "anyOf": [
                                             {
                                              "type": "array",
                                              "items": {
                                               "type": "object",
                                               "properties": {
                                                "url": {
                                                 "type": "string",
                                                 "description": "Absolute link URL.",
                                                 "examples": [
                                                  "https://summitrunning.example/"
                                                 ]
                                                },
                                                "anchor_text": {
                                                 "type": [
                                                  "string",
                                                  "null"
                                                 ],
                                                 "description": "Link text.",
                                                 "examples": [
                                                  "Home"
                                                 ]
                                                }
                                               }
                                              }
                                             },
                                             {
                                              "type": "null"
                                             }
                                            ],
                                            "description": "Links in the cell."
                                           },
                                           "is_header": {
                                            "type": "boolean",
                                            "description": "True for `<th>` cells.",
                                            "examples": [
                                             true
                                            ]
                                           }
                                          }
                                         },
                                         "description": "Cells in the row."
                                        }
                                       }
                                      }
                                     },
                                     {
                                      "type": "null"
                                     }
                                    ],
                                    "description": "Header rows (`<thead>`, or a first row of `<th>` cells)."
                                   },
                                   "body": {
                                    "anyOf": [
                                     {
                                      "type": "array",
                                      "items": {
                                       "type": "object",
                                       "properties": {
                                        "row_cells": {
                                         "type": "array",
                                         "items": {
                                          "type": "object",
                                          "properties": {
                                           "text": {
                                            "type": [
                                             "string",
                                             "null"
                                            ],
                                            "description": "Cell text.",
                                            "examples": [
                                             "Model"
                                            ]
                                           },
                                           "urls": {
                                            "anyOf": [
                                             {
                                              "type": "array",
                                              "items": {
                                               "type": "object",
                                               "properties": {
                                                "url": {
                                                 "type": "string",
                                                 "description": "Absolute link URL.",
                                                 "examples": [
                                                  "https://summitrunning.example/"
                                                 ]
                                                },
                                                "anchor_text": {
                                                 "type": [
                                                  "string",
                                                  "null"
                                                 ],
                                                 "description": "Link text.",
                                                 "examples": [
                                                  "Home"
                                                 ]
                                                }
                                               }
                                              }
                                             },
                                             {
                                              "type": "null"
                                             }
                                            ],
                                            "description": "Links in the cell."
                                           },
                                           "is_header": {
                                            "type": "boolean",
                                            "description": "True for `<th>` cells.",
                                            "examples": [
                                             true
                                            ]
                                           }
                                          }
                                         },
                                         "description": "Cells in the row."
                                        }
                                       }
                                      }
                                     },
                                     {
                                      "type": "null"
                                     }
                                    ],
                                    "description": "Body rows."
                                   },
                                   "footer": {
                                    "anyOf": [
                                     {
                                      "type": "array",
                                      "items": {
                                       "type": "object",
                                       "properties": {
                                        "row_cells": {
                                         "type": "array",
                                         "items": {
                                          "type": "object",
                                          "properties": {
                                           "text": {
                                            "type": [
                                             "string",
                                             "null"
                                            ],
                                            "description": "Cell text.",
                                            "examples": [
                                             "Model"
                                            ]
                                           },
                                           "urls": {
                                            "anyOf": [
                                             {
                                              "type": "array",
                                              "items": {
                                               "type": "object",
                                               "properties": {
                                                "url": {
                                                 "type": "string",
                                                 "description": "Absolute link URL.",
                                                 "examples": [
                                                  "https://summitrunning.example/"
                                                 ]
                                                },
                                                "anchor_text": {
                                                 "type": [
                                                  "string",
                                                  "null"
                                                 ],
                                                 "description": "Link text.",
                                                 "examples": [
                                                  "Home"
                                                 ]
                                                }
                                               }
                                              }
                                             },
                                             {
                                              "type": "null"
                                             }
                                            ],
                                            "description": "Links in the cell."
                                           },
                                           "is_header": {
                                            "type": "boolean",
                                            "description": "True for `<th>` cells.",
                                            "examples": [
                                             true
                                            ]
                                           }
                                          }
                                         },
                                         "description": "Cells in the row."
                                        }
                                       }
                                      }
                                     },
                                     {
                                      "type": "null"
                                     }
                                    ],
                                    "description": "Footer rows."
                                   }
                                  }
                                 }
                                },
                                {
                                 "type": "null"
                                }
                               ],
                               "description": "Tables."
                              }
                             }
                            }
                           },
                           {
                            "type": "null"
                           }
                          ],
                          "description": "Sidebar (`<aside>`) content, one topic per heading."
                         },
                         "ratings": {
                          "anyOf": [
                           {
                            "type": "array",
                            "items": {
                             "type": "object",
                             "properties": {
                              "name": {
                               "type": [
                                "string",
                                "null"
                               ],
                               "description": "Name of the rated thing.",
                               "examples": [
                                "Ridge Runner 4"
                               ]
                              },
                              "rating_value": {
                               "type": [
                                "number",
                                "null"
                               ],
                               "description": "Average rating.",
                               "examples": [
                                4.6
                               ]
                              },
                              "max_rating_value": {
                               "type": "number",
                               "description": "Best possible rating (default 5).",
                               "examples": [
                                5.0
                               ]
                              },
                              "rating_count": {
                               "type": [
                                "integer",
                                "null"
                               ],
                               "description": "Number of ratings or reviews.",
                               "examples": [
                                128
                               ]
                              },
                              "relative_rating": {
                               "type": [
                                "number",
                                "null"
                               ],
                               "description": "`rating_value / max_rating_value`.",
                               "examples": [
                                0.92
                               ]
                              }
                             }
                            }
                           },
                           {
                            "type": "null"
                           }
                          ],
                          "description": "Aggregate ratings from JSON-LD."
                         },
                         "offers": {
                          "anyOf": [
                           {
                            "type": "array",
                            "items": {
                             "type": "object",
                             "properties": {
                              "name": {
                               "type": [
                                "string",
                                "null"
                               ],
                               "description": "Offer or product name.",
                               "examples": [
                                "Ridge Runner 4"
                               ]
                              },
                              "price": {
                               "type": [
                                "number",
                                "null"
                               ],
                               "description": "Price (or low price).",
                               "examples": [
                                139.0
                               ]
                              },
                              "price_currency": {
                               "type": [
                                "string",
                                "null"
                               ],
                               "description": "ISO currency code.",
                               "examples": [
                                "USD"
                               ]
                              },
                              "price_valid_until": {
                               "type": [
                                "string",
                                "null"
                               ],
                               "description": "`priceValidUntil` as given."
                              }
                             }
                            }
                           },
                           {
                            "type": "null"
                           }
                          ],
                          "description": "Offers from JSON-LD."
                         },
                         "comments": {
                          "type": "null",
                          "description": "Not parsed. Always null."
                         },
                         "contacts": {
                          "anyOf": [
                           {
                            "type": "object",
                            "properties": {
                             "telephones": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "string"
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Phone numbers.",
                              "examples": [
                               [
                                "+13035550142"
                               ]
                              ]
                             },
                             "emails": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "string"
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Email addresses.",
                              "examples": [
                               [
                                "fit@summitrunning.example"
                               ]
                              ]
                             }
                            }
                           },
                           {
                            "type": "null"
                           }
                          ],
                          "description": "Phone numbers and emails linked with `tel:` and `mailto:`."
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "The page split into parts. Null when the page didn't answer 2xx."
                     },
                     "page_as_markdown": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "The main content as Markdown, when you sent `markdown_view: true`.",
                      "examples": [
                       "# Trail running shoes\n\nEvery trail shoe we stock comes with free gait analysis and 60-day returns. Read our\n[independent test results](https://www.example-re..."
                      ]
                     }
                    }
                   },
                   "description": "The parsed page."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ],
              "examples": [
               "rendered"
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               true
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade.",
              "examples": [
               "403 at standard"
              ]
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0011,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0011,
           "result_count": 1,
           "path": [
            "v1",
            "pages",
            "content_parsing",
            "live"
           ],
           "data": {
            "url": "https://summitrunning.example/trail-shoes",
            "markdown_view": true
           },
           "result": [
            {
             "crawl_progress": "finished",
             "crawl_status": {
              "max_crawl_pages": 1,
              "pages_in_queue": 0,
              "pages_crawled": 1
             },
             "items_count": 1,
             "items": [
              {
               "type": "content_parsing_element",
               "fetch_time": "2026-12-03 10:42:18 +00:00",
               "status_code": 200,
               "page_content": {
                "header": {
                 "primary_content": [
                  {
                   "text": "Home Stores",
                   "url": null,
                   "urls": [
                    {
                     "url": "https://summitrunning.example/",
                     "anchor_text": "Home"
                    },
                    {
                     "url": "https://summitrunning.example/stores",
                     "anchor_text": "Stores"
                    }
                   ]
                  }
                 ],
                 "secondary_content": null,
                 "table_content": null
                },
                "footer": {
                 "primary_content": [
                  {
                   "text": "Summit Running Co., 120 Main St, Boulder, CO",
                   "url": null,
                   "urls": null
                  }
                 ],
                 "secondary_content": null,
                 "table_content": null
                },
                "main_topic": [
                 {
                  "h_title": "Trail running shoes",
                  "main_title": "Trail running shoes",
                  "author": "Summit Running Co.",
                  "language": "en",
                  "level": 1,
                  "primary_content": [
                   {
                    "text": "Every trail shoe we stock comes with free gait analysis and 60-day returns. Read our independent test results .",
                    "url": null,
                    "urls": [
                     {
                      "url": "https://www.example-reviews.com/gear/trail-running-shoes",
                      "anchor_text": "independent test results"
                     }
                    ]
                   }
                  ],
                  "secondary_content": null,
                  "table_content": null
                 },
                 {
                  "h_title": "Prices",
                  "main_title": "Trail running shoes",
                  "author": "Summit Running Co.",
                  "language": "en",
                  "level": 2,
                  "primary_content": [
                   {
                    "text": "Ridge Runner 4: 6 mm lugs, rock plate",
                    "url": null,
                    "urls": null
                   },
                   {
                    "text": "Canyon Lite: 4 mm lugs, 240 g",
                    "url": null,
                    "urls": null
                   },
                   {
                    "text": "Questions? Call 303-555-0142 or email us .",
                    "url": null,
                    "urls": [
                     {
                      "url": "tel:+13035550142",
                      "anchor_text": "303-555-0142"
                     },
                     {
                      "url": "mailto:fit@summitrunning.example",
                      "anchor_text": "email us"
                     }
                    ]
                   }
                  ],
                  "secondary_content": null,
                  "table_content": [
                   {
                    "header": [
                     {
                      "row_cells": [
                       {
                        "text": "Model",
                        "urls": null,
                        "is_header": true
                       },
                       {
                        "text": "Price",
                        "urls": null,
                        "is_header": true
                       }
                      ]
                     }
                    ],
                    "body": [
                     {
                      "row_cells": [
                       {
                        "text": "Ridge Runner 4",
                        "urls": null,
                        "is_header": false
                       },
                       {
                        "text": "$139",
                        "urls": null,
                        "is_header": false
                       }
                      ]
                     }
                    ],
                    "footer": null
                   }
                  ]
                 }
                ],
                "secondary_topic": null,
                "ratings": [
                 {
                  "name": "Ridge Runner 4",
                  "rating_value": 4.6,
                  "max_rating_value": 5.0,
                  "rating_count": 128,
                  "relative_rating": 0.92
                 }
                ],
                "offers": [
                 {
                  "name": "Ridge Runner 4",
                  "price": 139.0,
                  "price_currency": "USD",
                  "price_valid_until": null
                 }
                ],
                "comments": null,
                "contacts": {
                 "telephones": [
                  "+13035550142"
                 ],
                 "emails": [
                  "fit@summitrunning.example"
                 ]
                }
               },
               "page_as_markdown": "# Trail running shoes\n\nEvery trail shoe we stock comes with free gait analysis and 60-day returns. Read our\n[independent test results](https://www.example-reviews.com/gear/trail-running-shoes).\n\n## Prices\n\n| Model | Price |\n| --- | --- |\n| Ridge Runner 4 | $139 |\n\n- Ridge Runner 4: 6 mm lugs, rock plate\n- Canyon Lite: 4 mm lugs, 240 g\n\n![Ridge Runner 4](https://summitrunning.example/img/ridge-runner.jpg)\n\nQuestions? Call [303-555-0142](tel:+13035550142) or [email us](mailto:fit@summitrunning.example)."
              }
             ]
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": "rendered",
           "upgraded": true,
           "upgrade_reason": "403 at standard",
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000, 40102, 40501); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/chat_gpt/llm_responses/live": {
   "post": {
    "operationId": "ai-chat-gpt-llm-responses-live",
    "summary": "ChatGPT LLM Responses: Live",
    "description": "One answer from a ChatGPT model for your prompt, with the sources it cited, the searches it ran and the tokens it used.\n\nSend up to 100 tasks, one prompt each. Each task calls the model once and returns its answer in `result[0].items[0].sections[0].text`, with citations in `annotations` when web search is on.\n\nUse `message_chain` to continue a conversation, and `web_search_country_iso_code` or `web_search_city` to localize the search.\n\n**Billing.** Each answer costs our base fee for the mode plus the model's token and search cost at the model's published list price, reported as `money_spent`. A failed, empty or refused answer costs $0. Before the call, the wallet check reserves the base fee plus a conservative token estimate (or your `max_cost`).\n\nToken prices for ChatGPT models:\n\n| Model | Input per 1M tokens | Output per 1M tokens | Web search per 1,000 | Reasoning |\n|---|---|---|---|---|\n| `gpt-5` | $1.25 | $10.0 | $10.0 | yes |\n| `gpt-5-mini` | $0.25 | $2.0 | $10.0 | yes |\n| `gpt-5-nano` | $0.05 | $0.4 | $10.0 | yes |\n| `gpt-4.1` | $2.0 | $8.0 | $25.0 | no |\n| `gpt-4.1-mini` | $0.4 | $1.6 | $25.0 | no |\n| `gpt-4o` | $2.5 | $10.0 | $25.0 | no |\n| `gpt-4o-mini` | $0.15 | $0.6 | $25.0 | no |\n\nAnswers aren't cached: each call is a new sample. Prompts and answers are added to the AI-answer dataset unless your organization has opted out.",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "answer",
     "usd": {
      "live": 0.00054
     },
     "by_level": null,
     "notes": "Base fee per answer. The model's token and search cost is added at its list price (see the table in the description)."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "live",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/chat_gpt/llm_responses/live"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "user_prompt": {
           "type": "string",
           "description": "The prompt, up to 500 characters.",
           "maxLength": 500,
           "examples": [
            "Which running shoe brands are best for wide feet?"
           ]
          },
          "model_name": {
           "type": "string",
           "description": "A model id from `/v1/ai/chat_gpt/llm_responses/models`. Dated ids such as `gpt-4.1-2025-04-14` resolve to their base model. Leave it out to use the default model.",
           "enum": [
            "gpt-5",
            "gpt-5-mini",
            "gpt-5-nano",
            "gpt-4.1",
            "gpt-4.1-mini",
            "gpt-4o",
            "gpt-4o-mini"
           ],
           "default": "gpt-5",
           "examples": [
            "gpt-4o-mini"
           ]
          },
          "system_message": {
           "type": "string",
           "description": "Instructions sent before the prompt, up to 500 characters.",
           "maxLength": 500,
           "examples": [
            "Answer in two sentences."
           ]
          },
          "message_chain": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "role": {
              "type": "string",
              "description": "Who said it.",
              "enum": [
               "user",
               "ai"
              ],
              "examples": [
               "user"
              ]
             },
             "message": {
              "type": "string",
              "description": "What was said.",
              "maxLength": 500,
              "examples": [
               "I run trails twice a week."
              ]
             }
            },
            "required": [
             "role",
             "message"
            ]
           },
           "description": "Earlier turns of the conversation, up to 10. They alternate `user` and `ai`, start with `user` and end with `ai`; each message is up to 500 characters.",
           "maxItems": 10
          },
          "max_output_tokens": {
           "type": "integer",
           "description": "Most tokens the answer may use, up to 4,096. The minimum is 16, or 1,024 for reasoning models.",
           "default": 2048,
           "minimum": 16,
           "maximum": 4096,
           "examples": [
            1024
           ]
          },
          "temperature": {
           "type": "number",
           "description": "Sampling temperature, 0.0 to 2.0. Send this or `top_p`, not both. Ignored by reasoning models.",
           "minimum": 0.0,
           "maximum": 2.0,
           "examples": [
            0.4
           ]
          },
          "top_p": {
           "type": "number",
           "description": "Nucleus sampling, 0 to 1. Send this or `temperature`, not both.",
           "minimum": 0,
           "maximum": 1,
           "examples": [
            0.9
           ]
          },
          "web_search": {
           "type": "boolean",
           "description": "Let the model search the web before answering. Search fees are added to `money_spent`.",
           "default": false,
           "examples": [
            true
           ]
          },
          "force_web_search": {
           "type": "boolean",
           "description": "Require a web search before answering. Needs `web_search: true`.",
           "default": false,
           "examples": [
            false
           ]
          },
          "web_search_country_iso_code": {
           "type": "string",
           "description": "Two-letter country the web search should favor.",
           "minLength": 2,
           "maxLength": 2,
           "examples": [
            "US"
           ]
          },
          "web_search_city": {
           "type": "string",
           "description": "City the web search should favor, up to 100 characters.",
           "maxLength": 100,
           "examples": [
            "Denver"
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may be charged, in USD. The wallet check reserves this amount instead of our token estimate, and the charge is capped at it. Before the model is called, `max_output_tokens` is lowered (and web search turned off, unless forced or always on) so the most the answer can cost fits; when even the prompt can't fit, the task returns 40501 at $0.",
           "minimum": 0,
           "examples": [
            0.01
           ]
          }
         },
         "required": [
          "user_prompt"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "user_prompt": "Which running shoe brands are best for wide feet?",
         "model_name": "gpt-4o-mini",
         "web_search": true,
         "web_search_country_iso_code": "US"
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0259732
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0259732
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "chat_gpt"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "user_prompt": "Which running shoe brands are best for wide feet?",
                "model_name": "gpt-4o-mini",
                "web_search": true,
                "web_search_country_iso_code": "US"
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "model_name": {
                   "type": "string",
                   "description": "The model that answered.",
                   "examples": [
                    "gpt-4o-mini"
                   ]
                  },
                  "input_tokens": {
                   "type": "integer",
                   "description": "Prompt tokens the model read, including search results it was given.",
                   "examples": [
                    1240
                   ]
                  },
                  "output_tokens": {
                   "type": "integer",
                   "description": "Tokens in the answer.",
                   "examples": [
                    412
                   ]
                  },
                  "reasoning_tokens": {
                   "type": "integer",
                   "description": "Reasoning tokens, for reasoning models; 0 otherwise.",
                   "examples": [
                    0
                   ]
                  },
                  "web_search": {
                   "type": "boolean",
                   "description": "Whether the model was allowed to search the web.",
                   "examples": [
                    true
                   ]
                  },
                  "money_spent": {
                   "type": "number",
                   "description": "Token and search cost at the model's list price, in USD. The task's `cost` is this plus our base fee.",
                   "examples": [
                    0.0254332
                   ]
                  },
                  "datetime": {
                   "type": "string",
                   "description": "When the answer was produced, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `message`.",
                      "examples": [
                       "message"
                      ]
                     },
                     "sections": {
                      "type": "array",
                      "items": {
                       "type": "object",
                       "properties": {
                        "type": {
                         "type": "string",
                         "description": "Always `text`.",
                         "examples": [
                          "text"
                         ]
                        },
                        "text": {
                         "type": "string",
                         "description": "The answer text, as the model wrote it (often Markdown).",
                         "examples": [
                          "For wide feet, look at brands that make most models in a wide (2E) fit, such as Summit Trail and Ridgeway. Try shoes on late in the day, when your feet are l..."
                         ]
                        },
                        "annotations": {
                         "anyOf": [
                          {
                           "type": "array",
                           "items": {
                            "type": "object",
                            "properties": {
                             "title": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "Title of the cited page.",
                              "examples": [
                               "Best running shoes for wide feet"
                              ]
                             },
                             "url": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "URL of the cited page.",
                              "examples": [
                               "https://www.example-reviews.com/gear/wide-running-shoes"
                              ]
                             },
                             "start_index": {
                              "type": [
                               "integer",
                               "null"
                              ],
                              "description": "Start of the cited span in `text`, when the model reports it.",
                              "examples": [
                               0
                              ]
                             },
                             "end_index": {
                              "type": [
                               "integer",
                               "null"
                              ],
                              "description": "End of the cited span in `text`.",
                              "examples": [
                               98
                              ]
                             },
                             "text": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "The cited passage, when the model reports it.",
                              "examples": [
                               "brands that make most models in a wide (2E) fit"
                              ]
                             }
                            }
                           }
                          },
                          {
                           "type": "null"
                          }
                         ],
                         "description": "Sources the answer cited. Null when web search was off."
                        }
                       }
                      },
                      "description": "Parts of the message. One `text` section."
                     }
                    }
                   },
                   "description": "The answer. One `message` item."
                  },
                  "fan_out_queries": {
                   "anyOf": [
                    {
                     "type": "array",
                     "items": {
                      "type": "string"
                     }
                    },
                    {
                     "type": "null"
                    }
                   ],
                   "description": "Search queries the model ran. Null when web search was off.",
                   "examples": [
                    [
                     "best running shoes for wide feet"
                    ]
                   ]
                  },
                  "search_results": {
                   "anyOf": [
                    {
                     "type": "array",
                     "items": {
                      "type": "object",
                      "properties": {
                       "title": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Page title.",
                        "examples": [
                         "Best running shoes for wide feet"
                        ]
                       },
                       "url": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Page URL.",
                        "examples": [
                         "https://www.example-reviews.com/gear/wide-running-shoes"
                        ]
                       },
                       "date": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Publication date, when reported.",
                        "examples": [
                         "2026-11-20"
                        ]
                       },
                       "snippet": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Snippet, when reported.",
                        "examples": [
                         "We measured toe-box width on 40 shoes."
                        ]
                       }
                      }
                     }
                    },
                    {
                     "type": "null"
                    }
                   ],
                   "description": "Pages the searches returned, cited or not. Null when web search was off."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One answer."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0259732,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0259732,
           "result_count": 1,
           "path": [
            "v1",
            "ai",
            "chat_gpt",
            "llm_responses",
            "live"
           ],
           "data": {
            "user_prompt": "Which running shoe brands are best for wide feet?",
            "model_name": "gpt-4o-mini",
            "web_search": true,
            "web_search_country_iso_code": "US"
           },
           "result": [
            {
             "model_name": "gpt-4o-mini",
             "input_tokens": 1240,
             "output_tokens": 412,
             "reasoning_tokens": 0,
             "web_search": true,
             "money_spent": 0.0254332,
             "datetime": "2026-12-03 10:42:18 +00:00",
             "items": [
              {
               "type": "message",
               "sections": [
                {
                 "type": "text",
                 "text": "For wide feet, look at brands that make most models in a wide (2E) fit, such as Summit Trail and Ridgeway. Try shoes on late in the day, when your feet are largest.",
                 "annotations": [
                  {
                   "title": "Best running shoes for wide feet",
                   "url": "https://www.example-reviews.com/gear/wide-running-shoes",
                   "start_index": 0,
                   "end_index": 98,
                   "text": "brands that make most models in a wide (2E) fit"
                  }
                 ]
                }
               ]
              }
             ],
             "fan_out_queries": [
              "best running shoes for wide feet"
             ],
             "search_results": [
              {
               "title": "Best running shoes for wide feet",
               "url": "https://www.example-reviews.com/gear/wide-running-shoes",
               "date": "2026-11-20",
               "snippet": "We measured toe-box width on 40 shoes."
              }
             ]
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000, 40501, 50000); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/chat_gpt/llm_responses/task_post": {
   "post": {
    "operationId": "ai-chat-gpt-llm-responses-task-post",
    "summary": "ChatGPT LLM Responses: Task Post",
    "description": "Queue prompts for a ChatGPT model at the lower queued base fee, then collect the answers.\n\nPost up to 100 tasks; each comes back with 20100 and a task id. Answers appear in tasks_ready when done. `priority: 2` uses the priority queue at the priority base fee.\n\n**Billing.** Each answer costs our base fee for the mode plus the model's token and search cost at the model's published list price, reported as `money_spent`. A failed, empty or refused answer costs $0. Before the call, the wallet check reserves the base fee plus a conservative token estimate (or your `max_cost`).\n\nToken prices for ChatGPT models:\n\n| Model | Input per 1M tokens | Output per 1M tokens | Web search per 1,000 | Reasoning |\n|---|---|---|---|---|\n| `gpt-5` | $1.25 | $10.0 | $10.0 | yes |\n| `gpt-5-mini` | $0.25 | $2.0 | $10.0 | yes |\n| `gpt-5-nano` | $0.05 | $0.4 | $10.0 | yes |\n| `gpt-4.1` | $2.0 | $8.0 | $25.0 | no |\n| `gpt-4.1-mini` | $0.4 | $1.6 | $25.0 | no |\n| `gpt-4o` | $2.5 | $10.0 | $25.0 | no |\n| `gpt-4o-mini` | $0.15 | $0.6 | $25.0 | no |\n\nAnswers aren't cached: each call is a new sample. Prompts and answers are added to the AI-answer dataset unless your organization has opted out.\n\n**Beta.** Queued tasks go through the model vendor's batch interface, which we wrote from its documentation and haven't checked against live batch responses yet. When a batch can't be submitted, the task runs on the standard interface instead; the result shape is the same either way.",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "answer",
     "usd": {
      "standard": 0.00018,
      "priority": 0.00054
     },
     "by_level": null,
     "notes": "Base fee per answer by queue, plus the model's token and search cost at list price."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_post",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/chat_gpt/llm_responses/task_post"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "user_prompt": {
           "type": "string",
           "description": "The prompt, up to 500 characters.",
           "maxLength": 500,
           "examples": [
            "Which running shoe brands are best for wide feet?"
           ]
          },
          "model_name": {
           "type": "string",
           "description": "A model id from `/v1/ai/chat_gpt/llm_responses/models`. Dated ids such as `gpt-4.1-2025-04-14` resolve to their base model. Leave it out to use the default model.",
           "enum": [
            "gpt-5",
            "gpt-5-mini",
            "gpt-5-nano",
            "gpt-4.1",
            "gpt-4.1-mini",
            "gpt-4o",
            "gpt-4o-mini"
           ],
           "default": "gpt-5",
           "examples": [
            "gpt-4o-mini"
           ]
          },
          "system_message": {
           "type": "string",
           "description": "Instructions sent before the prompt, up to 500 characters.",
           "maxLength": 500,
           "examples": [
            "Answer in two sentences."
           ]
          },
          "message_chain": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "role": {
              "type": "string",
              "description": "Who said it.",
              "enum": [
               "user",
               "ai"
              ],
              "examples": [
               "user"
              ]
             },
             "message": {
              "type": "string",
              "description": "What was said.",
              "maxLength": 500,
              "examples": [
               "I run trails twice a week."
              ]
             }
            },
            "required": [
             "role",
             "message"
            ]
           },
           "description": "Earlier turns of the conversation, up to 10. They alternate `user` and `ai`, start with `user` and end with `ai`; each message is up to 500 characters.",
           "maxItems": 10
          },
          "max_output_tokens": {
           "type": "integer",
           "description": "Most tokens the answer may use, up to 4,096. The minimum is 16, or 1,024 for reasoning models.",
           "default": 2048,
           "minimum": 16,
           "maximum": 4096,
           "examples": [
            1024
           ]
          },
          "temperature": {
           "type": "number",
           "description": "Sampling temperature, 0.0 to 2.0. Send this or `top_p`, not both. Ignored by reasoning models.",
           "minimum": 0.0,
           "maximum": 2.0,
           "examples": [
            0.4
           ]
          },
          "top_p": {
           "type": "number",
           "description": "Nucleus sampling, 0 to 1. Send this or `temperature`, not both.",
           "minimum": 0,
           "maximum": 1,
           "examples": [
            0.9
           ]
          },
          "web_search": {
           "type": "boolean",
           "description": "Let the model search the web before answering. Search fees are added to `money_spent`.",
           "default": false,
           "examples": [
            true
           ]
          },
          "force_web_search": {
           "type": "boolean",
           "description": "Require a web search before answering. Needs `web_search: true`.",
           "default": false,
           "examples": [
            false
           ]
          },
          "web_search_country_iso_code": {
           "type": "string",
           "description": "Two-letter country the web search should favor.",
           "minLength": 2,
           "maxLength": 2,
           "examples": [
            "US"
           ]
          },
          "web_search_city": {
           "type": "string",
           "description": "City the web search should favor, up to 100 characters.",
           "maxLength": 100,
           "examples": [
            "Denver"
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may be charged, in USD. The wallet check reserves this amount instead of our token estimate, and the charge is capped at it. Before the model is called, `max_output_tokens` is lowered (and web search turned off, unless forced or always on) so the most the answer can cost fits; when even the prompt can't fit, the task returns 40501 at $0.",
           "minimum": 0,
           "examples": [
            0.01
           ]
          },
          "priority": {
           "type": "integer",
           "description": "Queue for this task: `1` is the standard queue, `2` the priority queue (faster, priced higher).",
           "enum": [
            1,
            2
           ],
           "default": 1,
           "examples": [
            1
           ]
          },
          "tag": {
           "type": "string",
           "description": "Your own label for the task, up to 255 characters. Returned by tasks_ready.",
           "maxLength": 255,
           "examples": [
            "weekly-rank-check"
           ]
          },
          "pingback_url": {
           "type": "string",
           "description": "We send a GET to this http(s) URL when the task finishes. `$id` and `$tag` in the URL are replaced with the task id and tag. Only public hosts are called and redirects aren't followed.",
           "maxLength": 2000,
           "examples": [
            "https://hooks.example.com/done?id=$id&tag=$tag"
           ]
          },
          "postback_url": {
           "type": "string",
           "description": "We POST the finished task, in the task_get envelope, to this http(s) URL. Only public hosts are called and redirects aren't followed.",
           "maxLength": 2000,
           "examples": [
            "https://hooks.example.com/results"
           ]
          },
          "postback_data": {
           "type": "string",
           "description": "Result format sent to `postback_url`. Defaults to `advanced` when `postback_url` is set.",
           "enum": [
            "regular",
            "advanced",
            "html"
           ],
           "examples": [
            "advanced"
           ]
          }
         },
         "required": [
          "user_prompt"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "user_prompt": "Which running shoe brands are best for wide feet?",
         "model_name": "gpt-4o-mini",
         "web_search": true,
         "web_search_country_iso_code": "US",
         "tag": "wide-feet-weekly"
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20100
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Task Created."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               0
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "chat_gpt"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "user_prompt": "Which running shoe brands are best for wide feet?",
                "model_name": "gpt-4o-mini",
                "web_search": true,
                "web_search_country_iso_code": "US",
                "tag": "wide-feet-weekly"
               }
              ]
             },
             "result": {
              "type": "null",
              "description": "Always null for task_post."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20100,
           "status_message": "Task Created.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 0,
           "path": [
            "v1",
            "ai",
            "chat_gpt",
            "llm_responses",
            "task_post"
           ],
           "data": {
            "user_prompt": "Which running shoe brands are best for wide feet?",
            "model_name": "gpt-4o-mini",
            "web_search": true,
            "web_search_country_iso_code": "US",
            "tag": "wide-feet-weekly"
           },
           "result": null,
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/chat_gpt/llm_responses/tasks_ready": {
   "get": {
    "operationId": "ai-chat-gpt-llm-responses-tasks-ready",
    "summary": "ChatGPT LLM Responses: Tasks Ready",
    "description": "List finished answers you haven't collected yet.\n\nUp to 1,000 completed tasks from this engine's task_post that task_get hasn't returned yet, oldest first. `se` is the engine and `se_type` is `llm_responses`; use the `endpoint_regular` path to read each one. Free.",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "tasks_ready",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/chat_gpt/llm_responses/tasks_ready"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "chat_gpt"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "id": {
                   "type": "string",
                   "description": "Task id. Pass it to task_get.",
                   "examples": [
                    "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "se": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Engine segment of the task's path, for example `google`.",
                   "examples": [
                    "chat_gpt"
                   ]
                  },
                  "se_type": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Type segment of the task's path, for example `organic`.",
                   "examples": [
                    "llm_responses"
                   ]
                  },
                  "date_posted": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the task was posted, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "tag": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "The `tag` you sent with the task.",
                   "examples": [
                    "weekly-rank-check"
                   ]
                  },
                  "endpoint_regular": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the regular format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/ai/chat_gpt/llm_responses/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_advanced": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the advanced format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/ai/chat_gpt/llm_responses/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_html": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for raw HTML. Null while HTML output isn't served."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per answer ready to collect."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "ai",
            "chat_gpt",
            "llm_responses",
            "tasks_ready"
           ],
           "data": {},
           "result": [
            {
             "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "se": "chat_gpt",
             "se_type": "llm_responses",
             "date_posted": "2026-12-03 10:42:18 +00:00",
             "tag": "weekly-rank-check",
             "endpoint_regular": "/v1/ai/chat_gpt/llm_responses/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_advanced": "/v1/ai/chat_gpt/llm_responses/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_html": null
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/chat_gpt/llm_responses/tasks_fixed": {
   "get": {
    "operationId": "ai-chat-gpt-llm-responses-tasks-fixed",
    "summary": "ChatGPT LLM Responses: Tasks Fixed",
    "description": "Same list as tasks_ready, kept for clients that call tasks_fixed.\n\nUp to 1,000 completed tasks from this engine's task_post that task_get hasn't returned yet, oldest first. `se` is the engine and `se_type` is `llm_responses`; use the `endpoint_regular` path to read each one. Free.",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "tasks_ready",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/chat_gpt/llm_responses/tasks_fixed"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "chat_gpt"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "id": {
                   "type": "string",
                   "description": "Task id. Pass it to task_get.",
                   "examples": [
                    "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "se": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Engine segment of the task's path, for example `google`.",
                   "examples": [
                    "chat_gpt"
                   ]
                  },
                  "se_type": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Type segment of the task's path, for example `organic`.",
                   "examples": [
                    "llm_responses"
                   ]
                  },
                  "date_posted": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the task was posted, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "tag": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "The `tag` you sent with the task.",
                   "examples": [
                    "weekly-rank-check"
                   ]
                  },
                  "endpoint_regular": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the regular format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/ai/chat_gpt/llm_responses/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_advanced": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the advanced format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/ai/chat_gpt/llm_responses/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_html": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for raw HTML. Null while HTML output isn't served."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per answer ready to collect."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "ai",
            "chat_gpt",
            "llm_responses",
            "tasks_fixed"
           ],
           "data": {},
           "result": [
            {
             "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "se": "chat_gpt",
             "se_type": "llm_responses",
             "date_posted": "2026-12-03 10:42:18 +00:00",
             "tag": "weekly-rank-check",
             "endpoint_regular": "/v1/ai/chat_gpt/llm_responses/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_advanced": "/v1/ai/chat_gpt/llm_responses/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_html": null
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/chat_gpt/llm_responses/task_get/{id}": {
   "get": {
    "operationId": "ai-chat-gpt-llm-responses-task-get",
    "summary": "ChatGPT LLM Responses: Task Get",
    "description": "Read one queued answer.\n\nPass the task id from task_post or tasks_ready. Returns 40602 while the task is queued (including while its batch is processing) and 40601 while it runs. A format segment is accepted and ignored: `task_get/regular/{id}` and `task_get/advanced/{id}` return the same result. Free: the task was billed when it returned an answer.",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_get",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/chat_gpt/llm_responses/task_get"
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "The task id returned by task_post.",
      "schema": {
       "type": "string",
       "examples": [
        "7f8d2c1e-4b5a-4c3d-9e8f-0a1b2c3d4e5f"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0256132
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0256132
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "chat_gpt"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "user_prompt": "Which running shoe brands are best for wide feet?",
                "model_name": "gpt-4o-mini",
                "web_search": true,
                "web_search_country_iso_code": "US"
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "model_name": {
                   "type": "string",
                   "description": "The model that answered.",
                   "examples": [
                    "gpt-4o-mini"
                   ]
                  },
                  "input_tokens": {
                   "type": "integer",
                   "description": "Prompt tokens the model read, including search results it was given.",
                   "examples": [
                    1240
                   ]
                  },
                  "output_tokens": {
                   "type": "integer",
                   "description": "Tokens in the answer.",
                   "examples": [
                    412
                   ]
                  },
                  "reasoning_tokens": {
                   "type": "integer",
                   "description": "Reasoning tokens, for reasoning models; 0 otherwise.",
                   "examples": [
                    0
                   ]
                  },
                  "web_search": {
                   "type": "boolean",
                   "description": "Whether the model was allowed to search the web.",
                   "examples": [
                    true
                   ]
                  },
                  "money_spent": {
                   "type": "number",
                   "description": "Token and search cost at the model's list price, in USD. The task's `cost` is this plus our base fee.",
                   "examples": [
                    0.0254332
                   ]
                  },
                  "datetime": {
                   "type": "string",
                   "description": "When the answer was produced, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `message`.",
                      "examples": [
                       "message"
                      ]
                     },
                     "sections": {
                      "type": "array",
                      "items": {
                       "type": "object",
                       "properties": {
                        "type": {
                         "type": "string",
                         "description": "Always `text`.",
                         "examples": [
                          "text"
                         ]
                        },
                        "text": {
                         "type": "string",
                         "description": "The answer text, as the model wrote it (often Markdown).",
                         "examples": [
                          "For wide feet, look at brands that make most models in a wide (2E) fit, such as Summit Trail and Ridgeway. Try shoes on late in the day, when your feet are l..."
                         ]
                        },
                        "annotations": {
                         "anyOf": [
                          {
                           "type": "array",
                           "items": {
                            "type": "object",
                            "properties": {
                             "title": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "Title of the cited page.",
                              "examples": [
                               "Best running shoes for wide feet"
                              ]
                             },
                             "url": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "URL of the cited page.",
                              "examples": [
                               "https://www.example-reviews.com/gear/wide-running-shoes"
                              ]
                             },
                             "start_index": {
                              "type": [
                               "integer",
                               "null"
                              ],
                              "description": "Start of the cited span in `text`, when the model reports it.",
                              "examples": [
                               0
                              ]
                             },
                             "end_index": {
                              "type": [
                               "integer",
                               "null"
                              ],
                              "description": "End of the cited span in `text`.",
                              "examples": [
                               98
                              ]
                             },
                             "text": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "The cited passage, when the model reports it.",
                              "examples": [
                               "brands that make most models in a wide (2E) fit"
                              ]
                             }
                            }
                           }
                          },
                          {
                           "type": "null"
                          }
                         ],
                         "description": "Sources the answer cited. Null when web search was off."
                        }
                       }
                      },
                      "description": "Parts of the message. One `text` section."
                     }
                    }
                   },
                   "description": "The answer. One `message` item."
                  },
                  "fan_out_queries": {
                   "anyOf": [
                    {
                     "type": "array",
                     "items": {
                      "type": "string"
                     }
                    },
                    {
                     "type": "null"
                    }
                   ],
                   "description": "Search queries the model ran. Null when web search was off.",
                   "examples": [
                    [
                     "best running shoes for wide feet"
                    ]
                   ]
                  },
                  "search_results": {
                   "anyOf": [
                    {
                     "type": "array",
                     "items": {
                      "type": "object",
                      "properties": {
                       "title": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Page title.",
                        "examples": [
                         "Best running shoes for wide feet"
                        ]
                       },
                       "url": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Page URL.",
                        "examples": [
                         "https://www.example-reviews.com/gear/wide-running-shoes"
                        ]
                       },
                       "date": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Publication date, when reported.",
                        "examples": [
                         "2026-11-20"
                        ]
                       },
                       "snippet": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Snippet, when reported.",
                        "examples": [
                         "We measured toe-box width on 40 shoes."
                        ]
                       }
                      }
                     }
                    },
                    {
                     "type": "null"
                    }
                   ],
                   "description": "Pages the searches returned, cited or not. Null when web search was off."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One answer."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0256132,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0256132,
           "result_count": 1,
           "path": [
            "v1",
            "ai",
            "chat_gpt",
            "llm_responses",
            "task_get"
           ],
           "data": {
            "user_prompt": "Which running shoe brands are best for wide feet?",
            "model_name": "gpt-4o-mini",
            "web_search": true,
            "web_search_country_iso_code": "US"
           },
           "result": [
            {
             "model_name": "gpt-4o-mini",
             "input_tokens": 1240,
             "output_tokens": 412,
             "reasoning_tokens": 0,
             "web_search": true,
             "money_spent": 0.0254332,
             "datetime": "2026-12-03 10:42:18 +00:00",
             "items": [
              {
               "type": "message",
               "sections": [
                {
                 "type": "text",
                 "text": "For wide feet, look at brands that make most models in a wide (2E) fit, such as Summit Trail and Ridgeway. Try shoes on late in the day, when your feet are largest.",
                 "annotations": [
                  {
                   "title": "Best running shoes for wide feet",
                   "url": "https://www.example-reviews.com/gear/wide-running-shoes",
                   "start_index": 0,
                   "end_index": 98,
                   "text": "brands that make most models in a wide (2E) fit"
                  }
                 ]
                }
               ]
              }
             ],
             "fan_out_queries": [
              "best running shoes for wide feet"
             ],
             "search_results": [
              {
               "title": "Best running shoes for wide feet",
               "url": "https://www.example-reviews.com/gear/wide-running-shoes",
               "date": "2026-11-20",
               "snippet": "We measured toe-box width on 40 shoes."
              }
             ]
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40401, 40602, 40601); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/chat_gpt/llm_responses/models": {
   "get": {
    "operationId": "ai-chat-gpt-llm-responses-models",
    "summary": "ChatGPT LLM Responses: Models",
    "description": "The ChatGPT model ids you can send as `model_name`.\n\nLists every ChatGPT model we serve, whether it's a reasoning model, and whether it can be queued with task_post. Free.\n\n| Model | Input per 1M tokens | Output per 1M tokens | Web search per 1,000 | Reasoning |\n|---|---|---|---|---|\n| `gpt-5` | $1.25 | $10.0 | $10.0 | yes |\n| `gpt-5-mini` | $0.25 | $2.0 | $10.0 | yes |\n| `gpt-5-nano` | $0.05 | $0.4 | $10.0 | yes |\n| `gpt-4.1` | $2.0 | $8.0 | $25.0 | no |\n| `gpt-4.1-mini` | $0.4 | $1.6 | $25.0 | no |\n| `gpt-4o` | $2.5 | $10.0 | $25.0 | no |\n| `gpt-4o-mini` | $0.15 | $0.6 | $25.0 | no |",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. This route never charges your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/chat_gpt/llm_responses/models"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               7
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "chat_gpt"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "model_name": {
                   "type": "string",
                   "description": "Send this as `model_name`.",
                   "examples": [
                    "gpt-5"
                   ]
                  },
                  "reasoning": {
                   "type": "boolean",
                   "description": "True for reasoning models. They ignore `temperature` and `top_p`.",
                   "examples": [
                    true
                   ]
                  },
                  "web_search_supported": {
                   "type": "boolean",
                   "description": "Whether the model can search the web. True for every model we serve.",
                   "examples": [
                    true
                   ]
                  },
                  "task_post_supported": {
                   "type": "boolean",
                   "description": "Whether the model can be queued with task_post.",
                   "examples": [
                    true
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per model."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 7,
           "path": [
            "v1",
            "ai",
            "chat_gpt",
            "llm_responses",
            "models"
           ],
           "data": {},
           "result": [
            {
             "model_name": "gpt-5",
             "reasoning": true,
             "web_search_supported": true,
             "task_post_supported": true
            },
            {
             "model_name": "gpt-5-mini",
             "reasoning": true,
             "web_search_supported": true,
             "task_post_supported": true
            },
            {
             "model_name": "gpt-5-nano",
             "reasoning": true,
             "web_search_supported": true,
             "task_post_supported": true
            },
            {
             "model_name": "gpt-4.1",
             "reasoning": false,
             "web_search_supported": true,
             "task_post_supported": true
            },
            {
             "model_name": "gpt-4.1-mini",
             "reasoning": false,
             "web_search_supported": true,
             "task_post_supported": true
            },
            {
             "model_name": "gpt-4o",
             "reasoning": false,
             "web_search_supported": true,
             "task_post_supported": true
            },
            {
             "model_name": "gpt-4o-mini",
             "reasoning": false,
             "web_search_supported": true,
             "task_post_supported": true
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/claude/llm_responses/live": {
   "post": {
    "operationId": "ai-claude-llm-responses-live",
    "summary": "Claude LLM Responses: Live",
    "description": "One answer from a Claude model for your prompt, with the sources it cited, the searches it ran and the tokens it used.\n\nSend up to 100 tasks, one prompt each. Each task calls the model once and returns its answer in `result[0].items[0].sections[0].text`, with citations in `annotations` when web search is on.\n\nUse `message_chain` to continue a conversation, and `web_search_country_iso_code` or `web_search_city` to localize the search.\n\n**Billing.** Each answer costs our base fee for the mode plus the model's token and search cost at the model's published list price, reported as `money_spent`. A failed, empty or refused answer costs $0. Before the call, the wallet check reserves the base fee plus a conservative token estimate (or your `max_cost`).\n\nToken prices for Claude models:\n\n| Model | Input per 1M tokens | Output per 1M tokens | Web search per 1,000 | Reasoning |\n|---|---|---|---|---|\n| `claude-opus-5-5` | $4.0 | $20.0 | $10.0 | yes |\n| `claude-sonnet-5-5` | $2.0 | $10.0 | $10.0 | yes |\n| `claude-haiku-5-5` | $0.1 | $0.5 | $10.0 | yes |\n| `claude-opus-5` | $5.0 | $25.0 | $10.0 | yes |\n| `claude-sonnet-5` | $2.0 | $10.0 | $10.0 | yes |\n| `claude-opus-4-8` | $5.0 | $25.0 | $10.0 | no |\n| `claude-sonnet-4-6` | $3.0 | $15.0 | $10.0 | no |\n| `claude-haiku-4-5` | $1.0 | $5.0 | $10.0 | no |\n\nAnswers aren't cached: each call is a new sample. Prompts and answers are added to the AI-answer dataset unless your organization has opted out.",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "answer",
     "usd": {
      "live": 0.00054
     },
     "by_level": null,
     "notes": "Base fee per answer. The model's token and search cost is added at its list price (see the table in the description)."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "live",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/claude/llm_responses/live"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "user_prompt": {
           "type": "string",
           "description": "The prompt, up to 500 characters.",
           "maxLength": 500,
           "examples": [
            "Which running shoe brands are best for wide feet?"
           ]
          },
          "model_name": {
           "type": "string",
           "description": "A model id from `/v1/ai/claude/llm_responses/models`. Dated ids such as `gpt-4.1-2025-04-14` resolve to their base model. Leave it out to use the default model.",
           "enum": [
            "claude-opus-5-5",
            "claude-sonnet-5-5",
            "claude-haiku-5-5",
            "claude-opus-5",
            "claude-sonnet-5",
            "claude-opus-4-8",
            "claude-sonnet-4-6",
            "claude-haiku-4-5"
           ],
           "default": "claude-sonnet-5-5",
           "examples": [
            "claude-sonnet-4-6"
           ]
          },
          "system_message": {
           "type": "string",
           "description": "Instructions sent before the prompt, up to 500 characters.",
           "maxLength": 500,
           "examples": [
            "Answer in two sentences."
           ]
          },
          "message_chain": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "role": {
              "type": "string",
              "description": "Who said it.",
              "enum": [
               "user",
               "ai"
              ],
              "examples": [
               "user"
              ]
             },
             "message": {
              "type": "string",
              "description": "What was said.",
              "maxLength": 500,
              "examples": [
               "I run trails twice a week."
              ]
             }
            },
            "required": [
             "role",
             "message"
            ]
           },
           "description": "Earlier turns of the conversation, up to 10. They alternate `user` and `ai`, start with `user` and end with `ai`; each message is up to 500 characters.",
           "maxItems": 10
          },
          "max_output_tokens": {
           "type": "integer",
           "description": "Most tokens the answer may use, up to 4,096.",
           "default": 2048,
           "minimum": 1,
           "maximum": 4096,
           "examples": [
            1024
           ]
          },
          "temperature": {
           "type": "number",
           "description": "Sampling temperature, 0.0 to 1.0. Send this or `top_p`, not both. Ignored by reasoning models.",
           "minimum": 0.0,
           "maximum": 1.0,
           "examples": [
            0.4
           ]
          },
          "top_p": {
           "type": "number",
           "description": "Nucleus sampling, 0 to 1. Send this or `temperature`, not both.",
           "minimum": 0,
           "maximum": 1,
           "examples": [
            0.9
           ]
          },
          "web_search": {
           "type": "boolean",
           "description": "Let the model search the web before answering. Search fees are added to `money_spent`.",
           "default": false,
           "examples": [
            true
           ]
          },
          "force_web_search": {
           "type": "boolean",
           "description": "Require a web search before answering. Needs `web_search: true`.",
           "default": false,
           "examples": [
            false
           ]
          },
          "web_search_country_iso_code": {
           "type": "string",
           "description": "Two-letter country the web search should favor.",
           "minLength": 2,
           "maxLength": 2,
           "examples": [
            "US"
           ]
          },
          "web_search_city": {
           "type": "string",
           "description": "City the web search should favor, up to 100 characters.",
           "maxLength": 100,
           "examples": [
            "Denver"
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may be charged, in USD. The wallet check reserves this amount instead of our token estimate, and the charge is capped at it. Before the model is called, `max_output_tokens` is lowered (and web search turned off, unless forced or always on) so the most the answer can cost fits; when even the prompt can't fit, the task returns 40501 at $0.",
           "minimum": 0,
           "examples": [
            0.01
           ]
          }
         },
         "required": [
          "user_prompt"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "user_prompt": "Which running shoe brands are best for wide feet?",
         "model_name": "claude-sonnet-4-6",
         "web_search": true,
         "web_search_country_iso_code": "US"
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.02044
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.02044
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "claude"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "user_prompt": "Which running shoe brands are best for wide feet?",
                "model_name": "claude-sonnet-4-6",
                "web_search": true,
                "web_search_country_iso_code": "US"
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "model_name": {
                   "type": "string",
                   "description": "The model that answered.",
                   "examples": [
                    "claude-sonnet-4-6"
                   ]
                  },
                  "input_tokens": {
                   "type": "integer",
                   "description": "Prompt tokens the model read, including search results it was given.",
                   "examples": [
                    1240
                   ]
                  },
                  "output_tokens": {
                   "type": "integer",
                   "description": "Tokens in the answer.",
                   "examples": [
                    412
                   ]
                  },
                  "reasoning_tokens": {
                   "type": "integer",
                   "description": "Reasoning tokens, for reasoning models; 0 otherwise.",
                   "examples": [
                    0
                   ]
                  },
                  "web_search": {
                   "type": "boolean",
                   "description": "Whether the model was allowed to search the web.",
                   "examples": [
                    true
                   ]
                  },
                  "money_spent": {
                   "type": "number",
                   "description": "Token and search cost at the model's list price, in USD. The task's `cost` is this plus our base fee.",
                   "examples": [
                    0.0199
                   ]
                  },
                  "datetime": {
                   "type": "string",
                   "description": "When the answer was produced, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `message`.",
                      "examples": [
                       "message"
                      ]
                     },
                     "sections": {
                      "type": "array",
                      "items": {
                       "type": "object",
                       "properties": {
                        "type": {
                         "type": "string",
                         "description": "Always `text`.",
                         "examples": [
                          "text"
                         ]
                        },
                        "text": {
                         "type": "string",
                         "description": "The answer text, as the model wrote it (often Markdown).",
                         "examples": [
                          "For wide feet, look at brands that make most models in a wide (2E) fit, such as Summit Trail and Ridgeway. Try shoes on late in the day, when your feet are l..."
                         ]
                        },
                        "annotations": {
                         "anyOf": [
                          {
                           "type": "array",
                           "items": {
                            "type": "object",
                            "properties": {
                             "title": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "Title of the cited page.",
                              "examples": [
                               "Best running shoes for wide feet"
                              ]
                             },
                             "url": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "URL of the cited page.",
                              "examples": [
                               "https://www.example-reviews.com/gear/wide-running-shoes"
                              ]
                             },
                             "start_index": {
                              "type": [
                               "integer",
                               "null"
                              ],
                              "description": "Start of the cited span in `text`, when the model reports it.",
                              "examples": [
                               0
                              ]
                             },
                             "end_index": {
                              "type": [
                               "integer",
                               "null"
                              ],
                              "description": "End of the cited span in `text`.",
                              "examples": [
                               98
                              ]
                             },
                             "text": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "The cited passage, when the model reports it.",
                              "examples": [
                               "brands that make most models in a wide (2E) fit"
                              ]
                             }
                            }
                           }
                          },
                          {
                           "type": "null"
                          }
                         ],
                         "description": "Sources the answer cited. Null when web search was off."
                        }
                       }
                      },
                      "description": "Parts of the message. One `text` section."
                     }
                    }
                   },
                   "description": "The answer. One `message` item."
                  },
                  "fan_out_queries": {
                   "anyOf": [
                    {
                     "type": "array",
                     "items": {
                      "type": "string"
                     }
                    },
                    {
                     "type": "null"
                    }
                   ],
                   "description": "Search queries the model ran. Null when web search was off.",
                   "examples": [
                    [
                     "best running shoes for wide feet"
                    ]
                   ]
                  },
                  "search_results": {
                   "anyOf": [
                    {
                     "type": "array",
                     "items": {
                      "type": "object",
                      "properties": {
                       "title": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Page title.",
                        "examples": [
                         "Best running shoes for wide feet"
                        ]
                       },
                       "url": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Page URL.",
                        "examples": [
                         "https://www.example-reviews.com/gear/wide-running-shoes"
                        ]
                       },
                       "date": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Publication date, when reported.",
                        "examples": [
                         "2026-11-20"
                        ]
                       },
                       "snippet": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Snippet, when reported.",
                        "examples": [
                         "We measured toe-box width on 40 shoes."
                        ]
                       }
                      }
                     }
                    },
                    {
                     "type": "null"
                    }
                   ],
                   "description": "Pages the searches returned, cited or not. Null when web search was off."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One answer."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.02044,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.02044,
           "result_count": 1,
           "path": [
            "v1",
            "ai",
            "claude",
            "llm_responses",
            "live"
           ],
           "data": {
            "user_prompt": "Which running shoe brands are best for wide feet?",
            "model_name": "claude-sonnet-4-6",
            "web_search": true,
            "web_search_country_iso_code": "US"
           },
           "result": [
            {
             "model_name": "claude-sonnet-4-6",
             "input_tokens": 1240,
             "output_tokens": 412,
             "reasoning_tokens": 0,
             "web_search": true,
             "money_spent": 0.0199,
             "datetime": "2026-12-03 10:42:18 +00:00",
             "items": [
              {
               "type": "message",
               "sections": [
                {
                 "type": "text",
                 "text": "For wide feet, look at brands that make most models in a wide (2E) fit, such as Summit Trail and Ridgeway. Try shoes on late in the day, when your feet are largest.",
                 "annotations": [
                  {
                   "title": "Best running shoes for wide feet",
                   "url": "https://www.example-reviews.com/gear/wide-running-shoes",
                   "start_index": 0,
                   "end_index": 98,
                   "text": "brands that make most models in a wide (2E) fit"
                  }
                 ]
                }
               ]
              }
             ],
             "fan_out_queries": [
              "best running shoes for wide feet"
             ],
             "search_results": [
              {
               "title": "Best running shoes for wide feet",
               "url": "https://www.example-reviews.com/gear/wide-running-shoes",
               "date": "2026-11-20",
               "snippet": "We measured toe-box width on 40 shoes."
              }
             ]
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000, 40501, 50000); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/claude/llm_responses/task_post": {
   "post": {
    "operationId": "ai-claude-llm-responses-task-post",
    "summary": "Claude LLM Responses: Task Post",
    "description": "Queue prompts for a Claude model at the lower queued base fee, then collect the answers.\n\nPost up to 100 tasks; each comes back with 20100 and a task id. Answers appear in tasks_ready when done. `priority: 2` uses the priority queue at the priority base fee.\n\n**Billing.** Each answer costs our base fee for the mode plus the model's token and search cost at the model's published list price, reported as `money_spent`. A failed, empty or refused answer costs $0. Before the call, the wallet check reserves the base fee plus a conservative token estimate (or your `max_cost`).\n\nToken prices for Claude models:\n\n| Model | Input per 1M tokens | Output per 1M tokens | Web search per 1,000 | Reasoning |\n|---|---|---|---|---|\n| `claude-opus-5-5` | $4.0 | $20.0 | $10.0 | yes |\n| `claude-sonnet-5-5` | $2.0 | $10.0 | $10.0 | yes |\n| `claude-haiku-5-5` | $0.1 | $0.5 | $10.0 | yes |\n| `claude-opus-5` | $5.0 | $25.0 | $10.0 | yes |\n| `claude-sonnet-5` | $2.0 | $10.0 | $10.0 | yes |\n| `claude-opus-4-8` | $5.0 | $25.0 | $10.0 | no |\n| `claude-sonnet-4-6` | $3.0 | $15.0 | $10.0 | no |\n| `claude-haiku-4-5` | $1.0 | $5.0 | $10.0 | no |\n\nAnswers aren't cached: each call is a new sample. Prompts and answers are added to the AI-answer dataset unless your organization has opted out.\n\n**Beta.** Queued tasks go through the model vendor's batch interface, which we wrote from its documentation and haven't checked against live batch responses yet. When a batch can't be submitted, the task runs on the standard interface instead; the result shape is the same either way.",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "answer",
     "usd": {
      "standard": 0.00018,
      "priority": 0.00054
     },
     "by_level": null,
     "notes": "Base fee per answer by queue, plus the model's token and search cost at list price."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_post",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/claude/llm_responses/task_post"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "user_prompt": {
           "type": "string",
           "description": "The prompt, up to 500 characters.",
           "maxLength": 500,
           "examples": [
            "Which running shoe brands are best for wide feet?"
           ]
          },
          "model_name": {
           "type": "string",
           "description": "A model id from `/v1/ai/claude/llm_responses/models`. Dated ids such as `gpt-4.1-2025-04-14` resolve to their base model. Leave it out to use the default model.",
           "enum": [
            "claude-opus-5-5",
            "claude-sonnet-5-5",
            "claude-haiku-5-5",
            "claude-opus-5",
            "claude-sonnet-5",
            "claude-opus-4-8",
            "claude-sonnet-4-6",
            "claude-haiku-4-5"
           ],
           "default": "claude-sonnet-5-5",
           "examples": [
            "claude-sonnet-4-6"
           ]
          },
          "system_message": {
           "type": "string",
           "description": "Instructions sent before the prompt, up to 500 characters.",
           "maxLength": 500,
           "examples": [
            "Answer in two sentences."
           ]
          },
          "message_chain": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "role": {
              "type": "string",
              "description": "Who said it.",
              "enum": [
               "user",
               "ai"
              ],
              "examples": [
               "user"
              ]
             },
             "message": {
              "type": "string",
              "description": "What was said.",
              "maxLength": 500,
              "examples": [
               "I run trails twice a week."
              ]
             }
            },
            "required": [
             "role",
             "message"
            ]
           },
           "description": "Earlier turns of the conversation, up to 10. They alternate `user` and `ai`, start with `user` and end with `ai`; each message is up to 500 characters.",
           "maxItems": 10
          },
          "max_output_tokens": {
           "type": "integer",
           "description": "Most tokens the answer may use, up to 4,096.",
           "default": 2048,
           "minimum": 1,
           "maximum": 4096,
           "examples": [
            1024
           ]
          },
          "temperature": {
           "type": "number",
           "description": "Sampling temperature, 0.0 to 1.0. Send this or `top_p`, not both. Ignored by reasoning models.",
           "minimum": 0.0,
           "maximum": 1.0,
           "examples": [
            0.4
           ]
          },
          "top_p": {
           "type": "number",
           "description": "Nucleus sampling, 0 to 1. Send this or `temperature`, not both.",
           "minimum": 0,
           "maximum": 1,
           "examples": [
            0.9
           ]
          },
          "web_search": {
           "type": "boolean",
           "description": "Let the model search the web before answering. Search fees are added to `money_spent`.",
           "default": false,
           "examples": [
            true
           ]
          },
          "force_web_search": {
           "type": "boolean",
           "description": "Require a web search before answering. Needs `web_search: true`.",
           "default": false,
           "examples": [
            false
           ]
          },
          "web_search_country_iso_code": {
           "type": "string",
           "description": "Two-letter country the web search should favor.",
           "minLength": 2,
           "maxLength": 2,
           "examples": [
            "US"
           ]
          },
          "web_search_city": {
           "type": "string",
           "description": "City the web search should favor, up to 100 characters.",
           "maxLength": 100,
           "examples": [
            "Denver"
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may be charged, in USD. The wallet check reserves this amount instead of our token estimate, and the charge is capped at it. Before the model is called, `max_output_tokens` is lowered (and web search turned off, unless forced or always on) so the most the answer can cost fits; when even the prompt can't fit, the task returns 40501 at $0.",
           "minimum": 0,
           "examples": [
            0.01
           ]
          },
          "priority": {
           "type": "integer",
           "description": "Queue for this task: `1` is the standard queue, `2` the priority queue (faster, priced higher).",
           "enum": [
            1,
            2
           ],
           "default": 1,
           "examples": [
            1
           ]
          },
          "tag": {
           "type": "string",
           "description": "Your own label for the task, up to 255 characters. Returned by tasks_ready.",
           "maxLength": 255,
           "examples": [
            "weekly-rank-check"
           ]
          },
          "pingback_url": {
           "type": "string",
           "description": "We send a GET to this http(s) URL when the task finishes. `$id` and `$tag` in the URL are replaced with the task id and tag. Only public hosts are called and redirects aren't followed.",
           "maxLength": 2000,
           "examples": [
            "https://hooks.example.com/done?id=$id&tag=$tag"
           ]
          },
          "postback_url": {
           "type": "string",
           "description": "We POST the finished task, in the task_get envelope, to this http(s) URL. Only public hosts are called and redirects aren't followed.",
           "maxLength": 2000,
           "examples": [
            "https://hooks.example.com/results"
           ]
          },
          "postback_data": {
           "type": "string",
           "description": "Result format sent to `postback_url`. Defaults to `advanced` when `postback_url` is set.",
           "enum": [
            "regular",
            "advanced",
            "html"
           ],
           "examples": [
            "advanced"
           ]
          }
         },
         "required": [
          "user_prompt"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "user_prompt": "Which running shoe brands are best for wide feet?",
         "model_name": "claude-sonnet-4-6",
         "web_search": true,
         "web_search_country_iso_code": "US",
         "tag": "wide-feet-weekly"
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20100
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Task Created."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               0
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "claude"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "user_prompt": "Which running shoe brands are best for wide feet?",
                "model_name": "claude-sonnet-4-6",
                "web_search": true,
                "web_search_country_iso_code": "US",
                "tag": "wide-feet-weekly"
               }
              ]
             },
             "result": {
              "type": "null",
              "description": "Always null for task_post."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20100,
           "status_message": "Task Created.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 0,
           "path": [
            "v1",
            "ai",
            "claude",
            "llm_responses",
            "task_post"
           ],
           "data": {
            "user_prompt": "Which running shoe brands are best for wide feet?",
            "model_name": "claude-sonnet-4-6",
            "web_search": true,
            "web_search_country_iso_code": "US",
            "tag": "wide-feet-weekly"
           },
           "result": null,
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/claude/llm_responses/tasks_ready": {
   "get": {
    "operationId": "ai-claude-llm-responses-tasks-ready",
    "summary": "Claude LLM Responses: Tasks Ready",
    "description": "List finished answers you haven't collected yet.\n\nUp to 1,000 completed tasks from this engine's task_post that task_get hasn't returned yet, oldest first. `se` is the engine and `se_type` is `llm_responses`; use the `endpoint_regular` path to read each one. Free.",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "tasks_ready",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/claude/llm_responses/tasks_ready"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "claude"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "id": {
                   "type": "string",
                   "description": "Task id. Pass it to task_get.",
                   "examples": [
                    "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "se": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Engine segment of the task's path, for example `google`.",
                   "examples": [
                    "claude"
                   ]
                  },
                  "se_type": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Type segment of the task's path, for example `organic`.",
                   "examples": [
                    "llm_responses"
                   ]
                  },
                  "date_posted": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the task was posted, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "tag": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "The `tag` you sent with the task.",
                   "examples": [
                    "weekly-rank-check"
                   ]
                  },
                  "endpoint_regular": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the regular format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/ai/claude/llm_responses/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_advanced": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the advanced format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/ai/claude/llm_responses/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_html": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for raw HTML. Null while HTML output isn't served."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per answer ready to collect."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "ai",
            "claude",
            "llm_responses",
            "tasks_ready"
           ],
           "data": {},
           "result": [
            {
             "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "se": "claude",
             "se_type": "llm_responses",
             "date_posted": "2026-12-03 10:42:18 +00:00",
             "tag": "weekly-rank-check",
             "endpoint_regular": "/v1/ai/claude/llm_responses/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_advanced": "/v1/ai/claude/llm_responses/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_html": null
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/claude/llm_responses/tasks_fixed": {
   "get": {
    "operationId": "ai-claude-llm-responses-tasks-fixed",
    "summary": "Claude LLM Responses: Tasks Fixed",
    "description": "Same list as tasks_ready, kept for clients that call tasks_fixed.\n\nUp to 1,000 completed tasks from this engine's task_post that task_get hasn't returned yet, oldest first. `se` is the engine and `se_type` is `llm_responses`; use the `endpoint_regular` path to read each one. Free.",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "tasks_ready",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/claude/llm_responses/tasks_fixed"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "claude"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "id": {
                   "type": "string",
                   "description": "Task id. Pass it to task_get.",
                   "examples": [
                    "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "se": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Engine segment of the task's path, for example `google`.",
                   "examples": [
                    "claude"
                   ]
                  },
                  "se_type": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Type segment of the task's path, for example `organic`.",
                   "examples": [
                    "llm_responses"
                   ]
                  },
                  "date_posted": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the task was posted, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "tag": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "The `tag` you sent with the task.",
                   "examples": [
                    "weekly-rank-check"
                   ]
                  },
                  "endpoint_regular": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the regular format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/ai/claude/llm_responses/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_advanced": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the advanced format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/ai/claude/llm_responses/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_html": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for raw HTML. Null while HTML output isn't served."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per answer ready to collect."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "ai",
            "claude",
            "llm_responses",
            "tasks_fixed"
           ],
           "data": {},
           "result": [
            {
             "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "se": "claude",
             "se_type": "llm_responses",
             "date_posted": "2026-12-03 10:42:18 +00:00",
             "tag": "weekly-rank-check",
             "endpoint_regular": "/v1/ai/claude/llm_responses/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_advanced": "/v1/ai/claude/llm_responses/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_html": null
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/claude/llm_responses/task_get/{id}": {
   "get": {
    "operationId": "ai-claude-llm-responses-task-get",
    "summary": "Claude LLM Responses: Task Get",
    "description": "Read one queued answer.\n\nPass the task id from task_post or tasks_ready. Returns 40602 while the task is queued (including while its batch is processing) and 40601 while it runs. A format segment is accepted and ignored: `task_get/regular/{id}` and `task_get/advanced/{id}` return the same result. Free: the task was billed when it returned an answer.",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_get",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/claude/llm_responses/task_get"
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "The task id returned by task_post.",
      "schema": {
       "type": "string",
       "examples": [
        "7f8d2c1e-4b5a-4c3d-9e8f-0a1b2c3d4e5f"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.02008
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.02008
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "claude"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "user_prompt": "Which running shoe brands are best for wide feet?",
                "model_name": "claude-sonnet-4-6",
                "web_search": true,
                "web_search_country_iso_code": "US"
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "model_name": {
                   "type": "string",
                   "description": "The model that answered.",
                   "examples": [
                    "claude-sonnet-4-6"
                   ]
                  },
                  "input_tokens": {
                   "type": "integer",
                   "description": "Prompt tokens the model read, including search results it was given.",
                   "examples": [
                    1240
                   ]
                  },
                  "output_tokens": {
                   "type": "integer",
                   "description": "Tokens in the answer.",
                   "examples": [
                    412
                   ]
                  },
                  "reasoning_tokens": {
                   "type": "integer",
                   "description": "Reasoning tokens, for reasoning models; 0 otherwise.",
                   "examples": [
                    0
                   ]
                  },
                  "web_search": {
                   "type": "boolean",
                   "description": "Whether the model was allowed to search the web.",
                   "examples": [
                    true
                   ]
                  },
                  "money_spent": {
                   "type": "number",
                   "description": "Token and search cost at the model's list price, in USD. The task's `cost` is this plus our base fee.",
                   "examples": [
                    0.0199
                   ]
                  },
                  "datetime": {
                   "type": "string",
                   "description": "When the answer was produced, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `message`.",
                      "examples": [
                       "message"
                      ]
                     },
                     "sections": {
                      "type": "array",
                      "items": {
                       "type": "object",
                       "properties": {
                        "type": {
                         "type": "string",
                         "description": "Always `text`.",
                         "examples": [
                          "text"
                         ]
                        },
                        "text": {
                         "type": "string",
                         "description": "The answer text, as the model wrote it (often Markdown).",
                         "examples": [
                          "For wide feet, look at brands that make most models in a wide (2E) fit, such as Summit Trail and Ridgeway. Try shoes on late in the day, when your feet are l..."
                         ]
                        },
                        "annotations": {
                         "anyOf": [
                          {
                           "type": "array",
                           "items": {
                            "type": "object",
                            "properties": {
                             "title": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "Title of the cited page.",
                              "examples": [
                               "Best running shoes for wide feet"
                              ]
                             },
                             "url": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "URL of the cited page.",
                              "examples": [
                               "https://www.example-reviews.com/gear/wide-running-shoes"
                              ]
                             },
                             "start_index": {
                              "type": [
                               "integer",
                               "null"
                              ],
                              "description": "Start of the cited span in `text`, when the model reports it.",
                              "examples": [
                               0
                              ]
                             },
                             "end_index": {
                              "type": [
                               "integer",
                               "null"
                              ],
                              "description": "End of the cited span in `text`.",
                              "examples": [
                               98
                              ]
                             },
                             "text": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "The cited passage, when the model reports it.",
                              "examples": [
                               "brands that make most models in a wide (2E) fit"
                              ]
                             }
                            }
                           }
                          },
                          {
                           "type": "null"
                          }
                         ],
                         "description": "Sources the answer cited. Null when web search was off."
                        }
                       }
                      },
                      "description": "Parts of the message. One `text` section."
                     }
                    }
                   },
                   "description": "The answer. One `message` item."
                  },
                  "fan_out_queries": {
                   "anyOf": [
                    {
                     "type": "array",
                     "items": {
                      "type": "string"
                     }
                    },
                    {
                     "type": "null"
                    }
                   ],
                   "description": "Search queries the model ran. Null when web search was off.",
                   "examples": [
                    [
                     "best running shoes for wide feet"
                    ]
                   ]
                  },
                  "search_results": {
                   "anyOf": [
                    {
                     "type": "array",
                     "items": {
                      "type": "object",
                      "properties": {
                       "title": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Page title.",
                        "examples": [
                         "Best running shoes for wide feet"
                        ]
                       },
                       "url": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Page URL.",
                        "examples": [
                         "https://www.example-reviews.com/gear/wide-running-shoes"
                        ]
                       },
                       "date": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Publication date, when reported.",
                        "examples": [
                         "2026-11-20"
                        ]
                       },
                       "snippet": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Snippet, when reported.",
                        "examples": [
                         "We measured toe-box width on 40 shoes."
                        ]
                       }
                      }
                     }
                    },
                    {
                     "type": "null"
                    }
                   ],
                   "description": "Pages the searches returned, cited or not. Null when web search was off."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One answer."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.02008,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.02008,
           "result_count": 1,
           "path": [
            "v1",
            "ai",
            "claude",
            "llm_responses",
            "task_get"
           ],
           "data": {
            "user_prompt": "Which running shoe brands are best for wide feet?",
            "model_name": "claude-sonnet-4-6",
            "web_search": true,
            "web_search_country_iso_code": "US"
           },
           "result": [
            {
             "model_name": "claude-sonnet-4-6",
             "input_tokens": 1240,
             "output_tokens": 412,
             "reasoning_tokens": 0,
             "web_search": true,
             "money_spent": 0.0199,
             "datetime": "2026-12-03 10:42:18 +00:00",
             "items": [
              {
               "type": "message",
               "sections": [
                {
                 "type": "text",
                 "text": "For wide feet, look at brands that make most models in a wide (2E) fit, such as Summit Trail and Ridgeway. Try shoes on late in the day, when your feet are largest.",
                 "annotations": [
                  {
                   "title": "Best running shoes for wide feet",
                   "url": "https://www.example-reviews.com/gear/wide-running-shoes",
                   "start_index": 0,
                   "end_index": 98,
                   "text": "brands that make most models in a wide (2E) fit"
                  }
                 ]
                }
               ]
              }
             ],
             "fan_out_queries": [
              "best running shoes for wide feet"
             ],
             "search_results": [
              {
               "title": "Best running shoes for wide feet",
               "url": "https://www.example-reviews.com/gear/wide-running-shoes",
               "date": "2026-11-20",
               "snippet": "We measured toe-box width on 40 shoes."
              }
             ]
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40401, 40602, 40601); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/claude/llm_responses/models": {
   "get": {
    "operationId": "ai-claude-llm-responses-models",
    "summary": "Claude LLM Responses: Models",
    "description": "The Claude model ids you can send as `model_name`.\n\nLists every Claude model we serve, whether it's a reasoning model, and whether it can be queued with task_post. Free.\n\n| Model | Input per 1M tokens | Output per 1M tokens | Web search per 1,000 | Reasoning |\n|---|---|---|---|---|\n| `claude-opus-5-5` | $4.0 | $20.0 | $10.0 | yes |\n| `claude-sonnet-5-5` | $2.0 | $10.0 | $10.0 | yes |\n| `claude-haiku-5-5` | $0.1 | $0.5 | $10.0 | yes |\n| `claude-opus-5` | $5.0 | $25.0 | $10.0 | yes |\n| `claude-sonnet-5` | $2.0 | $10.0 | $10.0 | yes |\n| `claude-opus-4-8` | $5.0 | $25.0 | $10.0 | no |\n| `claude-sonnet-4-6` | $3.0 | $15.0 | $10.0 | no |\n| `claude-haiku-4-5` | $1.0 | $5.0 | $10.0 | no |",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. This route never charges your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/claude/llm_responses/models"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               8
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "claude"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "model_name": {
                   "type": "string",
                   "description": "Send this as `model_name`.",
                   "examples": [
                    "claude-opus-5-5"
                   ]
                  },
                  "reasoning": {
                   "type": "boolean",
                   "description": "True for reasoning models. They ignore `temperature` and `top_p`.",
                   "examples": [
                    true
                   ]
                  },
                  "web_search_supported": {
                   "type": "boolean",
                   "description": "Whether the model can search the web. True for every model we serve.",
                   "examples": [
                    true
                   ]
                  },
                  "task_post_supported": {
                   "type": "boolean",
                   "description": "Whether the model can be queued with task_post.",
                   "examples": [
                    true
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per model."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 8,
           "path": [
            "v1",
            "ai",
            "claude",
            "llm_responses",
            "models"
           ],
           "data": {},
           "result": [
            {
             "model_name": "claude-opus-5-5",
             "reasoning": true,
             "web_search_supported": true,
             "task_post_supported": true
            },
            {
             "model_name": "claude-sonnet-5-5",
             "reasoning": true,
             "web_search_supported": true,
             "task_post_supported": true
            },
            {
             "model_name": "claude-haiku-5-5",
             "reasoning": true,
             "web_search_supported": true,
             "task_post_supported": true
            },
            {
             "model_name": "claude-opus-5",
             "reasoning": true,
             "web_search_supported": true,
             "task_post_supported": true
            },
            {
             "model_name": "claude-sonnet-5",
             "reasoning": true,
             "web_search_supported": true,
             "task_post_supported": true
            },
            {
             "model_name": "claude-opus-4-8",
             "reasoning": false,
             "web_search_supported": true,
             "task_post_supported": true
            },
            {
             "model_name": "claude-sonnet-4-6",
             "reasoning": false,
             "web_search_supported": true,
             "task_post_supported": true
            },
            {
             "model_name": "claude-haiku-4-5",
             "reasoning": false,
             "web_search_supported": true,
             "task_post_supported": true
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/perplexity/llm_responses/live": {
   "post": {
    "operationId": "ai-perplexity-llm-responses-live",
    "summary": "Perplexity LLM Responses: Live",
    "description": "One answer from a Perplexity model for your prompt, with the sources it cited, the searches it ran and the tokens it used.\n\nSend up to 100 tasks, one prompt each. Each task calls the model once and returns its answer in `result[0].items[0].sections[0].text`, with citations in `annotations` when web search is on.\n\nPerplexity models always search the web. Use `message_chain` to continue a conversation.\n\n**Billing.** Each answer costs our base fee for the mode plus the model's token and search cost at the model's published list price, reported as `money_spent`. A failed, empty or refused answer costs $0. Before the call, the wallet check reserves the base fee plus a conservative token estimate (or your `max_cost`).\n\nToken prices for Perplexity models:\n\n| Model | Input per 1M tokens | Output per 1M tokens | Web search per 1,000 | Reasoning |\n|---|---|---|---|---|\n| `sonar` | $1.0 | $1.0 | $5.0 | no |\n| `sonar-pro` | $3.0 | $15.0 | $6.0 | no |\n| `sonar-reasoning-pro` | $2.0 | $8.0 | $6.0 | yes |\n\nAnswers aren't cached: each call is a new sample. Prompts and answers are added to the AI-answer dataset unless your organization has opted out.",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "answer",
     "usd": {
      "live": 0.00054
     },
     "by_level": null,
     "notes": "Base fee per answer. The model's token and search cost is added at its list price (see the table in the description)."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "live",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/perplexity/llm_responses/live"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "user_prompt": {
           "type": "string",
           "description": "The prompt, up to 500 characters.",
           "maxLength": 500,
           "examples": [
            "Which running shoe brands are best for wide feet?"
           ]
          },
          "model_name": {
           "type": "string",
           "description": "A model id from `/v1/ai/perplexity/llm_responses/models`. Dated ids such as `gpt-4.1-2025-04-14` resolve to their base model. Leave it out to use the default model.",
           "enum": [
            "sonar",
            "sonar-pro",
            "sonar-reasoning-pro"
           ],
           "default": "sonar",
           "examples": [
            "sonar"
           ]
          },
          "system_message": {
           "type": "string",
           "description": "Instructions sent before the prompt, up to 500 characters.",
           "maxLength": 500,
           "examples": [
            "Answer in two sentences."
           ]
          },
          "message_chain": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "role": {
              "type": "string",
              "description": "Who said it.",
              "enum": [
               "user",
               "ai"
              ],
              "examples": [
               "user"
              ]
             },
             "message": {
              "type": "string",
              "description": "What was said.",
              "maxLength": 500,
              "examples": [
               "I run trails twice a week."
              ]
             }
            },
            "required": [
             "role",
             "message"
            ]
           },
           "description": "Earlier turns of the conversation, up to 10. They alternate `user` and `ai`, start with `user` and end with `ai`; each message is up to 500 characters.",
           "maxItems": 10
          },
          "max_output_tokens": {
           "type": "integer",
           "description": "Most tokens the answer may use, up to 4,096.",
           "default": 2048,
           "minimum": 1,
           "maximum": 4096,
           "examples": [
            1024
           ]
          },
          "temperature": {
           "type": "number",
           "description": "Sampling temperature, 0.0 to 1.9. Send this or `top_p`, not both. Ignored by reasoning models.",
           "minimum": 0.0,
           "maximum": 1.9,
           "examples": [
            0.4
           ]
          },
          "top_p": {
           "type": "number",
           "description": "Nucleus sampling, 0 to 1. Send this or `temperature`, not both.",
           "minimum": 0,
           "maximum": 1,
           "examples": [
            0.9
           ]
          },
          "web_search": {
           "type": "boolean",
           "description": "Perplexity models always search the web; `false` is rejected.",
           "default": true,
           "examples": [
            true
           ]
          },
          "force_web_search": {
           "type": "boolean",
           "description": "Require a web search before answering. Needs `web_search: true`.",
           "default": false,
           "examples": [
            false
           ]
          },
          "web_search_country_iso_code": {
           "type": "string",
           "description": "Two-letter country the web search should favor.",
           "minLength": 2,
           "maxLength": 2,
           "examples": [
            "US"
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may be charged, in USD. The wallet check reserves this amount instead of our token estimate, and the charge is capped at it. Before the model is called, `max_output_tokens` is lowered (and web search turned off, unless forced or always on) so the most the answer can cost fits; when even the prompt can't fit, the task returns 40501 at $0.",
           "minimum": 0,
           "examples": [
            0.01
           ]
          }
         },
         "required": [
          "user_prompt"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "user_prompt": "Which running shoe brands are best for wide feet?",
         "model_name": "sonar",
         "web_search": true
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.007192
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.007192
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "perplexity"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "user_prompt": "Which running shoe brands are best for wide feet?",
                "model_name": "sonar",
                "web_search": true
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "model_name": {
                   "type": "string",
                   "description": "The model that answered.",
                   "examples": [
                    "sonar"
                   ]
                  },
                  "input_tokens": {
                   "type": "integer",
                   "description": "Prompt tokens the model read, including search results it was given.",
                   "examples": [
                    1240
                   ]
                  },
                  "output_tokens": {
                   "type": "integer",
                   "description": "Tokens in the answer.",
                   "examples": [
                    412
                   ]
                  },
                  "reasoning_tokens": {
                   "type": "integer",
                   "description": "Reasoning tokens, for reasoning models; 0 otherwise.",
                   "examples": [
                    0
                   ]
                  },
                  "web_search": {
                   "type": "boolean",
                   "description": "Whether the model was allowed to search the web.",
                   "examples": [
                    true
                   ]
                  },
                  "money_spent": {
                   "type": "number",
                   "description": "Token and search cost at the model's list price, in USD. The task's `cost` is this plus our base fee.",
                   "examples": [
                    0.006652
                   ]
                  },
                  "datetime": {
                   "type": "string",
                   "description": "When the answer was produced, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `message`.",
                      "examples": [
                       "message"
                      ]
                     },
                     "sections": {
                      "type": "array",
                      "items": {
                       "type": "object",
                       "properties": {
                        "type": {
                         "type": "string",
                         "description": "Always `text`.",
                         "examples": [
                          "text"
                         ]
                        },
                        "text": {
                         "type": "string",
                         "description": "The answer text, as the model wrote it (often Markdown).",
                         "examples": [
                          "For wide feet, look at brands that make most models in a wide (2E) fit, such as Summit Trail and Ridgeway. Try shoes on late in the day, when your feet are l..."
                         ]
                        },
                        "annotations": {
                         "anyOf": [
                          {
                           "type": "array",
                           "items": {
                            "type": "object",
                            "properties": {
                             "title": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "Title of the cited page.",
                              "examples": [
                               "Best running shoes for wide feet"
                              ]
                             },
                             "url": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "URL of the cited page.",
                              "examples": [
                               "https://www.example-reviews.com/gear/wide-running-shoes"
                              ]
                             },
                             "start_index": {
                              "type": [
                               "integer",
                               "null"
                              ],
                              "description": "Start of the cited span in `text`, when the model reports it.",
                              "examples": [
                               0
                              ]
                             },
                             "end_index": {
                              "type": [
                               "integer",
                               "null"
                              ],
                              "description": "End of the cited span in `text`.",
                              "examples": [
                               98
                              ]
                             },
                             "text": {
                              "type": [
                               "string",
                               "null"
                              ],
                              "description": "The cited passage, when the model reports it.",
                              "examples": [
                               "brands that make most models in a wide (2E) fit"
                              ]
                             }
                            }
                           }
                          },
                          {
                           "type": "null"
                          }
                         ],
                         "description": "Sources the answer cited. Null when web search was off."
                        }
                       }
                      },
                      "description": "Parts of the message. One `text` section."
                     }
                    }
                   },
                   "description": "The answer. One `message` item."
                  },
                  "fan_out_queries": {
                   "anyOf": [
                    {
                     "type": "array",
                     "items": {
                      "type": "string"
                     }
                    },
                    {
                     "type": "null"
                    }
                   ],
                   "description": "Search queries the model ran. Null when web search was off.",
                   "examples": [
                    [
                     "best running shoes for wide feet"
                    ]
                   ]
                  },
                  "search_results": {
                   "anyOf": [
                    {
                     "type": "array",
                     "items": {
                      "type": "object",
                      "properties": {
                       "title": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Page title.",
                        "examples": [
                         "Best running shoes for wide feet"
                        ]
                       },
                       "url": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Page URL.",
                        "examples": [
                         "https://www.example-reviews.com/gear/wide-running-shoes"
                        ]
                       },
                       "date": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Publication date, when reported.",
                        "examples": [
                         "2026-11-20"
                        ]
                       },
                       "snippet": {
                        "type": [
                         "string",
                         "null"
                        ],
                        "description": "Snippet, when reported.",
                        "examples": [
                         "We measured toe-box width on 40 shoes."
                        ]
                       }
                      }
                     }
                    },
                    {
                     "type": "null"
                    }
                   ],
                   "description": "Pages the searches returned, cited or not. Null when web search was off."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One answer."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.007192,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.007192,
           "result_count": 1,
           "path": [
            "v1",
            "ai",
            "perplexity",
            "llm_responses",
            "live"
           ],
           "data": {
            "user_prompt": "Which running shoe brands are best for wide feet?",
            "model_name": "sonar",
            "web_search": true
           },
           "result": [
            {
             "model_name": "sonar",
             "input_tokens": 1240,
             "output_tokens": 412,
             "reasoning_tokens": 0,
             "web_search": true,
             "money_spent": 0.006652,
             "datetime": "2026-12-03 10:42:18 +00:00",
             "items": [
              {
               "type": "message",
               "sections": [
                {
                 "type": "text",
                 "text": "For wide feet, look at brands that make most models in a wide (2E) fit, such as Summit Trail and Ridgeway. Try shoes on late in the day, when your feet are largest.",
                 "annotations": [
                  {
                   "title": "Best running shoes for wide feet",
                   "url": "https://www.example-reviews.com/gear/wide-running-shoes",
                   "start_index": 0,
                   "end_index": 98,
                   "text": "brands that make most models in a wide (2E) fit"
                  }
                 ]
                }
               ]
              }
             ],
             "fan_out_queries": [
              "best running shoes for wide feet"
             ],
             "search_results": [
              {
               "title": "Best running shoes for wide feet",
               "url": "https://www.example-reviews.com/gear/wide-running-shoes",
               "date": "2026-11-20",
               "snippet": "We measured toe-box width on 40 shoes."
              }
             ]
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000, 40501, 50000); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/ai/perplexity/llm_responses/models": {
   "get": {
    "operationId": "ai-perplexity-llm-responses-models",
    "summary": "Perplexity LLM Responses: Models",
    "description": "The Perplexity model ids you can send as `model_name`.\n\nLists every Perplexity model we serve, whether it's a reasoning model, and whether it can be queued with task_post. Free.\n\n| Model | Input per 1M tokens | Output per 1M tokens | Web search per 1,000 | Reasoning |\n|---|---|---|---|---|\n| `sonar` | $1.0 | $1.0 | $5.0 | no |\n| `sonar-pro` | $3.0 | $15.0 | $6.0 | no |\n| `sonar-reasoning-pro` | $2.0 | $8.0 | $6.0 | yes |",
    "tags": [
     "ai"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. This route never charges your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/ai_optimization/perplexity/llm_responses/models"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               3
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "ai",
                "perplexity"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "model_name": {
                   "type": "string",
                   "description": "Send this as `model_name`.",
                   "examples": [
                    "sonar"
                   ]
                  },
                  "reasoning": {
                   "type": "boolean",
                   "description": "True for reasoning models. They ignore `temperature` and `top_p`.",
                   "examples": [
                    false
                   ]
                  },
                  "web_search_supported": {
                   "type": "boolean",
                   "description": "Whether the model can search the web. True for every model we serve.",
                   "examples": [
                    true
                   ]
                  },
                  "task_post_supported": {
                   "type": "boolean",
                   "description": "Whether the model can be queued with task_post.",
                   "examples": [
                    false
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per model."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 3,
           "path": [
            "v1",
            "ai",
            "perplexity",
            "llm_responses",
            "models"
           ],
           "data": {},
           "result": [
            {
             "model_name": "sonar",
             "reasoning": false,
             "web_search_supported": true,
             "task_post_supported": false
            },
            {
             "model_name": "sonar-pro",
             "reasoning": false,
             "web_search_supported": true,
             "task_post_supported": false
            },
            {
             "model_name": "sonar-reasoning-pro",
             "reasoning": true,
             "web_search_supported": true,
             "task_post_supported": false
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/business/google/my_business_info/live": {
   "post": {
    "operationId": "business-google-my-business-info-live",
    "summary": "Google Business Profile: Live",
    "description": "A Google business profile: name, categories, address, phone, website, rating and review counts, hours, coordinates and Google ids.\n\nSend up to 100 tasks. Each looks up one business by name and address, CID, place id or feature id, and returns one `google_business_info` item.\n\n**Billing.** Billed per profile by the fetch level that returned it (see `by_level`). We try the Maps search data first and the place page second; a rendered fetch is used only when the plain fetch carried no place data and your `max_level` allows it. A request where no level gets the profile costs $0. Profiles are cached for 24 h; send `max_age: 0` for a fresh fetch.\n\n**Beta.** We read Google's place data with a parser written from public documentation that hasn't been checked against live responses yet. Field names and shapes are fixed; some values may be null more often than they should be until that check is done.",
    "tags": [
     "business"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "profile",
     "usd": {
      "live": 0.00135
     },
     "by_level": {
      "standard": 0.00135,
      "rendered": 0.00234,
      "protected": 0.003
     },
     "notes": "Billed by the level that returned the profile."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "live",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/business_data/google/my_business_info/live"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "keyword": {
           "type": "string",
           "description": "The business to look up, up to 700 characters: its name and address (`Summit Running Co. Boulder`), `cid:<number>`, `place_id:<id>`, or a `0x…:0x…` feature id.",
           "maxLength": 700,
           "examples": [
            "Summit Running Co. Boulder"
           ]
          },
          "location_name": {
           "type": "string",
           "description": "A place to search in, added to a name search, for example `Boulder,Colorado,United States`.",
           "examples": [
            "Boulder,Colorado,United States"
           ]
          },
          "location_code": {
           "type": "integer",
           "description": "Echoed in the result's `location_code`. It doesn't change the search: use `location_name` or `location_country_iso`.",
           "examples": [
            2840
           ]
          },
          "location_country_iso": {
           "type": "string",
           "description": "Two-letter country to search in. `country_iso_code` is accepted too.",
           "default": "us",
           "examples": [
            "us"
           ]
          },
          "country_iso_code": {
           "type": "string",
           "description": "Same as `location_country_iso`."
          },
          "language_code": {
           "type": "string",
           "description": "Result language, for example `en`.",
           "default": "en",
           "examples": [
            "en"
           ]
          },
          "language_name": {
           "type": "string",
           "description": "Language name, used when `language_code` isn't sent. English, Spanish, French, German, Italian, Portuguese, Dutch and Japanese are recognized; others fall back to English.",
           "examples": [
            "English"
           ]
          },
          "auto_upgrade": {
           "type": "boolean",
           "description": "Lets the request move to a higher fetch level when the included level can't get the data, billed at the level that delivered it. `false` stops at the Standard level and returns the failure at $0. Also accepts `\"true\"`, `\"false\"`, `1` and `0`.",
           "default": true,
           "examples": [
            true
           ]
          },
          "max_level": {
           "type": "string",
           "description": "The highest fetch level Auto-upgrade may use. `rendered` never uses the Protected level.",
           "enum": [
            "standard",
            "rendered",
            "protected"
           ],
           "default": "protected",
           "examples": [
            "rendered"
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may cost, in USD. The wallet check reserves this amount instead of the worst-case price, the request never upgrades past it, and the charge never exceeds it.",
           "minimum": 0,
           "examples": [
            0.002
           ]
          },
          "max_age": {
           "type": "integer",
           "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always fetches fresh. Default window: 24 h. Leave it out to use it.",
           "minimum": 0,
           "maximum": 86400,
           "examples": [
            3600
           ]
          }
         },
         "required": [
          "keyword"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "keyword": "Summit Running Co. Boulder",
         "location_name": "Boulder,Colorado,United States",
         "language_code": "en"
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.00135
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.00135
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "business",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "Summit Running Co. Boulder",
                "location_name": "Boulder,Colorado,United States",
                "language_code": "en"
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "keyword": {
                   "type": "string",
                   "description": "The keyword you sent, trimmed.",
                   "examples": [
                    "Summit Running Co. Boulder"
                   ]
                  },
                  "se_domain": {
                   "type": "string",
                   "description": "Always `google.com`.",
                   "examples": [
                    "google.com"
                   ]
                  },
                  "location_code": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "The `location_code` you sent."
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Language the profile was read in.",
                   "examples": [
                    "en"
                   ]
                  },
                  "check_url": {
                   "type": "string",
                   "description": "The URL the profile was read from.",
                   "examples": [
                    "https://www.google.com/search?tbm=map&authuser=0&hl=en&gl=us&q=Summit+Running+Co.+Boulder+Boulder%2CColorado%2CUnited+States&pb=%214m12%211m3%211d3000%212d0%..."
                   ]
                  },
                  "datetime": {
                   "type": "string",
                   "description": "When the profile was fetched, `YYYY-MM-DD HH:MM:SS +00:00`. For a cache hit, the original fetch time.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "fetched_at": {
                   "type": "string",
                   "description": "When the profile was fetched, ISO 8601.",
                   "examples": [
                    "2026-12-03T10:42:18.000000+00:00"
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Always 1.",
                   "examples": [
                    1
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `google_business_info`.",
                      "examples": [
                       "google_business_info"
                      ]
                     },
                     "title": {
                      "type": "string",
                      "description": "Business name.",
                      "examples": [
                       "Summit Running Co."
                      ]
                     },
                     "original_title": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "description": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "The business description.",
                      "examples": [
                       "Running shoes, gait analysis and group runs since 2009."
                      ]
                     },
                     "category": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Main category.",
                      "examples": [
                       "Running store"
                      ]
                     },
                     "category_ids": {
                      "type": "null",
                      "description": "Not in the place data. Always null."
                     },
                     "additional_categories": {
                      "anyOf": [
                       {
                        "type": "array",
                        "items": {
                         "type": "string"
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Other categories.",
                      "examples": [
                       [
                        "Shoe store",
                        "Sportswear store"
                       ]
                      ]
                     },
                     "cid": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Google customer id (CID), as a decimal string.",
                      "examples": [
                       "1234567890842202901"
                      ]
                     },
                     "feature_id": {
                      "type": "string",
                      "description": "Google feature id, `0x…:0x…`.",
                      "examples": [
                       "0x876bec0d1a2b3c4d:0x112210f4a8c0b315"
                      ]
                     },
                     "address": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Full address as shown.",
                      "examples": [
                       "120 Main St, Boulder, CO 80302"
                      ]
                     },
                     "address_info": {
                      "anyOf": [
                       {
                        "type": "object",
                        "properties": {
                         "borough": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "Neighborhood or borough."
                         },
                         "address": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "Street address.",
                          "examples": [
                           "120 Main St"
                          ]
                         },
                         "city": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "City.",
                          "examples": [
                           "Boulder"
                          ]
                         },
                         "zip": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "Postal code.",
                          "examples": [
                           "80302"
                          ]
                         },
                         "region": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "State or region.",
                          "examples": [
                           "Colorado"
                          ]
                         },
                         "country_code": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "Two-letter country code.",
                          "examples": [
                           "US"
                          ]
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "The address in parts."
                     },
                     "place_id": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Google place id.",
                      "examples": [
                       "ChIJexample-summit-0001"
                      ]
                     },
                     "phone": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Phone number as shown.",
                      "examples": [
                       "+1 303-555-0142"
                      ]
                     },
                     "url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "The business's website.",
                      "examples": [
                       "https://summitrunning.example/"
                      ]
                     },
                     "contact_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "contributor_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "book_online_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "domain": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Domain of the website.",
                      "examples": [
                       "summitrunning.example"
                      ]
                     },
                     "logo": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "main_image": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "URL of the main photo.",
                      "examples": [
                       "https://lh5.googleusercontent.com/p/AF1QipSummitStorefront"
                      ]
                     },
                     "total_photos": {
                      "type": [
                       "integer",
                       "null"
                      ],
                      "description": "Number of photos on the profile.",
                      "examples": [
                       214
                      ]
                     },
                     "snippet": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Short address line.",
                      "examples": [
                       "120 Main St, Boulder, CO 80302"
                      ]
                     },
                     "latitude": {
                      "type": [
                       "number",
                       "null"
                      ],
                      "description": "Latitude.",
                      "examples": [
                       40.0176
                      ]
                     },
                     "longitude": {
                      "type": [
                       "number",
                       "null"
                      ],
                      "description": "Longitude.",
                      "examples": [
                       -105.2797
                      ]
                     },
                     "is_claimed": {
                      "type": [
                       "boolean",
                       "null"
                      ],
                      "description": "True when the owner has claimed the profile.",
                      "examples": [
                       true
                      ]
                     },
                     "attributes": {
                      "type": "null",
                      "description": "Not parsed yet. Always null."
                     },
                     "place_topics": {
                      "type": "null",
                      "description": "Not parsed yet. Always null."
                     },
                     "rating": {
                      "anyOf": [
                       {
                        "type": "object",
                        "properties": {
                         "rating_type": {
                          "type": "string",
                          "description": "Always `Max5`.",
                          "examples": [
                           "Max5"
                          ]
                         },
                         "value": {
                          "type": [
                           "number",
                           "null"
                          ],
                          "description": "Average rating, 1 to 5.",
                          "examples": [
                           4.7
                          ]
                         },
                         "votes_count": {
                          "type": [
                           "integer",
                           "null"
                          ],
                          "description": "Number of reviews.",
                          "examples": [
                           318
                          ]
                         },
                         "rating_max": {
                          "type": "null",
                          "description": "Always null."
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Star rating."
                     },
                     "hotel_rating": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "price_level": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Price level as shown on the profile, for example `$$`.",
                      "examples": [
                       "$$"
                      ]
                     },
                     "rating_distribution": {
                      "type": [
                       "object",
                       "null"
                      ],
                      "description": "Review counts by star, keys `1` to `5`.",
                      "examples": [
                       {
                        "1": 6,
                        "2": 4,
                        "3": 12,
                        "4": 58,
                        "5": 238
                       }
                      ]
                     },
                     "people_also_search": {
                      "type": "null",
                      "description": "Not parsed yet. Always null."
                     },
                     "work_time": {
                      "anyOf": [
                       {
                        "type": "object",
                        "properties": {
                         "work_hours": {
                          "type": "object",
                          "properties": {
                           "timetable": {
                            "type": "object",
                            "properties": {
                             "monday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Monday. Null when closed or unknown."
                             },
                             "tuesday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Tuesday. Null when closed or unknown."
                             },
                             "wednesday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Wednesday. Null when closed or unknown."
                             },
                             "thursday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Thursday. Null when closed or unknown."
                             },
                             "friday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Friday. Null when closed or unknown."
                             },
                             "saturday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Saturday. Null when closed or unknown."
                             },
                             "sunday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Sunday. Null when closed or unknown."
                             }
                            },
                            "description": "One key per weekday."
                           },
                           "current_status": {
                            "type": [
                             "string",
                             "null"
                            ],
                            "description": "`opened` or `close` at fetch time.",
                            "enum": [
                             "opened",
                             "close",
                             null
                            ],
                            "examples": [
                             "opened"
                            ]
                           }
                          },
                          "description": "Opening hours by day."
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Opening hours."
                     },
                     "popular_times": {
                      "type": "null",
                      "description": "Not parsed yet. Always null."
                     },
                     "local_business_links": {
                      "type": "null",
                      "description": "Not parsed yet. Always null."
                     },
                     "contact_info": {
                      "anyOf": [
                       {
                        "type": "array",
                        "items": {
                         "type": "object",
                         "properties": {
                          "type": {
                           "type": "string",
                           "description": "Always `telephone`.",
                           "examples": [
                            "telephone"
                           ]
                          },
                          "value": {
                           "type": "string",
                           "description": "The phone number.",
                           "examples": [
                            "+1 303-555-0142"
                           ]
                          },
                          "source": {
                           "type": "string",
                           "description": "Always `google`.",
                           "examples": [
                            "google"
                           ]
                          }
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Contact details."
                     },
                     "check_url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "A URL that opens the profile in a browser.",
                      "examples": [
                       "https://www.google.com/search?tbm=map&authuser=0&hl=en&gl=us&q=Summit+Running+Co.+Boulder+Boulder%2CColorado%2CUnited+States&pb=%214m12%211m3%211d3000%212d0%..."
                      ]
                     },
                     "last_updated_time": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "When we read the profile, `YYYY-MM-DD HH:MM:SS +00:00`.",
                      "examples": [
                       "2026-12-03 10:42:18 +00:00"
                      ]
                     },
                     "first_seen": {
                      "type": "null",
                      "description": "Not available. Always null."
                     }
                    }
                   },
                   "description": "The profile."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ],
              "examples": [
               "standard"
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.00135,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.00135,
           "result_count": 1,
           "path": [
            "v1",
            "business",
            "google",
            "my_business_info",
            "live"
           ],
           "data": {
            "keyword": "Summit Running Co. Boulder",
            "location_name": "Boulder,Colorado,United States",
            "language_code": "en"
           },
           "result": [
            {
             "keyword": "Summit Running Co. Boulder",
             "se_domain": "google.com",
             "location_code": null,
             "language_code": "en",
             "check_url": "https://www.google.com/search?tbm=map&authuser=0&hl=en&gl=us&q=Summit+Running+Co.+Boulder+Boulder%2CColorado%2CUnited+States&pb=%214m12%211m3%211d3000%212d0%213d0%212m3%211f0%212f0%213f0%213m2%211i1024%212i768%214f13.1%217i20%218i0",
             "datetime": "2026-12-03 10:42:18 +00:00",
             "fetched_at": "2026-12-03T10:42:18.000000+00:00",
             "items_count": 1,
             "items": [
              {
               "type": "google_business_info",
               "title": "Summit Running Co.",
               "original_title": null,
               "description": "Running shoes, gait analysis and group runs since 2009.",
               "category": "Running store",
               "category_ids": null,
               "additional_categories": [
                "Shoe store",
                "Sportswear store"
               ],
               "cid": "1234567890842202901",
               "feature_id": "0x876bec0d1a2b3c4d:0x112210f4a8c0b315",
               "address": "120 Main St, Boulder, CO 80302",
               "address_info": {
                "borough": null,
                "address": "120 Main St",
                "city": "Boulder",
                "zip": "80302",
                "region": "Colorado",
                "country_code": "US"
               },
               "place_id": "ChIJexample-summit-0001",
               "phone": "+1 303-555-0142",
               "url": "https://summitrunning.example/",
               "contact_url": null,
               "contributor_url": null,
               "book_online_url": null,
               "domain": "summitrunning.example",
               "logo": null,
               "main_image": "https://lh5.googleusercontent.com/p/AF1QipSummitStorefront",
               "total_photos": 214,
               "snippet": "120 Main St, Boulder, CO 80302",
               "latitude": 40.0176,
               "longitude": -105.2797,
               "is_claimed": true,
               "attributes": null,
               "place_topics": null,
               "rating": {
                "rating_type": "Max5",
                "value": 4.7,
                "votes_count": 318,
                "rating_max": null
               },
               "hotel_rating": null,
               "price_level": "$$",
               "rating_distribution": {
                "1": 6,
                "2": 4,
                "3": 12,
                "4": 58,
                "5": 238
               },
               "people_also_search": null,
               "work_time": {
                "work_hours": {
                 "timetable": {
                  "sunday": null,
                  "monday": [
                   {
                    "open": {
                     "hour": 10,
                     "minute": 0
                    },
                    "close": {
                     "hour": 19,
                     "minute": 0
                    }
                   }
                  ],
                  "tuesday": [
                   {
                    "open": {
                     "hour": 10,
                     "minute": 0
                    },
                    "close": {
                     "hour": 19,
                     "minute": 0
                    }
                   }
                  ],
                  "wednesday": null,
                  "thursday": null,
                  "friday": null,
                  "saturday": [
                   {
                    "open": {
                     "hour": 9,
                     "minute": 0
                    },
                    "close": {
                     "hour": 18,
                     "minute": 0
                    }
                   }
                  ]
                 },
                 "current_status": "opened"
                }
               },
               "popular_times": null,
               "local_business_links": null,
               "contact_info": [
                {
                 "type": "telephone",
                 "value": "+1 303-555-0142",
                 "source": "google"
                }
               ],
               "check_url": "https://www.google.com/search?tbm=map&authuser=0&hl=en&gl=us&q=Summit+Running+Co.+Boulder+Boulder%2CColorado%2CUnited+States&pb=%214m12%211m3%211d3000%212d0%213d0%212m3%211f0%212f0%213f0%213m2%211i1024%212i768%214f13.1%217i20%218i0",
               "last_updated_time": "2026-12-03 10:42:18 +00:00",
               "first_seen": null
              }
             ]
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": "standard",
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000, 40102, 50000, 40501); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/business/google/my_business_info/task_post": {
   "post": {
    "operationId": "business-google-my-business-info-task-post",
    "summary": "Google Business Profile: Task Post",
    "description": "Queue business profile lookups and collect them with tasks_ready and task_get.\n\nPost up to 100 tasks; each returns 20100 and a task id. The price is the same on both queues; `priority: 2` runs sooner.\n\n**Billing.** Billed per profile by the fetch level that returned it (see `by_level`). We try the Maps search data first and the place page second; a rendered fetch is used only when the plain fetch carried no place data and your `max_level` allows it. A request where no level gets the profile costs $0. Profiles are cached for 24 h; send `max_age: 0` for a fresh fetch.\n\n**Beta.** We read Google's place data with a parser written from public documentation that hasn't been checked against live responses yet. Field names and shapes are fixed; some values may be null more often than they should be until that check is done.",
    "tags": [
     "business"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "profile",
     "usd": {
      "standard": 0.00135,
      "priority": 0.00135
     },
     "by_level": {
      "standard": 0.00135,
      "rendered": 0.00234,
      "protected": 0.003
     },
     "notes": "Billed by the level that returned the profile."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_post",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/business_data/google/my_business_info/task_post"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "keyword": {
           "type": "string",
           "description": "The business to look up, up to 700 characters: its name and address (`Summit Running Co. Boulder`), `cid:<number>`, `place_id:<id>`, or a `0x…:0x…` feature id.",
           "maxLength": 700,
           "examples": [
            "Summit Running Co. Boulder"
           ]
          },
          "location_name": {
           "type": "string",
           "description": "A place to search in, added to a name search, for example `Boulder,Colorado,United States`.",
           "examples": [
            "Boulder,Colorado,United States"
           ]
          },
          "location_code": {
           "type": "integer",
           "description": "Echoed in the result's `location_code`. It doesn't change the search: use `location_name` or `location_country_iso`.",
           "examples": [
            2840
           ]
          },
          "location_country_iso": {
           "type": "string",
           "description": "Two-letter country to search in. `country_iso_code` is accepted too.",
           "default": "us",
           "examples": [
            "us"
           ]
          },
          "country_iso_code": {
           "type": "string",
           "description": "Same as `location_country_iso`."
          },
          "language_code": {
           "type": "string",
           "description": "Result language, for example `en`.",
           "default": "en",
           "examples": [
            "en"
           ]
          },
          "language_name": {
           "type": "string",
           "description": "Language name, used when `language_code` isn't sent. English, Spanish, French, German, Italian, Portuguese, Dutch and Japanese are recognized; others fall back to English.",
           "examples": [
            "English"
           ]
          },
          "auto_upgrade": {
           "type": "boolean",
           "description": "Lets the request move to a higher fetch level when the included level can't get the data, billed at the level that delivered it. `false` stops at the Standard level and returns the failure at $0. Also accepts `\"true\"`, `\"false\"`, `1` and `0`.",
           "default": true,
           "examples": [
            true
           ]
          },
          "max_level": {
           "type": "string",
           "description": "The highest fetch level Auto-upgrade may use. `rendered` never uses the Protected level.",
           "enum": [
            "standard",
            "rendered",
            "protected"
           ],
           "default": "protected",
           "examples": [
            "rendered"
           ]
          },
          "max_cost": {
           "type": "number",
           "description": "The most this task may cost, in USD. The wallet check reserves this amount instead of the worst-case price, the request never upgrades past it, and the charge never exceeds it.",
           "minimum": 0,
           "examples": [
            0.002
           ]
          },
          "max_age": {
           "type": "integer",
           "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always fetches fresh. Default window: 24 h. Leave it out to use it.",
           "minimum": 0,
           "maximum": 86400,
           "examples": [
            3600
           ]
          },
          "priority": {
           "type": "integer",
           "description": "Queue for this task: `1` is the standard queue, `2` the priority queue (faster, priced higher).",
           "enum": [
            1,
            2
           ],
           "default": 1,
           "examples": [
            1
           ]
          },
          "tag": {
           "type": "string",
           "description": "Your own label for the task, up to 255 characters. Returned by tasks_ready.",
           "maxLength": 255,
           "examples": [
            "weekly-rank-check"
           ]
          },
          "pingback_url": {
           "type": "string",
           "description": "We send a GET to this http(s) URL when the task finishes. `$id` and `$tag` in the URL are replaced with the task id and tag. Only public hosts are called and redirects aren't followed.",
           "maxLength": 2000,
           "examples": [
            "https://hooks.example.com/done?id=$id&tag=$tag"
           ]
          },
          "postback_url": {
           "type": "string",
           "description": "We POST the finished task, in the task_get envelope, to this http(s) URL. Only public hosts are called and redirects aren't followed.",
           "maxLength": 2000,
           "examples": [
            "https://hooks.example.com/results"
           ]
          },
          "postback_data": {
           "type": "string",
           "description": "Result format sent to `postback_url`. Defaults to `advanced` when `postback_url` is set.",
           "enum": [
            "regular",
            "advanced",
            "html"
           ],
           "examples": [
            "advanced"
           ]
          }
         },
         "required": [
          "keyword"
         ]
        },
        "minItems": 1,
        "maxItems": 100
       },
       "example": [
        {
         "keyword": "Summit Running Co. Boulder",
         "location_name": "Boulder,Colorado,United States",
         "language_code": "en",
         "tag": "store-audit"
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20100
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Task Created."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               0
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "business",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "Summit Running Co. Boulder",
                "location_name": "Boulder,Colorado,United States",
                "language_code": "en",
                "tag": "store-audit"
               }
              ]
             },
             "result": {
              "type": "null",
              "description": "Always null for task_post."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20100,
           "status_message": "Task Created.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 0,
           "path": [
            "v1",
            "business",
            "google",
            "my_business_info",
            "task_post"
           ],
           "data": {
            "keyword": "Summit Running Co. Boulder",
            "location_name": "Boulder,Colorado,United States",
            "language_code": "en",
            "tag": "store-audit"
           },
           "result": null,
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/business/google/my_business_info/tasks_ready": {
   "get": {
    "operationId": "business-google-my-business-info-tasks-ready",
    "summary": "Google Business Profile: Tasks Ready",
    "description": "List finished profile lookups you haven't collected yet.\n\nUp to 1,000 completed tasks from task_post that task_get hasn't returned yet, oldest first. Free.",
    "tags": [
     "business"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "tasks_ready",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/business_data/google/my_business_info/tasks_ready"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "business",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "id": {
                   "type": "string",
                   "description": "Task id. Pass it to task_get.",
                   "examples": [
                    "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "se": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Engine segment of the task's path, for example `google`.",
                   "examples": [
                    "google"
                   ]
                  },
                  "se_type": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Type segment of the task's path, for example `organic`.",
                   "examples": [
                    "my_business_info"
                   ]
                  },
                  "date_posted": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the task was posted, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "tag": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "The `tag` you sent with the task.",
                   "examples": [
                    "weekly-rank-check"
                   ]
                  },
                  "endpoint_regular": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the regular format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/business/google/my_business_info/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_advanced": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the advanced format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/business/google/my_business_info/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_html": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for raw HTML. Null while HTML output isn't served."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per task ready to collect."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "business",
            "google",
            "my_business_info",
            "tasks_ready"
           ],
           "data": {},
           "result": [
            {
             "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "se": "google",
             "se_type": "my_business_info",
             "date_posted": "2026-12-03 10:42:18 +00:00",
             "tag": "weekly-rank-check",
             "endpoint_regular": "/v1/business/google/my_business_info/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_advanced": "/v1/business/google/my_business_info/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_html": null
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/business/google/my_business_info/tasks_fixed": {
   "get": {
    "operationId": "business-google-my-business-info-tasks-fixed",
    "summary": "Google Business Profile: Tasks Fixed",
    "description": "Same list as tasks_ready, kept for clients that call tasks_fixed.\n\nUp to 1,000 completed tasks from task_post that task_get hasn't returned yet, oldest first. Free.",
    "tags": [
     "business"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "tasks_ready",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/business_data/google/my_business_info/tasks_fixed"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "business",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "id": {
                   "type": "string",
                   "description": "Task id. Pass it to task_get.",
                   "examples": [
                    "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "se": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Engine segment of the task's path, for example `google`.",
                   "examples": [
                    "google"
                   ]
                  },
                  "se_type": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Type segment of the task's path, for example `organic`.",
                   "examples": [
                    "my_business_info"
                   ]
                  },
                  "date_posted": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the task was posted, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "tag": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "The `tag` you sent with the task.",
                   "examples": [
                    "weekly-rank-check"
                   ]
                  },
                  "endpoint_regular": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the regular format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/business/google/my_business_info/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_advanced": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for the advanced format, or null when this route doesn't serve it.",
                   "examples": [
                    "/v1/business/google/my_business_info/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "endpoint_html": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "task_get path for raw HTML. Null while HTML output isn't served."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry per task ready to collect."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "business",
            "google",
            "my_business_info",
            "tasks_fixed"
           ],
           "data": {},
           "result": [
            {
             "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "se": "google",
             "se_type": "my_business_info",
             "date_posted": "2026-12-03 10:42:18 +00:00",
             "tag": "weekly-rank-check",
             "endpoint_regular": "/v1/business/google/my_business_info/task_get/regular/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_advanced": "/v1/business/google/my_business_info/task_get/advanced/744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "endpoint_html": null
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/business/google/my_business_info/task_get/{id}": {
   "get": {
    "operationId": "business-google-my-business-info-task-get",
    "summary": "Google Business Profile: Task Get",
    "description": "Read one queued profile lookup.\n\nPass the task id from task_post or tasks_ready. Returns 40602 while the task is queued and 40601 while it runs. `task_get/{format}/{id}` is accepted too. Free: the task was billed when it returned data.",
    "tags": [
     "business"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to."
    },
    "x-beta": true,
    "x-source": "dataforseo",
    "x-mode": "task_get",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/business_data/google/my_business_info/task_get"
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "The task id returned by task_post.",
      "schema": {
       "type": "string",
       "examples": [
        "7f8d2c1e-4b5a-4c3d-9e8f-0a1b2c3d4e5f"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.00135
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.00135
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "business",
                "google"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "keyword": "Summit Running Co. Boulder",
                "location_name": "Boulder,Colorado,United States",
                "language_code": "en"
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "keyword": {
                   "type": "string",
                   "description": "The keyword you sent, trimmed.",
                   "examples": [
                    "Summit Running Co. Boulder"
                   ]
                  },
                  "se_domain": {
                   "type": "string",
                   "description": "Always `google.com`.",
                   "examples": [
                    "google.com"
                   ]
                  },
                  "location_code": {
                   "type": [
                    "integer",
                    "null"
                   ],
                   "description": "The `location_code` you sent."
                  },
                  "language_code": {
                   "type": "string",
                   "description": "Language the profile was read in.",
                   "examples": [
                    "en"
                   ]
                  },
                  "check_url": {
                   "type": "string",
                   "description": "The URL the profile was read from.",
                   "examples": [
                    "https://www.google.com/search?tbm=map&authuser=0&hl=en&gl=us&q=Summit+Running+Co.+Boulder+Boulder%2CColorado%2CUnited+States&pb=%214m12%211m3%211d3000%212d0%..."
                   ]
                  },
                  "datetime": {
                   "type": "string",
                   "description": "When the profile was fetched, `YYYY-MM-DD HH:MM:SS +00:00`. For a cache hit, the original fetch time.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "fetched_at": {
                   "type": "string",
                   "description": "When the profile was fetched, ISO 8601.",
                   "examples": [
                    "2026-12-03T10:42:18.000000+00:00"
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Always 1.",
                   "examples": [
                    1
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "type": {
                      "type": "string",
                      "description": "Always `google_business_info`.",
                      "examples": [
                       "google_business_info"
                      ]
                     },
                     "title": {
                      "type": "string",
                      "description": "Business name.",
                      "examples": [
                       "Summit Running Co."
                      ]
                     },
                     "original_title": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "description": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "The business description.",
                      "examples": [
                       "Running shoes, gait analysis and group runs since 2009."
                      ]
                     },
                     "category": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Main category.",
                      "examples": [
                       "Running store"
                      ]
                     },
                     "category_ids": {
                      "type": "null",
                      "description": "Not in the place data. Always null."
                     },
                     "additional_categories": {
                      "anyOf": [
                       {
                        "type": "array",
                        "items": {
                         "type": "string"
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Other categories.",
                      "examples": [
                       [
                        "Shoe store",
                        "Sportswear store"
                       ]
                      ]
                     },
                     "cid": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Google customer id (CID), as a decimal string.",
                      "examples": [
                       "1234567890842202901"
                      ]
                     },
                     "feature_id": {
                      "type": "string",
                      "description": "Google feature id, `0x…:0x…`.",
                      "examples": [
                       "0x876bec0d1a2b3c4d:0x112210f4a8c0b315"
                      ]
                     },
                     "address": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Full address as shown.",
                      "examples": [
                       "120 Main St, Boulder, CO 80302"
                      ]
                     },
                     "address_info": {
                      "anyOf": [
                       {
                        "type": "object",
                        "properties": {
                         "borough": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "Neighborhood or borough."
                         },
                         "address": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "Street address.",
                          "examples": [
                           "120 Main St"
                          ]
                         },
                         "city": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "City.",
                          "examples": [
                           "Boulder"
                          ]
                         },
                         "zip": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "Postal code.",
                          "examples": [
                           "80302"
                          ]
                         },
                         "region": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "State or region.",
                          "examples": [
                           "Colorado"
                          ]
                         },
                         "country_code": {
                          "type": [
                           "string",
                           "null"
                          ],
                          "description": "Two-letter country code.",
                          "examples": [
                           "US"
                          ]
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "The address in parts."
                     },
                     "place_id": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Google place id.",
                      "examples": [
                       "ChIJexample-summit-0001"
                      ]
                     },
                     "phone": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Phone number as shown.",
                      "examples": [
                       "+1 303-555-0142"
                      ]
                     },
                     "url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "The business's website.",
                      "examples": [
                       "https://summitrunning.example/"
                      ]
                     },
                     "contact_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "contributor_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "book_online_url": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "domain": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Domain of the website.",
                      "examples": [
                       "summitrunning.example"
                      ]
                     },
                     "logo": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "main_image": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "URL of the main photo.",
                      "examples": [
                       "https://lh5.googleusercontent.com/p/AF1QipSummitStorefront"
                      ]
                     },
                     "total_photos": {
                      "type": [
                       "integer",
                       "null"
                      ],
                      "description": "Number of photos on the profile.",
                      "examples": [
                       214
                      ]
                     },
                     "snippet": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Short address line.",
                      "examples": [
                       "120 Main St, Boulder, CO 80302"
                      ]
                     },
                     "latitude": {
                      "type": [
                       "number",
                       "null"
                      ],
                      "description": "Latitude.",
                      "examples": [
                       40.0176
                      ]
                     },
                     "longitude": {
                      "type": [
                       "number",
                       "null"
                      ],
                      "description": "Longitude.",
                      "examples": [
                       -105.2797
                      ]
                     },
                     "is_claimed": {
                      "type": [
                       "boolean",
                       "null"
                      ],
                      "description": "True when the owner has claimed the profile.",
                      "examples": [
                       true
                      ]
                     },
                     "attributes": {
                      "type": "null",
                      "description": "Not parsed yet. Always null."
                     },
                     "place_topics": {
                      "type": "null",
                      "description": "Not parsed yet. Always null."
                     },
                     "rating": {
                      "anyOf": [
                       {
                        "type": "object",
                        "properties": {
                         "rating_type": {
                          "type": "string",
                          "description": "Always `Max5`.",
                          "examples": [
                           "Max5"
                          ]
                         },
                         "value": {
                          "type": [
                           "number",
                           "null"
                          ],
                          "description": "Average rating, 1 to 5.",
                          "examples": [
                           4.7
                          ]
                         },
                         "votes_count": {
                          "type": [
                           "integer",
                           "null"
                          ],
                          "description": "Number of reviews.",
                          "examples": [
                           318
                          ]
                         },
                         "rating_max": {
                          "type": "null",
                          "description": "Always null."
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Star rating."
                     },
                     "hotel_rating": {
                      "type": "null",
                      "description": "Not available. Always null."
                     },
                     "price_level": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "Price level as shown on the profile, for example `$$`.",
                      "examples": [
                       "$$"
                      ]
                     },
                     "rating_distribution": {
                      "type": [
                       "object",
                       "null"
                      ],
                      "description": "Review counts by star, keys `1` to `5`.",
                      "examples": [
                       {
                        "1": 6,
                        "2": 4,
                        "3": 12,
                        "4": 58,
                        "5": 238
                       }
                      ]
                     },
                     "people_also_search": {
                      "type": "null",
                      "description": "Not parsed yet. Always null."
                     },
                     "work_time": {
                      "anyOf": [
                       {
                        "type": "object",
                        "properties": {
                         "work_hours": {
                          "type": "object",
                          "properties": {
                           "timetable": {
                            "type": "object",
                            "properties": {
                             "monday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Monday. Null when closed or unknown."
                             },
                             "tuesday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Tuesday. Null when closed or unknown."
                             },
                             "wednesday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Wednesday. Null when closed or unknown."
                             },
                             "thursday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Thursday. Null when closed or unknown."
                             },
                             "friday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Friday. Null when closed or unknown."
                             },
                             "saturday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Saturday. Null when closed or unknown."
                             },
                             "sunday": {
                              "anyOf": [
                               {
                                "type": "array",
                                "items": {
                                 "type": "object",
                                 "properties": {
                                  "open": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      10
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Opening time."
                                  },
                                  "close": {
                                   "type": "object",
                                   "properties": {
                                    "hour": {
                                     "type": "integer",
                                     "description": "Hour, 0 to 23.",
                                     "examples": [
                                      19
                                     ]
                                    },
                                    "minute": {
                                     "type": "integer",
                                     "description": "Minute, 0 to 59.",
                                     "examples": [
                                      0
                                     ]
                                    }
                                   },
                                   "description": "Closing time."
                                  }
                                 }
                                }
                               },
                               {
                                "type": "null"
                               }
                              ],
                              "description": "Opening spans on Sunday. Null when closed or unknown."
                             }
                            },
                            "description": "One key per weekday."
                           },
                           "current_status": {
                            "type": [
                             "string",
                             "null"
                            ],
                            "description": "`opened` or `close` at fetch time.",
                            "enum": [
                             "opened",
                             "close",
                             null
                            ],
                            "examples": [
                             "opened"
                            ]
                           }
                          },
                          "description": "Opening hours by day."
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Opening hours."
                     },
                     "popular_times": {
                      "type": "null",
                      "description": "Not parsed yet. Always null."
                     },
                     "local_business_links": {
                      "type": "null",
                      "description": "Not parsed yet. Always null."
                     },
                     "contact_info": {
                      "anyOf": [
                       {
                        "type": "array",
                        "items": {
                         "type": "object",
                         "properties": {
                          "type": {
                           "type": "string",
                           "description": "Always `telephone`.",
                           "examples": [
                            "telephone"
                           ]
                          },
                          "value": {
                           "type": "string",
                           "description": "The phone number.",
                           "examples": [
                            "+1 303-555-0142"
                           ]
                          },
                          "source": {
                           "type": "string",
                           "description": "Always `google`.",
                           "examples": [
                            "google"
                           ]
                          }
                         }
                        }
                       },
                       {
                        "type": "null"
                       }
                      ],
                      "description": "Contact details."
                     },
                     "check_url": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "A URL that opens the profile in a browser.",
                      "examples": [
                       "https://www.google.com/search?tbm=map&authuser=0&hl=en&gl=us&q=Summit+Running+Co.+Boulder+Boulder%2CColorado%2CUnited+States&pb=%214m12%211m3%211d3000%212d0%..."
                      ]
                     },
                     "last_updated_time": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "When we read the profile, `YYYY-MM-DD HH:MM:SS +00:00`.",
                      "examples": [
                       "2026-12-03 10:42:18 +00:00"
                      ]
                     },
                     "first_seen": {
                      "type": "null",
                      "description": "Not available. Always null."
                     }
                    }
                   },
                   "description": "The profile."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The data for this task. Null when the task returned an error."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ],
              "examples": [
               "standard"
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.00135,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.00135,
           "result_count": 1,
           "path": [
            "v1",
            "business",
            "google",
            "my_business_info",
            "task_get"
           ],
           "data": {
            "keyword": "Summit Running Co. Boulder",
            "location_name": "Boulder,Colorado,United States",
            "language_code": "en"
           },
           "result": [
            {
             "keyword": "Summit Running Co. Boulder",
             "se_domain": "google.com",
             "location_code": null,
             "language_code": "en",
             "check_url": "https://www.google.com/search?tbm=map&authuser=0&hl=en&gl=us&q=Summit+Running+Co.+Boulder+Boulder%2CColorado%2CUnited+States&pb=%214m12%211m3%211d3000%212d0%213d0%212m3%211f0%212f0%213f0%213m2%211i1024%212i768%214f13.1%217i20%218i0",
             "datetime": "2026-12-03 10:42:18 +00:00",
             "fetched_at": "2026-12-03T10:42:18.000000+00:00",
             "items_count": 1,
             "items": [
              {
               "type": "google_business_info",
               "title": "Summit Running Co.",
               "original_title": null,
               "description": "Running shoes, gait analysis and group runs since 2009.",
               "category": "Running store",
               "category_ids": null,
               "additional_categories": [
                "Shoe store",
                "Sportswear store"
               ],
               "cid": "1234567890842202901",
               "feature_id": "0x876bec0d1a2b3c4d:0x112210f4a8c0b315",
               "address": "120 Main St, Boulder, CO 80302",
               "address_info": {
                "borough": null,
                "address": "120 Main St",
                "city": "Boulder",
                "zip": "80302",
                "region": "Colorado",
                "country_code": "US"
               },
               "place_id": "ChIJexample-summit-0001",
               "phone": "+1 303-555-0142",
               "url": "https://summitrunning.example/",
               "contact_url": null,
               "contributor_url": null,
               "book_online_url": null,
               "domain": "summitrunning.example",
               "logo": null,
               "main_image": "https://lh5.googleusercontent.com/p/AF1QipSummitStorefront",
               "total_photos": 214,
               "snippet": "120 Main St, Boulder, CO 80302",
               "latitude": 40.0176,
               "longitude": -105.2797,
               "is_claimed": true,
               "attributes": null,
               "place_topics": null,
               "rating": {
                "rating_type": "Max5",
                "value": 4.7,
                "votes_count": 318,
                "rating_max": null
               },
               "hotel_rating": null,
               "price_level": "$$",
               "rating_distribution": {
                "1": 6,
                "2": 4,
                "3": 12,
                "4": 58,
                "5": 238
               },
               "people_also_search": null,
               "work_time": {
                "work_hours": {
                 "timetable": {
                  "sunday": null,
                  "monday": [
                   {
                    "open": {
                     "hour": 10,
                     "minute": 0
                    },
                    "close": {
                     "hour": 19,
                     "minute": 0
                    }
                   }
                  ],
                  "tuesday": [
                   {
                    "open": {
                     "hour": 10,
                     "minute": 0
                    },
                    "close": {
                     "hour": 19,
                     "minute": 0
                    }
                   }
                  ],
                  "wednesday": null,
                  "thursday": null,
                  "friday": null,
                  "saturday": [
                   {
                    "open": {
                     "hour": 9,
                     "minute": 0
                    },
                    "close": {
                     "hour": 18,
                     "minute": 0
                    }
                   }
                  ]
                 },
                 "current_status": "opened"
                }
               },
               "popular_times": null,
               "local_business_links": null,
               "contact_info": [
                {
                 "type": "telephone",
                 "value": "+1 303-555-0142",
                 "source": "google"
                }
               ],
               "check_url": "https://www.google.com/search?tbm=map&authuser=0&hl=en&gl=us&q=Summit+Running+Co.+Boulder+Boulder%2CColorado%2CUnited+States&pb=%214m12%211m3%211d3000%212d0%213d0%212m3%211f0%212f0%213f0%213m2%211i1024%212i768%214f13.1%217i20%218i0",
               "last_updated_time": "2026-12-03 10:42:18 +00:00",
               "first_seen": null
              }
             ]
            }
           ],
           "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "fetch_level": "standard",
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40401, 40602, 40601); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/business/google/products": {
   "get": {
    "operationId": "business-google-products",
    "summary": "Google Business Products",
    "description": "The products a Google business profile lists, with name, price, image and link, in the Scale SERP `place_products` request and response shape.\n\nSend the place's CID as `data_cid` (or its feature id as `data_id`) in the query string. A JSON body with the same fields is accepted on POST.\n\n**Billing.** One flat price per place that returned products, whatever fetch level was needed. A place with no products returns an empty list at $0, and so does a page no level could fetch. Results are cached for 24 h.\n\n**Beta.** We read Google's place data with a parser written from public documentation that hasn't been checked against live responses yet. Field names and shapes are fixed; some values may be null more often than they should be until that check is done.",
    "tags": [
     "business"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     },
     {
      "apiKeyQuery": []
     }
    ],
    "x-price": {
     "unit": "place",
     "usd": {
      "live": 0.0015
     },
     "by_level": null,
     "notes": "Flat per place; not priced by fetch level."
    },
    "x-beta": true,
    "x-source": "scaleserp",
    "x-mode": "live",
    "x-replaces": {
     "product": "Scale SERP",
     "path": "/search?search_type=place_products"
    },
    "parameters": [
     {
      "name": "data_cid",
      "in": "query",
      "required": true,
      "description": "The place's decimal CID. Required unless you send `data_id`.",
      "schema": {
       "type": "string",
       "examples": [
        "1234567890842202901"
       ]
      }
     },
     {
      "name": "data_id",
      "in": "query",
      "required": false,
      "description": "The place's `0x…:0x…` feature id, used when `data_cid` isn't sent.",
      "schema": {
       "type": "string",
       "examples": [
        "0x876bec0d1a2b3c4d:0x112210f4a8c0b315"
       ]
      }
     },
     {
      "name": "hl",
      "in": "query",
      "required": false,
      "description": "Language of the product page.",
      "schema": {
       "type": "string",
       "default": "en",
       "examples": [
        "en"
       ]
      }
     },
     {
      "name": "search_type",
      "in": "query",
      "required": false,
      "description": "Accepted for clients that always send it. Only `place_products` is served.",
      "schema": {
       "type": "string",
       "enum": [
        "place_products"
       ],
       "examples": [
        "place_products"
       ]
      }
     },
     {
      "name": "auto_upgrade",
      "in": "query",
      "required": false,
      "description": "Lets the request move to a higher fetch level when the included level can't get the data, billed at the level that delivered it. `false` stops at the Standard level and returns the failure at $0. Also accepts `\"true\"`, `\"false\"`, `1` and `0`.",
      "schema": {
       "type": "boolean",
       "default": true,
       "examples": [
        true
       ]
      }
     },
     {
      "name": "max_level",
      "in": "query",
      "required": false,
      "description": "The highest fetch level Auto-upgrade may use. `rendered` never uses the Protected level.",
      "schema": {
       "type": "string",
       "enum": [
        "standard",
        "rendered",
        "protected"
       ],
       "default": "protected",
       "examples": [
        "rendered"
       ]
      }
     },
     {
      "name": "max_cost",
      "in": "query",
      "required": false,
      "description": "The most this task may cost, in USD. The wallet check reserves this amount instead of the worst-case price, the request never upgrades past it, and the charge never exceeds it.",
      "schema": {
       "type": "number",
       "minimum": 0,
       "examples": [
        0.002
       ]
      }
     },
     {
      "name": "max_age",
      "in": "query",
      "required": false,
      "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always fetches fresh. Default window: 24 h. Leave it out to use it.",
      "schema": {
       "type": "integer",
       "minimum": 0,
       "maximum": 86400,
       "examples": [
        3600
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "request_info": {
           "type": "object",
           "properties": {
            "success": {
             "type": "boolean",
             "description": "True when the request returned data.",
             "examples": [
              true
             ]
            },
            "credits_used": {
             "type": "integer",
             "description": "1 when the request returned data, else 0.",
             "examples": [
              1
             ]
            },
            "cost": {
             "type": "number",
             "description": "What this request was charged, in USD.",
             "examples": [
              0.0015
             ]
            },
            "receipt_id": {
             "type": [
              "string",
              "null"
             ],
             "description": "Id of the ledger receipt for this request.",
             "examples": [
              "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
             ]
            },
            "fetch_level": {
             "type": [
              "string",
              "null"
             ],
             "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
             "enum": [
              "standard",
              "rendered",
              "protected",
              null
             ],
             "examples": [
              "standard"
             ]
            },
            "upgraded": {
             "type": "boolean",
             "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
             "examples": [
              false
             ]
            },
            "upgrade_reason": {
             "type": [
              "string",
              "null"
             ],
             "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
            },
            "cache_hit": {
             "type": "boolean",
             "description": "True when the data came from the shared result cache instead of a new fetch.",
             "examples": [
              false
             ]
            },
            "message": {
             "type": "string",
             "description": "What went wrong. Present only on errors."
            }
           },
           "description": "Outcome and billing for this request."
          },
          "search_parameters": {
           "type": "object",
           "properties": {
            "search_type": {
             "type": "string",
             "description": "Always `place_products`.",
             "examples": [
              "place_products"
             ]
            },
            "data_cid": {
             "type": "string",
             "description": "The place's CID.",
             "examples": [
              "1234567890842202901"
             ]
            },
            "hl": {
             "type": "string",
             "description": "Language.",
             "examples": [
              "en"
             ]
            },
            "engine": {
             "type": "string",
             "description": "Always `google`.",
             "examples": [
              "google"
             ]
            }
           },
           "description": "The search as we ran it."
          },
          "search_metadata": {
           "type": "object",
           "properties": {
            "created_at": {
             "type": "string",
             "description": "When the request was received, ISO 8601.",
             "examples": [
              "2026-12-03T10:42:18.000000+00:00"
             ]
            },
            "processed_at": {
             "type": "string",
             "description": "When the response was built, ISO 8601.",
             "examples": [
              "2026-12-03T10:42:18.000000+00:00"
             ]
            },
            "fetched_at": {
             "type": "string",
             "description": "When the product page was fetched (the original time for a cache hit).",
             "examples": [
              "2026-12-03T10:42:18.000000+00:00"
             ]
            },
            "engine_url": {
             "type": "string",
             "description": "The page the products were read from.",
             "examples": [
              "https://www.google.com/local/place/products/catalog?hl=en&ludocid=1234567890842202901"
             ]
            }
           },
           "description": "Timing for this request."
          },
          "search_information": {
           "type": "object",
           "properties": {
            "original_query_yields_zero_results": {
             "type": "boolean",
             "description": "True when the place lists no products.",
             "examples": [
              false
             ]
            }
           },
           "description": "Summary."
          },
          "place_products_results": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "position": {
              "type": "integer",
              "description": "Position in the list, starting at 1.",
              "examples": [
               1
              ]
             },
             "name": {
              "type": "string",
              "description": "Product name.",
              "examples": [
               "Ridge Runner 4 trail shoe"
              ]
             },
             "link": {
              "type": "string",
              "description": "Link to the product on Google.",
              "examples": [
               "https://www.google.com/local/place/products/product?ludocid=1&entry_id=p1&hl=en"
              ]
             },
             "image": {
              "type": [
               "string",
               "null"
              ],
              "description": "Product image URL.",
              "examples": [
               "https://lh3.googleusercontent.com/summit-ridge"
              ]
             },
             "price": {
              "type": "string",
              "description": "Price as shown, for example `$139.00`. Present only when the product shows one.",
              "examples": [
               "$139.00"
              ]
             }
            }
           },
           "description": "The products the place lists."
          }
         }
        },
        "example": {
         "request_info": {
          "success": true,
          "credits_used": 1,
          "cost": 0.0015,
          "receipt_id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
          "fetch_level": "standard",
          "upgraded": false,
          "upgrade_reason": null,
          "cache_hit": false
         },
         "search_parameters": {
          "search_type": "place_products",
          "data_cid": "1234567890842202901",
          "hl": "en",
          "engine": "google"
         },
         "search_metadata": {
          "created_at": "2026-12-03T10:42:18.000000+00:00",
          "processed_at": "2026-12-03T10:42:18.000000+00:00",
          "fetched_at": "2026-12-03T10:42:18.000000+00:00",
          "engine_url": "https://www.google.com/local/place/products/catalog?hl=en&ludocid=1234567890842202901"
         },
         "search_information": {
          "original_query_yields_zero_results": false
         },
         "place_products_results": [
          {
           "name": "Ridge Runner 4 trail shoe",
           "link": "https://www.google.com/local/place/products/product?ludocid=1&entry_id=p1&hl=en",
           "image": "https://lh3.googleusercontent.com/summit-ridge",
           "position": 1,
           "price": "$139.00"
          },
          {
           "name": "Merino running socks",
           "link": "https://www.google.com/local/place/products/product?ludocid=1&entry_id=p2&hl=en",
           "image": "https://lh3.googleusercontent.com/summit-socks",
           "position": 2,
           "price": "$22.00"
          }
         ]
        }
       }
      }
     },
     "400": {
      "description": "`data_cid` is missing or not a number, or a control field is invalid. `request_info.success` is false and `request_info.message` says why.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ScaleSerpFailure"
        }
       }
      }
     },
     "401": {
      "description": "No valid API key.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ScaleSerpFailure"
        }
       }
      }
     },
     "402": {
      "description": "Wallet balance below this request's price.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ScaleSerpFailure"
        }
       }
      }
     },
     "429": {
      "description": "Too many requests.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ScaleSerpFailure"
        }
       }
      }
     },
     "500": {
      "description": "No allowed fetch level got the product page. $0.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ScaleSerpFailure"
        }
       }
      }
     }
    }
   }
  },
  "/business/google/photos": {
   "get": {
    "operationId": "business-google-photos",
    "summary": "Google Business Photos",
    "description": "Photo URLs for a place, filterable to owner uploads with `tag=by_owner`, in the Outscraper photos request and response shape.\n\nSend the place in `query`. For several places, repeat `query` in the URL, separate them with newlines, or POST a JSON body with `query` as an array.\n\nA query that matches no place returns HTTP 200 with an empty list for that query in `data`, at $0 (Outscraper's convention). Bad input is HTTP 400.\n\n**Billing.** Per photo returned. A place with no photos for the tag, or no place found, costs $0. Results are cached for 24 h.\n\n**Beta.** We read Google's place data with a parser written from public documentation that hasn't been checked against live responses yet. Field names and shapes are fixed; some values may be null more often than they should be until that check is done.",
    "tags": [
     "business"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "image",
     "usd": {
      "live": 0.0009
     },
     "by_level": null,
     "notes": "Per photo returned; not priced by fetch level."
    },
    "x-beta": true,
    "x-source": "outscraper",
    "x-mode": "live",
    "x-replaces": {
     "product": "Outscraper",
     "path": "Google Maps Photos (query, photosLimit, tag)"
    },
    "parameters": [
     {
      "name": "query",
      "in": "query",
      "required": true,
      "description": "The place: name and address, place id, `0x…:0x…` feature id, or CID. Send up to 25 places by repeating `query` (`?query=a&query=b`), separating them with newlines, or as a JSON array (POST).",
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       ],
       "maxLength": 25,
       "examples": [
        "0x876bec0d1a2b3c4d:0x112210f4a8c0b315"
       ]
      }
     },
     {
      "name": "photosLimit",
      "in": "query",
      "required": false,
      "description": "Most photos to return per place. `photos_limit` and `limit` are accepted too.",
      "schema": {
       "type": "integer",
       "default": 100,
       "minimum": 1,
       "maximum": 1000,
       "examples": [
        20
       ]
      }
     },
     {
      "name": "photos_limit",
      "in": "query",
      "required": false,
      "description": "Same as `photosLimit`.",
      "schema": {
       "type": "integer"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "Same as `photosLimit`.",
      "schema": {
       "type": "integer"
      }
     },
     {
      "name": "tag",
      "in": "query",
      "required": false,
      "description": "Which photos: `all`, `latest`, `menu`, `by_owner` (owner uploads) or `videos`.",
      "schema": {
       "type": "string",
       "enum": [
        "all",
        "latest",
        "menu",
        "by_owner",
        "videos"
       ],
       "default": "all",
       "examples": [
        "by_owner"
       ]
      }
     },
     {
      "name": "language",
      "in": "query",
      "required": false,
      "description": "Language.",
      "schema": {
       "type": "string",
       "default": "en",
       "examples": [
        "en"
       ]
      }
     },
     {
      "name": "region",
      "in": "query",
      "required": false,
      "description": "Two-letter country the place is in.",
      "schema": {
       "type": "string",
       "default": "us",
       "examples": [
        "us"
       ]
      }
     },
     {
      "name": "auto_upgrade",
      "in": "query",
      "required": false,
      "description": "Lets the request move to a higher fetch level when the included level can't get the data, billed at the level that delivered it. `false` stops at the Standard level and returns the failure at $0. Also accepts `\"true\"`, `\"false\"`, `1` and `0`.",
      "schema": {
       "type": "boolean",
       "default": true,
       "examples": [
        true
       ]
      }
     },
     {
      "name": "max_level",
      "in": "query",
      "required": false,
      "description": "The highest fetch level Auto-upgrade may use. `rendered` never uses the Protected level.",
      "schema": {
       "type": "string",
       "enum": [
        "standard",
        "rendered",
        "protected"
       ],
       "default": "protected",
       "examples": [
        "rendered"
       ]
      }
     },
     {
      "name": "max_cost",
      "in": "query",
      "required": false,
      "description": "The most this task may cost, in USD. The wallet check reserves this amount instead of the worst-case price, the request never upgrades past it, and the charge never exceeds it. Photos stop at the number this amount pays for.",
      "schema": {
       "type": "number",
       "minimum": 0,
       "examples": [
        0.002
       ]
      }
     },
     {
      "name": "max_age",
      "in": "query",
      "required": false,
      "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always fetches fresh. Default window: 24 h. Leave it out to use it.",
      "schema": {
       "type": "integer",
       "minimum": 0,
       "maximum": 86400,
       "examples": [
        3600
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "id": {
           "type": "string",
           "description": "Request id.",
           "examples": [
            "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
           ]
          },
          "status": {
           "type": "string",
           "description": "`Success`.",
           "examples": [
            "Success"
           ]
          },
          "receipt_id": {
           "type": [
            "string",
            "null"
           ],
           "description": "Id of the ledger receipt for this request.",
           "examples": [
            "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
           ]
          },
          "cost": {
           "type": "number",
           "description": "What this request was charged, in USD.",
           "examples": [
            0.0018
           ]
          },
          "fetch_level": {
           "type": [
            "string",
            "null"
           ],
           "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
           "enum": [
            "standard",
            "rendered",
            "protected",
            null
           ],
           "examples": [
            "standard"
           ]
          },
          "upgraded": {
           "type": "boolean",
           "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
           "examples": [
            false
           ]
          },
          "upgrade_reason": {
           "type": [
            "string",
            "null"
           ],
           "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
          },
          "cache_hit": {
           "type": "boolean",
           "description": "True when every place came from the shared result cache.",
           "examples": [
            false
           ]
          },
          "data": {
           "type": "array",
           "items": {
            "type": "array",
            "items": {
             "type": "object",
             "properties": {
              "query": {
               "type": "string",
               "description": "The query this place answers.",
               "examples": [
                "0x876bec0d1a2b3c4d:0x112210f4a8c0b315"
               ]
              },
              "name": {
               "type": [
                "string",
                "null"
               ],
               "description": "Place name.",
               "examples": [
                "Summit Running Co."
               ]
              },
              "place_id": {
               "type": [
                "string",
                "null"
               ],
               "description": "Google place id.",
               "examples": [
                "ChIJexample-summit-0001"
               ]
              },
              "google_id": {
               "type": [
                "string",
                "null"
               ],
               "description": "Google feature id, `0x…:0x…`.",
               "examples": [
                "0x876bec0d1a2b3c4d:0x112210f4a8c0b315"
               ]
              },
              "full_address": {
               "type": [
                "string",
                "null"
               ],
               "description": "Full address.",
               "examples": [
                "120 Main St, Boulder, CO 80302"
               ]
              },
              "photos_data": {
               "type": "array",
               "items": {
                "type": "object",
                "properties": {
                 "photo_id": {
                  "type": "string",
                  "description": "Photo id.",
                  "examples": [
                   "AF1QipSummitStorefront"
                  ]
                 },
                 "photo_url": {
                  "type": "string",
                  "description": "Photo URL sized to 1024×768.",
                  "examples": [
                   "https://lh5.googleusercontent.com/p/AF1QipSummitStorefront=w1024-h768-k-no"
                  ]
                 },
                 "photo_url_big": {
                  "type": "string",
                  "description": "Photo URL sized to 2048×1536.",
                  "examples": [
                   "https://lh5.googleusercontent.com/p/AF1QipSummitStorefront=w2048-h1536-k-no"
                  ]
                 },
                 "original_photo_url": {
                  "type": "string",
                  "description": "Photo URL at its original size.",
                  "examples": [
                   "https://lh5.googleusercontent.com/p/AF1QipSummitStorefront=s0"
                  ]
                 },
                 "latitude": {
                  "type": "null",
                  "description": "Not available. Always null."
                 },
                 "longitude": {
                  "type": "null",
                  "description": "Not available. Always null."
                 },
                 "photo_date": {
                  "type": "null",
                  "description": "Not available yet. Always null."
                 },
                 "photo_upload_source": {
                  "type": [
                   "string",
                   "null"
                  ],
                  "description": "`owner` for `tag: by_owner`; null otherwise."
                 },
                 "photo_source_video": {
                  "type": "null",
                  "description": "Not available. Always null."
                 },
                 "photo_tags": {
                  "type": "array",
                  "items": {
                   "type": "string"
                  },
                  "description": "The tag you asked for; empty for `all`.",
                  "examples": [
                   []
                  ]
                 }
                }
               },
               "description": "The photos."
              }
             }
            }
           },
           "description": "One list per query, in the order sent, holding the place; an empty list when no place matched that query."
          }
         }
        },
        "example": {
         "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
         "status": "Success",
         "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
         "cost": 0.0018,
         "fetch_level": "standard",
         "upgraded": false,
         "upgrade_reason": null,
         "cache_hit": false,
         "data": [
          [
           {
            "query": "0x876bec0d1a2b3c4d:0x112210f4a8c0b315",
            "name": "Summit Running Co.",
            "place_id": "ChIJexample-summit-0001",
            "google_id": "0x876bec0d1a2b3c4d:0x112210f4a8c0b315",
            "full_address": "120 Main St, Boulder, CO 80302",
            "photos_data": [
             {
              "photo_id": "AF1QipSummitStorefront",
              "photo_url": "https://lh5.googleusercontent.com/p/AF1QipSummitStorefront=w1024-h768-k-no",
              "photo_url_big": "https://lh5.googleusercontent.com/p/AF1QipSummitStorefront=w2048-h1536-k-no",
              "original_photo_url": "https://lh5.googleusercontent.com/p/AF1QipSummitStorefront=s0",
              "latitude": null,
              "longitude": null,
              "photo_date": null,
              "photo_upload_source": null,
              "photo_source_video": null,
              "photo_tags": []
             },
             {
              "photo_id": "AF1QipSummitShoeWall",
              "photo_url": "https://lh5.googleusercontent.com/p/AF1QipSummitShoeWall=w1024-h768-k-no",
              "photo_url_big": "https://lh5.googleusercontent.com/p/AF1QipSummitShoeWall=w2048-h1536-k-no",
              "original_photo_url": "https://lh5.googleusercontent.com/p/AF1QipSummitShoeWall=s0",
              "latitude": null,
              "longitude": null,
              "photo_date": null,
              "photo_upload_source": null,
              "photo_source_video": null,
              "photo_tags": []
             }
            ]
           }
          ]
         ]
        }
       }
      }
     },
     "400": {
      "description": "`query` missing, more than 25 places, an unknown `tag`, a `photosLimit` below 1, or `max_cost` below the price of one photo. Body: `{\"status\": \"Error\", \"error\": true, \"errorMessage\": ...}`.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/OutscraperError"
        }
       }
      }
     },
     "401": {
      "description": "No valid API key.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/OutscraperError"
        }
       }
      }
     },
     "402": {
      "description": "Wallet balance below the worst case for this request.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/OutscraperError"
        }
       }
      }
     },
     "429": {
      "description": "Too many requests.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/OutscraperError"
        }
       }
      }
     }
    }
   }
  },
  "/ads/meta": {
   "post": {
    "operationId": "ads-meta",
    "summary": "Meta Ad Library",
    "description": "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.\n\nPOST the input as one JSON object. Each URL and each search term is a source; ads are collected source by source until `resultsLimit` is reached. Only the first page of library results is read for each source.\n\nThe response body is a JSON array of items, with no wrapper. Every item carries `receipt_id`, and the same id is in the `X-Receipt-Id` response header.\n\n**Billing.** Per ad returned, whatever fetch level was needed. An input that finds no ads costs $0. Results are cached for 6 h.\n\n**Beta.** The parser behind this route was written from public documentation and hasn't been checked against live pages yet. Item field names are fixed; some values may be null more often than they should be until that check is done.",
    "tags": [
     "ads"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "ad",
     "usd": {
      "live": 0.00018
     },
     "by_level": null,
     "notes": "Per ad returned."
    },
    "x-beta": true,
    "x-source": "apify",
    "x-mode": "live",
    "x-replaces": {
     "product": "Apify",
     "path": "Facebook Ads Library actor input and dataset items"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "startUrls": {
          "type": "array",
          "items": {
           "anyOf": [
            {
             "type": "object",
             "properties": {
              "url": {
               "type": "string",
               "description": "The URL.",
               "examples": [
                "https://www.facebook.com/ads/library/?q=trail%20shoes&country=US"
               ]
              }
             },
             "required": [
              "url"
             ]
            },
            {
             "type": "string"
            }
           ]
          },
          "description": "Ad library URLs (a keyword search with `q`, `country`, `ad_type` and `active_status`, a page's ads with `view_all_page_id`, or one ad with `id`), or a Facebook page URL, which is searched by the page's name. Each entry is `{\"url\": ...}` or a plain string. `urls` is accepted too. Send this, `searchTerms`, or both.",
          "examples": [
           [
            {
             "url": "https://www.facebook.com/ads/library/?view_all_page_id=104512345678901"
            }
           ]
          ]
         },
         "urls": {
          "type": "array",
          "items": {
           "type": [
            "object",
            "string"
           ]
          },
          "description": "Same as `startUrls`."
         },
         "searchTerms": {
          "anyOf": [
           {
            "type": "array",
            "items": {
             "type": "string"
            }
           },
           {
            "type": "string"
           }
          ],
          "description": "Keyword searches, one source each. `searchTerm` and `search_terms` are accepted too.",
          "examples": [
           [
            "trail running shoes"
           ]
          ]
         },
         "searchTerm": {
          "type": "string",
          "description": "Same as `searchTerms`, for a single keyword."
         },
         "search_terms": {
          "anyOf": [
           {
            "type": "array",
            "items": {
             "type": "string"
            }
           },
           {
            "type": "string"
           }
          ],
          "description": "Same as `searchTerms`."
         },
         "country": {
          "type": "string",
          "description": "Two-letter country the ads were shown in, or `ALL`. `countryCode` is accepted too. A country in an ad library URL wins for that URL.",
          "default": "ALL",
          "examples": [
           "US"
          ]
         },
         "countryCode": {
          "type": "string",
          "description": "Same as `country`."
         },
         "adType": {
          "type": "string",
          "description": "`ALL`, or `POLITICAL_AND_ISSUE_ADS` for ads about social issues, elections or politics. `ad_type` is accepted too.",
          "enum": [
           "ALL",
           "POLITICAL_AND_ISSUE_ADS"
          ],
          "default": "ALL",
          "examples": [
           "ALL"
          ]
         },
         "activeStatus": {
          "type": "string",
          "description": "Which ads: running now, stopped, or both. Unknown values fall back to `all`.",
          "enum": [
           "active",
           "inactive",
           "all"
          ],
          "default": "all",
          "examples": [
           "active"
          ]
         },
         "resultsLimit": {
          "type": "integer",
          "description": "Most ads to return across all sources. `count` and `maxItems` are accepted too.",
          "default": 100,
          "minimum": 1,
          "maximum": 5000,
          "examples": [
           50
          ]
         },
         "count": {
          "type": "integer",
          "description": "Same as `resultsLimit`."
         },
         "maxItems": {
          "type": "integer",
          "description": "Same as `resultsLimit`."
         },
         "limitPerSource": {
          "type": "integer",
          "description": "Most ads from any one URL or search term.",
          "minimum": 1,
          "maximum": 5000,
          "examples": [
           25
          ]
         },
         "auto_upgrade": {
          "type": "boolean",
          "description": "Lets the request move to a higher fetch level when the included level can't get the data, billed at the level that delivered it. `false` stops at the Standard level and returns the failure at $0. Also accepts `\"true\"`, `\"false\"`, `1` and `0`.",
          "default": true,
          "examples": [
           true
          ]
         },
         "max_level": {
          "type": "string",
          "description": "The highest fetch level Auto-upgrade may use. `rendered` never uses the Protected level.",
          "enum": [
           "standard",
           "rendered",
           "protected"
          ],
          "default": "protected",
          "examples": [
           "rendered"
          ]
         },
         "max_cost": {
          "type": "number",
          "description": "The most this task may cost, in USD. The wallet check reserves this amount instead of the worst-case price, the request never upgrades past it, and the charge never exceeds it. Ads stop at the number this amount pays for.",
          "minimum": 0,
          "examples": [
           0.002
          ]
         },
         "max_age": {
          "type": "integer",
          "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always fetches fresh. Default window: 6 h.",
          "minimum": 0,
          "maximum": 86400,
          "examples": [
           3600
          ]
         }
        }
       },
       "example": {
        "searchTerms": [
         "trail running shoes"
        ],
        "country": "US",
        "activeStatus": "active",
        "resultsLimit": 2
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "type": "object",
          "properties": {
           "inputUrl": {
            "type": [
             "string",
             "null"
            ],
            "description": "The URL or search this ad came from.",
            "examples": [
             "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&media_type=all&q=trail+running+shoes&search_type=keyword_unordered"
            ]
           },
           "adArchiveID": {
            "type": "string",
            "description": "The ad's library id.",
            "examples": [
             "1229350099285014"
            ]
           },
           "adArchiveId": {
            "type": "string",
            "description": "Same as `adArchiveID`, for clients that use this spelling.",
            "examples": [
             "1229350099285014"
            ]
           },
           "adId": {
            "type": [
             "string",
             "null"
            ],
            "description": "The ad id, when shown."
           },
           "pageID": {
            "type": "string",
            "description": "Id of the page that ran the ad.",
            "examples": [
             "100200300400"
            ]
           },
           "pageId": {
            "type": "string",
            "description": "Same as `pageID`.",
            "examples": [
             "100200300400"
            ]
           },
           "pageName": {
            "type": [
             "string",
             "null"
            ],
            "description": "Name of the page that ran the ad.",
            "examples": [
             "Summit Running Co."
            ]
           },
           "isActive": {
            "type": "boolean",
            "description": "True while the ad is running.",
            "examples": [
             true
            ]
           },
           "startDate": {
            "type": [
             "integer",
             "null"
            ],
            "description": "When the ad started, Unix seconds.",
            "examples": [
             1764547200
            ]
           },
           "endDate": {
            "type": [
             "integer",
             "null"
            ],
            "description": "When the ad stopped, Unix seconds. Null while running."
           },
           "startDateFormatted": {
            "type": [
             "string",
             "null"
            ],
            "description": "`startDate` as ISO 8601.",
            "examples": [
             "2025-12-01T00:00:00.000Z"
            ]
           },
           "endDateFormatted": {
            "type": [
             "string",
             "null"
            ],
            "description": "`endDate` as ISO 8601."
           },
           "publisherPlatform": {
            "type": "array",
            "items": {
             "type": "string"
            },
            "description": "Where it ran, for example `FACEBOOK`, `INSTAGRAM`.",
            "examples": [
             [
              "FACEBOOK",
              "INSTAGRAM"
             ]
            ]
           },
           "collationCount": {
            "type": [
             "integer",
             "null"
            ],
            "description": "Number of near-identical ads grouped with this one.",
            "examples": [
             2
            ]
           },
           "collationId": {
            "type": [
             "string",
             "null"
            ],
            "description": "Id of that group.",
            "examples": [
             "889900112233"
            ]
           },
           "categories": {
            "type": "array",
            "items": {
             "type": "string"
            },
            "description": "Ad categories, for example `POLITICAL`.",
            "examples": [
             [
              "UNKNOWN"
             ]
            ]
           },
           "currency": {
            "type": "string",
            "description": "Currency of `spend`. Empty when not disclosed.",
            "examples": [
             ""
            ]
           },
           "spend": {
            "type": [
             "object",
             "string",
             "null"
            ],
            "description": "Amount spent, disclosed for political and issue ads."
           },
           "impressionsWithIndex": {
            "type": "object",
            "properties": {
             "impressionsText": {
              "type": [
               "string",
               "null"
              ],
              "description": "Impression range as shown."
             },
             "impressionsIndex": {
              "type": "integer",
              "description": "Impression bucket, `-1` when not disclosed.",
              "examples": [
               -1
              ]
             },
             "range": {
              "type": [
               "object",
               "null"
              ],
              "description": "Impression range `{lower_bound, upper_bound}`. Present for ads read from the library's data interface."
             }
            },
            "description": "Impressions, disclosed for political and issue ads."
           },
           "reachEstimate": {
            "type": [
             "integer",
             "object",
             "null"
            ],
            "description": "Estimated reach, when disclosed."
           },
           "targetedOrReachedCountries": {
            "type": "array",
            "items": {
             "type": "string"
            },
            "description": "Countries the ad targeted or reached.",
            "examples": [
             []
            ]
           },
           "snapshot": {
            "type": "object",
            "description": "The ad's creative: page name, body text, title, link, call to action, images, videos and cards. Keys are camelCase; which keys are present depends on where the ad was read.",
            "examples": [
             {
              "pageName": "Summit Running Co.",
              "body": {
               "text": "New trail shoes for winter. Free gait analysis."
              },
              "title": "Shop trail shoes",
              "linkUrl": "https://summitrunning.example/trail-shoes",
              "ctaText": "Shop now",
              "ctaType": "SHOP_NOW"
             }
            ]
           },
           "url": {
            "type": [
             "string",
             "null"
            ],
            "description": "Link to the ad in the ad library.",
            "examples": [
             "https://www.facebook.com/ads/library/?id=1229350099285014"
            ]
           },
           "receipt_id": {
            "type": [
             "string",
             "null"
            ],
            "description": "Id of the ledger receipt for this request. Same on every item.",
            "examples": [
             "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
            ]
           }
          }
         }
        },
        "example": [
         {
          "inputUrl": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&media_type=all&q=trail+running+shoes&search_type=keyword_unordered",
          "adArchiveID": "1229350099285014",
          "adArchiveId": "1229350099285014",
          "adId": null,
          "pageID": "100200300400",
          "pageId": "100200300400",
          "pageName": "Summit Running Co.",
          "isActive": true,
          "startDate": 1764547200,
          "endDate": null,
          "startDateFormatted": "2025-12-01T00:00:00.000Z",
          "endDateFormatted": null,
          "publisherPlatform": [
           "FACEBOOK",
           "INSTAGRAM"
          ],
          "collationCount": 2,
          "collationId": "889900112233",
          "categories": [
           "UNKNOWN"
          ],
          "currency": "",
          "spend": null,
          "impressionsWithIndex": {
           "impressionsText": null,
           "impressionsIndex": -1
          },
          "reachEstimate": null,
          "targetedOrReachedCountries": [],
          "snapshot": {
           "pageName": "Summit Running Co.",
           "body": {
            "text": "New trail shoes for winter. Free gait analysis."
           },
           "title": "Shop trail shoes",
           "linkUrl": "https://summitrunning.example/trail-shoes",
           "ctaText": "Shop now",
           "ctaType": "SHOP_NOW",
           "displayFormat": "IMAGE",
           "images": [
            {
             "originalImageUrl": "https://images.example/ad-1.jpg"
            }
           ],
           "videos": [],
           "cards": []
          },
          "url": "https://www.facebook.com/ads/library/?id=1229350099285014",
          "receipt_id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
         },
         {
          "inputUrl": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&media_type=all&q=trail+running+shoes&search_type=keyword_unordered",
          "adArchiveID": "1229350099285015",
          "adArchiveId": "1229350099285015",
          "adId": null,
          "pageID": "100200300400",
          "pageId": "100200300400",
          "pageName": "Summit Running Co.",
          "isActive": true,
          "startDate": 1764547200,
          "endDate": null,
          "startDateFormatted": "2025-12-01T00:00:00.000Z",
          "endDateFormatted": null,
          "publisherPlatform": [
           "FACEBOOK",
           "INSTAGRAM"
          ],
          "collationCount": 1,
          "collationId": "889900112234",
          "categories": [
           "UNKNOWN"
          ],
          "currency": "",
          "spend": null,
          "impressionsWithIndex": {
           "impressionsText": null,
           "impressionsIndex": -1
          },
          "reachEstimate": null,
          "targetedOrReachedCountries": [],
          "snapshot": {
           "pageName": "Summit Running Co.",
           "body": {
            "text": "New trail shoes for winter. Free gait analysis."
           },
           "title": "Shop trail shoes",
           "linkUrl": "https://summitrunning.example/trail-shoes",
           "ctaText": "Shop now",
           "ctaType": "SHOP_NOW",
           "displayFormat": "IMAGE",
           "images": [
            {
             "originalImageUrl": "https://images.example/ad-1.jpg"
            }
           ],
           "videos": [],
           "cards": []
          },
          "url": "https://www.facebook.com/ads/library/?id=1229350099285015",
          "receipt_id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
         }
        ]
       }
      }
     },
     "400": {
      "description": "Invalid input (no URL or search term, a non-Facebook URL, or an unknown `adType`), or `max_cost` below the price of one item. Body: `{\"error\": {\"type\": \"invalid-input\", \"message\": ..., \"receipt_id\": null}}`. Nothing found for the input (`type: invalid-input`). $0.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ApifyError"
        }
       }
      }
     },
     "401": {
      "description": "No valid API key (`type: user-or-token-not-found`).",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ApifyError"
        }
       }
      }
     },
     "402": {
      "description": "Wallet balance below the worst case for this request (`type: not-enough-usage-to-run-paid-actor`).",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ApifyError"
        }
       }
      }
     },
     "429": {
      "description": "Too many requests (`type: rate-limit-exceeded`).",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ApifyError"
        }
       }
      }
     },
     "500": {
      "description": "No allowed fetch level got the page (`type: internal-error`). $0.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ApifyError"
        }
       }
      }
     }
    }
   }
  },
  "/ads/yelp": {
   "post": {
    "operationId": "ads-yelp",
    "summary": "Yelp Search Ads",
    "description": "Yelp search results with sponsored rows flagged (`isAd`), plus name, rating, reviews, price range, categories and position, as Apify-style dataset items.\n\nPOST the input as one JSON object. Every term in `searchTerms` runs in every place in `locations`, plus one search per `directUrls` entry, up to 50 searches per request. Results are read page by page until `searchLimit` is reached.\n\nThe response body is a JSON array of items, with no wrapper. Every item carries `receipt_id`, and the same id is in the `X-Receipt-Id` response header.\n\n**Billing.** Per result returned, sponsored rows included, whatever fetch level was needed. An input that finds nothing costs $0. Results are cached for 6 h.\n\n**Beta.** The parser behind this route was written from public documentation and hasn't been checked against live pages yet. Item field names are fixed; some values may be null more often than they should be until that check is done.",
    "tags": [
     "ads"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "result",
     "usd": {
      "live": 0.00045
     },
     "by_level": null,
     "notes": "Per result returned."
    },
    "x-beta": true,
    "x-source": "apify",
    "x-mode": "live",
    "x-replaces": {
     "product": "Apify",
     "path": "Yelp scraper actor input and dataset items"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "searchTerms": {
          "anyOf": [
           {
            "type": "array",
            "items": {
             "type": "string"
            }
           },
           {
            "type": "string"
           }
          ],
          "description": "What to search for. Each term runs in each of `locations`. `search_terms` and `searchTerm` are accepted too. Send this with `locations`, or `directUrls`, or both.",
          "examples": [
           [
            "running store"
           ]
          ]
         },
         "search_terms": {
          "anyOf": [
           {
            "type": "array",
            "items": {
             "type": "string"
            }
           },
           {
            "type": "string"
           }
          ],
          "description": "Same as `searchTerms`."
         },
         "searchTerm": {
          "type": "string",
          "description": "Same as `searchTerms`, for a single term."
         },
         "locations": {
          "anyOf": [
           {
            "type": "array",
            "items": {
             "type": "string"
            }
           },
           {
            "type": "string"
           }
          ],
          "description": "Where to search, for example `Boulder, CO`. Required with `searchTerms`. `location` is accepted too.",
          "examples": [
           [
            "Boulder, CO"
           ]
          ]
         },
         "location": {
          "type": "string",
          "description": "Same as `locations`, for a single place."
         },
         "directUrls": {
          "type": "array",
          "items": {
           "type": [
            "string",
            "object"
           ]
          },
          "description": "Yelp search URLs (`yelp.com/search?find_desc=…&find_loc=…`). Business page URLs aren't supported. `startUrls` is accepted too.",
          "examples": [
           [
            "https://www.yelp.com/search?find_desc=running+store&find_loc=Boulder%2C+CO"
           ]
          ]
         },
         "startUrls": {
          "type": "array",
          "items": {
           "type": [
            "string",
            "object"
           ]
          },
          "description": "Same as `directUrls`."
         },
         "searchLimit": {
          "type": "integer",
          "description": "Results per search, sponsored rows included.",
          "default": 10,
          "minimum": 1,
          "maximum": 240,
          "examples": [
           10
          ]
         },
         "auto_upgrade": {
          "type": "boolean",
          "description": "Lets the request move to a higher fetch level when the included level can't get the data, billed at the level that delivered it. `false` stops at the Standard level and returns the failure at $0. Also accepts `\"true\"`, `\"false\"`, `1` and `0`.",
          "default": true,
          "examples": [
           true
          ]
         },
         "max_level": {
          "type": "string",
          "description": "The highest fetch level Auto-upgrade may use. `rendered` never uses the Protected level.",
          "enum": [
           "standard",
           "rendered",
           "protected"
          ],
          "default": "protected",
          "examples": [
           "rendered"
          ]
         },
         "max_cost": {
          "type": "number",
          "description": "The most this task may cost, in USD. The wallet check reserves this amount instead of the worst-case price, the request never upgrades past it, and the charge never exceeds it. Results stop at the number this amount pays for.",
          "minimum": 0,
          "examples": [
           0.002
          ]
         },
         "max_age": {
          "type": "integer",
          "description": "Accept a cached result up to this many seconds old, 0 to 86,400. `0` always fetches fresh. Default window: 6 h.",
          "minimum": 0,
          "maximum": 86400,
          "examples": [
           3600
          ]
         }
        }
       },
       "example": {
        "searchTerms": [
         "running store"
        ],
        "locations": [
         "Boulder, CO"
        ],
        "searchLimit": 3
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "type": "object",
          "properties": {
           "name": {
            "type": "string",
            "description": "Business name.",
            "examples": [
             "Summit Running Co."
            ]
           },
           "bizId": {
            "type": [
             "string",
             "null"
            ],
            "description": "Yelp business id.",
            "examples": [
             "sRc0001"
            ]
           },
           "directUrl": {
            "type": "string",
            "description": "The business's Yelp page, without tracking parameters.",
            "examples": [
             "https://www.yelp.com/biz/summit-running-co"
            ]
           },
           "alternateNames": {
            "type": "array",
            "items": {
             "type": "string"
            },
            "description": "Other names. Always empty for now.",
            "examples": [
             []
            ]
           },
           "address": {
            "type": "object",
            "properties": {
             "addressLine1": {
              "type": [
               "string",
               "null"
              ],
              "description": "Address as shown in the result.",
              "examples": [
               "120 Main St"
              ]
             },
             "addressLine2": {
              "type": "null",
              "description": "Always null."
             },
             "addressLine3": {
              "type": "null",
              "description": "Always null."
             },
             "city": {
              "type": "null",
              "description": "Always null."
             },
             "regionCode": {
              "type": "null",
              "description": "Always null."
             },
             "postalCode": {
              "type": "null",
              "description": "Always null."
             },
             "country": {
              "type": "null",
              "description": "Always null."
             }
            },
            "description": "Address. Only `addressLine1` is filled from search results."
           },
           "neighborhoods": {
            "type": "array",
            "items": {
             "type": "string"
            },
            "description": "Neighborhoods shown in the result.",
            "examples": [
             [
              "Downtown"
             ]
            ]
           },
           "phone": {
            "type": [
             "string",
             "null"
            ],
            "description": "Phone number.",
            "examples": [
             "(303) 555-0142"
            ]
           },
           "website": {
            "type": "null",
            "description": "Not in search results. Always null."
           },
           "aggregatedRating": {
            "type": [
             "number",
             "null"
            ],
            "description": "Star rating, 1 to 5.",
            "examples": [
             4.5
            ]
           },
           "reviewCount": {
            "type": [
             "integer",
             "null"
            ],
            "description": "Number of reviews.",
            "examples": [
             211
            ]
           },
           "priceRange": {
            "type": [
             "string",
             "null"
            ],
            "description": "Price range, for example `$$`.",
            "examples": [
             "$$"
            ]
           },
           "type": {
            "type": "null",
            "description": "Always null."
           },
           "cuisine": {
            "type": "null",
            "description": "Always null."
           },
           "categories": {
            "type": "array",
            "items": {
             "type": "string"
            },
            "description": "Yelp categories.",
            "examples": [
             [
              "Shoe Stores",
              "Sporting Goods"
             ]
            ]
           },
           "primaryPhoto": {
            "type": [
             "string",
             "null"
            ],
            "description": "Main photo URL."
           },
           "images": {
            "type": "array",
            "items": {
             "type": "string"
            },
            "description": "Always empty for now.",
            "examples": [
             []
            ]
           },
           "claimed": {
            "type": "null",
            "description": "Not in search results. Always null."
           },
           "verified": {
            "type": "null",
            "description": "Not in search results. Always null."
           },
           "advertiser": {
            "type": "boolean",
            "description": "True for a sponsored row.",
            "examples": [
             true
            ]
           },
           "isAd": {
            "type": "boolean",
            "description": "True for a sponsored row.",
            "examples": [
             true
            ]
           },
           "sponsored": {
            "type": "boolean",
            "description": "True for a sponsored row.",
            "examples": [
             true
            ]
           },
           "position": {
            "type": "integer",
            "description": "Position in this search, sponsored rows included, starting at 1.",
            "examples": [
             1
            ]
           },
           "searchTerm": {
            "type": "string",
            "description": "The term this row came from.",
            "examples": [
             "running store"
            ]
           },
           "location": {
            "type": "string",
            "description": "The location this row came from.",
            "examples": [
             "Boulder, CO"
            ]
           },
           "scrapeStartedAt": {
            "type": "string",
            "description": "When this search started, ISO 8601.",
            "examples": [
             "2026-12-03T10:42:18.000000+00:00"
            ]
           },
           "scrapeFinishedAt": {
            "type": "string",
            "description": "When this search finished, ISO 8601.",
            "examples": [
             "2026-12-03T10:42:18.000000+00:00"
            ]
           },
           "receipt_id": {
            "type": [
             "string",
             "null"
            ],
            "description": "Id of the ledger receipt for this request. Same on every item.",
            "examples": [
             "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
            ]
           }
          }
         }
        },
        "example": [
         {
          "name": "Summit Running Co.",
          "bizId": "sRc0001",
          "directUrl": "https://www.yelp.com/biz/summit-running-co",
          "alternateNames": [],
          "address": {
           "addressLine1": "120 Main St",
           "addressLine2": null,
           "addressLine3": null,
           "city": null,
           "regionCode": null,
           "postalCode": null,
           "country": null
          },
          "neighborhoods": [
           "Downtown"
          ],
          "phone": "(303) 555-0142",
          "website": null,
          "aggregatedRating": 4.5,
          "reviewCount": 211,
          "priceRange": "$$",
          "type": null,
          "cuisine": null,
          "categories": [
           "Shoe Stores",
           "Sporting Goods"
          ],
          "primaryPhoto": null,
          "images": [],
          "claimed": null,
          "verified": null,
          "advertiser": true,
          "isAd": true,
          "sponsored": true,
          "position": 1,
          "searchTerm": "running store",
          "location": "Boulder, CO",
          "scrapeStartedAt": "2026-12-03T10:42:18.000000+00:00",
          "scrapeFinishedAt": "2026-12-03T10:42:18.000000+00:00",
          "receipt_id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
         },
         {
          "name": "Trailhead Outfitters",
          "bizId": "tHo0002",
          "directUrl": "https://www.yelp.com/biz/trailhead-outfitters",
          "alternateNames": [],
          "address": {
           "addressLine1": "455 Pearl St",
           "addressLine2": null,
           "addressLine3": null,
           "city": null,
           "regionCode": null,
           "postalCode": null,
           "country": null
          },
          "neighborhoods": [
           "Downtown"
          ],
          "phone": "(303) 555-0142",
          "website": null,
          "aggregatedRating": 4.0,
          "reviewCount": 88,
          "priceRange": "$$",
          "type": null,
          "cuisine": null,
          "categories": [
           "Shoe Stores",
           "Sporting Goods"
          ],
          "primaryPhoto": null,
          "images": [],
          "claimed": null,
          "verified": null,
          "advertiser": false,
          "isAd": false,
          "sponsored": false,
          "position": 2,
          "searchTerm": "running store",
          "location": "Boulder, CO",
          "scrapeStartedAt": "2026-12-03T10:42:18.000000+00:00",
          "scrapeFinishedAt": "2026-12-03T10:42:18.000000+00:00",
          "receipt_id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
         }
        ]
       }
      }
     },
     "400": {
      "description": "Invalid input (no terms or URLs, `searchTerms` without `locations`, a non-search URL, or more than 50 searches), or `max_cost` below the price of one item. Body: `{\"error\": {\"type\": \"invalid-input\", \"message\": ..., \"receipt_id\": null}}`. Nothing found for the input (`type: invalid-input`). $0.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ApifyError"
        }
       }
      }
     },
     "401": {
      "description": "No valid API key (`type: user-or-token-not-found`).",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ApifyError"
        }
       }
      }
     },
     "402": {
      "description": "Wallet balance below the worst case for this request (`type: not-enough-usage-to-run-paid-actor`).",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ApifyError"
        }
       }
      }
     },
     "429": {
      "description": "Too many requests (`type: rate-limit-exceeded`).",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ApifyError"
        }
       }
      }
     },
     "500": {
      "description": "No allowed fetch level got the page (`type: internal-error`). $0.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ApifyError"
        }
       }
      }
     }
    }
   }
  },
  "/crawls": {
   "post": {
    "operationId": "crawls-create",
    "summary": "Crawl a page",
    "description": "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.\n\nRuns inline and returns one task. The HTTP status follows the task: 200 completed (also for a fetched page that isn't real content, billed $0), 451 blocked by robots.txt, 502 when the site couldn't be fetched. A body with `targets` instead of `url` is treated as POST /v1/crawls/batch.\n\n**Billing.** One page at the price of the fetch level that delivered it (Standard $0.00011, Rendered $0.0011, Protected $0.003). Blocked, failed and non-substantive pages cost $0.",
    "tags": [
     "crawl"
    ],
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "page",
     "usd": {
      "live": 0.00011
     },
     "by_level": {
      "standard": 0.00011,
      "rendered": 0.0011,
      "protected": 0.003
     },
     "notes": "Billed at the level that delivered the page."
    },
    "x-beta": false,
    "x-source": "native",
    "x-mode": "",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string",
          "description": "The page to fetch: an absolute http(s) URL on a public host.",
          "maxLength": 2000,
          "examples": [
           "https://summitrunning.example/trail-shoes"
          ]
         },
         "auto_upgrade": {
          "type": "boolean",
          "description": "Lets a blocked page move to a higher fetch level, billed at the level that delivered it. `false` stops at the requested level and returns the failure at $0.",
          "default": true,
          "examples": [
           true
          ]
         },
         "max_level": {
          "type": "string",
          "description": "The highest fetch level Auto-upgrade may use.",
          "enum": [
           "standard",
           "rendered",
           "protected"
          ],
          "default": "protected",
          "examples": [
           "rendered"
          ]
         },
         "max_cost": {
          "type": [
           "number",
           "null"
          ],
          "description": "The most one page may cost, in USD, up to 6 decimal places. The wallet check reserves this instead of the worst-case price, and a fetch never upgrades past it.",
          "minimum": 0,
          "examples": [
           0.002
          ]
         },
         "output_format": {
          "type": "string",
          "description": "What `content` holds: Markdown text, the page HTML, or a JSON object of the page's title, text and metadata.",
          "enum": [
           "markdown",
           "html",
           "json"
          ],
          "default": "markdown",
          "examples": [
           "markdown"
          ]
         },
         "engine": {
          "type": "string",
          "description": "The level to start at. `rendered` runs JavaScript from the first fetch and needs `max_level` rendered or protected. `browser` is accepted as an older name for `rendered`.",
          "enum": [
           "standard",
           "rendered"
          ],
          "default": "standard",
          "examples": [
           "standard"
          ]
         },
         "render_js": {
          "type": "boolean",
          "description": "`true` is the same as `engine: rendered`.",
          "default": false
         },
         "include_receipt": {
          "type": "boolean",
          "description": "Include the receipt on each task.",
          "default": true,
          "examples": [
           true
          ]
         },
         "project_id": {
          "type": [
           "string",
           "null"
          ],
          "description": "A project in your organization to file this under. Leave it out for the default project.",
          "examples": [
           "5b2f8c1e-3d4a-4e6f-9a0b-1c2d3e4f5a6b"
          ]
         }
        },
        "required": [
         "url"
        ]
       },
       "example": {
        "url": "https://summitrunning.example/trail-shoes",
        "output_format": "markdown"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "status": {
           "type": "string",
           "description": "Always `ok` for a 2xx response.",
           "examples": [
            "ok"
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of the task costs, USD.",
           "examples": [
            0.00011
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks that failed or were blocked.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id, `cr_…`. Use it with GET /v1/crawls/{id}.",
              "examples": [
               "cr_8cbb5b5c8e155c82995945f93cdad009"
              ]
             },
             "status": {
              "type": "string",
              "description": "Task state.",
              "enum": [
               "completed",
               "failed",
               "blocked",
               "queued",
               "processing"
              ],
              "examples": [
               "completed"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "HTTP-style code for this task: 200 completed, 451 blocked by robots.txt, 422 invalid target or over `max_cost`, 502 upstream error, 503 level unavailable, 202 queued or processing.",
              "examples": [
               200
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For a completed but non-substantive page, says why.",
              "examples": [
               "Ok."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, USD.",
              "examples": [
               0.00011
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The level that delivered the page. Null until a page was delivered.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ],
              "examples": [
               "standard"
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved past the requested level.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": "string",
              "description": "Why it upgraded, for example `403 at standard`. Empty when it didn't.",
              "examples": [
               ""
              ]
             },
             "content": {
              "type": "object",
              "properties": {
               "title": {
                "type": "string",
                "description": "Page title.",
                "examples": [
                 "Trail running shoes"
                ]
               },
               "markdown": {
                "type": "string",
                "description": "Page as Markdown, for `output_format: markdown`.",
                "examples": [
                 "# Trail running shoes\n\nEvery trail shoe we stock comes with free gait analysis and 60-day returns."
                ]
               },
               "html": {
                "type": "string",
                "description": "Page HTML, for `output_format: html`."
               },
               "json": {
                "type": "object",
                "description": "Title, text and metadata, for `output_format: json`."
               }
              },
              "description": "The page. Present when `status` is `completed`."
             },
             "error": {
              "type": "object",
              "properties": {
               "http_status": {
                "type": "integer",
                "description": "Same as `status_code`."
               },
               "code": {
                "type": "string",
                "description": "Error code, for example `blocked_by_policy` or `upstream_error`."
               }
              },
              "description": "Present when `status` is `failed` or `blocked`."
             },
             "receipt": {
              "type": "object",
              "properties": {
               "receipt_id": {
                "type": "string",
                "description": "Receipt id, `rc_…`.",
                "examples": [
                 "rc_8cbb5b5c8e155c82995945f93cdad009"
                ]
               },
               "source_url": {
                "type": "string",
                "description": "The URL that was requested.",
                "examples": [
                 "https://summitrunning.example/trail-shoes"
                ]
               },
               "fetched_at": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "When the page was fetched, ISO 8601 UTC. Null when it wasn't fetched.",
                "examples": [
                 "2026-12-03T10:42:18Z"
                ]
               },
               "http_status": {
                "type": [
                 "integer",
                 "null"
                ],
                "description": "HTTP status the site returned.",
                "examples": [
                 200
                ]
               },
               "content_sha256": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "SHA-256 of the content we returned, so you can prove what you saw.",
                "examples": [
                 "9f2c4a1b7e0d3c58a6b1f4e2d7c9a0b3e5f8d1c4a7b0e3f6d9c2a5b8e1f4d7c0"
                ]
               },
               "content_check": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "Whether the page is real content: `substantive`, or why not.",
                "enum": [
                 "substantive",
                 "blocked",
                 "login_wall",
                 "error_page",
                 "empty_shell",
                 null
                ],
                "examples": [
                 "substantive"
                ]
               },
               "content_check_reasons": {
                "type": "array",
                "items": {
                 "type": "string"
                },
                "description": "Signals behind a non-substantive verdict.",
                "examples": [
                 []
                ]
               },
               "robots_txt": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "What the site's robots.txt says about this path for our crawler.",
                "enum": [
                 "allowed",
                 "disallowed",
                 "not_found",
                 "unreachable",
                 null
                ],
                "examples": [
                 "allowed"
                ]
               },
               "ai_use_signal": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "The site's declared stance on AI use, from robots.txt, meta tags, headers and its terms, for example `none_declared` or `opt_out`.",
                "examples": [
                 "none_declared"
                ]
               },
               "ai_use_details": {
                "type": "object",
                "description": "Where each AI-use signal was found.",
                "examples": [
                 {}
                ]
               },
               "engine": {
                "type": "string",
                "description": "The level you asked to start at.",
                "enum": [
                 "standard",
                 "rendered"
                ],
                "examples": [
                 "standard"
                ]
               },
               "fetch_level": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "The level that delivered the page. Null until a page was delivered.",
                "enum": [
                 "standard",
                 "rendered",
                 "protected",
                 null
                ],
                "examples": [
                 "standard"
                ]
               },
               "upgraded": {
                "type": "boolean",
                "description": "True when Auto-upgrade moved past the requested level.",
                "examples": [
                 false
                ]
               },
               "upgrade_reason": {
                "type": "string",
                "description": "Why it upgraded, for example `403 at standard`. Empty when it didn't.",
                "examples": [
                 ""
                ]
               },
               "fetch_method": {
                "type": "string",
                "description": "Same as `fetch_level`, or `engine` when nothing was delivered.",
                "examples": [
                 "standard"
                ]
               },
               "unit_cost_usd": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "What this page was charged, in USD. Null until the task has run.",
                "examples": [
                 0.00011
                ]
               },
               "billed_usd": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "Same as `unit_cost_usd`.",
                "examples": [
                 0.00011
                ]
               },
               "billed_pages": {
                "type": [
                 "integer",
                 "null"
                ],
                "description": "1 when the page was billed, 0 when it cost nothing.",
                "examples": [
                 1
                ]
               },
               "cost_breakdown": {
                "anyOf": [
                 {
                  "type": "object",
                  "properties": {
                   "base": {
                    "type": "number",
                    "description": "Base page price, USD.",
                    "examples": [
                     0.00011
                    ]
                   },
                   "upgrade": {
                    "type": "number",
                    "description": "Added by Auto-upgrade, USD.",
                    "examples": [
                     0.0
                    ]
                   }
                  }
                 },
                 {
                  "type": "null"
                 }
                ],
                "description": "The charge split into the base page price and what an upgrade added."
               },
               "currency": {
                "type": "string",
                "description": "Always `USD`.",
                "examples": [
                 "USD"
                ]
               }
              },
              "description": "Provenance and cost. Present unless `include_receipt` is false."
             }
            }
           },
           "description": "The tasks."
          }
         }
        },
        "example": {
         "status": "ok",
         "cost": 0.00011,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "cr_8cbb5b5c8e155c82995945f93cdad009",
           "status": "completed",
           "status_code": 200,
           "status_message": "Ok.",
           "cost": 0.00011,
           "fetch_level": "standard",
           "upgraded": false,
           "upgrade_reason": "",
           "content": {
            "title": "Trail running shoes",
            "markdown": "# Trail running shoes\n\nEvery trail shoe we stock comes with free gait analysis and 60-day returns."
           },
           "receipt": {
            "source_url": "https://summitrunning.example/trail-shoes",
            "fetched_at": "2026-12-03T10:42:18Z",
            "http_status": 200,
            "content_sha256": "9f2c4a1b7e0d3c58a6b1f4e2d7c9a0b3e5f8d1c4a7b0e3f6d9c2a5b8e1f4d7c0",
            "content_check": "substantive",
            "content_check_reasons": [],
            "robots_txt": "allowed",
            "ai_use_signal": "none_declared",
            "ai_use_details": {},
            "engine": "standard",
            "fetch_level": "standard",
            "upgraded": false,
            "upgrade_reason": "",
            "unit_cost_usd": 0.00011,
            "billed_usd": 0.00011,
            "currency": "USD",
            "receipt_id": "rc_8cbb5b5c8e155c82995945f93cdad009",
            "fetch_method": "standard",
            "billed_pages": 1,
            "cost_breakdown": {
             "base": 0.00011,
             "upgrade": 0.0
            }
           }
          }
         ]
        }
       }
      }
     },
     "400": {
      "description": "HTTP 400. The body failed validation. `error.details` maps each field to its problem.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "401": {
      "description": "HTTP 401. Missing, malformed or revoked API key.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "402": {
      "description": "HTTP 402. Your wallet balance is below the most this request could cost. Nothing ran.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "422": {
      "description": "HTTP 422. A URL is not an absolute public http(s) URL. Nothing was fetched.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "429": {
      "description": "HTTP 429. Too many requests, or too many requests in flight for your organization. `Retry-After` says when to retry.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "502": {
      "description": "HTTP 502. The target or search timed out or returned an error we couldn't recover from. You weren't billed.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     }
    }
   }
  },
  "/crawls/batch": {
   "post": {
    "operationId": "crawls-batch",
    "summary": "Crawl a batch",
    "description": "Queue up to 100 URLs in one request; poll the job or get it at your webhook.\n\nReturns 202 with a `job_id` straight away. Read the results with GET /v1/crawls/{id}, or set `webhook_url` and we POST the finished job to it. Options apply to every target. If any target isn't a valid public URL, nothing is queued and the response lists each bad target.\n\nThe wallet check reserves the worst case for every target (or `max_cost` each). **Billing.** One page at the price of the fetch level that delivered it (Standard $0.00011, Rendered $0.0011, Protected $0.003). Blocked, failed and non-substantive pages cost $0.",
    "tags": [
     "crawl"
    ],
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "page",
     "usd": {
      "live": 0.00011
     },
     "by_level": {
      "standard": 0.00011,
      "rendered": 0.0011,
      "protected": 0.003
     },
     "notes": "Per page, at the level that delivered it."
    },
    "x-beta": false,
    "x-source": "native",
    "x-mode": "",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "targets": {
          "type": "array",
          "items": {
           "type": "object",
           "properties": {
            "url": {
             "type": "string",
             "description": "An absolute http(s) URL on a public host.",
             "maxLength": 2000,
             "examples": [
              "https://summitrunning.example/trail-shoes"
             ]
            }
           },
           "required": [
            "url"
           ]
          },
          "description": "The pages to fetch, 1 to 100.",
          "minimum": 1,
          "maxItems": 100,
          "examples": [
           [
            {
             "url": "https://summitrunning.example/trail-shoes"
            },
            {
             "url": "https://summitrunning.example/stores"
            }
           ]
          ]
         },
         "webhook_url": {
          "type": "string",
          "description": "We POST the finished job (the GET /v1/crawls/{id} body) here. Must be https on a public host.",
          "maxLength": 2000,
          "examples": [
           "https://hooks.summitrunning.example/crawls"
          ]
         },
         "auto_upgrade": {
          "type": "boolean",
          "description": "Lets a blocked page move to a higher fetch level, billed at the level that delivered it. `false` stops at the requested level and returns the failure at $0.",
          "default": true,
          "examples": [
           true
          ]
         },
         "max_level": {
          "type": "string",
          "description": "The highest fetch level Auto-upgrade may use.",
          "enum": [
           "standard",
           "rendered",
           "protected"
          ],
          "default": "protected",
          "examples": [
           "rendered"
          ]
         },
         "max_cost": {
          "type": [
           "number",
           "null"
          ],
          "description": "The most one page may cost, in USD, up to 6 decimal places. The wallet check reserves this instead of the worst-case price, and a fetch never upgrades past it.",
          "minimum": 0,
          "examples": [
           0.002
          ]
         },
         "output_format": {
          "type": "string",
          "description": "What `content` holds: Markdown text, the page HTML, or a JSON object of the page's title, text and metadata.",
          "enum": [
           "markdown",
           "html",
           "json"
          ],
          "default": "markdown",
          "examples": [
           "markdown"
          ]
         },
         "engine": {
          "type": "string",
          "description": "The level to start at. `rendered` runs JavaScript from the first fetch and needs `max_level` rendered or protected. `browser` is accepted as an older name for `rendered`.",
          "enum": [
           "standard",
           "rendered"
          ],
          "default": "standard",
          "examples": [
           "standard"
          ]
         },
         "render_js": {
          "type": "boolean",
          "description": "`true` is the same as `engine: rendered`.",
          "default": false
         },
         "include_receipt": {
          "type": "boolean",
          "description": "Include the receipt on each task.",
          "default": true,
          "examples": [
           true
          ]
         },
         "project_id": {
          "type": [
           "string",
           "null"
          ],
          "description": "A project in your organization to file this under. Leave it out for the default project.",
          "examples": [
           "5b2f8c1e-3d4a-4e6f-9a0b-1c2d3e4f5a6b"
          ]
         }
        },
        "required": [
         "targets"
        ]
       },
       "example": {
        "targets": [
         {
          "url": "https://summitrunning.example/trail-shoes"
         },
         {
          "url": "https://summitrunning.example/stores"
         }
        ],
        "webhook_url": "https://hooks.summitrunning.example/crawls"
       }
      }
     }
    },
    "responses": {
     "202": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "job_id": {
           "type": "string",
           "description": "Job id, `job_…`.",
           "examples": [
            "job_8cbb5b5c8e155c82995945f93cdad009"
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of targets queued.",
           "examples": [
            2
           ]
          },
          "status": {
           "type": "string",
           "description": "Always `queued`.",
           "examples": [
            "queued"
           ]
          }
         }
        },
        "example": {
         "job_id": "job_8cbb5b5c8e155c82995945f93cdad009",
         "tasks_count": 2,
         "status": "queued"
        }
       }
      }
     },
     "400": {
      "description": "HTTP 400. Invalid options, an empty list, or more than 100 targets.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "401": {
      "description": "HTTP 401. Missing, malformed or revoked API key.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "402": {
      "description": "HTTP 402. Your wallet balance is below the most this request could cost. Nothing ran.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "422": {
      "description": "HTTP 422. A URL is not an absolute public http(s) URL. Nothing was fetched.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "429": {
      "description": "HTTP 429. Too many requests, or too many inline requests in flight for your organization. Honor `Retry-After`.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     }
    }
   }
  },
  "/crawls/{id}": {
   "get": {
    "operationId": "crawls-get",
    "summary": "Get a crawl",
    "description": "A batch job and its tasks, or one task, with content and receipts.\n\n`{id}` is a batch `job_…` id or a task `cr_…` id. A single task that robots.txt blocked responds 451; a batch always responds 200 and reports each task's state. Free.",
    "tags": [
     "crawl"
    ],
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. Pages were billed when they were fetched."
    },
    "x-beta": false,
    "x-source": "native",
    "x-mode": "",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "A `job_…` or `cr_…` id.",
      "schema": {
       "type": "string",
       "examples": [
        "job_4c1d8e2f9a7b4e3c8d5f6a7b8c9d0e1f"
       ]
      }
     },
     {
      "name": "include_receipt",
      "in": "query",
      "required": false,
      "description": "Include receipts. Defaults to the batch's setting.",
      "schema": {
       "type": "boolean",
       "examples": [
        true
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "status": {
           "type": "string",
           "description": "Always `ok` for a 2xx response.",
           "examples": [
            "ok"
           ]
          },
          "job_id": {
           "type": "string",
           "description": "`job_…` for a batch, `cr_…` for a single task.",
           "examples": [
            "job_8cbb5b5c8e155c82995945f93cdad009"
           ]
          },
          "job_status": {
           "type": "string",
           "description": "`completed` once every task finished, else `queued` or `processing`.",
           "enum": [
            "queued",
            "processing",
            "completed"
           ],
           "examples": [
            "completed"
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of the task costs, USD.",
           "examples": [
            0.00011
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks.",
           "examples": [
            2
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks that failed or were blocked.",
           "examples": [
            1
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id, `cr_…`. Use it with GET /v1/crawls/{id}.",
              "examples": [
               "cr_744695e7dd8a5016bb2b2d314ea9ef81"
              ]
             },
             "status": {
              "type": "string",
              "description": "Task state.",
              "enum": [
               "completed",
               "failed",
               "blocked",
               "queued",
               "processing"
              ],
              "examples": [
               "completed"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "HTTP-style code for this task: 200 completed, 451 blocked by robots.txt, 422 invalid target or over `max_cost`, 502 upstream error, 503 level unavailable, 202 queued or processing.",
              "examples": [
               200
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For a completed but non-substantive page, says why.",
              "examples": [
               "Ok."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, USD.",
              "examples": [
               0.00011
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The level that delivered the page. Null until a page was delivered.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ],
              "examples": [
               "standard"
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved past the requested level.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": "string",
              "description": "Why it upgraded, for example `403 at standard`. Empty when it didn't.",
              "examples": [
               ""
              ]
             },
             "content": {
              "type": "object",
              "properties": {
               "title": {
                "type": "string",
                "description": "Page title.",
                "examples": [
                 "Trail running shoes"
                ]
               },
               "markdown": {
                "type": "string",
                "description": "Page as Markdown, for `output_format: markdown`.",
                "examples": [
                 "# Trail running shoes\n\nEvery trail shoe we stock comes with free gait analysis and 60-day returns."
                ]
               },
               "html": {
                "type": "string",
                "description": "Page HTML, for `output_format: html`."
               },
               "json": {
                "type": "object",
                "description": "Title, text and metadata, for `output_format: json`."
               }
              },
              "description": "The page. Present when `status` is `completed`."
             },
             "error": {
              "type": "object",
              "properties": {
               "http_status": {
                "type": "integer",
                "description": "Same as `status_code`.",
                "examples": [
                 451
                ]
               },
               "code": {
                "type": "string",
                "description": "Error code, for example `blocked_by_policy` or `upstream_error`.",
                "examples": [
                 "blocked_by_policy"
                ]
               }
              },
              "description": "Present when `status` is `failed` or `blocked`."
             },
             "receipt": {
              "type": "object",
              "properties": {
               "receipt_id": {
                "type": "string",
                "description": "Receipt id, `rc_…`.",
                "examples": [
                 "rc_744695e7dd8a5016bb2b2d314ea9ef81"
                ]
               },
               "source_url": {
                "type": "string",
                "description": "The URL that was requested.",
                "examples": [
                 "https://summitrunning.example/trail-shoes"
                ]
               },
               "fetched_at": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "When the page was fetched, ISO 8601 UTC. Null when it wasn't fetched.",
                "examples": [
                 "2026-12-03T10:42:18Z"
                ]
               },
               "http_status": {
                "type": [
                 "integer",
                 "null"
                ],
                "description": "HTTP status the site returned.",
                "examples": [
                 200
                ]
               },
               "content_sha256": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "SHA-256 of the content we returned, so you can prove what you saw.",
                "examples": [
                 "9f2c4a1b7e0d3c58a6b1f4e2d7c9a0b3e5f8d1c4a7b0e3f6d9c2a5b8e1f4d7c0"
                ]
               },
               "content_check": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "Whether the page is real content: `substantive`, or why not.",
                "enum": [
                 "substantive",
                 "blocked",
                 "login_wall",
                 "error_page",
                 "empty_shell",
                 null
                ],
                "examples": [
                 "substantive"
                ]
               },
               "content_check_reasons": {
                "type": "array",
                "items": {
                 "type": "string"
                },
                "description": "Signals behind a non-substantive verdict.",
                "examples": [
                 []
                ]
               },
               "robots_txt": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "What the site's robots.txt says about this path for our crawler.",
                "enum": [
                 "allowed",
                 "disallowed",
                 "not_found",
                 "unreachable",
                 null
                ],
                "examples": [
                 "allowed"
                ]
               },
               "ai_use_signal": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "The site's declared stance on AI use, from robots.txt, meta tags, headers and its terms, for example `none_declared` or `opt_out`.",
                "examples": [
                 "none_declared"
                ]
               },
               "ai_use_details": {
                "type": "object",
                "description": "Where each AI-use signal was found.",
                "examples": [
                 {}
                ]
               },
               "engine": {
                "type": "string",
                "description": "The level you asked to start at.",
                "enum": [
                 "standard",
                 "rendered"
                ],
                "examples": [
                 "standard"
                ]
               },
               "fetch_level": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "The level that delivered the page. Null until a page was delivered.",
                "enum": [
                 "standard",
                 "rendered",
                 "protected",
                 null
                ],
                "examples": [
                 "standard"
                ]
               },
               "upgraded": {
                "type": "boolean",
                "description": "True when Auto-upgrade moved past the requested level.",
                "examples": [
                 false
                ]
               },
               "upgrade_reason": {
                "type": "string",
                "description": "Why it upgraded, for example `403 at standard`. Empty when it didn't.",
                "examples": [
                 ""
                ]
               },
               "fetch_method": {
                "type": "string",
                "description": "Same as `fetch_level`, or `engine` when nothing was delivered.",
                "examples": [
                 "standard"
                ]
               },
               "unit_cost_usd": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "What this page was charged, in USD. Null until the task has run.",
                "examples": [
                 0.00011
                ]
               },
               "billed_usd": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "Same as `unit_cost_usd`.",
                "examples": [
                 0.00011
                ]
               },
               "billed_pages": {
                "type": [
                 "integer",
                 "null"
                ],
                "description": "1 when the page was billed, 0 when it cost nothing.",
                "examples": [
                 1
                ]
               },
               "cost_breakdown": {
                "anyOf": [
                 {
                  "type": "object",
                  "properties": {
                   "base": {
                    "type": "number",
                    "description": "Base page price, USD.",
                    "examples": [
                     0.00011
                    ]
                   },
                   "upgrade": {
                    "type": "number",
                    "description": "Added by Auto-upgrade, USD.",
                    "examples": [
                     0.0
                    ]
                   }
                  }
                 },
                 {
                  "type": "null"
                 }
                ],
                "description": "The charge split into the base page price and what an upgrade added."
               },
               "currency": {
                "type": "string",
                "description": "Always `USD`.",
                "examples": [
                 "USD"
                ]
               }
              },
              "description": "Provenance and cost. Present unless `include_receipt` is false."
             }
            }
           },
           "description": "The tasks."
          }
         }
        },
        "example": {
         "status": "ok",
         "job_id": "job_8cbb5b5c8e155c82995945f93cdad009",
         "job_status": "completed",
         "cost": 0.00011,
         "tasks_count": 2,
         "tasks_error": 1,
         "tasks": [
          {
           "id": "cr_744695e7dd8a5016bb2b2d314ea9ef81",
           "status": "completed",
           "status_code": 200,
           "status_message": "Ok.",
           "cost": 0.00011,
           "fetch_level": "standard",
           "upgraded": false,
           "upgrade_reason": "",
           "content": {
            "title": "Trail running shoes",
            "markdown": "# Trail running shoes\n\nEvery trail shoe we stock comes with free gait analysis and 60-day returns."
           },
           "receipt": {
            "source_url": "https://summitrunning.example/trail-shoes",
            "fetched_at": "2026-12-03T10:42:18Z",
            "http_status": 200,
            "content_sha256": "9f2c4a1b7e0d3c58a6b1f4e2d7c9a0b3e5f8d1c4a7b0e3f6d9c2a5b8e1f4d7c0",
            "content_check": "substantive",
            "content_check_reasons": [],
            "robots_txt": "allowed",
            "ai_use_signal": "none_declared",
            "ai_use_details": {},
            "engine": "standard",
            "fetch_level": "standard",
            "upgraded": false,
            "upgrade_reason": "",
            "unit_cost_usd": 0.00011,
            "billed_usd": 0.00011,
            "currency": "USD",
            "receipt_id": "rc_744695e7dd8a5016bb2b2d314ea9ef81",
            "fetch_method": "standard",
            "billed_pages": 1,
            "cost_breakdown": {
             "base": 0.00011,
             "upgrade": 0.0
            }
           }
          },
          {
           "id": "cr_1160aaf84d8d5ca6a414351f2a73b5ab",
           "status": "blocked",
           "status_code": 451,
           "status_message": "Not fetched: robots.txt at https://summitrunning.example/robots.txt disallows /cart/.",
           "cost": 0.0,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": "",
           "error": {
            "http_status": 451,
            "code": "blocked_by_policy"
           },
           "receipt": {
            "source_url": "https://summitrunning.example/cart/checkout",
            "fetched_at": null,
            "http_status": null,
            "content_sha256": null,
            "content_check": null,
            "content_check_reasons": [],
            "robots_txt": "disallowed",
            "ai_use_signal": "none_declared",
            "ai_use_details": {},
            "engine": "standard",
            "fetch_level": null,
            "upgraded": false,
            "upgrade_reason": "",
            "unit_cost_usd": 0.0,
            "billed_usd": 0.0,
            "currency": "USD",
            "receipt_id": "rc_1160aaf84d8d5ca6a414351f2a73b5ab",
            "fetch_method": "standard",
            "billed_pages": 0,
            "cost_breakdown": {
             "base": 0.0,
             "upgrade": 0.0
            }
           }
          }
         ]
        }
       }
      }
     },
     "401": {
      "description": "HTTP 401. Missing, malformed or revoked API key.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "404": {
      "description": "HTTP 404. No job, task or tracker with that id in your organization.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "429": {
      "description": "HTTP 429. Too many requests, or too many inline requests in flight for your organization. Honor `Retry-After`.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     }
    }
   }
  },
  "/crawls/{id}/receipt": {
   "get": {
    "operationId": "crawls-receipt",
    "summary": "Get crawl receipts",
    "description": "Just the receipts for a job or task, one per page.\n\nUse it to store proof of what was fetched without the page content. Free.",
    "tags": [
     "crawl"
    ],
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free."
    },
    "x-beta": false,
    "x-source": "native",
    "x-mode": "",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "A `job_…` or `cr_…` id.",
      "schema": {
       "type": "string",
       "examples": [
        "job_4c1d8e2f9a7b4e3c8d5f6a7b8c9d0e1f"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "status": {
           "type": "string",
           "description": "Always `ok`.",
           "examples": [
            "ok"
           ]
          },
          "job_id": {
           "type": "string",
           "description": "The job or task id.",
           "examples": [
            "job_8cbb5b5c8e155c82995945f93cdad009"
           ]
          },
          "receipts_count": {
           "type": "integer",
           "description": "Number of receipts.",
           "examples": [
            2
           ]
          },
          "receipts": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "task_id": {
              "type": "string",
              "description": "Task id, `cr_…`.",
              "examples": [
               "cr_744695e7dd8a5016bb2b2d314ea9ef81"
              ]
             },
             "receipt_id": {
              "type": "string",
              "description": "Receipt id, `rc_…`.",
              "examples": [
               "rc_744695e7dd8a5016bb2b2d314ea9ef81"
              ]
             },
             "source_url": {
              "type": "string",
              "description": "The URL that was requested.",
              "examples": [
               "https://summitrunning.example/trail-shoes"
              ]
             },
             "fetched_at": {
              "type": [
               "string",
               "null"
              ],
              "description": "When the page was fetched, ISO 8601 UTC. Null when it wasn't fetched.",
              "examples": [
               "2026-12-03T10:42:18Z"
              ]
             },
             "http_status": {
              "type": [
               "integer",
               "null"
              ],
              "description": "HTTP status the site returned.",
              "examples": [
               200
              ]
             },
             "content_sha256": {
              "type": [
               "string",
               "null"
              ],
              "description": "SHA-256 of the content we returned, so you can prove what you saw.",
              "examples": [
               "9f2c4a1b7e0d3c58a6b1f4e2d7c9a0b3e5f8d1c4a7b0e3f6d9c2a5b8e1f4d7c0"
              ]
             },
             "content_check": {
              "type": [
               "string",
               "null"
              ],
              "description": "Whether the page is real content: `substantive`, or why not.",
              "enum": [
               "substantive",
               "blocked",
               "login_wall",
               "error_page",
               "empty_shell",
               null
              ],
              "examples": [
               "substantive"
              ]
             },
             "content_check_reasons": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "Signals behind a non-substantive verdict.",
              "examples": [
               []
              ]
             },
             "robots_txt": {
              "type": [
               "string",
               "null"
              ],
              "description": "What the site's robots.txt says about this path for our crawler.",
              "enum": [
               "allowed",
               "disallowed",
               "not_found",
               "unreachable",
               null
              ],
              "examples": [
               "allowed"
              ]
             },
             "ai_use_signal": {
              "type": [
               "string",
               "null"
              ],
              "description": "The site's declared stance on AI use, from robots.txt, meta tags, headers and its terms, for example `none_declared` or `opt_out`.",
              "examples": [
               "none_declared"
              ]
             },
             "ai_use_details": {
              "type": "object",
              "description": "Where each AI-use signal was found.",
              "examples": [
               {}
              ]
             },
             "engine": {
              "type": "string",
              "description": "The level you asked to start at.",
              "enum": [
               "standard",
               "rendered"
              ],
              "examples": [
               "standard"
              ]
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The level that delivered the page. Null until a page was delivered.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ],
              "examples": [
               "standard"
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved past the requested level.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": "string",
              "description": "Why it upgraded, for example `403 at standard`. Empty when it didn't.",
              "examples": [
               ""
              ]
             },
             "fetch_method": {
              "type": "string",
              "description": "Same as `fetch_level`, or `engine` when nothing was delivered.",
              "examples": [
               "standard"
              ]
             },
             "unit_cost_usd": {
              "type": [
               "number",
               "null"
              ],
              "description": "What this page was charged, in USD. Null until the task has run.",
              "examples": [
               0.00011
              ]
             },
             "billed_usd": {
              "type": [
               "number",
               "null"
              ],
              "description": "Same as `unit_cost_usd`.",
              "examples": [
               0.00011
              ]
             },
             "billed_pages": {
              "type": [
               "integer",
               "null"
              ],
              "description": "1 when the page was billed, 0 when it cost nothing.",
              "examples": [
               1
              ]
             },
             "cost_breakdown": {
              "anyOf": [
               {
                "type": "object",
                "properties": {
                 "base": {
                  "type": "number",
                  "description": "Base page price, USD.",
                  "examples": [
                   0.00011
                  ]
                 },
                 "upgrade": {
                  "type": "number",
                  "description": "Added by Auto-upgrade, USD.",
                  "examples": [
                   0.0
                  ]
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The charge split into the base page price and what an upgrade added."
             },
             "currency": {
              "type": "string",
              "description": "Always `USD`.",
              "examples": [
               "USD"
              ]
             }
            }
           },
           "description": "One receipt per task."
          }
         }
        },
        "example": {
         "status": "ok",
         "job_id": "job_8cbb5b5c8e155c82995945f93cdad009",
         "receipts_count": 2,
         "receipts": [
          {
           "task_id": "cr_744695e7dd8a5016bb2b2d314ea9ef81",
           "source_url": "https://summitrunning.example/trail-shoes",
           "fetched_at": "2026-12-03T10:42:18Z",
           "http_status": 200,
           "content_sha256": "9f2c4a1b7e0d3c58a6b1f4e2d7c9a0b3e5f8d1c4a7b0e3f6d9c2a5b8e1f4d7c0",
           "content_check": "substantive",
           "content_check_reasons": [],
           "robots_txt": "allowed",
           "ai_use_signal": "none_declared",
           "ai_use_details": {},
           "engine": "standard",
           "fetch_level": "standard",
           "upgraded": false,
           "upgrade_reason": "",
           "unit_cost_usd": 0.00011,
           "billed_usd": 0.00011,
           "currency": "USD",
           "receipt_id": "rc_744695e7dd8a5016bb2b2d314ea9ef81",
           "fetch_method": "standard",
           "billed_pages": 1,
           "cost_breakdown": {
            "base": 0.00011,
            "upgrade": 0.0
           }
          },
          {
           "task_id": "cr_1160aaf84d8d5ca6a414351f2a73b5ab",
           "source_url": "https://summitrunning.example/cart/checkout",
           "fetched_at": null,
           "http_status": null,
           "content_sha256": null,
           "content_check": null,
           "content_check_reasons": [],
           "robots_txt": "disallowed",
           "ai_use_signal": "none_declared",
           "ai_use_details": {},
           "engine": "standard",
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": "",
           "unit_cost_usd": 0.0,
           "billed_usd": 0.0,
           "currency": "USD",
           "receipt_id": "rc_1160aaf84d8d5ca6a414351f2a73b5ab",
           "fetch_method": "standard",
           "billed_pages": 0,
           "cost_breakdown": {
            "base": 0.0,
            "upgrade": 0.0
           }
          }
         ]
        }
       }
      }
     },
     "401": {
      "description": "HTTP 401. Missing, malformed or revoked API key.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "404": {
      "description": "HTTP 404. No job, task or tracker with that id in your organization.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "429": {
      "description": "HTTP 429. Too many requests, or too many inline requests in flight for your organization. Honor `Retry-After`.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     }
    }
   }
  },
  "/map": {
   "post": {
    "operationId": "map",
    "summary": "Map a site",
    "description": "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.\n\nReads robots.txt, up to 10 sitemap files and the links on the page at `url`. It never follows links further. Each fetch that returned real content (a served robots.txt, a sitemap that parsed, a substantive start page) is billed at its level's page price; failed and blocked fetches cost $0. When robots.txt can't be read at all, nothing else is fetched and you get 502 at $0.\n\n**Billing.** Each billed fetch at the price of the fetch level that delivered it (Standard $0.00011, Rendered $0.0011, Protected $0.003). Blocked, failed and non-substantive pages cost $0.",
    "tags": [
     "crawl"
    ],
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "page",
     "usd": {
      "live": 0.00011
     },
     "by_level": {
      "standard": 0.00011,
      "rendered": 0.0011,
      "protected": 0.003
     },
     "notes": "Per billed fetch (robots.txt, each sitemap file, the start page)."
    },
    "x-beta": false,
    "x-source": "native",
    "x-mode": "",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string",
          "description": "The site's start page: an absolute http(s) URL on a public host.",
          "maxLength": 2000,
          "examples": [
           "https://summitrunning.example/trail-shoes"
          ]
         },
         "limit": {
          "type": "integer",
          "description": "Most URLs to return.",
          "default": 1000,
          "minimum": 1,
          "maximum": 5000,
          "examples": [
           500
          ]
         },
         "include_subdomains": {
          "type": "boolean",
          "description": "Include URLs on subdomains of the start page's host.",
          "default": false,
          "examples": [
           false
          ]
         },
         "search": {
          "type": "string",
          "description": "Only URLs containing this text (case-insensitive).",
          "default": "",
          "maxLength": 200,
          "examples": [
           "shoes"
          ]
         },
         "use_sitemap": {
          "type": "boolean",
          "description": "Read the site's sitemaps. `false` reads only the start page's links.",
          "default": true,
          "examples": [
           true
          ]
         },
         "auto_upgrade": {
          "type": "boolean",
          "description": "Lets a blocked fetch move to a higher fetch level, billed at the level that delivered it. `false` stops at the requested level and returns the failure at $0.",
          "default": true,
          "examples": [
           true
          ]
         },
         "max_level": {
          "type": "string",
          "description": "The highest fetch level Auto-upgrade may use.",
          "enum": [
           "standard",
           "rendered",
           "protected"
          ],
          "default": "protected",
          "examples": [
           "rendered"
          ]
         },
         "max_cost": {
          "type": [
           "number",
           "null"
          ],
          "description": "The most one fetch may cost, in USD, up to 6 decimal places. The wallet check reserves this instead of the worst-case price, and a fetch never upgrades past it.",
          "minimum": 0,
          "examples": [
           0.002
          ]
         }
        },
        "required": [
         "url"
        ]
       },
       "example": {
        "url": "https://summitrunning.example/",
        "limit": 500
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "status": {
           "type": "string",
           "description": "Always `ok`.",
           "examples": [
            "ok"
           ]
          },
          "url": {
           "type": "string",
           "description": "The start page, normalized.",
           "examples": [
            "https://summitrunning.example/"
           ]
          },
          "urls_count": {
           "type": "integer",
           "description": "Entries in `urls`.",
           "examples": [
            4
           ]
          },
          "limit_reached": {
           "type": "boolean",
           "description": "True when the list stopped at `limit`.",
           "examples": [
            false
           ]
          },
          "urls": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "url": {
              "type": "string",
              "description": "The URL.",
              "examples": [
               "https://summitrunning.example/"
              ]
             },
             "source": {
              "type": "string",
              "description": "Where it was found.",
              "enum": [
               "sitemap",
               "link"
              ],
              "examples": [
               "sitemap"
              ]
             },
             "lastmod": {
              "type": "string",
              "description": "Last-modified date from the sitemap, when it gave a valid one.",
              "examples": [
               "2026-11-28"
              ]
             },
             "crawler_allowed": {
              "type": [
               "boolean",
               "null"
              ],
              "description": "Whether robots.txt allows our crawler to fetch it. Null for URLs on another host.",
              "examples": [
               true
              ]
             }
            }
           },
           "description": "The URLs found."
          },
          "sitemaps": {
           "type": "array",
           "items": {
            "type": "string"
           },
           "description": "Sitemap files that were read.",
           "examples": [
            [
             "https://summitrunning.example/sitemap.xml"
            ]
           ]
          },
          "robots_txt": {
           "type": "object",
           "properties": {
            "found": {
             "type": "boolean",
             "description": "True when robots.txt was served.",
             "examples": [
              true
             ]
            },
            "status": {
             "type": [
              "integer",
              "null"
             ],
             "description": "HTTP status of robots.txt.",
             "examples": [
              200
             ]
            },
            "robots_url": {
             "type": "string",
             "description": "The robots.txt URL.",
             "examples": [
              "https://summitrunning.example/robots.txt"
             ]
            },
            "crawler_agent": {
             "type": "string",
             "description": "The user agent we crawl as.",
             "examples": [
              "DataForGAIO"
             ]
            },
            "crawler_allowed": {
             "type": "boolean",
             "description": "Whether our crawler may fetch the start page.",
             "examples": [
              true
             ]
            },
            "ai_agents": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "agent": {
                "type": "string",
                "description": "User agent token.",
                "examples": [
                 "GPTBot"
                ]
               },
               "allowed": {
                "type": "boolean",
                "description": "True when allowed.",
                "examples": [
                 true
                ]
               }
              }
             },
             "description": "Whether each well-known AI crawler may fetch the start page."
            },
            "sitemaps": {
             "type": "array",
             "items": {
              "type": "string"
             },
             "description": "Sitemaps listed in robots.txt.",
             "examples": [
              [
               "https://summitrunning.example/sitemap.xml"
              ]
             ]
            },
            "disallowed_urls": {
             "type": "integer",
             "description": "URLs in `urls` our crawler isn't allowed to fetch.",
             "examples": [
              1
             ]
            }
           },
           "description": "What the site's robots.txt says."
          },
          "pages_fetched": {
           "type": "integer",
           "description": "Fetches made.",
           "examples": [
            3
           ]
          },
          "pages_billed": {
           "type": "integer",
           "description": "Fetches that returned real content and were billed.",
           "examples": [
            3
           ]
          },
          "unit_cost_usd": {
           "type": "number",
           "description": "Standard page price, USD.",
           "examples": [
            0.00011
           ]
          },
          "billed_usd": {
           "type": "number",
           "description": "Total charged, USD.",
           "examples": [
            0.00033
           ]
          },
          "fetch_level": {
           "type": [
            "string",
            "null"
           ],
           "description": "The level that delivered the page. Null until a page was delivered.",
           "enum": [
            "standard",
            "rendered",
            "protected",
            null
           ],
           "examples": [
            "standard"
           ]
          },
          "upgraded": {
           "type": "boolean",
           "description": "True when Auto-upgrade moved past the requested level.",
           "examples": [
            false
           ]
          },
          "upgrade_reason": {
           "type": "string",
           "description": "Why any fetch upgraded. Empty when none did.",
           "examples": [
            ""
           ]
          },
          "stopped_early": {
           "type": "boolean",
           "description": "True when the time limit stopped new fetches.",
           "examples": [
            false
           ]
          }
         }
        },
        "example": {
         "status": "ok",
         "url": "https://summitrunning.example/",
         "urls_count": 4,
         "limit_reached": false,
         "urls": [
          {
           "url": "https://summitrunning.example/",
           "source": "sitemap",
           "lastmod": "2026-11-28",
           "crawler_allowed": true
          },
          {
           "url": "https://summitrunning.example/trail-shoes",
           "source": "sitemap",
           "lastmod": "2026-12-03T10:42:18+00:00",
           "crawler_allowed": true
          },
          {
           "url": "https://summitrunning.example/cart/checkout",
           "source": "sitemap",
           "crawler_allowed": false
          },
          {
           "url": "https://summitrunning.example/stores",
           "source": "link",
           "crawler_allowed": true
          }
         ],
         "sitemaps": [
          "https://summitrunning.example/sitemap.xml"
         ],
         "robots_txt": {
          "found": true,
          "status": 200,
          "robots_url": "https://summitrunning.example/robots.txt",
          "crawler_agent": "DataForGAIO",
          "crawler_allowed": true,
          "ai_agents": [
           {
            "agent": "GPTBot",
            "allowed": true
           },
           {
            "agent": "ClaudeBot",
            "allowed": true
           },
           {
            "agent": "Google-Extended",
            "allowed": true
           },
           {
            "agent": "CCBot",
            "allowed": true
           },
           {
            "agent": "PerplexityBot",
            "allowed": true
           },
           {
            "agent": "Applebot-Extended",
            "allowed": true
           },
           {
            "agent": "anthropic-ai",
            "allowed": true
           },
           {
            "agent": "Claude-Web",
            "allowed": true
           },
           {
            "agent": "OAI-SearchBot",
            "allowed": true
           },
           {
            "agent": "ChatGPT-User",
            "allowed": true
           },
           {
            "agent": "Bytespider",
            "allowed": true
           },
           {
            "agent": "Meta-ExternalAgent",
            "allowed": true
           },
           {
            "agent": "Amazonbot",
            "allowed": true
           },
           {
            "agent": "cohere-ai",
            "allowed": true
           }
          ],
          "sitemaps": [
           "https://summitrunning.example/sitemap.xml"
          ],
          "disallowed_urls": 1
         },
         "pages_fetched": 3,
         "pages_billed": 3,
         "unit_cost_usd": 0.00011,
         "billed_usd": 0.00033,
         "fetch_level": "standard",
         "upgraded": false,
         "upgrade_reason": "",
         "stopped_early": false
        }
       }
      }
     },
     "400": {
      "description": "HTTP 400. The body failed validation. `error.details` maps each field to its problem.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "401": {
      "description": "HTTP 401. Missing, malformed or revoked API key.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "402": {
      "description": "HTTP 402. Your wallet balance is below the most this request could cost. Nothing ran.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "422": {
      "description": "HTTP 422. A URL is not an absolute public http(s) URL. Nothing was fetched. HTTP 422. `max_cost` is below the price of the cheapest allowed fetch. Nothing was fetched.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "429": {
      "description": "HTTP 429. Too many requests, or too many inline requests in flight for your organization. Honor `Retry-After`.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "502": {
      "description": "HTTP 502. robots.txt couldn't be read, so nothing else was fetched. $0.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     }
    }
   }
  },
  "/serp": {
   "post": {
    "operationId": "serp",
    "summary": "Search results",
    "description": "The top 10 organic results for one search, with a receipt recording the search URL, fetch time and a hash of the results.\n\nOne search, run inline. For locations, maps, more depth or queued tasks, use the SERP API routes.\n\n**Billing.** $0.00054 per search that returned results. A search that fails or returns nothing costs $0.",
    "tags": [
     "crawl"
    ],
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": {
      "live": 0.00054
     },
     "by_level": null,
     "notes": "Per search that returned results."
    },
    "x-beta": false,
    "x-source": "native",
    "x-mode": "",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "keyword": {
          "type": "string",
          "description": "The search, up to 700 characters. `query` and `q` are accepted too.",
          "maxLength": 700,
          "examples": [
           "trail running shoes boulder"
          ]
         },
         "search_engine": {
          "type": "string",
          "description": "Search engine.",
          "enum": [
           "google",
           "bing"
          ],
          "default": "google",
          "examples": [
           "google"
          ]
         },
         "country": {
          "type": "string",
          "description": "Two-letter country to search from.",
          "default": "",
          "examples": [
           "US"
          ]
         },
         "language": {
          "type": "string",
          "description": "Language code, for example `en` or `en-US`.",
          "default": "",
          "examples": [
           "en"
          ]
         },
         "device": {
          "type": "string",
          "description": "Device type.",
          "enum": [
           "desktop",
           "mobile"
          ],
          "default": "desktop",
          "examples": [
           "desktop"
          ]
         },
         "include_receipt": {
          "type": "boolean",
          "description": "Include the receipt.",
          "default": true,
          "examples": [
           true
          ]
         },
         "project_id": {
          "type": [
           "string",
           "null"
          ],
          "description": "A project in your organization to file this under."
         },
         "auto_upgrade": {
          "type": "boolean",
          "description": "When the included route returns nothing, retry on the live route (billed at the same price). `false` stops at the included route and the search fails at $0.",
          "default": true,
          "examples": [
           true
          ]
         },
         "max_cost": {
          "type": [
           "number",
           "null"
          ],
          "description": "The most this search may cost, USD. Below the search price, nothing runs (422 `max_cost_exceeded`). The charge never exceeds it."
         },
         "max_age": {
          "type": [
           "integer",
           "null"
          ],
          "description": "Accept a cached result up to this many seconds old (0 to 86400). Default: always fetch fresh.",
          "minimum": 0,
          "maximum": 86400
         }
        },
        "required": [
         "keyword"
        ]
       },
       "example": {
        "keyword": "trail running shoes boulder",
        "country": "US",
        "language": "en"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "status": {
           "type": "string",
           "description": "Always `ok` for a 2xx response.",
           "examples": [
            "ok"
           ]
          },
          "cost": {
           "type": "number",
           "description": "What the search was charged, USD.",
           "examples": [
            0.00054
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Always 1.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "1 when the search failed.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Search id, `sr_…`.",
              "examples": [
               "sr_8cbb5b5c8e155c82995945f93cdad009"
              ]
             },
             "status": {
              "type": "string",
              "description": "`completed` or `failed`.",
              "enum": [
               "completed",
               "failed",
               "processing"
              ],
              "examples": [
               "completed"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "200, or 502/503 when it failed.",
              "examples": [
               200
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status.",
              "examples": [
               "Ok."
              ]
             },
             "cost": {
              "type": "number",
              "description": "Charged, USD.",
              "examples": [
               0.00054
              ]
             },
             "content": {
              "type": "object",
              "properties": {
               "query": {
                "type": "string",
                "description": "The search.",
                "examples": [
                 "trail running shoes boulder"
                ]
               },
               "search_engine": {
                "type": "string",
                "description": "Search engine.",
                "examples": [
                 "google"
                ]
               },
               "country": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "Country, lowercase.",
                "examples": [
                 "us"
                ]
               },
               "language": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "Language.",
                "examples": [
                 "en"
                ]
               },
               "device": {
                "type": "string",
                "description": "Device.",
                "examples": [
                 "desktop"
                ]
               },
               "items_count": {
                "type": "integer",
                "description": "Entries in `organic`.",
                "examples": [
                 2
                ]
               },
               "organic": {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "position": {
                   "type": "integer",
                   "description": "Rank, starting at 1.",
                   "examples": [
                    1
                   ]
                  },
                  "title": {
                   "type": "string",
                   "description": "Result title.",
                   "examples": [
                    "Trail running shoes | Summit Running Co."
                   ]
                  },
                  "url": {
                   "type": "string",
                   "description": "Result URL.",
                   "examples": [
                    "https://summitrunning.example/trail-shoes"
                   ]
                  },
                  "domain": {
                   "type": "string",
                   "description": "Result domain.",
                   "examples": [
                    "summitrunning.example"
                   ]
                  },
                  "snippet": {
                   "type": "string",
                   "description": "Result snippet.",
                   "examples": [
                    "Every trail shoe we stock, fitted after a free gait analysis."
                   ]
                  }
                 }
                },
                "description": "Organic results in rank order."
               }
              },
              "description": "The results. Present when completed."
             },
             "error": {
              "type": "object",
              "properties": {
               "http_status": {
                "type": "integer",
                "description": "Same as `status_code`."
               },
               "code": {
                "type": "string",
                "description": "Error code."
               }
              },
              "description": "Present when failed."
             },
             "receipt": {
              "type": "object",
              "properties": {
               "receipt_id": {
                "type": "string",
                "description": "Receipt id, `rc_…`.",
                "examples": [
                 "rc_8cbb5b5c8e155c82995945f93cdad009"
                ]
               },
               "source_url": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "The public search URL the results correspond to.",
                "examples": [
                 "https://www.google.com/search?q=trail+running+shoes+boulder&num=10&gl=us&hl=en"
                ]
               },
               "fetched_at": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "When the results were fetched, ISO 8601 UTC.",
                "examples": [
                 "2026-12-03T10:42:18Z"
                ]
               },
               "http_status": {
                "type": [
                 "integer",
                 "null"
                ],
                "description": "HTTP status of the search.",
                "examples": [
                 200
                ]
               },
               "content_sha256": {
                "type": [
                 "string",
                 "null"
                ],
                "description": "SHA-256 of the results we returned.",
                "examples": [
                 "b085e457d70d4053268da555d16037247e5d54ee16e182e7fca462347c269520"
                ]
               },
               "content_check": {
                "type": "null",
                "description": "Always null for a search."
               },
               "robots_txt": {
                "type": "null",
                "description": "Always null for a search."
               },
               "ai_use_signal": {
                "type": "null",
                "description": "Always null for a search."
               },
               "fetch_method": {
                "type": "string",
                "description": "Always `serp_api`.",
                "examples": [
                 "serp_api"
                ]
               },
               "cache_hit": {
                "type": "boolean",
                "description": "True when a cached result (within `max_age`) answered.",
                "examples": [
                 false
                ]
               },
               "upgraded": {
                "type": "boolean",
                "description": "True when the live route answered after the included route didn't.",
                "examples": [
                 false
                ]
               },
               "unit_cost_usd": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "Charged, USD.",
                "examples": [
                 0.00054
                ]
               },
               "billed_usd": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "Same as `unit_cost_usd`.",
                "examples": [
                 0.00054
                ]
               },
               "currency": {
                "type": "string",
                "description": "Always `USD`.",
                "examples": [
                 "USD"
                ]
               }
              },
              "description": "Provenance and cost. Present unless `include_receipt` is false."
             }
            }
           },
           "description": "The search."
          }
         }
        },
        "example": {
         "status": "ok",
         "cost": 0.00054,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "sr_8cbb5b5c8e155c82995945f93cdad009",
           "status": "completed",
           "status_code": 200,
           "status_message": "Ok.",
           "cost": 0.00054,
           "content": {
            "query": "trail running shoes boulder",
            "search_engine": "google",
            "country": "us",
            "language": "en",
            "device": "desktop",
            "items_count": 2,
            "organic": [
             {
              "position": 1,
              "title": "Trail running shoes | Summit Running Co.",
              "url": "https://summitrunning.example/trail-shoes",
              "domain": "summitrunning.example",
              "snippet": "Every trail shoe we stock, fitted after a free gait analysis."
             },
             {
              "position": 2,
              "title": "The best trail running shoes",
              "url": "https://www.example-gear.com/best-trail-shoes",
              "domain": "www.example-gear.com",
              "snippet": "Tested on rock, mud and snow."
             }
            ]
           },
           "receipt": {
            "receipt_id": "rc_8cbb5b5c8e155c82995945f93cdad009",
            "source_url": "https://www.google.com/search?q=trail+running+shoes+boulder&num=10&gl=us&hl=en",
            "fetched_at": "2026-12-03T10:42:18Z",
            "http_status": 200,
            "content_sha256": "b085e457d70d4053268da555d16037247e5d54ee16e182e7fca462347c269520",
            "content_check": null,
            "robots_txt": null,
            "ai_use_signal": null,
            "fetch_method": "serp_api",
            "cache_hit": false,
            "upgraded": false,
            "unit_cost_usd": 0.00054,
            "billed_usd": 0.00054,
            "currency": "USD"
           }
          }
         ]
        }
       }
      }
     },
     "400": {
      "description": "HTTP 400. The body failed validation. `error.details` maps each field to its problem.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "401": {
      "description": "HTTP 401. Missing, malformed or revoked API key.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "402": {
      "description": "HTTP 402. Your wallet balance is below the most this request could cost. Nothing ran.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "422": {
      "description": "HTTP 422. `max_cost` is below the price of one search.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "429": {
      "description": "HTTP 429. Too many requests, or too many inline requests in flight for your organization. Honor `Retry-After`.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "502": {
      "description": "HTTP 502. The target or search timed out or returned an error we couldn't recover from. You weren't billed.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "503": {
      "description": "HTTP 503. The service behind this route isn't set up on this server. You weren't billed.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     }
    }
   }
  },
  "/usage": {
   "get": {
    "operationId": "usage",
    "summary": "Usage",
    "description": "Your organization's spend and request counts across every product.\n\nEvery billed request: crawls, map, searches (native and the SERP API routes), Pages, AI, Business, Ads, audits and visibility runs. Amounts are what you were charged. All-time unless `from` / `to` narrow it. Free.",
    "tags": [
     "crawl"
    ],
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free."
    },
    "x-beta": false,
    "x-source": "native",
    "x-mode": "",
    "parameters": [
     {
      "name": "from",
      "in": "query",
      "required": false,
      "description": "First day to count, YYYY-MM-DD (UTC), inclusive.",
      "schema": {
       "type": "string",
       "examples": [
        "2026-11-01"
       ]
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "description": "Last day to count, YYYY-MM-DD (UTC), inclusive.",
      "schema": {
       "type": "string",
       "examples": [
        "2026-11-30"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "status": {
           "type": "string",
           "description": "Always `ok`.",
           "examples": [
            "ok"
           ]
          },
          "currency": {
           "type": "string",
           "description": "Always `USD`.",
           "examples": [
            "USD"
           ]
          },
          "from": {
           "type": [
            "string",
            "null"
           ],
           "description": "The `from` you sent, or null.",
           "examples": [
            "2026-11-01"
           ]
          },
          "to": {
           "type": [
            "string",
            "null"
           ],
           "description": "The `to` you sent, or null.",
           "examples": [
            "2026-11-30"
           ]
          },
          "cost": {
           "type": "number",
           "description": "Total spend, USD.",
           "examples": [
            0.79036
           ]
          },
          "units": {
           "type": "object",
           "properties": {
            "crawl_tasks": {
             "type": "integer",
             "description": "Crawl tasks run.",
             "examples": [
              1840
             ]
            },
            "crawl_pages_billed": {
             "type": "integer",
             "description": "Crawl tasks that were billed.",
             "examples": [
              1795
             ]
            },
            "serp_requests": {
             "type": "integer",
             "description": "Searches run (native and SERP API routes).",
             "examples": [
              520
             ]
            },
            "serp_requests_billed": {
             "type": "integer",
             "description": "Searches that were billed.",
             "examples": [
              514
             ]
            },
            "requests": {
             "type": "integer",
             "description": "Requests of every product.",
             "examples": [
              2385
             ]
            },
            "requests_billed": {
             "type": "integer",
             "description": "Requests of every product that were billed.",
             "examples": [
              2334
             ]
            }
           },
           "description": "Counts."
          },
          "spend": {
           "type": "object",
           "properties": {
            "crawl_usd": {
             "type": "number",
             "description": "Crawl spend, USD.",
             "examples": [
              0.4213
             ]
            },
            "serp_usd": {
             "type": "number",
             "description": "Search spend, USD.",
             "examples": [
              0.27756
             ]
            }
           },
           "description": "Spend by product group."
          },
          "products": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "product": {
              "type": "string",
              "description": "Product key, for example `serp.google.organic` or `crawl_job`.",
              "examples": [
               "ai.chat_gpt.llm_responses"
              ]
             },
             "mode": {
              "type": [
               "string",
               "null"
              ],
              "description": "`live`, `standard`, `priority`, or null.",
              "examples": [
               "live"
              ]
             },
             "requests": {
              "type": "integer",
              "description": "Requests.",
              "examples": [
               25
              ]
             },
             "requests_billed": {
              "type": "integer",
              "description": "Requests that were billed.",
              "examples": [
               25
              ]
             },
             "charged_usd": {
              "type": "number",
              "description": "Charged, USD.",
              "examples": [
               0.0915
              ]
             }
            }
           },
           "description": "Requests and spend per product and mode."
          },
          "total_crawl_jobs": {
           "type": "integer",
           "description": "Same as `units.crawl_tasks`. Kept for older clients.",
           "examples": [
            1840
           ]
          },
          "total_cost_usd": {
           "type": "string",
           "description": "Same as `cost`, as a decimal string. Kept for older clients.",
           "examples": [
            "0.79036"
           ]
          }
         }
        },
        "example": {
         "status": "ok",
         "currency": "USD",
         "from": "2026-11-01",
         "to": "2026-11-30",
         "cost": 0.79036,
         "units": {
          "crawl_tasks": 1840,
          "crawl_pages_billed": 1795,
          "serp_requests": 520,
          "serp_requests_billed": 514,
          "requests": 2385,
          "requests_billed": 2334
         },
         "spend": {
          "crawl_usd": 0.4213,
          "serp_usd": 0.27756
         },
         "products": [
          {
           "product": "ai.chat_gpt.llm_responses",
           "mode": "live",
           "requests": 25,
           "requests_billed": 25,
           "charged_usd": 0.0915
          },
          {
           "product": "crawl_job",
           "mode": null,
           "requests": 1840,
           "requests_billed": 1795,
           "charged_usd": 0.4213
          },
          {
           "product": "serp.google.organic",
           "mode": "live",
           "requests": 120,
           "requests_billed": 118,
           "charged_usd": 0.06372
          },
          {
           "product": "serp.google.organic",
           "mode": "standard",
           "requests": 400,
           "requests_billed": 396,
           "charged_usd": 0.21384
          }
         ],
         "total_crawl_jobs": 1840,
         "total_cost_usd": "0.79036"
        }
       }
      }
     },
     "400": {
      "description": "HTTP 400. `from` or `to` isn't a YYYY-MM-DD date, or `from` is after `to`.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "401": {
      "description": "HTTP 401. Missing, malformed or revoked API key.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "429": {
      "description": "HTTP 429. Too many requests, or too many inline requests in flight for your organization. Honor `Retry-After`.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     }
    }
   }
  },
  "/visibility/trackers": {
   "get": {
    "operationId": "visibility-trackers",
    "summary": "List visibility trackers",
    "description": "Your organization's AI visibility trackers, each with its latest run.\n\nTrackers are set up in the dashboard; this route reads them. Up to 200 trackers. Free.",
    "tags": [
     "visibility"
    ],
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. Tracker runs are billed when they run."
    },
    "x-beta": false,
    "x-source": "native",
    "x-mode": "",
    "parameters": [
     {
      "name": "project",
      "in": "query",
      "required": false,
      "description": "A project id, or `all`.",
      "schema": {
       "type": "string",
       "default": "all",
       "examples": [
        "all"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "status": {
           "type": "string",
           "description": "Always `ok`.",
           "examples": [
            "ok"
           ]
          },
          "trackers_count": {
           "type": "integer",
           "description": "Entries in `trackers`.",
           "examples": [
            1
           ]
          },
          "trackers": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Tracker id, `vt_…`.",
              "examples": [
               "vt_8cbb5b5c8e155c82995945f93cdad009"
              ]
             },
             "name": {
              "type": "string",
              "description": "Tracker name.",
              "examples": [
               "Trail shoes, Boulder"
              ]
             },
             "brand_name": {
              "type": "string",
              "description": "The brand it tracks.",
              "examples": [
               "Summit Running Co."
              ]
             },
             "brand_domains": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The brand's domains; citations of these count as brand citations.",
              "examples": [
               [
                "summitrunning.example"
               ]
              ]
             },
             "competitors": {
              "type": "array",
              "items": {
               "type": "object",
               "properties": {
                "name": {
                 "type": "string",
                 "description": "Competitor name.",
                 "examples": [
                  "Peak Outfitters"
                 ]
                },
                "aliases": {
                 "type": "array",
                 "items": {
                  "type": "string"
                 },
                 "description": "Other names that count as a mention.",
                 "examples": [
                  [
                   "Peak"
                  ]
                 ]
                },
                "domains": {
                 "type": "array",
                 "items": {
                  "type": "string"
                 },
                 "description": "Competitor domains.",
                 "examples": [
                  [
                   "peakoutfitters.example"
                  ]
                 ]
                }
               }
              },
              "description": "Competitor brands."
             },
             "competitor_domains": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "All competitor domains.",
              "examples": [
               [
                "peakoutfitters.example"
               ]
              ]
             },
             "prompts": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The questions sent to each answer engine.",
              "examples": [
               [
                "best running store in Boulder",
                "where to get fitted for trail shoes in Boulder"
               ]
              ]
             },
             "providers": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "Answer engines by id: `openai` (ChatGPT), `anthropic` (Claude), `perplexity` (Perplexity). Empty means every available engine.",
              "examples": [
               [
                "openai",
                "anthropic"
               ]
              ]
             },
             "schedule_daily": {
              "type": "boolean",
              "description": "True when it runs every day.",
              "examples": [
               true
              ]
             },
             "is_active": {
              "type": "boolean",
              "description": "False when paused.",
              "examples": [
               true
              ]
             },
             "project_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Project it belongs to."
             },
             "last_run_at": {
              "type": [
               "string",
               "null"
              ],
              "description": "When it last ran, ISO 8601 UTC.",
              "examples": [
               "2026-12-03T10:42:18Z"
              ]
             },
             "created_at": {
              "type": [
               "string",
               "null"
              ],
              "description": "When it was created, ISO 8601 UTC.",
              "examples": [
               "2026-11-12T10:42:18Z"
              ]
             },
             "latest_run": {
              "anyOf": [
               {
                "type": "object",
                "properties": {
                 "id": {
                  "type": "string",
                  "description": "Run id, `vr_…`.",
                  "examples": [
                   "vr_744695e7dd8a5016bb2b2d314ea9ef81"
                  ]
                 },
                 "status": {
                  "type": "string",
                  "description": "Run state.",
                  "enum": [
                   "pending",
                   "processing",
                   "completed",
                   "failed"
                  ],
                  "examples": [
                   "completed"
                  ]
                 },
                 "answer_count": {
                  "type": "integer",
                  "description": "Answers collected.",
                  "examples": [
                   12
                  ]
                 },
                 "failed_answer_count": {
                  "type": "integer",
                  "description": "Answers that failed (not billed).",
                  "examples": [
                   0
                  ]
                 },
                 "billed_usd": {
                  "type": "number",
                  "description": "What the run was charged, USD.",
                  "examples": [
                   0.264
                  ]
                 },
                 "created_at": {
                  "type": [
                   "string",
                   "null"
                  ],
                  "description": "When it started, ISO 8601 UTC.",
                  "examples": [
                   "2026-12-03T10:42:18Z"
                  ]
                 },
                 "completed_at": {
                  "type": [
                   "string",
                   "null"
                  ],
                  "description": "When it finished, ISO 8601 UTC.",
                  "examples": [
                   "2026-12-03T10:42:18Z"
                  ]
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "The most recent run."
             }
            }
           },
           "description": "The trackers."
          }
         }
        },
        "example": {
         "status": "ok",
         "trackers_count": 1,
         "trackers": [
          {
           "id": "vt_8cbb5b5c8e155c82995945f93cdad009",
           "name": "Trail shoes, Boulder",
           "brand_name": "Summit Running Co.",
           "brand_domains": [
            "summitrunning.example"
           ],
           "competitors": [
            {
             "name": "Peak Outfitters",
             "aliases": [
              "Peak"
             ],
             "domains": [
              "peakoutfitters.example"
             ]
            }
           ],
           "competitor_domains": [
            "peakoutfitters.example"
           ],
           "prompts": [
            "best running store in Boulder",
            "where to get fitted for trail shoes in Boulder"
           ],
           "providers": [
            "openai",
            "anthropic"
           ],
           "schedule_daily": true,
           "is_active": true,
           "project_id": null,
           "last_run_at": "2026-12-03T10:42:18Z",
           "created_at": "2026-11-12T10:42:18Z",
           "latest_run": {
            "id": "vr_744695e7dd8a5016bb2b2d314ea9ef81",
            "status": "completed",
            "answer_count": 12,
            "failed_answer_count": 0,
            "billed_usd": 0.264,
            "created_at": "2026-12-03T10:42:18Z",
            "completed_at": "2026-12-03T10:42:18Z"
           }
          }
         ]
        }
       }
      }
     },
     "400": {
      "description": "HTTP 400. `project` isn't a UUID or `all`.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "401": {
      "description": "HTTP 401. Missing, malformed or revoked API key.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "404": {
      "description": "HTTP 404. No project with that id in your organization.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "429": {
      "description": "HTTP 429. Too many requests, or too many inline requests in flight for your organization. Honor `Retry-After`.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     }
    }
   }
  },
  "/visibility/trackers/{id}/summary": {
   "get": {
    "operationId": "visibility-tracker-summary",
    "summary": "Visibility tracker summary",
    "description": "How often AI answers mention and cite your brand, share of voice against competitors, sentiment, and the prompts where you're missing.\n\nCovers the answers collected in the last `days` days, by engine, by day and by prompt. Failed answers are left out of every rate. Free.",
    "tags": [
     "visibility"
    ],
    "security": [
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. Tracker runs are billed when they run."
    },
    "x-beta": false,
    "x-source": "native",
    "x-mode": "",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "Tracker id, with or without the `vt_` prefix.",
      "schema": {
       "type": "string",
       "examples": [
        "vt_2a7c9e145b3d4f6a8c1e9d0b2f4a6c8e"
       ]
      }
     },
     {
      "name": "days",
      "in": "query",
      "required": false,
      "description": "Window in days.",
      "schema": {
       "type": "integer",
       "default": 30,
       "minimum": 1,
       "maximum": 365,
       "examples": [
        30
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "status": {
           "type": "string",
           "description": "Always `ok`.",
           "examples": [
            "ok"
           ]
          },
          "tracker": {
           "type": "object",
           "properties": {
            "id": {
             "type": "string",
             "description": "Tracker id, `vt_…`.",
             "examples": [
              "vt_8cbb5b5c8e155c82995945f93cdad009"
             ]
            },
            "name": {
             "type": "string",
             "description": "Tracker name.",
             "examples": [
              "Trail shoes, Boulder"
             ]
            },
            "brand_name": {
             "type": "string",
             "description": "The brand it tracks.",
             "examples": [
              "Summit Running Co."
             ]
            },
            "brand_domains": {
             "type": "array",
             "items": {
              "type": "string"
             },
             "description": "The brand's domains; citations of these count as brand citations.",
             "examples": [
              [
               "summitrunning.example"
              ]
             ]
            },
            "competitors": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "name": {
                "type": "string",
                "description": "Competitor name.",
                "examples": [
                 "Peak Outfitters"
                ]
               },
               "aliases": {
                "type": "array",
                "items": {
                 "type": "string"
                },
                "description": "Other names that count as a mention.",
                "examples": [
                 [
                  "Peak"
                 ]
                ]
               },
               "domains": {
                "type": "array",
                "items": {
                 "type": "string"
                },
                "description": "Competitor domains.",
                "examples": [
                 [
                  "peakoutfitters.example"
                 ]
                ]
               }
              }
             },
             "description": "Competitor brands."
            },
            "competitor_domains": {
             "type": "array",
             "items": {
              "type": "string"
             },
             "description": "All competitor domains.",
             "examples": [
              [
               "peakoutfitters.example"
              ]
             ]
            },
            "prompts": {
             "type": "array",
             "items": {
              "type": "string"
             },
             "description": "The questions sent to each answer engine.",
             "examples": [
              [
               "best running store in Boulder",
               "where to get fitted for trail shoes in Boulder"
              ]
             ]
            },
            "providers": {
             "type": "array",
             "items": {
              "type": "string"
             },
             "description": "Answer engines by id: `openai` (ChatGPT), `anthropic` (Claude), `perplexity` (Perplexity). Empty means every available engine.",
             "examples": [
              [
               "openai",
               "anthropic"
              ]
             ]
            },
            "schedule_daily": {
             "type": "boolean",
             "description": "True when it runs every day.",
             "examples": [
              true
             ]
            },
            "is_active": {
             "type": "boolean",
             "description": "False when paused.",
             "examples": [
              true
             ]
            },
            "project_id": {
             "type": [
              "string",
              "null"
             ],
             "description": "Project it belongs to."
            },
            "last_run_at": {
             "type": [
              "string",
              "null"
             ],
             "description": "When it last ran, ISO 8601 UTC.",
             "examples": [
              "2026-12-03T10:42:18Z"
             ]
            },
            "created_at": {
             "type": [
              "string",
              "null"
             ],
             "description": "When it was created, ISO 8601 UTC.",
             "examples": [
              "2026-11-12T10:42:18Z"
             ]
            },
            "latest_run": {
             "anyOf": [
              {
               "type": "object",
               "properties": {
                "id": {
                 "type": "string",
                 "description": "Run id, `vr_…`.",
                 "examples": [
                  "vr_744695e7dd8a5016bb2b2d314ea9ef81"
                 ]
                },
                "status": {
                 "type": "string",
                 "description": "Run state.",
                 "enum": [
                  "pending",
                  "processing",
                  "completed",
                  "failed"
                 ],
                 "examples": [
                  "completed"
                 ]
                },
                "answer_count": {
                 "type": "integer",
                 "description": "Answers collected.",
                 "examples": [
                  12
                 ]
                },
                "failed_answer_count": {
                 "type": "integer",
                 "description": "Answers that failed (not billed).",
                 "examples": [
                  0
                 ]
                },
                "billed_usd": {
                 "type": "number",
                 "description": "What the run was charged, USD.",
                 "examples": [
                  0.264
                 ]
                },
                "created_at": {
                 "type": [
                  "string",
                  "null"
                 ],
                 "description": "When it started, ISO 8601 UTC.",
                 "examples": [
                  "2026-12-03T10:42:18Z"
                 ]
                },
                "completed_at": {
                 "type": [
                  "string",
                  "null"
                 ],
                 "description": "When it finished, ISO 8601 UTC.",
                 "examples": [
                  "2026-12-03T10:42:18Z"
                 ]
                }
               }
              },
              {
               "type": "null"
              }
             ],
             "description": "The most recent run."
            }
           },
           "description": "The tracker."
          },
          "currency": {
           "type": "string",
           "description": "Always `USD`.",
           "examples": [
            "USD"
           ]
          },
          "brand_name": {
           "type": "string",
           "description": "The brand it tracks.",
           "examples": [
            "Summit Running Co."
           ]
          },
          "days": {
           "type": "integer",
           "description": "The window, in days.",
           "examples": [
            30
           ]
          },
          "since": {
           "type": "string",
           "description": "Start of the window, ISO 8601 UTC.",
           "examples": [
            "2026-11-03T10:42:18Z"
           ]
          },
          "run_count": {
           "type": "integer",
           "description": "Runs in the window.",
           "examples": [
            4
           ]
          },
          "billed_usd": {
           "type": "number",
           "description": "What runs in the window were charged, USD.",
           "examples": [
            1.056
           ]
          },
          "provider_labels": {
           "type": "object",
           "description": "Display name for each engine id.",
           "examples": [
            {
             "anthropic": "Claude",
             "openai": "ChatGPT",
             "perplexity": "Perplexity"
            }
           ]
          },
          "answers": {
           "type": "integer",
           "description": "Answers counted (failed answers excluded).",
           "examples": [
            4
           ]
          },
          "mention_rate": {
           "type": [
            "number",
            "null"
           ],
           "description": "Share of answers mentioning the brand, 0 to 1.",
           "examples": [
            0.75
           ]
          },
          "citation_rate": {
           "type": [
            "number",
            "null"
           ],
           "description": "Share of answers citing a brand domain, 0 to 1.",
           "examples": [
            0.5
           ]
          },
          "providers": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "provider": {
              "type": "string",
              "description": "Engine id.",
              "examples": [
               "anthropic"
              ]
             },
             "answers": {
              "type": "integer",
              "description": "Answers counted (failed answers excluded).",
              "examples": [
               2
              ]
             },
             "mention_rate": {
              "type": [
               "number",
               "null"
              ],
              "description": "Share of answers mentioning the brand, 0 to 1.",
              "examples": [
               1.0
              ]
             },
             "citation_rate": {
              "type": [
               "number",
               "null"
              ],
              "description": "Share of answers citing a brand domain, 0 to 1.",
              "examples": [
               0.5
              ]
             }
            }
           },
           "description": "Rates by engine."
          },
          "series": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "provider": {
              "type": "string",
              "description": "Engine id.",
              "examples": [
               "anthropic"
              ]
             },
             "day": {
              "type": "string",
              "description": "Date, YYYY-MM-DD.",
              "examples": [
               "2026-12-03"
              ]
             },
             "answers": {
              "type": "integer",
              "description": "Answers counted (failed answers excluded).",
              "examples": [
               2
              ]
             },
             "mention_rate": {
              "type": [
               "number",
               "null"
              ],
              "description": "Share of answers mentioning the brand, 0 to 1.",
              "examples": [
               1.0
              ]
             },
             "citation_rate": {
              "type": [
               "number",
               "null"
              ],
              "description": "Share of answers citing a brand domain, 0 to 1.",
              "examples": [
               0.5
              ]
             }
            }
           },
           "description": "Rates by engine and day."
          },
          "top_domains": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "domain": {
              "type": "string",
              "description": "Domain.",
              "examples": [
               "summitrunning.example"
              ]
             },
             "answers": {
              "type": "integer",
              "description": "Answers citing it.",
              "examples": [
               4
              ]
             }
            }
           },
           "description": "Most-cited domains, up to 15, most answers first; ties in alphabetical order."
          },
          "prompts": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "prompt": {
              "type": "string",
              "description": "The prompt.",
              "examples": [
               "best running store in Boulder"
              ]
             },
             "answers": {
              "type": "integer",
              "description": "Answers counted (failed answers excluded).",
              "examples": [
               2
              ]
             },
             "mention_rate": {
              "type": [
               "number",
               "null"
              ],
              "description": "Share of answers mentioning the brand, 0 to 1.",
              "examples": [
               1.0
              ]
             },
             "citation_rate": {
              "type": [
               "number",
               "null"
              ],
              "description": "Share of answers citing a brand domain, 0 to 1.",
              "examples": [
               1.0
              ]
             },
             "absent": {
              "type": "boolean",
              "description": "True when no answer mentioned or cited the brand.",
              "examples": [
               false
              ]
             },
             "providers_absent": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "Engines whose answers left the brand out.",
              "examples": [
               []
              ]
             },
             "tracked": {
              "type": "boolean",
              "description": "True when the prompt is still on the tracker.",
              "examples": [
               true
              ]
             }
            }
           },
           "description": "Rates by prompt."
          },
          "share_of_voice": {
           "type": "object",
           "properties": {
            "brand_name": {
             "type": "string",
             "description": "Your brand.",
             "examples": [
              "Summit Running Co."
             ]
            },
            "answers": {
             "type": "integer",
             "description": "Answers counted.",
             "examples": [
              4
             ]
            },
            "total_mentions": {
             "type": "integer",
             "description": "Mentions of any tracked brand.",
             "examples": [
              7
             ]
            },
            "total_citations": {
             "type": "integer",
             "description": "Citations of any tracked brand.",
             "examples": [
              2
             ]
            },
            "brand_mention_share": {
             "type": [
              "number",
              "null"
             ],
             "description": "Your share of mentions, 0 to 1.",
             "examples": [
              0.4286
             ]
            },
            "brand_citation_share": {
             "type": [
              "number",
              "null"
             ],
             "description": "Your share of citations, 0 to 1.",
             "examples": [
              1.0
             ]
            },
            "brand_avg_position": {
             "type": [
              "number",
              "null"
             ],
             "description": "Your average first-mention rank.",
             "examples": [
              1.0
             ]
            },
            "brands": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "name": {
                "type": "string",
                "description": "Brand name.",
                "examples": [
                 "Summit Running Co."
                ]
               },
               "is_brand": {
                "type": "boolean",
                "description": "True for your brand, false for a competitor.",
                "examples": [
                 true
                ]
               },
               "mentions": {
                "type": "integer",
                "description": "Answers mentioning it.",
                "examples": [
                 3
                ]
               },
               "citations": {
                "type": "integer",
                "description": "Answers citing its domains.",
                "examples": [
                 2
                ]
               },
               "mention_share": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "Share of tracked-brand mentions, 0 to 1.",
                "examples": [
                 0.4286
                ]
               },
               "citation_share": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "Share of tracked-brand citations, 0 to 1.",
                "examples": [
                 1.0
                ]
               },
               "avg_position": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "Average first-mention rank.",
                "examples": [
                 1.0
                ]
               }
              }
             },
             "description": "Every tracked brand."
            },
            "providers": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "provider": {
                "type": "string",
                "description": "Engine id.",
                "examples": [
                 "anthropic"
                ]
               },
               "answers": {
                "type": "integer",
                "description": "Answers counted.",
                "examples": [
                 2
                ]
               },
               "total_mentions": {
                "type": "integer",
                "description": "Mentions of any tracked brand.",
                "examples": [
                 4
                ]
               },
               "total_citations": {
                "type": "integer",
                "description": "Citations of any tracked brand.",
                "examples": [
                 1
                ]
               },
               "mention_share": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "The brand's share of tracked-brand mentions, 0 to 1.",
                "examples": [
                 0.5
                ]
               },
               "citation_share": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "The brand's share of tracked-brand citations, 0 to 1.",
                "examples": [
                 1.0
                ]
               },
               "avg_position": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "Average rank at which the brand is first mentioned.",
                "examples": [
                 1.0
                ]
               },
               "brands": {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "name": {
                   "type": "string",
                   "description": "Brand name.",
                   "examples": [
                    "Summit Running Co."
                   ]
                  },
                  "is_brand": {
                   "type": "boolean",
                   "description": "True for your brand, false for a competitor.",
                   "examples": [
                    true
                   ]
                  },
                  "mentions": {
                   "type": "integer",
                   "description": "Answers mentioning it.",
                   "examples": [
                    2
                   ]
                  },
                  "citations": {
                   "type": "integer",
                   "description": "Answers citing its domains.",
                   "examples": [
                    1
                   ]
                  },
                  "mention_share": {
                   "type": [
                    "number",
                    "null"
                   ],
                   "description": "Share of tracked-brand mentions, 0 to 1.",
                   "examples": [
                    0.5
                   ]
                  },
                  "citation_share": {
                   "type": [
                    "number",
                    "null"
                   ],
                   "description": "Share of tracked-brand citations, 0 to 1.",
                   "examples": [
                    1.0
                   ]
                  },
                  "avg_position": {
                   "type": [
                    "number",
                    "null"
                   ],
                   "description": "Average first-mention rank.",
                   "examples": [
                    1.0
                   ]
                  }
                 }
                },
                "description": "Every tracked brand on this engine."
               }
              }
             },
             "description": "Share of voice by engine."
            },
            "prompts": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "prompt": {
                "type": "string",
                "description": "The prompt.",
                "examples": [
                 "best running store in Boulder"
                ]
               },
               "answers": {
                "type": "integer",
                "description": "Answers counted.",
                "examples": [
                 2
                ]
               },
               "total_mentions": {
                "type": "integer",
                "description": "Mentions of any tracked brand.",
                "examples": [
                 4
                ]
               },
               "total_citations": {
                "type": "integer",
                "description": "Citations of any tracked brand.",
                "examples": [
                 2
                ]
               },
               "mention_share": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "The brand's share of tracked-brand mentions, 0 to 1.",
                "examples": [
                 0.5
                ]
               },
               "citation_share": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "The brand's share of tracked-brand citations, 0 to 1.",
                "examples": [
                 1.0
                ]
               },
               "avg_position": {
                "type": [
                 "number",
                 "null"
                ],
                "description": "Average rank at which the brand is first mentioned.",
                "examples": [
                 1.0
                ]
               }
              }
             },
             "description": "Your share of voice by prompt."
            },
            "series": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "day": {
                "type": "string",
                "description": "Date, YYYY-MM-DD.",
                "examples": [
                 "2026-12-03"
                ]
               },
               "mention_share": {
                "type": "object",
                "description": "Mention share by brand name.",
                "examples": [
                 {
                  "Summit Running Co.": 0.4286,
                  "Peak Outfitters": 0.5714
                 }
                ]
               },
               "citation_share": {
                "type": "object",
                "description": "Citation share by brand name.",
                "examples": [
                 {
                  "Summit Running Co.": 1.0,
                  "Peak Outfitters": 0.0
                 }
                ]
               }
              }
             },
             "description": "Share of voice by day."
            }
           },
           "description": "Your brand against the tracked competitors."
          },
          "sentiment": {
           "type": "object",
           "properties": {
            "scored": {
             "type": "integer",
             "description": "Answers with a sentiment score.",
             "examples": [
              3
             ]
            },
            "positive": {
             "type": "integer",
             "description": "Positive answers.",
             "examples": [
              3
             ]
            },
            "neutral": {
             "type": "integer",
             "description": "Neutral answers.",
             "examples": [
              0
             ]
            },
            "negative": {
             "type": "integer",
             "description": "Negative answers.",
             "examples": [
              0
             ]
            },
            "positive_rate": {
             "type": [
              "number",
              "null"
             ],
             "description": "Share positive, 0 to 1.",
             "examples": [
              1.0
             ]
            },
            "negative_rate": {
             "type": [
              "number",
              "null"
             ],
             "description": "Share negative, 0 to 1.",
             "examples": [
              0.0
             ]
            },
            "providers": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "provider": {
                "type": "string",
                "description": "Engine id.",
                "examples": [
                 "anthropic"
                ]
               },
               "scored": {
                "type": "integer",
                "description": "Scored answers.",
                "examples": [
                 2
                ]
               },
               "positive": {
                "type": "integer",
                "description": "Positive answers.",
                "examples": [
                 3
                ]
               },
               "neutral": {
                "type": "integer",
                "description": "Neutral answers.",
                "examples": [
                 0
                ]
               },
               "negative": {
                "type": "integer",
                "description": "Negative answers.",
                "examples": [
                 0
                ]
               }
              }
             },
             "description": "Sentiment by engine."
            }
           },
           "description": "How answers that mention the brand describe it."
          }
         }
        },
        "example": {
         "status": "ok",
         "tracker": {
          "id": "vt_8cbb5b5c8e155c82995945f93cdad009",
          "name": "Trail shoes, Boulder",
          "brand_name": "Summit Running Co.",
          "brand_domains": [
           "summitrunning.example"
          ],
          "competitors": [
           {
            "name": "Peak Outfitters",
            "aliases": [
             "Peak"
            ],
            "domains": [
             "peakoutfitters.example"
            ]
           }
          ],
          "competitor_domains": [
           "peakoutfitters.example"
          ],
          "prompts": [
           "best running store in Boulder",
           "where to get fitted for trail shoes in Boulder"
          ],
          "providers": [
           "openai",
           "anthropic"
          ],
          "schedule_daily": true,
          "is_active": true,
          "project_id": null,
          "last_run_at": "2026-12-03T10:42:18Z",
          "created_at": "2026-11-12T10:42:18Z",
          "latest_run": {
           "id": "vr_744695e7dd8a5016bb2b2d314ea9ef81",
           "status": "completed",
           "answer_count": 12,
           "failed_answer_count": 0,
           "billed_usd": 0.264,
           "created_at": "2026-12-03T10:42:18Z",
           "completed_at": "2026-12-03T10:42:18Z"
          }
         },
         "currency": "USD",
         "brand_name": "Summit Running Co.",
         "days": 30,
         "since": "2026-11-03T10:42:18Z",
         "run_count": 4,
         "billed_usd": 1.056,
         "provider_labels": {
          "anthropic": "Claude",
          "openai": "ChatGPT",
          "perplexity": "Perplexity"
         },
         "answers": 4,
         "mention_rate": 0.75,
         "citation_rate": 0.5,
         "providers": [
          {
           "provider": "anthropic",
           "answers": 2,
           "mention_rate": 1.0,
           "citation_rate": 0.5
          },
          {
           "provider": "openai",
           "answers": 2,
           "mention_rate": 0.5,
           "citation_rate": 0.5
          }
         ],
         "series": [
          {
           "provider": "anthropic",
           "day": "2026-12-03",
           "answers": 2,
           "mention_rate": 1.0,
           "citation_rate": 0.5
          },
          {
           "provider": "openai",
           "day": "2026-12-03",
           "answers": 2,
           "mention_rate": 0.5,
           "citation_rate": 0.5
          }
         ],
         "top_domains": [
          {
           "domain": "summitrunning.example",
           "answers": 4
          },
          {
           "domain": "example-guide.com",
           "answers": 2
          }
         ],
         "prompts": [
          {
           "prompt": "best running store in Boulder",
           "answers": 2,
           "mention_rate": 1.0,
           "citation_rate": 1.0,
           "absent": false,
           "providers_absent": [],
           "tracked": true
          },
          {
           "prompt": "where to get fitted for trail shoes in Boulder",
           "answers": 2,
           "mention_rate": 0.5,
           "citation_rate": 0.0,
           "absent": false,
           "providers_absent": [
            "openai"
           ],
           "tracked": true
          }
         ],
         "share_of_voice": {
          "brand_name": "Summit Running Co.",
          "answers": 4,
          "total_mentions": 7,
          "total_citations": 2,
          "brand_mention_share": 0.4286,
          "brand_citation_share": 1.0,
          "brand_avg_position": 1.0,
          "brands": [
           {
            "name": "Summit Running Co.",
            "is_brand": true,
            "mentions": 3,
            "citations": 2,
            "mention_share": 0.4286,
            "citation_share": 1.0,
            "avg_position": 1.0
           },
           {
            "name": "Peak Outfitters",
            "is_brand": false,
            "mentions": 4,
            "citations": 0,
            "mention_share": 0.5714,
            "citation_share": 0.0,
            "avg_position": 1.75
           }
          ],
          "providers": [
           {
            "provider": "anthropic",
            "answers": 2,
            "total_mentions": 4,
            "total_citations": 1,
            "mention_share": 0.5,
            "citation_share": 1.0,
            "avg_position": 1.0,
            "brands": [
             {
              "name": "Summit Running Co.",
              "is_brand": true,
              "mentions": 2,
              "citations": 1,
              "mention_share": 0.5,
              "citation_share": 1.0,
              "avg_position": 1.0
             },
             {
              "name": "Peak Outfitters",
              "is_brand": false,
              "mentions": 2,
              "citations": 0,
              "mention_share": 0.5,
              "citation_share": 0.0,
              "avg_position": 2.0
             }
            ]
           },
           {
            "provider": "openai",
            "answers": 2,
            "total_mentions": 3,
            "total_citations": 1,
            "mention_share": 0.3333,
            "citation_share": 1.0,
            "avg_position": 1.0,
            "brands": [
             {
              "name": "Summit Running Co.",
              "is_brand": true,
              "mentions": 1,
              "citations": 1,
              "mention_share": 0.3333,
              "citation_share": 1.0,
              "avg_position": 1.0
             },
             {
              "name": "Peak Outfitters",
              "is_brand": false,
              "mentions": 2,
              "citations": 0,
              "mention_share": 0.6667,
              "citation_share": 0.0,
              "avg_position": 1.5
             }
            ]
           }
          ],
          "prompts": [
           {
            "prompt": "best running store in Boulder",
            "answers": 2,
            "total_mentions": 4,
            "total_citations": 2,
            "mention_share": 0.5,
            "citation_share": 1.0,
            "avg_position": 1.0
           },
           {
            "prompt": "where to get fitted for trail shoes in Boulder",
            "answers": 2,
            "total_mentions": 3,
            "total_citations": 0,
            "mention_share": 0.3333,
            "citation_share": null,
            "avg_position": 1.0
           }
          ],
          "series": [
           {
            "day": "2026-12-03",
            "mention_share": {
             "Summit Running Co.": 0.4286,
             "Peak Outfitters": 0.5714
            },
            "citation_share": {
             "Summit Running Co.": 1.0,
             "Peak Outfitters": 0.0
            }
           }
          ]
         },
         "sentiment": {
          "scored": 3,
          "positive": 3,
          "neutral": 0,
          "negative": 0,
          "positive_rate": 1.0,
          "negative_rate": 0.0,
          "providers": [
           {
            "provider": "anthropic",
            "scored": 2,
            "positive": 2,
            "neutral": 0,
            "negative": 0
           },
           {
            "provider": "openai",
            "scored": 1,
            "positive": 1,
            "neutral": 0,
            "negative": 0
           }
          ]
         }
        }
       }
      }
     },
     "400": {
      "description": "HTTP 400. `days` isn't a whole number.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "401": {
      "description": "HTTP 401. Missing, malformed or revoked API key.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "404": {
      "description": "HTTP 404. No tracker with that id in your organization.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     },
     "429": {
      "description": "HTTP 429. Too many requests, or too many inline requests in flight for your organization. Honor `Retry-After`.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/NativeError"
        }
       }
      }
     }
    }
   }
  },
  "/account/user_data": {
   "get": {
    "operationId": "account-user-data",
    "summary": "User Data",
    "description": "Your login, organization, rate limit, wallet balance and the price list.\n\nCall it to check the key works and see your balance before a large run. Free. Account routes never charge your wallet.",
    "tags": [
     "account"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. Account routes never charge your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/appendix/user_data"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "account",
                "user_data"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "login": {
                   "type": "string",
                   "description": "Email of the user who owns the API key.",
                   "examples": [
                    "dev@summitrunning.example"
                   ]
                  },
                  "timezone": {
                   "type": "string",
                   "description": "Always `UTC`. Every time in the API is UTC.",
                   "examples": [
                    "UTC"
                   ]
                  },
                  "organization": {
                   "type": "string",
                   "description": "Organization the key belongs to.",
                   "examples": [
                    "Summit Running Co."
                   ]
                  },
                  "rates": {
                   "type": "object",
                   "properties": {
                    "limits": {
                     "type": "object",
                     "properties": {
                      "minute": {
                       "type": "object",
                       "properties": {
                        "total": {
                         "type": "integer",
                         "description": "Requests per minute allowed for this key.",
                         "examples": [
                          120
                         ]
                        }
                       },
                       "description": "Per-minute limit."
                      }
                     },
                     "description": "Limits by window."
                    }
                   },
                   "description": "Rate limits."
                  },
                  "money": {
                   "type": "object",
                   "properties": {
                    "balance": {
                     "type": "number",
                     "description": "Wallet balance in USD.",
                     "examples": [
                      24.8731
                     ]
                    },
                    "currency": {
                     "type": "string",
                     "description": "Always `USD`.",
                     "examples": [
                      "USD"
                     ]
                    },
                    "auto_top_up": {
                     "type": "boolean",
                     "description": "True when automatic top-up is on.",
                     "examples": [
                      true
                     ]
                    }
                   },
                   "description": "Wallet."
                  },
                  "price": {
                   "type": "object",
                   "description": "Your list prices for every supported paid route, keyed by route (`/v1/...`), then by mode or queue (`live`, `standard`, `priority`), in USD per unit. Routes priced by fetch level add `fetch_level` with the `rendered` and `protected` prices. Free routes aren't listed.",
                   "examples": [
                    {
                     "/v1/ads/meta": {
                      "live": 0.00018
                     },
                     "/v1/ads/yelp": {
                      "live": 0.00045
                     },
                     "/v1/ai/chat_gpt/llm_responses/live": {
                      "live": 0.00054
                     },
                     "/v1/ai/chat_gpt/llm_responses/task_post": {
                      "standard": 0.00018,
                      "priority": 0.00054
                     }
                    }
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "account",
            "user_data"
           ],
           "data": {},
           "result": [
            {
             "login": "dev@summitrunning.example",
             "timezone": "UTC",
             "organization": "Summit Running Co.",
             "rates": {
              "limits": {
               "minute": {
                "total": 120
               }
              }
             },
             "money": {
              "balance": 24.8731,
              "currency": "USD",
              "auto_top_up": true
             },
             "price": {
              "/v1/ads/meta": {
               "live": 0.00018
              },
              "/v1/ads/yelp": {
               "live": 0.00045
              },
              "/v1/ai/chat_gpt/llm_responses/live": {
               "live": 0.00054
              },
              "/v1/ai/chat_gpt/llm_responses/task_post": {
               "standard": 0.00018,
               "priority": 0.00054
              }
             }
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/account/errors": {
   "post": {
    "operationId": "account-errors",
    "summary": "Errors",
    "description": "Tasks that failed in the last 7 days, newest first.\n\nLists queued tasks that ended in an error, with the request you sent, so you can fix and resend them. Live requests return their errors directly and aren't listed. Free. Account routes never charge your wallet.",
    "tags": [
     "account"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. Account routes never charge your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/appendix/errors"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "limit": {
           "type": "integer",
           "description": "Most failed tasks to return.",
           "default": 1000,
           "minimum": 1,
           "maximum": 1000,
           "examples": [
            10
           ]
          },
          "offset": {
           "type": "integer",
           "description": "Number of failed tasks to skip, for paging.",
           "default": 0,
           "minimum": 0,
           "examples": [
            0
           ]
          }
         }
        },
        "minItems": 1,
        "maxItems": 1
       },
       "example": [
        {
         "limit": 10,
         "offset": 0
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "account",
                "errors"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "limit": 10,
                "offset": 0
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "total_count": {
                   "type": "integer",
                   "description": "Failed tasks in the last 7 days.",
                   "examples": [
                    1
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Entries in `items`.",
                   "examples": [
                    1
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "id": {
                      "type": "string",
                      "description": "Task id.",
                      "examples": [
                       "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                      ]
                     },
                     "status_code": {
                      "type": "integer",
                      "description": "The error code the task ended with.",
                      "examples": [
                       40501
                      ]
                     },
                     "status_message": {
                      "type": "string",
                      "description": "The error message.",
                      "examples": [
                       "Invalid Field: 'keyword'."
                      ]
                     },
                     "function": {
                      "type": "string",
                      "description": "The route the task was posted to, `/v1/...`.",
                      "examples": [
                       "/v1/serp/google/organic/task_post"
                      ]
                     },
                     "data": {
                      "type": "object",
                      "description": "The task as you sent it.",
                      "examples": [
                       {
                        "keyword": "",
                        "location_code": 2840,
                        "language_code": "en"
                       }
                      ]
                     },
                     "datetime": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "When the task was posted, `YYYY-MM-DD HH:MM:SS +00:00`.",
                      "examples": [
                       "2026-12-03 10:42:18 +00:00"
                      ]
                     }
                    }
                   },
                   "description": "The failed tasks."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "account",
            "errors"
           ],
           "data": {
            "limit": 10,
            "offset": 0
           },
           "result": [
            {
             "total_count": 1,
             "items_count": 1,
             "items": [
              {
               "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
               "status_code": 40501,
               "status_message": "Invalid Field: 'keyword'.",
               "function": "/v1/serp/google/organic/task_post",
               "data": {
                "keyword": "",
                "location_code": 2840,
                "language_code": "en"
               },
               "datetime": "2026-12-03 10:42:18 +00:00"
              }
             ]
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000, 40501); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/account/status": {
   "get": {
    "operationId": "account-status",
    "summary": "Status",
    "description": "A health check that also confirms your key.\n\nReturns `ok` and the server time when the API is up and the key is valid. Free. Account routes never charge your wallet.",
    "tags": [
     "account"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. Account routes never charge your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/appendix/status"
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "account",
                "status"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "status": {
                   "type": "string",
                   "description": "Always `ok`.",
                   "examples": [
                    "ok"
                   ]
                  },
                  "checked_at": {
                   "type": "string",
                   "description": "Server time, `YYYY-MM-DD HH:MM:SS +00:00`.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "account",
            "status"
           ],
           "data": {},
           "result": [
            {
             "status": "ok",
             "checked_at": "2026-12-03 10:42:18 +00:00"
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/account/webhook_resend": {
   "post": {
    "operationId": "account-webhook-resend",
    "summary": "Webhook Resend",
    "description": "Send a finished task's pingback and postback again.\n\nUse it when your endpoint was down when the task finished. The task must be completed or failed, and must have had a `pingback_url` or `postback_url` when posted; calls go to those same URLs. Free. Account routes never charge your wallet.",
    "tags": [
     "account"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. Account routes never charge your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "x-replaces": {
     "product": "DataForSEO",
     "path": "/v3/appendix/webhook_resend"
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "id": {
           "type": "string",
           "description": "The task id.",
           "examples": [
            "7f8d2c1e-4b5a-4c3d-9e8f-0a1b2c3d4e5f"
           ]
          }
         },
         "required": [
          "id"
         ]
        },
        "minItems": 1,
        "maxItems": 1
       },
       "example": [
        {
         "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
        }
       ]
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "account",
                "webhook_resend"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "id": {
                   "type": "string",
                   "description": "The task id.",
                   "examples": [
                    "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
                   ]
                  },
                  "resent": {
                   "type": "boolean",
                   "description": "Always true.",
                   "examples": [
                    true
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "account",
            "webhook_resend"
           ],
           "data": {
            "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
           },
           "result": [
            {
             "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
             "resent": true
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000, 40401, 40602); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/account/support_matrix": {
   "get": {
    "operationId": "account-support-matrix",
    "summary": "Support Matrix",
    "description": "Every route we mirror, whether it's supported yet, and its list price.\n\nThe machine-readable version of the support table in these docs. Filter with `family` and `supported`. Free. Account routes never charge your wallet.",
    "tags": [
     "account"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. Account routes never charge your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "parameters": [
     {
      "name": "family",
      "in": "query",
      "required": false,
      "description": "Only routes in this family.",
      "schema": {
       "type": "string",
       "enum": [
        "account",
        "ads",
        "ai",
        "app_data",
        "backlinks",
        "business",
        "content_analysis",
        "dataforseo_labs",
        "domain_analytics",
        "keywords_data",
        "merchant",
        "pages",
        "serp"
       ],
       "examples": [
        "serp"
       ]
      }
     },
     {
      "name": "supported",
      "in": "query",
      "required": false,
      "description": "`true` (or `1`, `yes`) lists supported routes only.",
      "schema": {
       "type": "boolean",
       "default": false,
       "examples": [
        true
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "account",
                "support_matrix"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {
                "family": "serp",
                "supported": "true"
               }
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "total_count": {
                   "type": "integer",
                   "description": "Routes listed.",
                   "examples": [
                    23
                   ]
                  },
                  "supported_count": {
                   "type": "integer",
                   "description": "Of those, how many are supported.",
                   "examples": [
                    23
                   ]
                  },
                  "items_count": {
                   "type": "integer",
                   "description": "Entries in `items`.",
                   "examples": [
                    23
                   ]
                  },
                  "items": {
                   "type": "array",
                   "items": {
                    "type": "object",
                    "properties": {
                     "path": {
                      "type": "string",
                      "description": "The route, `/v1/...`.",
                      "examples": [
                       "/v1/serp/bing/languages"
                      ]
                     },
                     "family": {
                      "type": "string",
                      "description": "Family the route belongs to.",
                      "examples": [
                       "serp"
                      ]
                     },
                     "source_format": {
                      "type": "string",
                      "description": "Request and response shape: `dataforseo`, `scaleserp`, `outscraper` or `apify`.",
                      "enum": [
                       "dataforseo",
                       "scaleserp",
                       "outscraper",
                       "apify"
                      ],
                      "examples": [
                       "dataforseo"
                      ]
                     },
                     "method": {
                      "type": "string",
                      "description": "HTTP method.",
                      "enum": [
                       "GET",
                       "POST"
                      ],
                      "examples": [
                       "GET"
                      ]
                     },
                     "mode": {
                      "type": [
                       "string",
                       "null"
                      ],
                      "description": "`live`, `task_post`, `tasks_ready`, `task_get`, or null for lists and account routes.",
                      "examples": [
                       "live"
                      ]
                     },
                     "supported": {
                      "type": "boolean",
                      "description": "True when the route returns data today. Unsupported routes return 40400.",
                      "examples": [
                       true
                      ]
                     },
                     "price_usd": {
                      "type": [
                       "object",
                       "null"
                      ],
                      "description": "List price by mode or queue, as decimal strings. Null when the route is free or unsupported.",
                      "examples": [
                       {
                        "live": "0.0018"
                       }
                      ]
                     }
                    }
                   },
                   "description": "One entry per route."
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "account",
            "support_matrix"
           ],
           "data": {
            "family": "serp",
            "supported": "true"
           },
           "result": [
            {
             "total_count": 23,
             "supported_count": 23,
             "items_count": 23,
             "items": [
              {
               "path": "/v1/serp/bing/languages",
               "family": "serp",
               "source_format": "dataforseo",
               "method": "GET",
               "mode": null,
               "supported": true,
               "price_usd": null
              },
              {
               "path": "/v1/serp/bing/locations",
               "family": "serp",
               "source_format": "dataforseo",
               "method": "GET",
               "mode": null,
               "supported": true,
               "price_usd": null
              },
              {
               "path": "/v1/serp/bing/organic/live/advanced",
               "family": "serp",
               "source_format": "dataforseo",
               "method": "POST",
               "mode": "live",
               "supported": true,
               "price_usd": {
                "live": "0.0018"
               }
              },
              {
               "path": "/v1/serp/bing/organic/live/regular",
               "family": "serp",
               "source_format": "dataforseo",
               "method": "POST",
               "mode": "live",
               "supported": true,
               "price_usd": {
                "live": "0.0018"
               }
              },
              {
               "path": "/v1/serp/bing/organic/task_get/advanced",
               "family": "serp",
               "source_format": "dataforseo",
               "method": "GET",
               "mode": "task_get",
               "supported": true,
               "price_usd": null
              }
             ]
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40503, 40006, 40210, 40501, 50000); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  },
  "/account/receipts/{receipt_id}": {
   "get": {
    "operationId": "account-receipts",
    "summary": "Receipt",
    "description": "Look up the receipt behind any response's `receipt_id`.\n\nEvery SERP, Pages, AI, Business and Ads API response carries a `receipt_id`. This route returns what that request was charged and how its data was fetched. Only receipts from your organization are found. `/v1/receipts/{receipt_id}` is the same route. Free. Account routes never charge your wallet.",
    "tags": [
     "account"
    ],
    "security": [
     {
      "basicAuth": []
     },
     {
      "bearerAuth": []
     },
     {
      "apiKeyHeader": []
     }
    ],
    "x-price": {
     "unit": "request",
     "usd": null,
     "by_level": null,
     "notes": "Free. Account routes never charge your wallet."
    },
    "x-beta": false,
    "x-source": "dataforseo",
    "x-mode": "",
    "parameters": [
     {
      "name": "receipt_id",
      "in": "path",
      "required": true,
      "description": "The `receipt_id` from a response.",
      "schema": {
       "type": "string",
       "examples": [
        "5c1f8e2a-9b3d-4e6f-8a7b-1c2d3e4f5a6b"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string",
           "description": "Response format version, for example `0.1.20261203`.",
           "examples": [
            "0.1.20261203"
           ]
          },
          "status_code": {
           "type": "integer",
           "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`.",
           "examples": [
            20000
           ]
          },
          "status_message": {
           "type": "string",
           "description": "Plain-language request status.",
           "examples": [
            "Ok."
           ]
          },
          "time": {
           "type": "string",
           "description": "Time the whole request took, for example `1.8410 sec.`",
           "examples": [
            "0.4210 sec."
           ]
          },
          "cost": {
           "type": "number",
           "description": "Sum of every task's `cost`, in USD.",
           "examples": [
            0.0
           ]
          },
          "tasks_count": {
           "type": "integer",
           "description": "Number of tasks in `tasks`.",
           "examples": [
            1
           ]
          },
          "tasks_error": {
           "type": "integer",
           "description": "Tasks whose `status_code` is 40000 or higher.",
           "examples": [
            0
           ]
          },
          "tasks": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string",
              "description": "Task id (a UUID). For task_post, use it with task_get.",
              "examples": [
               "8cbb5b5c-8e15-5c82-9959-45f93cdad009"
              ]
             },
             "status_code": {
              "type": "integer",
              "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.",
              "examples": [
               20000
              ]
             },
             "status_message": {
              "type": "string",
              "description": "Plain-language status. For 40501 it names the field that failed.",
              "examples": [
               "Ok."
              ]
             },
             "time": {
              "type": "string",
              "description": "Time this task took on our side, for example `1.8203 sec.`",
              "examples": [
               "0.4210 sec."
              ]
             },
             "cost": {
              "type": "number",
              "description": "What this task was charged, in USD. 0 when it returned no data.",
              "examples": [
               0.0
              ]
             },
             "result_count": {
              "type": "integer",
              "description": "Number of entries in `result`.",
              "examples": [
               1
              ]
             },
             "path": {
              "type": "array",
              "items": {
               "type": "string"
              },
              "description": "The route this task ran on, split into segments, starting with `v1`.",
              "examples": [
               [
                "v1",
                "account",
                "receipts"
               ]
              ]
             },
             "data": {
              "type": "object",
              "description": "The task you sent, echoed back. Utility routes echo their query parameters.",
              "examples": [
               {}
              ]
             },
             "result": {
              "anyOf": [
               {
                "type": "array",
                "items": {
                 "type": "object",
                 "properties": {
                  "receipt_id": {
                   "type": "string",
                   "description": "The receipt id you looked up.",
                   "examples": [
                    "744695e7-dd8a-5016-bb2b-2d314ea9ef81"
                   ]
                  },
                  "product": {
                   "type": "string",
                   "description": "Product key, for example `serp.google.organic`.",
                   "examples": [
                    "serp.google.organic"
                   ]
                  },
                  "mode": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "`live`, `standard`, `priority`, or null.",
                   "examples": [
                    "live"
                   ]
                  },
                  "status": {
                   "type": "string",
                   "description": "`settled` (charged, possibly $0), `failed` ($0) or `open` (still running).",
                   "enum": [
                    "open",
                    "settled",
                    "failed"
                   ],
                   "examples": [
                    "settled"
                   ]
                  },
                  "charged_usd": {
                   "type": "number",
                   "description": "What the request was charged, USD.",
                   "examples": [
                    0.0018
                   ]
                  },
                  "currency": {
                   "type": "string",
                   "description": "Always `USD`.",
                   "examples": [
                    "USD"
                   ]
                  },
                  "fetch_level": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Fetch level that delivered the data: `standard`, `rendered` or `protected`.",
                   "enum": [
                    "standard",
                    "rendered",
                    "protected",
                    null,
                    null
                   ],
                   "examples": [
                    "standard"
                   ]
                  },
                  "upgraded": {
                   "type": "boolean",
                   "description": "True when Auto-upgrade moved the request to a higher level.",
                   "examples": [
                    false
                   ]
                  },
                  "upgrade_reason": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "Why it was upgraded, in fetch-level terms and HTTP facts."
                  },
                  "cache_hit": {
                   "type": "boolean",
                   "description": "True when a cached result answered.",
                   "examples": [
                    false
                   ]
                  },
                  "fetched_at": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the data was fetched, `YYYY-MM-DD HH:MM:SS +00:00`, where known.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "created_at": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the request arrived.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  },
                  "settled_at": {
                   "type": [
                    "string",
                    "null"
                   ],
                   "description": "When the charge was settled. Null while open.",
                   "examples": [
                    "2026-12-03 10:42:18 +00:00"
                   ]
                  }
                 }
                }
               },
               {
                "type": "null"
               }
              ],
              "description": "One entry."
             },
             "receipt_id": {
              "type": [
               "string",
               "null"
              ],
              "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
             },
             "fetch_level": {
              "type": [
               "string",
               "null"
              ],
              "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
              "enum": [
               "standard",
               "rendered",
               "protected",
               null
              ]
             },
             "upgraded": {
              "type": "boolean",
              "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.",
              "examples": [
               false
              ]
             },
             "upgrade_reason": {
              "type": [
               "string",
               "null"
              ],
              "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
             },
             "cache_hit": {
              "type": "boolean",
              "description": "True when the data came from the shared result cache instead of a new fetch.",
              "examples": [
               false
              ]
             }
            }
           },
           "description": "One entry per task you sent, in the order you sent them."
          }
         }
        },
        "example": {
         "version": "0.1.20261203",
         "status_code": 20000,
         "status_message": "Ok.",
         "time": "0.4210 sec.",
         "cost": 0.0,
         "tasks_count": 1,
         "tasks_error": 0,
         "tasks": [
          {
           "id": "8cbb5b5c-8e15-5c82-9959-45f93cdad009",
           "status_code": 20000,
           "status_message": "Ok.",
           "time": "0.4210 sec.",
           "cost": 0.0,
           "result_count": 1,
           "path": [
            "v1",
            "account",
            "receipts"
           ],
           "data": {},
           "result": [
            {
             "receipt_id": "744695e7-dd8a-5016-bb2b-2d314ea9ef81",
             "product": "serp.google.organic",
             "mode": "live",
             "status": "settled",
             "charged_usd": 0.0018,
             "currency": "USD",
             "fetch_level": "standard",
             "upgraded": false,
             "upgrade_reason": null,
             "cache_hit": false,
             "fetched_at": "2026-12-03 10:42:18 +00:00",
             "created_at": "2026-12-03 10:42:18 +00:00",
             "settled_at": "2026-12-03 10:42:18 +00:00"
            }
           ],
           "receipt_id": null,
           "fetch_level": null,
           "upgraded": false,
           "upgrade_reason": null,
           "cache_hit": false
          }
         ]
        }
       }
      }
     },
     "default": {
      "description": "Errors use the same envelope with a non-20000 `status_code` (40100, 40101, 40202, 40401); see Status codes in the docs.",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DataForSEOEnvelope"
        }
       }
      }
     }
    }
   }
  }
 },
 "components": {
  "securitySchemes": {
   "basicAuth": {
    "type": "http",
    "scheme": "basic",
    "description": "Any login, with your `dg_` API key as the password. Mirrored routes only."
   },
   "bearerAuth": {
    "type": "http",
    "scheme": "bearer",
    "bearerFormat": "dg_ API key",
    "description": "`Authorization: Bearer dg_...`. Every route."
   },
   "apiKeyHeader": {
    "type": "apiKey",
    "in": "header",
    "name": "X-API-Key",
    "description": "`X-API-Key: dg_...`. Every route."
   },
   "apiKeyQuery": {
    "type": "apiKey",
    "in": "query",
    "name": "api_key",
    "description": "`?api_key=dg_...`. Only the Scale SERP-shaped routes. Prefer a header."
   }
  },
  "schemas": {
   "DataForSEOEnvelope": {
    "type": "object",
    "properties": {
     "version": {
      "type": "string",
      "description": "Response format version, for example `0.1.20261203`."
     },
     "status_code": {
      "type": "integer",
      "description": "Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`."
     },
     "status_message": {
      "type": "string",
      "description": "Plain-language request status."
     },
     "time": {
      "type": "string",
      "description": "Time the whole request took, for example `1.8410 sec.`"
     },
     "cost": {
      "type": "number",
      "description": "Sum of every task's `cost`, in USD."
     },
     "tasks_count": {
      "type": "integer",
      "description": "Number of tasks in `tasks`."
     },
     "tasks_error": {
      "type": "integer",
      "description": "Tasks whose `status_code` is 40000 or higher."
     },
     "tasks": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "id": {
         "type": "string",
         "description": "Task id (a UUID). For task_post, use it with task_get."
        },
        "status_code": {
         "type": "integer",
         "description": "Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table."
        },
        "status_message": {
         "type": "string",
         "description": "Plain-language status. For 40501 it names the field that failed."
        },
        "time": {
         "type": "string",
         "description": "Time this task took on our side, for example `1.8203 sec.`"
        },
        "cost": {
         "type": "number",
         "description": "What this task was charged, in USD. 0 when it returned no data."
        },
        "result_count": {
         "type": "integer",
         "description": "Number of entries in `result`."
        },
        "path": {
         "type": "array",
         "items": {
          "type": "string"
         },
         "description": "The route this task ran on, split into segments, starting with `v1`."
        },
        "data": {
         "type": "object",
         "description": "The task you sent, echoed back. Utility routes echo their query parameters."
        },
        "result": {
         "anyOf": [
          {
           "type": "array",
           "items": {
            "type": "object"
           }
          },
          {
           "type": "null"
          }
         ],
         "description": "Task results."
        },
        "receipt_id": {
         "type": [
          "string",
          "null"
         ],
         "description": "Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks."
        },
        "fetch_level": {
         "type": [
          "string",
          "null"
         ],
         "description": "The fetch level that delivered the data: `standard`, `rendered` or `protected`. Null when the route doesn't fetch pages or nothing was fetched.",
         "enum": [
          "standard",
          "rendered",
          "protected",
          null
         ]
        },
        "upgraded": {
         "type": "boolean",
         "description": "True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that."
        },
        "upgrade_reason": {
         "type": [
          "string",
          "null"
         ],
         "description": "Why the request upgraded, in our level names and HTTP facts, for example `403 at standard; challenge page at rendered`. Null when it didn't upgrade."
        },
        "cache_hit": {
         "type": "boolean",
         "description": "True when the data came from the shared result cache instead of a new fetch."
        }
       }
      },
      "description": "One entry per task you sent, in the order you sent them."
     }
    }
   },
   "NativeError": {
    "type": "object",
    "properties": {
     "status": {
      "type": "string",
      "description": "Always `error`."
     },
     "error": {
      "type": "object",
      "properties": {
       "http_status": {
        "type": "integer",
        "description": "The HTTP status of the response."
       },
       "code": {
        "type": "string",
        "description": "Stable error code, for example `invalid_request` or `balance_required`."
       },
       "message": {
        "type": "string",
        "description": "Plain-language explanation."
       },
       "details": {
        "type": "object",
        "description": "Per-field problems for `invalid_request` and `invalid_target`."
       }
      },
      "description": "What went wrong."
     }
    }
   },
   "ScaleSerpFailure": {
    "type": "object",
    "properties": {
     "request_info": {
      "type": "object",
      "properties": {
       "success": {
        "type": "boolean"
       },
       "message": {
        "type": "string"
       }
      }
     }
    }
   },
   "OutscraperError": {
    "type": "object",
    "properties": {
     "status": {
      "type": "string"
     },
     "error": {
      "type": "boolean"
     },
     "errorMessage": {
      "type": "string"
     }
    }
   },
   "ApifyError": {
    "type": "object",
    "properties": {
     "error": {
      "type": "object",
      "properties": {
       "type": {
        "type": "string"
       },
       "message": {
        "type": "string"
       },
       "receipt_id": {
        "type": [
         "string",
         "null"
        ]
       }
      }
     }
    }
   }
  }
 }
}
