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.
- Preço
- A partir de $0.01224USD / chamada
- Método
- POST
- Resposta
- JSON
- Parâmetros
- 0 obrigatórios · 2 opcionais
Playground
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
README da 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.
Comece a construir
Envie sua primeira solicitação
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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. Autenticação
Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
3. Parâmetros
language_codestring
4. Resposta
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
APIs relacionadas
| API | Preço | Resposta |
|---|---|---|
DataForSEO Google Search IntentEsta API DataForSEO | A partir de $0.01224 por chamada | JSON |
DataForSEO | A partir de $0.0102 por chamada | JSON |
DataForSEO | A partir de $0.000724 por chamada | JSON |
DataForSEO | $0.004 por chamada | JSON |
DataForSEO | A partir de $0.00162 por chamada | JSON |
DataForSEO | A partir de $0.001105 por chamada | JSON |
Perguntas
FAQ
Como eu uso a API DataForSEO Google Search Intent?
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/live com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
Quanto custa a API DataForSEO Google Search Intent?
A partir de $0.01224 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Quais parâmetros a API DataForSEO Google Search Intent aceita?
Nenhum parâmetro é obrigatório. Opcionais: keywords (array) e language_code (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
O que a API DataForSEO Google Search Intent retorna?
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Preciso de uma conta de desenvolvedor DataForSEO ou de uma chave de API?
Não. DataForSEO Google Search Intent funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do DataForSEO separadamente.
