# Pobieranie zaawansowanych wyników organicznych SERP Baidu według id

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/serp/baidu/organic/task_get/advanced/{id}`

**Tags:** DataForSEO

Pobiera zakolejkowany wynik organiczny Baidu według `id`. Zwraca `keyword`, `type`, `se_domain`, `location_code`, `language_code`, `check_url`, `datetime`, `spell`, `refinement_chips`, `item_types`, `items_count` i `items`. Opakowane w kopertę DataForSEO: dane w `tasks[0].result`, wynik w `tasks[0].status_code` — odrzucone żądanie nadal zwraca HTTP 200.

### Cennik referencyjny

- Rozliczanie: zgłoszony koszt odpowiedzi.
- Szacunek referencyjny dla żądania: USD 0.02.
- Referencyjny mnożnik klienta: 1.0. Nie stosuj go ponownie do rozliczonej kwoty klienta.

Wyłącznie metadane referencyjne, a nie wycena konta, gwarantowana cena lub limit wydatków. Kredyty zasobów nie są kredytami Felo. Ostateczne obciążenia są zgodne z zapisami rozliczeniowymi Felo.

## Related links

- [UUID](<https://en.wikipedia.org/wiki/Universally_unique_identifier>)
- [XPath](<https://en.wikipedia.org/wiki/XPath>)

## 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>identyfikator zadania</em><br><strong>unikalny identyfikator zadania w naszym systemie w formacie UUID</strong><br>można go używać przez <strong>30 dni</strong>, aby w dowolnym momencie pobrać wyniki zadania |

## Responses

### 200 — Operacja zakończona powodzeniem

Headers:
- `X-Request-Id` (string) — Identyfikator żądania do podania podczas kontaktu z pomocą techniczną Felo.

**application/json**

Schema: object | null

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

### 400 — Nie można przetworzyć żądania. Sprawdź parametry żądania.

### 401 — Wymagany jest prawidłowy klucz API Felo.

### 402 — Nie można kontynuować żądania, ponieważ nie spełniono wymogu rozliczeniowego.

### 403 — Konto nie ma uprawnień do wykonania tej operacji.

### 429 — Osiągnięto limit żądań lub wydatków.

### 502 — Usługa nie mogła ukończyć żądania.

### 503 — API lub usługa rozliczeniowa jest tymczasowo niedostępna.

### 504 — Upłynął limit czasu usługi podczas przetwarzania żądania.

### default — Odpowiedź błędu; odpowiedzi przekazywane bezpośrednio od dostawcy upstream mogą używać formatów dostawcy

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AiModeRectangleInfo

`#/components/schemas/Response36Afe1097B20_AiModeRectangleInfo`

```json
{
  "type": "object",
  "properties": {
    "x": {
      "type": [
        "number",
        "null"
      ],
      "description": "współrzędna osi x\nwspółrzędna osi x lewego górnego rogu fragmentu wyniku, gdzie początkiem układu jest lewy górny róg ekranu",
      "format": "double"
    },
    "y": {
      "type": [
        "number",
        "null"
      ],
      "description": "współrzędna osi y\nwspółrzędna osi y lewego górnego rogu fragmentu wyniku, gdzie początkiem układu jest lewy górny róg ekranu",
      "format": "double"
    },
    "width": {
      "type": [
        "number",
        "null"
      ],
      "description": "szerokość elementu w pikselach",
      "format": "double"
    },
    "height": {
      "type": [
        "number",
        "null"
      ],
      "description": "wysokość elementu w pikselach",
      "format": "double"
    }
  }
}
```

### Response36Afe1097B20_AmazonLabelElement

