# Google Maps SERP: Task Get Advanced

> **Beta:** the parser for this endpoint has not yet been checked against a live response. Field shapes may change.

`GET /v1/serp/google/maps/task_get/advanced/{id}`

Read one queued task's result in the advanced format.

Family: SERP API · Mode: Task Get

## Price

Unit: request

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.

## Authentication

HTTP Basic auth: any login, with your `dg_` API key as the password. A `Bearer` token header with the key also works.

## Request

No request body.

| Field | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | The task id returned by task_post. |

### Example request

```bash
curl -X GET "https://api.dataforgaio.com/v1/serp/google/maps/task_get/advanced/TASK_ID" \
  -u "api:$DATAFORGAIO_API_KEY"
```

## Response

| Field | Type | Description |
|---|---|---|
| `version` | string | Response format version, for example `0.1.20261203`. |
| `status_code` | integer | Status of the request as a whole. 20000 when it was accepted; each task has its own `status_code`. |
| `status_message` | string | Plain-language request status. |
| `time` | string | Time the whole request took, for example `1.8410 sec.` |
| `cost` | number | Sum of every task's `cost`, in USD. |
| `tasks_count` | integer | Number of tasks in `tasks`. |
| `tasks_error` | integer | Tasks whose `status_code` is 40000 or higher. |
| `tasks` | array<object> | One entry per task you sent, in the order you sent them. |
| `tasks.id` | string | Task id (a UUID). For task_post, use it with task_get. |
| `tasks.status_code` | integer | Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table. |
| `tasks.status_message` | string | Plain-language status. For 40501 it names the field that failed. |
| `tasks.time` | string | Time this task took on our side, for example `1.8203 sec.` |
| `tasks.cost` | number | What this task was charged, in USD. 0 when it returned no data. |
| `tasks.result_count` | integer | Number of entries in `result`. |
| `tasks.path` | array<string> | The route this task ran on, split into segments, starting with `v1`. |
| `tasks.data` | object | The task you sent, echoed back. Utility routes echo their query parameters. |
| `tasks.result` | array<object>\|null | The data for this task. Null when the task returned an error. |
| `tasks.result.keyword` | string | The keyword you sent, trimmed. |
| `tasks.result.type` | string | `organic` or `maps`. |
| `tasks.result.se_domain` | string | The `se_domain` you sent, or the engine's default domain. |
| `tasks.result.location_code` | integer\|null | Location code the search ran for. Null for a city-level `location_name` or a coordinate search. |
| `tasks.result.language_code` | string | Language code the search ran for. |
| `tasks.result.check_url` | string\|null | A URL that opens the same search in a browser, to check the result by hand. |
| `tasks.result.datetime` | string\|null | When the results were fetched, `YYYY-MM-DD HH:MM:SS +00:00`. For a cache hit this is the original fetch time. |
| `tasks.result.spell` | null | Spelling suggestion. Not available yet. Always null. |
| `tasks.result.refinement_chips` | null | Not available. Always null. |
| `tasks.result.item_types` | array<string> | Item types present in `items`. |
| `tasks.result.se_results_count` | integer | Total results the engine reported for the query; 0 when it didn't say. |
| `tasks.result.pages_count` | integer | Always 1 for Maps. |
| `tasks.result.items_count` | integer | Number of entries in `items`. |
| `tasks.result.items` | array<object> | The maps_search items. |
| `tasks.result.items.type` | string | Always `maps_search`. |
| `tasks.result.items.rank_group` | integer | Position among items of the same type, starting at 1. |
| `tasks.result.items.rank_absolute` | integer | Position among all items on the page, starting at 1. Equal to `rank_group` for now: only one item type is returned. |
| `tasks.result.items.domain` | string\|null | Domain of the listing's website. |
| `tasks.result.items.title` | string\|null | Business name. |
| `tasks.result.items.original_title` | null | Not available. Always null. |
| `tasks.result.items.url` | string\|null | The listing's website. |
| `tasks.result.items.contact_url` | null | Not available. Always null. |
| `tasks.result.items.contributor_url` | null | Not available. Always null. |
| `tasks.result.items.book_online_url` | null | Not available. Always null. |
| `tasks.result.items.rating` | object\|null | Star rating, when the listing has one. |
| `tasks.result.items.rating.rating_type` | string | Always `Max5`. |
| `tasks.result.items.rating.value` | number\|null | Average rating, 1 to 5. |
| `tasks.result.items.rating.votes_count` | integer\|null | Number of reviews. |
| `tasks.result.items.rating.rating_max` | integer | Always 5. |
| `tasks.result.items.rating_distribution` | null | Not available in search listings. Always null. |
| `tasks.result.items.snippet` | string\|null | Short line shown with the listing. |
| `tasks.result.items.address` | string\|null | Street address as shown. |
| `tasks.result.items.address_info` | null | Not available in search listings. Always null. |
| `tasks.result.items.place_id` | string\|null | Google place id. |
| `tasks.result.items.phone` | string\|null | Phone number as shown. |
| `tasks.result.items.main_image` | string\|null | URL of the listing's main photo. |
| `tasks.result.items.total_photos` | null | Not available in search listings. Always null. |
| `tasks.result.items.category` | string\|null | Main business category. |
| `tasks.result.items.additional_categories` | array<string>\|null | Other categories, when listed. |
| `tasks.result.items.category_ids` | null | Not available. Always null. |
| `tasks.result.items.work_hours` | object\|null | Opening status, when shown. |
| `tasks.result.items.work_hours.timetable` | null | Not available in search listings. Always null. |
| `tasks.result.items.work_hours.current_status` | string\|null | Status text as shown, for example `Open ⋅ Closes 7 PM`. |
| `tasks.result.items.feature_id` | string\|null | Google feature id, `0x…:0x…`. |
| `tasks.result.items.cid` | string\|null | Google customer id (CID) of the place, as a decimal string. |
| `tasks.result.items.latitude` | number\|null | Latitude of the place. |
| `tasks.result.items.longitude` | number\|null | Longitude of the place. |
| `tasks.result.items.is_claimed` | null | Not available in search listings. Always null. |
| `tasks.result.items.local_justifications` | null | Not available. Always null. |
| `tasks.result.items.is_directory_item` | boolean | Always false. |
| `tasks.result.items.price_level` | string\|null | `inexpensive`, `moderate`, `expensive` or `very_expensive`, from the listing's `$` signs. |
| `tasks.result.items.hotel_rating` | null | Not available. Always null. |
| `tasks.result.fetched_at` | string\|null | When the results were fetched, ISO 8601 in UTC. |
| `tasks.receipt_id` | string\|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. |
| `tasks.fetch_level` | string\|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 of `standard`, `rendered`, `protected` |
| `tasks.upgraded` | boolean | True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that. |
| `tasks.upgrade_reason` | string\|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. |
| `tasks.cache_hit` | boolean | True when the data came from the shared result cache instead of a new fetch. |

