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.
- Precio
- Desde $0.01224USD / llamada
- Método
- POST
- Respuesta
- JSON
- Parámetros
- 0 obligatorios · 2 opcionales
Entorno de pruebas
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
README de la 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.
Empiece a construir
Envíe su primera solicitud
Endpoint de la API de la plataforma con autenticación unificada y seguimiento 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. Autenticación
Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
3. Parámetros
language_codestring
4. Respuesta
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
APIs relacionadas
| API | Precio | Respuesta |
|---|---|---|
DataForSEO Google Search IntentEsta API DataForSEO | Desde $0.01224 por llamada | JSON |
DataForSEO | Desde $0.0102 por llamada | JSON |
DataForSEO | Desde $0.000724 por llamada | JSON |
DataForSEO | $0.004 por llamada | JSON |
DataForSEO | Desde $0.00162 por llamada | JSON |
DataForSEO | Desde $0.001105 por llamada | JSON |
Preguntas
FAQ
¿Cómo uso la API de DataForSEO Google Search Intent?
Envía una solicitud POST a https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/live con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
¿Cuánto cuesta la API de DataForSEO Google Search Intent?
Desde $0.01224 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
¿Qué parámetros acepta la API de DataForSEO Google Search Intent?
No se requieren parámetros. Opcionales: keywords (array) y language_code (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
¿Qué devuelve la API de DataForSEO Google Search Intent?
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
¿Necesito una cuenta de desarrollador o una clave API de DataForSEO?
No. DataForSEO Google Search Intent funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de DataForSEO por separado.