`#/components/schemas/Response36Afe1097B20_AmazonLabelElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "typ elementu"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "tytuł elementu"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "adres URL wyszukiwania z parametrami zawężającymi"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "domena w SERP"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "bieżąca wersja interfejsu API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "ogólny kod statusu\npełną listę kodów odpowiedzi znajdziesz tutaj"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "ogólny komunikat informacyjny\npełną listę ogólnych komunikatów informacyjnych znajdziesz tutaj"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "łączny czas wykonania, sekundy"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "łączny koszt zadań, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "liczba zadań w tablicy tasks",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "liczba zadań w tablicy tasks zwróconych z błędem",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "identyfikator zadania\nunikalny identyfikator zadania w naszym systemie w formacie UUID"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "kod statusu zadania\nwygenerowany przez DataForSEO; może mieścić się w następującym zakresie: 10000-60000\npełną listę kodów odpowiedzi znajdziesz tutaj"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "komunikat informacyjny zadania\npełną listę ogólnych komunikatów informacyjnych znajdziesz tutaj"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "czas wykonania, sekundy"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "łączny koszt zadań, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "liczba elementów w tablicy result",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "ścieżka URL"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "zawiera te same parametry, które podano w żądaniu POST"
    }
  }
}
```

### Response36Afe1097B20_BaseSerpApiElementItem

