DataForSEO Google Search Intent
https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/liveClassify up to 100 keywords by search intent (informational, navigational, commercial, transactional) with a probability for each label.
- Cena
- Od $0.01224USD / wywołanie
- Metoda
- POST
- Odpowiedź
- JSON
- Parametry
- 0 wymaganych · 2 opcjonalnych
Playground
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
README API
Google Search Intent API
Returns the search intent of each keyword you send: informational, navigational, commercial or transactional. Each keyword gets a main intent label with a probability. The request needs a keywords array and a language_code.
Use cases
- Sort a keyword list into content types, such as guides for informational terms and product pages for transactional terms.
- Filter a keyword research export to keep only terms with buying intent.
- Check whether a target keyword matches the type of page you plan to publish.
- Tag keywords in bulk before you build a content calendar or an ad campaign.
Request
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keywords": ["buy running shoes", "how to tie shoes"], "language_code": "en"}'
The result is returned in outputs[0].
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
keywords | array | No | |
language_code | string | No |
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"data": {
"api": "dataforseo_labs",
"function": "search_intent",
"keywords": [
"buy running shoes"
],
"se_type": "google"
},
"id": "11030829-1614-0541-0000-d274e03b6bf6",
"path": [
"v3"
],
"result": [
{
"items": [
{
"keyword": "buy running shoes",
"keyword_intent": {
"label": "transactional",
"probability": 1
},
"secondary_keyword_intents": null
}
],
"items_count": 2
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "0.1011 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.1105 sec.",
"version": "0.1.20261022"
}
Response fields
| Field | Meaning |
|---|---|
tasks[].result[].items[].keyword | The keyword from your request that this row classifies. |
tasks[].result[].items[].keyword_intent.label | The main search intent for the keyword. The example shows transactional for buy running shoes and informational for how to tie shoes. |
tasks[].result[].items[].keyword_intent.probability | The probability for the main label, from 0 to 1. Both example keywords return 1. |
tasks[].result[].items[].secondary_keyword_intents | Other intents for the keyword. It is null when the keyword has no secondary intent. |
tasks[].result[].items_count | The number of keyword rows in this result. |
tasks[].data.keywords | The keywords the task processed, echoed from your request. |
tasks[].id | The task ID for this call. |
tasks[].status_code / tasks[].status_message | The status of the task. 20000 with Ok. means the task succeeded. |
Notes
- Send up to 100 keywords in one request. Each keyword gets one row in
tasks[].result[].items[]. - Set
language_codeto a language code such asen. - Check
tasks[].status_codefor each task, as well as the top-levelstatus_code. - Pair this with DataForSEO AI Keyword Search Volume to add volume data to your keywords.
Pricing
Billed at the actual cost of each call, about $0.01224 for the request above. Failed calls are not charged.
Zacznij tworzyć
Wyślij pierwsze żądanie
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keywords": [
"buy running shoes",
"how to tie shoes"
],
"language_code": "en"
}'2. Uwierzytelnianie
Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
3. Parametry
language_codestring
4. Odpowiedź
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
Powiązane APIs
| API | Cena | Odpowiedź |
|---|---|---|
DataForSEO | Od $0.01224 za wywołanie | JSON |
DataForSEO | Od $0.0102 za wywołanie | JSON |
DataForSEO | Od $0.000724 za wywołanie | JSON |
DataForSEO | $0.004 za wywołanie | JSON |
DataForSEO | Od $0.00162 za wywołanie | JSON |
DataForSEO | Od $0.001105 za wywołanie | JSON |
Pytania
FAQ
Jak używać API DataForSEO Google Search Intent?
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/live z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
Ile kosztuje API DataForSEO Google Search Intent?
Od $0.01224 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Jakie parametry przyjmuje API DataForSEO Google Search Intent?
Nie są wymagane żadne parametry. Opcjonalne: keywords (array) i language_code (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Co zwraca API DataForSEO Google Search Intent?
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Czy potrzebuję konta deweloperskiego DataForSEO lub klucza API?
Nie. DataForSEO Google Search Intent działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API DataForSEO.
