DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
Parsowanie treści OnPage API
Parsuje jeden zescrapowany url na ustrukturyzowaną treść, z markdown_view do renderowania Markdown. Czyta ukończony crawl, więc wymaga id z post_dataforseo_on_page_submit i zwraca crawl_progress oraz crawl_status o wartościach max_crawl_pages, pages_in_queue i pages_crawled — sprawdź je, zanim zaufasz małemu wynikowi, bo trwający crawl ma po prostu mniej do zaraportowania. Samodzielny bliźniak post_dataforseo_on_page_content_parsing_live parsuje dowolny URL bez crawla — wybierz go, chyba że strona jest już częścią crawla.
Cennik referencyjny
- Rozliczanie: zgłoszony koszt odpowiedzi.
- Szacunek referencyjny dla żądania: USD 0.012.
- Referencyjny mnożnik klienta: 1.0. Nie stosuj go ponownie do rozliczonej już 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.
- Typ: array (object | null)[]
- idTyp: string
- markdownTyp: boolean | null
_view zwróć treść strony jako markdown
pole opcjonalne
jeśli ustawione natrue, treść strony w formacie markdown zostanie zwrócona w polupage_as_markdownodpowiedzi;
wartość domyślna:false - urlTyp: string
URL treści do przetworzenia
pole wymagane
URL strony do przetworzenia
przykład:https://dataforseo.com/blog/a-versatile-alternative-to-google-trends-exploring-the-power-of-dataforseo-trends-api
- Typ: object | null · Response36Afe1097B20_OnPageContentParsingResponseInfo200
- Typ: number | null Format: doublecost
łączny koszt zadań, USD
- Typ: integer | nullstatus
_code ogólny kod statusu pełną listę kodów odpowiedzi znajdziesz tutaj
- Typ: string | nullstatus
_message ogólny komunikat informacyjny pełną listę ogólnych komunikatów informacyjnych znajdziesz tutaj
- Typ: array (object | null)[] | nulltasks
tablica zadań
- Typ: object | null · Response36Afe1097B20_OnPageContentParsingTaskInfo
- costTyp: number | null Format: double
łączny koszt zadań, USD
- dataTyp: object | null
zawiera te same parametry, które podano w żądaniu POST
- propertyTyp: object | null
Name
- idTyp: string | null
identyfikator zadania unikalny identyfikator zadania w naszym systemie w formacie UUID
- pathTyp: array (string | null)[] | null
ścieżka URL
- resultTyp: array (object | null)[] | null
tablica wyników
- crawlTyp: string | null
_progress status sesji crawlowania
możliwe wartości:in_progress,finished - crawlTyp: object | null · Response36Afe1097B20_CrawlStatusInfo
_status szczegóły sesji crawlowania
- maxTyp: integer | null Format: int64
_crawl _pages maksymalna liczba stron do przeszukania wskazuje limit max_crawl_pages określony podczas ustawiania zadania
- pagesTyp: integer | null Format: int64
_crawled liczba przeszukanych stron
- pagesTyp: integer | null Format: int64
_in _queue liczba stron obecnie znajdujących się w kolejce przeszukiwania
- itemsTyp: array (object | null)[] | null
tablica elementów
- fetchTyp: string | null
_time data i godzina pobrania treści
przykład:"2022-11-01 10:02:52 +00:00" - pageTyp: string | null
_as _markdown - pageTyp: object | null · Response36Afe1097B20_PageContentInfo
_content przetworzona treść strony
- commentsTyp: array (object | null)[] | null
tablica komentarzy wyświetlanych na stronie
zawiera obiekty z informacjami o komentarzach dotyczących wyświetlanych produktów- authorTyp: string | null
autor komentarza
- haveTyp: boolean | null
_form - primaryTyp: array (object | null)[] | null
_content główna treść strony więcej informacji o obliczaniu priorytetu treści znajdziesz w tym artykule Centrum Pomocy
- textTyp: string | null
treść dodatkowa na stronie więcej informacji o obliczaniu priorytetu treści znajdziesz w tym artykule centrum pomocy
- urlTyp: string | null
adres URL strony. wyświetlany, gdy tekst jest kotwicą linku
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- publishTyp: string | null
_date data publikacji komentarza
- ratingTyp: object | null · Response36Afe1097B20_ContententRatingInfo
ocena produktu zawiera informacje o ocenie, którą klient wystawił produktowi
- maxTyp: number | null Format: double
_rating _value maksymalna wartość dla nazwy oceny
- nameTyp: string | null
nazwa oceny tutaj znajdziesz następujące elementy: Max5, Percents, CustomMax
- ratingTyp: integer | null Format: int64
_count liczba głosów
- ratingTyp: number | null Format: double
_value wartość oceny
- relativeTyp: number | null Format: double
_rating ocena względna
- titleTyp: string | null
tytuł komentarza klienta
- contactsTyp: object | null · Response36Afe1097B20_Contacts
informacje kontaktowe
zawiera informacje kontaktowe wyświetlane na stronie- emailsTyp: array (string | null)[] | null
tablica adresów e-mail
- telephonesTyp: array (string | null)[] | null
tablica numerów telefonów
- footerTyp: object | null · Response36Afe1097B20_PageSectionContentInfo
treść stopki tabeli
- primaryTyp: array (object | null)[] | null
_content - textTyp: string | null
treść dodatkowa na stronie więcej informacji o obliczaniu priorytetu treści znajdziesz w tym artykule centrum pomocy
- urlTyp: string | null
adres URL strony. wyświetlany, gdy tekst jest kotwicą linku
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- secondaryTyp: array (object | null)[] | null
_content - textTyp: string | null
treść dodatkowa na stronie więcej informacji o obliczaniu priorytetu treści znajdziesz w tym artykule centrum pomocy
- urlTyp: string | null
adres URL strony. wyświetlany, gdy tekst jest kotwicą linku
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- tableTyp: array (object | null)[] | null
_content zawartość tabeli na stronie
- bodyTyp: array (object | null)[] | null
zawartość ciała tabeli
- rowTyp: array (object | null)[] | null
_cells zawartość komórek wiersza nagłówka
- isTyp: boolean | null
_header zawartość komórek wiersza nagłówka
- textTyp: string | null
zawartość komórek wiersza nagłówka
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- footerTyp: array (object | null)[] | null
zawartość stopki tabeli
- rowTyp: array (object | null)[] | null
_cells zawartość komórek wiersza nagłówka
- isTyp: boolean | null
_header zawartość komórek wiersza nagłówka
- textTyp: string | null
zawartość komórek wiersza nagłówka
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- headerTyp: array (object | null)[] | null
przetworzona zawartość nagłówka
- rowTyp: array (object | null)[] | null
_cells zawartość komórek wiersza nagłówka
- isTyp: boolean | null
_header zawartość komórek wiersza nagłówka
- textTyp: string | null
zawartość komórek wiersza nagłówka
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- headerTyp: object | null · Response36Afe1097B20_PageSectionContentInfo
przetworzona treść nagłówka
- primaryTyp: array (object | null)[] | null
_content - textTyp: string | null
treść dodatkowa na stronie więcej informacji o obliczaniu priorytetu treści znajdziesz w tym artykule centrum pomocy
- urlTyp: string | null
adres URL strony. wyświetlany, gdy tekst jest kotwicą linku
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- secondaryTyp: array (object | null)[] | null
_content - textTyp: string | null
treść dodatkowa na stronie więcej informacji o obliczaniu priorytetu treści znajdziesz w tym artykule centrum pomocy
- urlTyp: string | null
adres URL strony. wyświetlany, gdy tekst jest kotwicą linku
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- tableTyp: array (object | null)[] | null
_content zawartość tabeli na stronie
- bodyTyp: array (object | null)[] | null
zawartość ciała tabeli
- rowTyp: array (object | null)[] | null
_cells zawartość komórek wiersza nagłówka
- isTyp: boolean | null
_header zawartość komórek wiersza nagłówka
- textTyp: string | null
zawartość komórek wiersza nagłówka
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- footerTyp: array (object | null)[] | null
zawartość stopki tabeli
- rowTyp: array (object | null)[] | null
_cells zawartość komórek wiersza nagłówka
- isTyp: boolean | null
_header zawartość komórek wiersza nagłówka
- textTyp: string | null
zawartość komórek wiersza nagłówka
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- headerTyp: array (object | null)[] | null
przetworzona zawartość nagłówka
- rowTyp: array (object | null)[] | null
_cells zawartość komórek wiersza nagłówka
- isTyp: boolean | null
_header zawartość komórek wiersza nagłówka
- textTyp: string | null
zawartość komórek wiersza nagłówka
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- mainTyp: array (object | null)[] | null
_topic - authorTyp: string | null
nazwa autora treści
- hTyp: string | null
_title tytuł meta
- languageTyp: string | null
język treści
- levelTyp: integer | null
poziom HTML
- mainTyp: string | null
_title główny tytuł bloku
- primaryTyp: array (object | null)[] | null
_content - textTyp: string | null
treść dodatkowa na stronie więcej informacji o obliczaniu priorytetu treści znajdziesz w tym artykule centrum pomocy
- urlTyp: string | null
adres URL strony. wyświetlany, gdy tekst jest kotwicą linku
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- secondaryTyp: array (object | null)[] | null
_content - textTyp: string | null
treść dodatkowa na stronie więcej informacji o obliczaniu priorytetu treści znajdziesz w tym artykule centrum pomocy
- urlTyp: string | null
adres URL strony. wyświetlany, gdy tekst jest kotwicą linku
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- tableTyp: array (object | null)[] | null
_content zawartość tabeli na stronie
- bodyTyp: array (object | null)[] | null
zawartość ciała tabeli
- rowTyp: array (object | null)[] | null
_cells zawartość komórek wiersza nagłówka
- isTyp: boolean | null
_header zawartość komórek wiersza nagłówka
- textTyp: string | null
zawartość komórek wiersza nagłówka
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- footerTyp: array (object | null)[] | null
zawartość stopki tabeli
- rowTyp: array (object | null)[] | null
_cells zawartość komórek wiersza nagłówka
- isTyp: boolean | null
_header zawartość komórek wiersza nagłówka
- textTyp: string | null
zawartość komórek wiersza nagłówka
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- headerTyp: array (object | null)[] | null
przetworzona zawartość nagłówka
- rowTyp: array (object | null)[] | null
_cells zawartość komórek wiersza nagłówka
- isTyp: boolean | null
_header zawartość komórek wiersza nagłówka
- textTyp: string | null
zawartość komórek wiersza nagłówka
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- offersTyp: array (object | null)[] | null
tablica produktów wyświetlanych na stronie
zawiera obiekty z informacjami o produktach wyświetlanych na stronie- nameTyp: string | null
nazwa produktu
- priceTyp: number | null Format: double
cena produktu
- priceTyp: string | null
_currency waluta ceny
- priceTyp: string | null
_valid _until wyświetla datę i godzinę, do której cena jest ważna w formacie UTC: „yyyy-mm-dd hh-mm-ss +00:00” przykład: "2022-11-01 10:02:52 +00:00"
- ratingsTyp: array (object | null)[] | null
zawiera obiekty z informacjami o ocenach produktów wyświetlanych na stronie
- maxTyp: number | null Format: double
_rating _value maksymalna wartość dla nazwy oceny
- nameTyp: string | null
nazwa oceny tutaj znajdziesz następujące elementy: Max5, Percents, CustomMax
- ratingTyp: integer | null Format: int64
_count liczba głosów
- ratingTyp: number | null Format: double
_value wartość oceny
- relativeTyp: number | null Format: double
_rating ocena względna
- secondaryTyp: array (object | null)[] | null
_topic - authorTyp: string | null
nazwa autora treści
- hTyp: string | null
_title tytuł meta
- languageTyp: string | null
język treści
- levelTyp: integer | null
poziom HTML
- mainTyp: string | null
_title główny tytuł bloku
- primaryTyp: array (object | null)[] | null
_content - textTyp: string | null
treść dodatkowa na stronie więcej informacji o obliczaniu priorytetu treści znajdziesz w tym artykule centrum pomocy
- urlTyp: string | null
adres URL strony. wyświetlany, gdy tekst jest kotwicą linku
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- secondaryTyp: array (object | null)[] | null
_content - textTyp: string | null
treść dodatkowa na stronie więcej informacji o obliczaniu priorytetu treści znajdziesz w tym artykule centrum pomocy
- urlTyp: string | null
adres URL strony. wyświetlany, gdy tekst jest kotwicą linku
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- tableTyp: array (object | null)[] | null
_content zawartość tabeli na stronie
- bodyTyp: array (object | null)[] | null
zawartość ciała tabeli
- rowTyp: array (object | null)[] | null
_cells zawartość komórek wiersza nagłówka
- isTyp: boolean | null
_header zawartość komórek wiersza nagłówka
- textTyp: string | null
zawartość komórek wiersza nagłówka
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- footerTyp: array (object | null)[] | null
zawartość stopki tabeli
- rowTyp: array (object | null)[] | null
_cells zawartość komórek wiersza nagłówka
- isTyp: boolean | null
_header zawartość komórek wiersza nagłówka
- textTyp: string | null
zawartość komórek wiersza nagłówka
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- headerTyp: array (object | null)[] | null
przetworzona zawartość nagłówka
- rowTyp: array (object | null)[] | null
_cells zawartość komórek wiersza nagłówka
- isTyp: boolean | null
_header zawartość komórek wiersza nagłówka
- textTyp: string | null
zawartość komórek wiersza nagłówka
- urlsTyp: array (object | null)[] | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- anchorTyp: string | null
_text tekst kotwicy URL-a
- urlTyp: string | null
zawiera inne adresy URL i kotwice znalezione w elemencie treści
- statusTyp: integer | null
_code ogólny kod statusu
pełną listę kodów odpowiedzi znajdziesz tutaj
Uwaga: zdecydowanie zalecamy zaprojektowanie systemu obsługi powiązanych warunków wyjątkowych lub błędów - typeTyp: string | null
typ elementu
- itemsTyp: integer | null Format: int64
_count liczba elementów w tablicy wyników
- resultTyp: integer | null Format: int64
_count liczba elementów w tablicy result
- statusTyp: integer | null
_code kod statusu zadania wygenerowany przez DataForSEO; może mieścić się w następującym zakresie: 10000-60000 pełną listę kodów odpowiedzi znajdziesz tutaj
- statusTyp: string | null
_message komunikat informacyjny zadania pełną listę ogólnych komunikatów informacyjnych znajdziesz tutaj
- timeTyp: string | null
czas wykonania, sekundy
- Typ: integer | null Format: int64tasks
_count liczba zadań w tablicy tasks
- Typ: integer | null Format: int64tasks
_error liczba zadań w tablicy tasks zwróconych z błędem
- Typ: string | nulltime
łączny czas wykonania, sekundy
- Typ: string | nullversion
bieżąca wersja interfejsu API
application/json - 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
curl https://openapi.felo.ai/v1/beta/dataforseo/on_page/content_parsing \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '[
{
"url": "https://dataforseo.com/blog/a-versatile-alternative-to-google-trends-exploring-the-power-of-dataforseo-trends-api",
"id": "11161551-1535-0216-0000-500b3f307f92"
}
]'
{
"version": null,
"status_code": null,
"status_message": null,
"time": null,
"cost": null,
"tasks_count": null,
"tasks_error": null,
"tasks": [
{
"id": null,
"status_code": null,
"status_message": null,
"time": null,
"cost": null,
"result_count": null,
"path": [
null
],
"data": null,
"result": [
{
"crawl_progress": null,
"crawl_status": {
"max_crawl_pages": null,
"pages_in_queue": null,
"pages_crawled": null
},
"items_count": null,
"items": [
{
"type": null,
"fetch_time": null,
"status_code": null,
"page_content": "[Max Depth Exceeded]",
"page_as_markdown": null
}
]
}
]
}
]
}