Statystyki fraz: wiersze (getKeywords)
POST
/api/keywords_analysis/tools/statistics/getKeywordsZwraca pełne wiersze statystyk dla fraz z statistics/create (odczyt z cache po public_id): liczbę wyszukiwań, CPC, liczbę słów, 12-miesięczny trend oraz typy snippetów SERP (serp_params). Bez konsumpcji limitu.
| Fraza | Wyszukiwania | CPC | Liczba słów |
|---|---|---|---|
| sukienka | 368 000 | 0,15 | 1 |
frazy buty/sukienka/kurtka, PL. Wiersze zawierają też trend_1..12, trends[] i obiekt statistics (w JSON).
Obsługuje filtering oraz order. serp_params to typy elementów SERP obecne dla frazy. Odczyt z cache — nie konsumuje limitu.
Żądanie
POST /api/keywords_analysis/tools/statistics/getKeywords
żądanie.jsonc
{ "public_id": null, "limit": 10, "page": 1 }Parametry
| Name | Type | Default |
|---|---|---|
public_id | stringWymagane. Klucz z statistics/create. | |
limit | numberLiczba wierszy na stronę. | 10 |
page | numberNumer strony. | 1 |
filtering | Record<string, unknown>[] | |
order | Record<string, unknown>[] |
Odpowiedź
| Name | Type | Default |
|---|---|---|
success | boolean | |
data | { keyword: string; searches: number; cpc: number; words_count: number; trends: number[]; serp_params: string[]; }[] | |
pagination | { page_count: number; current_page: number; has_next_page: boolean; has_prev_page: boolean; count: number; limit: number; } |
Błędy
Błędy tego endpointu przychodzą we wspólnej kopercie ze statusem 418.
Powiązane akcje
statistics/create— utworzenie wyniku.
Ostatnia aktualizacja: