# دریافت نتایج پیشرفته Google Maps SERP بر اساس id

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/serp/google/maps/task_get/advanced/{id}`

**Tags:** DataForSEO

نتیجه Google Maps را که در صف است با `id` بازیابی می‌کند. `keyword`، `type`، `se_domain`، `location_code`، `language_code`، `check_url`، `datetime`، `spell`، `refinement_chips`، `item_types`، `items_count` و `items` را برمی‌گرداند. پاسخ در پاکت DataForSEO قرار می‌گیرد: داده‌ها در `tasks[0].result` و نتیجه در `tasks[0].status_code` — درخواست ردشده نیز همچنان HTTP 200 برمی‌گرداند.

### مرجع قیمت‌گذاری

- اندازه‌گیری: هزینه گزارش‌شده پاسخ.
- برآورد درخواست مرجع: 0.02 دلار آمریکا.
- ضریب مشتری مرجع: 1.0. آن را دوباره روی مبلغ تسویه‌شده مشتری اعمال نکنید.

فقط فراداده مرجع است، نه نقل‌قول حساب، نه قیمت تضمین‌شده و نه سقف هزینه. اعتبار منابع، اعتبار Felo نیست. هزینه‌های نهایی تابع سوابق صورت‌حساب Felo است.

## Related links

- [شناسه یکتای جهانی (UUID)](<https://en.wikipedia.org/wiki/Universally_unique_identifier>)

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | path | yes | string | <em>شناسه وظیفه</em><br>شناسه یکتای جهانی (UUID)<br><strong>شناسه وظیفه یکتا در سیستم ما</strong><br>می‌توانید تا <strong>30 روز</strong> از آن برای درخواست نتایج وظیفه در هر زمان استفاده کنید |

## Responses

### 200 — عملیات موفق

Headers:
- `X-Request-Id` (string) — شناسه درخواست برای درج هنگام تماس با پشتیبانی Felo.

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleMapsTaskGetAdvancedResponseInfo"
    }
  ]
}
```

### 400 — درخواست پردازش نشد. پارامترهای درخواست را بررسی کنید.

### 401 — یک کلید API معتبر Felo لازم است.

### 402 — درخواست ادامه نمی‌یابد چون یک الزام صورت‌حساب برآورده نشده است.

### 403 — حساب مجاز به انجام این عملیات نیست.

### 429 — به سقف درخواست یا هزینه رسیده‌اید.

### 502 — سرویس نتوانست درخواست را کامل کند.

### 503 — سرویس API یا صورت‌حساب موقتاً در دسترس نیست.

### 504 — سرویس هنگام پردازش درخواست به پایان مهلت رسید.

### default — پاسخ خطا؛ پاسخ‌های عبوری بالادست ممکن است از قالب‌های ارائه‌دهنده استفاده کنند

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AmazonLabelElement

`#/components/schemas/Response36Afe1097B20_AmazonLabelElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "نوع عنصر"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "عنوان عنصر"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "نشانی URL جستجو با پارامترهای پالایش"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "دامنه در SERP"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "نسخه فعلی API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "کد وضعیت عمومی\nفهرست کامل کدهای پاسخ را اینجا پیدا می‌کنید"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "پیام اطلاعاتی عمومی\nفهرست کامل پیام‌های اطلاعاتی عمومی را اینجا پیدا می‌کنید"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "زمان کل اجرا، بر حسب ثانیه"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "هزینه کل وظایف، دلار آمریکا",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "تعداد وظایف در آرایه tasks",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "تعداد وظایف در آرایه tasks که با خطا برگردانده شده‌اند",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "شناسه وظیفه\nشناسه یکتای وظیفه در سیستم ما در قالب UUID"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "کد وضعیت وظیفه\nتوسط DataForSEO تولید می‌شود و می‌تواند در بازه زیر باشد: 10000-60000\nفهرست کامل کدهای پاسخ را اینجا پیدا می‌کنید"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "پیام اطلاعاتی وظیفه\nفهرست کامل پیام‌های اطلاعاتی عمومی را اینجا پیدا می‌کنید"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "زمان اجرا، ثانیه"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "هزینه کل وظایف، دلار آمریکا",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "تعداد عناصر در آرایه result",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "مسیر URL"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "همان پارامترهایی را دارد که در درخواست POST تعیین کرده‌اید"
    }
  }
}
```

### Response36Afe1097B20_BaseSerpApiGoogleMapsElementItem

`#/components/schemas/Response36Afe1097B20_BaseSerpApiGoogleMapsElementItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "نوع عنصر"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>رتبه گروهی در SERP</em><br>موقعیت درون گروهی از عناصر با مقادیر <code>type</code> یکسان<br>موقعیت عناصر با مقادیر <code>type</code> متفاوت از <code>rank_group</code> حذف می‌شود"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> رتبه مطلق در SERP</em><br>موقعیت مطلق در میان همه عناصر موجود در SERP"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>دامنه در SERP</em>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>عنوان عنصر</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>نشانی URL جستجو با پارامترهای پالایش</em>"
    },
    "rating": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RatingInfo"
        }
      ],
      "description": "<em>امتیاز عنصر </em><br>نرخ محبوبیت بر اساس نظرات که در SERP نمایش داده می‌شود"
    },
    "rating_distribution": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "integer",
          "null"
        ],
        "format": "Int64"
      },
      "description": "<em>توزیع امتیازهای موجودیت کسب‌وکاری</em><br>این شیء تعداد امتیازهای 1 تا 5 ستاره را نمایش می‌دهد، همان‌طور که کاربران بررسی کرده‌اند"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "maps_search": "#/components/schemas/Response36Afe1097B20_SerpApiMapsSearchElementItem",
      "maps_paid_item": "#/components/schemas/Response36Afe1097B20_SerpApiMapsPaidItemElementItem"
    }
  }
}
```