`#/components/schemas/Response36Afe1097B20_BaseSerpApiElementItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "typ elementu"
    },
    "page": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>numer strony wyników wyszukiwania</em><br>wskazuje numer strony SERP, na której znajduje się element"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>wyrównanie elementu w SERP</em><br>może przyjmować następujące wartości:<br><code>left</code>, <code>right</code>"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>XPath elementu</em>"
    },
    "rectangle": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AiModeRectangleInfo"
        }
      ],
      "description": "<em>parametry prostokąta</em><br>zawiera współrzędne kartezjańskie i wymiary pikselowe fragmentu wyniku w SERP<br>równa się <code>null</code>, jeśli <code>calculate_rectangles</code> w żądaniu POST nie ma wartości <code>true</code>"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "paid": "#/components/schemas/Response36Afe1097B20_PaidSerpElementItem",
      "organic": "#/components/schemas/Response36Afe1097B20_OrganicSerpElementItem",
      "featured_snippet": "#/components/schemas/Response36Afe1097B20_FeaturedSnippetSerpElementItem",
      "knowledge_graph": "#/components/schemas/Response36Afe1097B20_KnowledgeGraphSerpElementItem",
      "top_stories": "#/components/schemas/Response36Afe1097B20_TopStoriesSerpElementItem",
      "people_also_ask": "#/components/schemas/Response36Afe1097B20_PeopleAlsoAskSerpElementItem",
      "people_also_search": "#/components/schemas/Response36Afe1097B20_PeopleAlsoSearchSerpElementItem",
      "images": "#/components/schemas/Response36Afe1097B20_ImagesSerpElementItem",
      "twitter": "#/components/schemas/Response36Afe1097B20_TwitterSerpElementItem",
      "google_reviews": "#/components/schemas/Response36Afe1097B20_GoogleReviewsSerpElementItem",
      "jobs": "#/components/schemas/Response36Afe1097B20_JobsSerpElementItem",
      "map": "#/components/schemas/Response36Afe1097B20_MapSerpElementItem",
      "app": "#/components/schemas/Response36Afe1097B20_AppSerpElementItem",
      "local_pack": "#/components/schemas/Response36Afe1097B20_LocalPackSerpElementItem",
      "carousel": "#/components/schemas/Response36Afe1097B20_CarouselSerpElementItem",
      "video": "#/components/schemas/Response36Afe1097B20_VideoSerpElementItem",
      "answer_box": "#/components/schemas/Response36Afe1097B20_AnswerBoxSerpElementItem",
      "shopping": "#/components/schemas/Response36Afe1097B20_ShoppingSerpElementItem",
      "google_flights": "#/components/schemas/Response36Afe1097B20_GoogleFlightsSerpElementItem",
      "events": "#/components/schemas/Response36Afe1097B20_EventsSerpElementItem",
      "related_searches": "#/components/schemas/Response36Afe1097B20_RelatedSearchesSerpElementItem",
      "multi_carousel": "#/components/schemas/Response36Afe1097B20_MultiCarouselSerpElementItem",
      "recipes": "#/components/schemas/Response36Afe1097B20_RecipesSerpElementItem",
      "top_sights": "#/components/schemas/Response36Afe1097B20_TopSightsSerpElementItem",
      "scholarly_articles": "#/components/schemas/Response36Afe1097B20_ScholarlyArticlesSerpElementItem",
      "popular_products": "#/components/schemas/Response36Afe1097B20_PopularProductsSerpElementItem",
      "stocks_box": "#/components/schemas/Response36Afe1097B20_StocksBoxSerpElementItem",
      "find_results_on": "#/components/schemas/Response36Afe1097B20_FindResultsOnSerpElementItem",
      "questions_and_answers": "#/components/schemas/Response36Afe1097B20_QuestionsAndAnswersSerpElementItem",
      "hotels_pack": "#/components/schemas/Response36Afe1097B20_HotelsPackSerpElementItem",
      "commercial_units": "#/components/schemas/Response36Afe1097B20_CommercialUnitsSerpElementItem",
      "local_services": "#/components/schemas/Response36Afe1097B20_LocalServicesSerpElementItem",
      "google_hotels": "#/components/schemas/Response36Afe1097B20_GoogleHotelsSerpElementItem",
      "math_solver": "#/components/schemas/Response36Afe1097B20_MathSolverSerpElementItem",
      "currency_box": "#/components/schemas/Response36Afe1097B20_CurrencyBoxSerpElementItem",
      "product_considerations": "#/components/schemas/Response36Afe1097B20_ProductConsiderationsSerpElementItem",
      "short_videos": "#/components/schemas/Response36Afe1097B20_ShortVideosSerpElementItem",
      "refine_products": "#/components/schemas/Response36Afe1097B20_RefineProductsSerpElementItem",
      "perspectives": "#/components/schemas/Response36Afe1097B20_PerspectivesSerpElementItem",
      "discussions_and_forums": "#/components/schemas/Response36Afe1097B20_DiscussionsAndForumsSerpElementItem",
      "compare_sites": "#/components/schemas/Response36Afe1097B20_CompareSitesSerpElementItem",
      "knowledge_graph_carousel_item": "#/components/schemas/Response36Afe1097B20_KnowledgeGraphCarouselItemSerpElementItem",
      "knowledge_graph_description_item": "#/components/schemas/Response36Afe1097B20_KnowledgeGraphDescriptionItemSerpElementItem",
      "knowledge_graph_images_item": "#/components/schemas/Response36Afe1097B20_KnowledgeGraphImagesItemSerpElementItem",
      "knowledge_graph_list_item": "#/components/schemas/Response36Afe1097B20_KnowledgeGraphListItemSerpElementItem",
      "knowledge_graph_row_item": "#/components/schemas/Response36Afe1097B20_KnowledgeGraphRowItemSerpElementItem",
      "knowledge_graph_hotels_booking_item": "#/components/schemas/Response36Afe1097B20_KnowledgeGraphHotelsBookingItemSerpElementItem",
      "knowledge_graph_expanded_item": "#/components/schemas/Response36Afe1097B20_KnowledgeGraphExpandedItemSerpElementItem",
      "knowledge_graph_part_item": "#/components/schemas/Response36Afe1097B20_KnowledgeGraphPartItemSerpElementItem",
      "knowledge_graph_shopping_item": "#/components/schemas/Response36Afe1097B20_KnowledgeGraphShoppingItemSerpElementItem",
      "knowledge_graph_ai_overview_item": "#/components/schemas/Response36Afe1097B20_KnowledgeGraphAiOverviewItemSerpElementItem",
      "ai_overview": "#/components/schemas/Response36Afe1097B20_AiOverviewSerpElementItem",
      "third_party_reviews": "#/components/schemas/Response36Afe1097B20_ThirdPartyReviewsSerpElementItem",
      "dictionary": "#/components/schemas/Response36Afe1097B20_DictionarySerpElementItem",
      "google_posts": "#/components/schemas/Response36Afe1097B20_GooglePostsSerpElementItem",
      "mention_carousel": "#/components/schemas/Response36Afe1097B20_MentionCarouselSerpElementItem",
      "podcasts": "#/components/schemas/Response36Afe1097B20_PodcastsSerpElementItem",
      "visual_stories": "#/components/schemas/Response36Afe1097B20_VisualStoriesSerpElementItem",
      "found_on_web": "#/components/schemas/Response36Afe1097B20_FoundOnWebSerpElementItem",
      "explore_brands": "#/components/schemas/Response36Afe1097B20_ExploreBrandsSerpElementItem",
      "courses": "#/components/schemas/Response36Afe1097B20_CoursesSerpElementItem"
    }
  }
}
```

