Google Maps SERP: Task Get Advanced

Beta
Read one queued task's result in the advanced format.
GET/v1/serp/google/maps/task_get/advanced/{id}

Beta. The parser for this endpoint was written from the upstream format and has not yet been checked against a live response. Field shapes may change; tell us if you see a mismatch.

Open as Markdown
On this page

Price

Pricerequest

Free. A queued task is billed once, when it returns data, at the price of the queue you posted it to.

Description

Pass 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.

Returns the result exactly as the live route would have.

Free: the task was billed when it returned data.

Request

Endpoint
GET https://api.dataforgaio.com/v1/serp/google/maps/task_get/advanced/{id}
Authentication
HTTP Basic auth: any login, with your dg_ API key as the password. A Bearer header with the key also works. Create a key.
Body
No request bodyMode: Task Get

Fields

  • idstringrequired
    The task id returned by task_post.
    Example7f8d2c1e-4b5a-4c3d-9e8f-0a1b2c3d4e5f

Response

Shape: v3 task envelope. Expand a field to see its children; every field has a link anchor.

  • versionstring
    Response format version, for example 0.1.20261203.
    Example0.1.20261203
  • Status of the request as a whole. 20000 when it was accepted; each task has its own status_code.
    Example20000
  • Plain-language request status.
    ExampleOk.
  • timestring
    Time the whole request took, for example 1.8410 sec.
    Example0.4210 sec.
  • costnumber
    Sum of every task's cost, in USD.
    Example0.00054
  • Number of tasks in tasks.
    Example1
  • Tasks whose status_code is 40000 or higher.
    Example0
  • tasksarray<object>
    One entry per task you sent, in the order you sent them.
    Show 67 child fields
    • idstring
      Task id (a UUID). For task_post, use it with task_get.
      Example8cbb5b5c-8e15-5c82-9959-45f93cdad009
    • Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.
      Example20000
    • Plain-language status. For 40501 it names the field that failed.
      ExampleOk.
    • timestring
      Time this task took on our side, for example 1.8203 sec.
      Example0.4210 sec.
    • costnumber
      What this task was charged, in USD. 0 when it returned no data.
      Example0.00054
    • Number of entries in result.
      Example1
    • patharray<string>
      The route this task ran on, split into segments, starting with v1.
      Example["v1","serp","google"]
    • dataobject
      The task you sent, echoed back. Utility routes echo their query parameters.
      Example{"keyword":"running store","location_name":"Boulder,Colorado,United States","language_code":"en","depth":20}
    • resultarray<object>|null
      The data for this task. Null when the task returned an error.
      Show 53 child fields
      • keywordstring
        The keyword you sent, trimmed.
        Examplerunning store
      • typestring
        organic or maps.
        Examplemaps
      • se_domainstring
        The se_domain you sent, or the engine's default domain.
        Examplegoogle.com
      • location_codeinteger|null
        Location code the search ran for. Null for a city-level location_name or a coordinate search.
      • Language code the search ran for.
        Exampleen
      • check_urlstring|null
        A URL that opens the same search in a browser, to check the result by hand.
        Examplehttps://www.google.com/maps/search/running+store
      • datetimestring|null
        When the results were fetched, YYYY-MM-DD HH:MM:SS +00:00. For a cache hit this is the original fetch time.
        Example2026-12-03 10:42:18 +00:00
      • spellnull
        Spelling suggestion. Not available yet. Always null.
      • Not available. Always null.
      • item_typesarray<string>
        Item types present in items.
        Example["maps_search"]
      • Total results the engine reported for the query; 0 when it didn't say.
        Example2
      • Always 1 for Maps.
        Example1
      • Number of entries in items.
        Example2
      • itemsarray<object>
        The maps_search items.
        Show 38 child fields
        • typestring
          Always maps_search.
          Examplemaps_search
        • rank_groupinteger
          Position among items of the same type, starting at 1.
          Example1
        • Position among all items on the page, starting at 1. Equal to rank_group for now: only one item type is returned.
          Example1
        • domainstring|null
          Domain of the listing's website.
          Examplesummitrunning.example
        • titlestring|null
          Business name.
          ExampleSummit Running Co.
        • Not available. Always null.
        • urlstring|null
          The listing's website.
          Examplehttps://summitrunning.example/
        • Not available. Always null.
        • Not available. Always null.
        • Not available. Always null.
        • ratingobject|null
          Star rating, when the listing has one.
          Show 4 child fields
        • Not available in search listings. Always null.
        • snippetstring|null
          Short line shown with the listing.
          ExampleRunning store in Boulder
        • addressstring|null
          Street address as shown.
          Example120 Main St, Boulder, CO 80302
        • Not available in search listings. Always null.
        • place_idstring|null
          Google place id.
          ExampleChIJexample-summit-0001
        • phonestring|null
          Phone number as shown.
          Example+1 303-555-0142
        • main_imagestring|null
          URL of the listing's main photo.
          Examplehttps://images.example/summit.jpg
        • Not available in search listings. Always null.
        • categorystring|null
          Main business category.
          ExampleRunning store
        • additional_categoriesarray<string>|null
          Other categories, when listed.
          Example["Shoe store","Sportswear store"]
        • Not available. Always null.
        • work_hoursobject|null
          Opening status, when shown.
          Show 2 child fields
          • Not available in search listings. Always null.
          • current_statusstring|null
            Status text as shown, for example Open ⋅ Closes 7 PM.
            ExampleOpen ⋅ Closes 7 PM
        • feature_idstring|null
          Google feature id, 0x…:0x….
          Example0x876bec0d1a2b3c4d:0x112210f4a8c0b315
        • cidstring|null
          Google customer id (CID) of the place, as a decimal string.
          Example1234567890123456789
        • latitudenumber|null
          Latitude of the place.
          Example40.0176
        • longitudenumber|null
          Longitude of the place.
          Example-105.2797
        • Not available in search listings. Always null.
        • Not available. Always null.
        • Always false.
          Examplefalse
        • price_levelstring|null
          inexpensive, moderate, expensive or very_expensive, from the listing's $ signs.
          Examplemoderate
        • Not available. Always null.
      • fetched_atstring|null
        When the results were fetched, ISO 8601 in UTC.
        Example2026-12-03T10:42:18Z
    • receipt_idstring|null
      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.
      Example744695e7-dd8a-5016-bb2b-2d314ea9ef81
    • fetch_levelstring|null
      The fetch level that delivered the data: standard, rendered or protected. Null when the route doesn't fetch pages or nothing was fetched.
      One ofstandardrenderedprotected
    • upgradedboolean
      True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.
      Examplefalse
    • upgrade_reasonstring|null
      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_hitboolean
      True when the data came from the shared result cache instead of a new fetch.
      Examplefalse

Item types

Each entry in items has a type. These are the fields of each type.

Errors

CodeWhen
40100No credentials were sent (HTTP 401).
40101The API key is missing, malformed or revoked (HTTP 401).
40202Too many requests for this key (HTTP 429, with Retry-After).
40401No task with this id in your organization.
40602The task is still queued.
40601The task is running.
Tasks that end in an error are not billed. All status codes

Migrating

Replaces DataForSEO /v3/serp/google/maps/task_get/advanced. The request body and response envelope match: change the base URL to https://api.dataforgaio.com/v1 and use your dg_ key as the password.