AI 向け

オブジェクト

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.

フィールド種類view から説明
querystringcompactリクエストどおりの検索条件。
pageintegercompact現在のページ番号(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. · 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.
extオブジェクト全体プラットフォーム固有の追加情報。view=full の場合のみ返されます。 · view=full の場合のみ

SerpResult

フィールド種類説明
rankintegerリスト内の順位(1 から)。
titlestringタイトル。
urlstringページ。
displayed_urlstring | nullThe address as Google prints it under the title.
sourcestring | nullサイト名(Google の表示どおり)。
snippetstring | nullGoogle がタイトルの下に表示するテキスト。
datestring | nullThe date Google prints before the snippet, as it shows it ("3 days ago"); null when there is none.

SerpAd

フィールド種類説明
rankintegerリスト内の順位(1 から)。
positionstring自然検索結果の上または下。
titlestring広告の見出し。
urlstring広告のランディングページ。
displayed_urlstring | null広告に表示されるアドレス。
snippetstring | null広告テキスト。

KnowledgePanel

フィールド種類説明
titlestringエンティティ。
typestring | null概要(Google の表記どおり)。
descriptionstring | nullパネルの説明。
websitestring | nullエンティティ自身のウェブサイト(Google が示す場合)。
image_urlstring | nullパネルの画像。

Serp を返すエンドポイント

一度つなげば、あとは聞くだけ。

新しいキーには $0.20 の無料クレジットが付きます。AI に1文貼るだけで接続できます。

無料で始める
AI につなぐ

これを AI エージェントに貼り付けてください

https://okdata.online/agents.md を読んで、okdata を設定してください。キーは環境変数 OKDATA_API_KEY に入っています。

Claude Code、Cursor、Codex など、リンクを開ける AI エージェントなら、読んで自分で設定します。

MCP サーバーhttps://api.okdata.online/mcp