### Response36Afe1097B20_RefinementChipsElement

`#/components/schemas/Response36Afe1097B20_RefinementChipsElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "typ elementu"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "tytuł elementu"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "adres URL wyszukiwania z parametrami zawężającymi"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "domena w SERP"
    },
    "options": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AmazonLabelElement"
          }
        ]
      },
      "description": "dalsze opcje zawężania wyszukiwania"
    }
  }
}
```

### Response36Afe1097B20_RefinementChipsInfo

`#/components/schemas/Response36Afe1097B20_RefinementChipsInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "typ elementu"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "XPath elementu"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsElement"
          }
        ]
      },
      "description": "pozycje elementu"
    }
  }
}
```

### Response36Afe1097B20_SerpBaiduOrganicTaskGetAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpBaiduOrganicTaskGetAdvancedResponseInfo`

```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_SerpBaiduOrganicTaskGetAdvancedTaskInfo"
              }
            ]
          },
          "description": "<em>tablica zadań</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpBaiduOrganicTaskGetAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpBaiduOrganicTaskGetAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>słowo kluczowe otrzymane w tablicy POST<br><br>        </em><strong>słowo kluczowe jest zwracane z zdekodowanym %## (symbol „+” zostanie zdekodowany do znaku spacji)</strong>"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "typ elementu"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>domena wyszukiwarki w tablicy POST</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>kod lokalizacji w tablicy POST</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>kod języka w tablicy POST</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>bezpośredni adres URL do wyników wyszukiwarki</em><br><br>            możesz go użyć, aby upewnić się, że dostarczyliśmy dokładne wyniki"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>data i godzina otrzymania wyniku</em><br><br>            w formacie UTC: „yyyy-mm-dd hh-mm-ss +00:00”<br><br>            przykład:<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>autokorekta wyszukiwarki</em><br><br>            jeśli wyszukiwarka zwróciła wyniki dla poprawionego słowa kluczowego, podajemy słowo kluczowe poprawione przez wyszukiwarkę oraz typ autokorekty"
    },
    "refinement_chips": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsInfo"
        }
      ],
      "description": "<em>żetony uściślania wyszukiwania</em><br><br>            równa się <code>null</code>"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>typy wyników wyszukiwania w SERP</em><br><br>            zawiera typy wyników wyszukiwania (<code>items</code>) znalezionych w SERP.<br><br>            możliwe typy pozycji:<br><br>            <code>images</code>, <code>local_pack</code>, <code>map</code>, <code>organic</code>, <code>paid</code>, <code>related_searches</code>, <code>video</code>, <code>stocks_box</code>, <code>dictionary</code>, <code>shopping</code>"
    },
    "se_results_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> łączna liczba wyników w SERP</em>",
      "format": "int64"
    },
    "pages_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>łączna liczba pobranych stron</em><br><br>            łączna liczba pobranych SERP w wyniku",
      "format": "int64"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>liczba wyników zwróconych w tablicy <strong><code>items</code></strong></em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_BaseSerpApiElementItem"
          }
        ]
      },
      "description": "<em>dodatkowe pozycje obecne w elemencie</em><br><br>            jeśli ich nie ma, równa się <code>null</code>"
    }
  }
}
```

### Response36Afe1097B20_SerpBaiduOrganicTaskGetAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpBaiduOrganicTaskGetAdvancedTaskInfo`

```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_SerpBaiduOrganicTaskGetAdvancedResultInfo"
              }
            ]
          },
          "description": "<em>tablica wyników</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SpellInfo

`#/components/schemas/Response36Afe1097B20_SpellInfo`

```json
{
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "słowo kluczowe uzyskane w wyniku autokorekty wyszukiwarki\n wyniki zostaną udostępnione dla poprawionego słowa kluczowego"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "typ autokorekty\n możliwe wartości:\n did_you_mean, showing_results_for, no_results_found_for, including_results_for\n uwaga: Yahoo i Yandex obsługują tylko następujący typ autokorekty:\n including_results_for"
    }
  }
}
```
