Para IA

Objeto

Objeto Serp

A Google web search results page: organic results, ads, the AI overview, People also ask, related searches and the knowledge panel. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.

CampoTipoDesde viewDescripción
querystringcompactLa búsqueda tal como se hizo.
pageintegercompactQué página es, desde 1.
total_resultsinteger | nullcompactGoogle's own estimate of how many results there are.
organicSerpResult[]compactOrganic results, in page order (usually up to 10).
adsSerpAd[]compactPaid results on the page; empty when Google shows none.
ai_overviewstring | nullstandardThe AI overview's text, where Google shows one with the page; null when it has none or loads it separately. · puede recortarse en compact
related_questionsstring[]compact"People also ask" questions.
related_searchesstring[]compact"Related searches" at the foot of the page.
knowledge_panelKnowledgePanel | nullcompactThe knowledge panel, when the query names an entity Google knows; null otherwise.
extobjetocompletoDatos adicionales propios de la plataforma. Solo se devuelven con view=full. · solo con view=full

SerpResult

CampoTipoDescripción
rankintegerPosición en la lista, desde 1.
titlestringTítulo.
urlstringLa página.
displayed_urlstring | nullThe address as Google prints it under the title.
sourcestring | nullEl nombre del sitio, tal como lo muestra Google.
snippetstring | nullEl texto que Google muestra bajo el título.
datestring | nullThe date Google prints before the snippet, as it shows it ("3 days ago"); null when there is none.

SerpAd

CampoTipoDescripción
rankintegerPosición en la lista, desde 1.
positionstringEncima de los resultados orgánicos o debajo de ellos.
titlestringTitular del anuncio.
urlstringLa página de destino del anuncio.
displayed_urlstring | nullLa dirección que muestra el anuncio.
snippetstring | nullTexto del anuncio.

KnowledgePanel

CampoTipoDescripción
titlestringLa entidad.
typestring | nullQué es, en los términos de Google.
descriptionstring | nullLa descripción del panel.
websitestring | nullEl sitio web propio de la entidad, si Google lo indica.
image_urlstring | nullLa imagen del panel.

Endpoints que devuelven un Serp

Conéctate una vez y luego solo pregunta.

Cada clave nueva incluye $0.20 para probar. Una frase conecta tu agente.

Empieza gratis
Conecta tu IA

Pega esto en tu agente

Lee https://okdata.online/agents.md y configura okdata por mí; mi clave está en la variable de entorno OKDATA_API_KEY.

Claude Code, Cursor, Codex y otros agentes que pueden abrir un enlace se configuran solos a partir de él.

Servidor MCPhttps://api.okdata.online/mcp