### Item types

#### maps_search

| Field | Type | Description |
|---|---|---|
| `type` | string | Always `maps_search`. |
| `rank_group` | integer | Position among items of the same type, starting at 1. |
| `rank_absolute` | integer | Position among all items on the page, starting at 1. Equal to `rank_group` for now: only one item type is returned. |
| `domain` | string\|null | Domain of the listing's website. |
| `title` | string\|null | Business name. |
| `original_title` | null | Not available. Always null. |
| `url` | string\|null | The listing's website. |
| `contact_url` | null | Not available. Always null. |
| `contributor_url` | null | Not available. Always null. |
| `book_online_url` | null | Not available. Always null. |
| `rating` | object\|null | Star rating, when the listing has one. |
| `rating.rating_type` | string | Always `Max5`. |
| `rating.value` | number\|null | Average rating, 1 to 5. |
| `rating.votes_count` | integer\|null | Number of reviews. |
| `rating.rating_max` | integer | Always 5. |
| `rating_distribution` | null | Not available in search listings. Always null. |
| `snippet` | string\|null | Short line shown with the listing. |
| `address` | string\|null | Street address as shown. |
| `address_info` | null | Not available in search listings. Always null. |
| `place_id` | string\|null | Google place id. |
| `phone` | string\|null | Phone number as shown. |
| `main_image` | string\|null | URL of the listing's main photo. |
| `total_photos` | null | Not available in search listings. Always null. |
| `category` | string\|null | Main business category. |
| `additional_categories` | array<string>\|null | Other categories, when listed. |
| `category_ids` | null | Not available. Always null. |
| `work_hours` | object\|null | Opening status, when shown. |
| `work_hours.timetable` | null | Not available in search listings. Always null. |
| `work_hours.current_status` | string\|null | Status text as shown, for example `Open ⋅ Closes 7 PM`. |
| `feature_id` | string\|null | Google feature id, `0x…:0x…`. |
| `cid` | string\|null | Google customer id (CID) of the place, as a decimal string. |
| `latitude` | number\|null | Latitude of the place. |
| `longitude` | number\|null | Longitude of the place. |
| `is_claimed` | null | Not available in search listings. Always null. |
| `local_justifications` | null | Not available. Always null. |
| `is_directory_item` | boolean | Always false. |
| `price_level` | string\|null | `inexpensive`, `moderate`, `expensive` or `very_expensive`, from the listing's `$` signs. |
| `hotel_rating` | null | Not available. Always null. |

### Example response

```json
{
  "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
    }
  ]
}
```

## Errors

| Code | When |
|---|---|
| 40100 | No credentials were sent (HTTP 401). |
| 40101 | The API key is missing, malformed or revoked (HTTP 401). |
| 40202 | Too many requests for this key (HTTP 429, with `Retry-After`). |
| 40401 | No task with this id in your organization. |
| 40602 | The task is still queued. |
| 40601 | The task is running. |

## Migrating

Replaces DataForSEO `/v3/serp/google/maps/task_get/advanced`. Same request body and response envelope; change the base URL and the key.

## Related

- [Google Maps SERP: Live Advanced](https://dataforgaio.com/docs/api/serp-google-maps-live-advanced.md): Maps listings for a keyword and location: name, rating, reviews, address, phone, category, coordinates and Google ids. Returned in the same call, in the advanced format.
- [Google Maps SERP: Task Post](https://dataforgaio.com/docs/api/serp-google-maps-task-post.md): Queue Google Maps searches on the standard or priority queue, then collect them with tasks_ready and task_get.
- [Google Maps SERP: Tasks Ready](https://dataforgaio.com/docs/api/serp-google-maps-tasks-ready.md): List your finished tasks for this endpoint that you haven't collected yet.
- [Google Maps SERP: Tasks Fixed](https://dataforgaio.com/docs/api/serp-google-maps-tasks-fixed.md): Same list as tasks_ready, kept for clients that call tasks_fixed.