### Response36Afe1097B20_RatingInfo

`#/components/schemas/Response36Afe1097B20_RatingInfo`

```json
{
  "properties": {
    "rating_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "نوع امتیاز\nاینجا می‌توانید عناصر زیر را بیابید: Max5، Percents، CustomMax"
    },
    "value": {
      "type": [
        "number",
        "null"
      ],
      "description": "مقدار امتیاز",
      "format": "double"
    },
    "votes_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "میزان بازخورد",
      "format": "int64"
    },
    "rating_max": {
      "type": [
        "integer",
        "null"
      ],
      "description": "حداکثر مقدار یک rating_type"
    }
  }
}
```

### Response36Afe1097B20_RefinementChipsElement

`#/components/schemas/Response36Afe1097B20_RefinementChipsElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "نوع عنصر"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "عنوان عنصر"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "نشانی URL جستجو با پارامترهای پالایش"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "دامنه در SERP"
    },
    "options": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AmazonLabelElement"
          }
        ]
      },
      "description": "گزینه‌های بیشتر برای پالایش جست‌وجو"
    }
  }
}
```

### Response36Afe1097B20_RefinementChipsInfo

`#/components/schemas/Response36Afe1097B20_RefinementChipsInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "نوع عنصر"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "XPath عنصر"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsElement"
          }
        ]
      },
      "description": "موارد عنصر"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleMapsTaskGetAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleMapsTaskGetAdvancedResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleMapsTaskGetAdvancedTaskInfo"
              }
            ]
          },
          "description": "<em>آرایه‌ای از وظایف</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpGoogleMapsTaskGetAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleMapsTaskGetAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>کلمه کلیدی دریافت‌شده در آرایه POST<br></em><strong>کلمه کلیدی با %## رمزگشایی‌شده بازگردانده می‌شود (نماد + به فاصله رمزگشایی می‌شود)</strong>"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "نوع عنصر"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>دامنه موتور جستجو در آرایه POST</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>کد مکان در آرایه POST</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>کد زبان در آرایه POST</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>نشانی URL مستقیم نتایج موتور جستجو<br></em>می‌توانید از آن استفاده کنید تا مطمئن شوید نتایج دقیقی ارائه کرده‌ایم<br><strong>توجه:</strong> برای بررسی نتایج مخصوص یک مکان، نشانی URL بررسی ارائه‌شده را دنبال کنید، به بالا و پایین اسکرول کنید و سپس روی دکمه <em>\"Search this area\"</em> کلیک کنید"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>تاریخ و زمانی که نتیجه دریافت شده است</em><br>در قالب UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>مثال:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "spell": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_SpellInfo"
        }
      ],
      "description": "<em>اصلاح خودکار موتور جستجو</em><br>اگر موتور جستجو نتایجی را برای کلمه کلیدی اصلاح‌شده ارائه کرده باشد، کلمه کلیدی اصلاح‌شده توسط موتور جستجو و نوع اصلاح خودکار را مشخص می‌کنیم"
    },
    "refinement_chips": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsInfo"
        }
      ],
      "description": "<em>تراشه‌های پالایش جستجو</em>"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>انواع نتایج جستجو در SERP</em><br>حاوی انواع نتایج جستجو (<code>items</code>) یافت‌شده در SERP است.<br>انواع آیتم ممکن:<br><code>maps_search</code>، <code>maps_paid_item</code>"
    },
    "se_results_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> تعداد کل نتایج در SERP</em>",
      "format": "int64"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>تعداد نتایج بازگردانده‌شده در آرایه <strong><code>items</code></strong></em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_BaseSerpApiGoogleMapsElementItem"
          }
        ]
      },
      "description": "<em>آیتم‌های داخل عنصر</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleMapsTaskGetAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleMapsTaskGetAdvancedTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleMapsTaskGetAdvancedResultInfo"
              }
            ]
          },
          "description": "<em>آرایه‌ای از نتایج</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SpellInfo

`#/components/schemas/Response36Afe1097B20_SpellInfo`

```json
{
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "کلیدواژه‌ای که در نتیجه تصحیح خودکار موتور جستجو به دست آمده است\n نتایج برای کلیدواژه تصحیح‌شده ارائه می‌شود"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "نوع تصحیح خودکار\n مقادیر ممکن:\n did_you_mean, showing_results_for, no_results_found_for, including_results_for\n توجه: Yahoo و Yandex فقط از نوع تصحیح خودکار زیر پشتیبانی می‌کنند:\n including_results_for"
    }
  }
}
```
