DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
ライブ Google ローカル検索 SERP
クエリが明らかにローカルな場合に Google が表示する拡張ローカル結果を同期的に返します。keyword、type、se_domain、location_code、language_code、check_url、datetime、spell、refinement_chips、item_types、items_count、items を返します。advanced が既定の選択肢です。ランク付けされたリストだけが必要な場合は regular、パーサーが何を取りこぼしたかを確認したい場合のみ html を使用してください。DataForSEO のエンベロープに包まれます。データは tasks[0].result、結果は tasks[0].status_code に格納され、拒否されたリクエストでも HTTP 200 が返ります。
料金の参考情報
- 計量方式:報告されたレスポンスコスト。
- 参考リクエスト見積もり:0.02 USD。
- 参照用の顧客乗数:1.0。確定済みの顧客金額に再適用しないでください。
参照用のメタデータのみであり、アカウントへの見積もり、保証された価格、支出上限ではありません。リソースクレジットは Felo クレジットではありません。最終的な請求は Felo の請求記録に従います。
- 型: array (object | null)[]
- depth型: integer | null
解析深度
任意フィールド
SERP の結果数
デフォルト値:
10最大値:
100
最大 10 件の結果を含む SERP ごとにアカウントに課金されます;検索エンジンが 10 件を超える結果を返した場合、深度を 10 以上に設定すると、それに応じて追加料金が発生する可能性があります;
指定した深度がレスポンスの結果数より大きい場合、差分はアカウント残高に自動的に返金されます
コストは料金ページで計算できます。
- device型: string | null
デバイスの種類
任意フィールド
特定のデバイスの種類の結果を返します
次のいずれかの値を指定できます:
desktop、mobileデフォルト値:
desktop - keyword型: string
キーワード
必須フィールド
keywordフィールドには最大 700 文字を指定できますすべての %## はデコードされます(「+」文字はスペース文字にデコードされます)
keywordに「%」文字を使用する場合は「%25」と指定してください。keywordに「+」文字を使用する場合は「%2B」と指定してください
DataForSEO API における
keywordフィールドとkeywordsフィールドのルールと制限については、こちらのヘルプセンターの記事をご覧ください - language型: string
_code 検索エンジンの言語コード
language_nameを指定しない場合は必須フィールドこのフィールドを使用する場合、
language_nameを指定する必要はありません別途
https://api.dataforseo.com/v3/serp/{{low_se_name}}/languagesにリクエストを送信すると、検索エンジンの利用可能な言語とそのlanguage_codeの一覧を取得できます例:
en - language型: string
_name 検索エンジンの言語の正式名称
language_codeを指定しない場合は必須フィールドこのフィールドを使用する場合、
language_codeを指定する必要はありません別途
https://api.dataforseo.com/v3/serp/{{low_se_name}}/languagesにリクエストを送信すると、検索エンジンの利用可能な言語とそのlanguage_nameの一覧を取得できます例:
English - location型: integer
_code 検索エンジンのロケーションコード
location_nameまたはlocation_coordinateを指定しない場合は必須フィールドこのフィールドを使用する場合、
location_nameまたはlocation_coordinateを指定する必要はありません別途
https://api.dataforseo.com/v3/serp/{{low_se_name}}/locationsにリクエストを送信すると、検索エンジンの利用可能なロケーションとそのlocation_codeの一覧を取得できます例:
2840 - location型: string
_coordinate ロケーションの GPS 座標
location_nameまたはlocation_codeを指定しない場合は必須フィールドこのフィールドを使用する場合、
location_nameまたはlocation_codeを指定する必要はありませんlocation_coordinateパラメーターは "latitude,longitude,zoom" 形式で指定する必要があります"zoom" を指定しない場合は、デフォルト値として 9z が適用されます
"latitude" と "longitude" の最大小数桁数: 7
"zoom" の最小値: 4z
"zoom" の最大値: 18z
例:
52.6178549,-155.352142,20z - location型: string
_name 検索エンジンのロケーションの正式名称
location_codeまたはlocation_coordinateを指定しない場合は必須フィールドこのフィールドを使用する場合、
location_codeまたはlocation_coordinateを指定する必要はありませんhttps://api.dataforseo.com/v3/serp/{{low_se_name}}/locationsに個別にリクエストすると、検索エンジンで利用可能なロケーションとそのlocation_nameの一覧を取得できます例:
London,England,United Kingdom - min型: number | null 形式: double
_rating 最低評価で結果を絞り込む
任意フィールド
desktopの指定可能な値:3.5、4、4.5;mobileの指定可能な値:2、2.5、3、3.5、4、4.5 - os型: string | null
デバイスのオペレーティングシステム
任意フィールド
deviceフィールドにdesktopを指定した場合は、次の値から選択します:windows、macosデフォルト値:
windowsdeviceフィールドにmobileを指定した場合は、次の値から選択します:android、iosデフォルト値:
android - priority型: integer | null
タスクの優先度
任意フィールド
次の値を指定できます:
1 – 通常の実行優先度(デフォルトで設定)
2 – 高い実行優先度
実行優先度の高いタスクには追加料金がかかります。コストは料金ページで計算できます。
- tag型: string | null
ユーザー定義のタスク識別子
任意フィールド
文字数上限は 255 です
このパラメータを使ってタスクを識別し、結果と照合できます
指定した
tagの値は、レスポンスのdataオブジェクトに含まれます - time型: string | null
_filter 営業時間で結果を絞り込む
任意フィールド
このフィールドを使用すると、施設が訪問者に開いている時間で結果内の施設を絞り込めます
Google はこのフィルターに一致しない結果も提供する場合があることに注意してください
指定可能な値:
"open_now"、"24_hours"、"$day_value"、"$day_value;$time_value";$day_valueの代わりに、次のいずれかの値を使用してください:"monday"、"tuesday"、"wednesday"、"thursday"、"friday"、"saturday"、"sunday";$time_valueの代わりに、次のいずれかの値を使用してください:"00"、"01"、"02"、"03"、"04"、"05"、"06"、"07"、"08"、"09"、"10"、"11"、"12"、"13"、"14"、"15"、"16"、"17"、"18"、"19"、"20"、"21"、"22"、"23"例:
"tuesday;18"
- 型: object | null · Response36Afe1097B20_SerpGoogleLocalFinderLiveAdvancedResponseInfo200
- 型: number | null 形式: doublecost
タスクの総コスト(USD)
- 型: integer | nullstatus
_code 一般的なステータスコード レスポンスコードの完全な一覧はこちらです
- 型: string | nullstatus
_message 一般的な情報メッセージ 一般的な情報メッセージの完全な一覧はこちらです
- 型: array (object | null)[] | nulltasks
タスクの配列
- 型: object | null · Response36Afe1097B20_SerpGoogleLocalFinderLiveAdvancedTaskInfo
- cost型: number | null 形式: double
タスクの総コスト(USD)
- data型: object | null
POST リクエストで指定したものと同じパラメーターを含みます
- property型: object | null
Name
- id型: string | null
タスク識別子 当社システム内で UUID 形式の一意のタスク識別子
- path型: array (string | null)[] | null
URL パス
- result型: array (object | null)[] | null
結果の配列
- check型: string | null
_url 検索エンジン結果への直接 URL
正確な結果が提供されていることを確認するために使用できます - datetime型: string | null
結果を受信した日時
UTC 形式:“yyyy-mm-dd hh-mm-ss +00:00”
例:2019-11-15 12:57:46 +00:00 - item型: array (string | null)[] | null
_types SERP の検索結果タイプ
SERP で見つかった検索結果のタイプ(items)を含みます。
指定可能な項目タイプ:local_pack - items型: array (object | null)[] | null
要素の項目
- 型: object | null · Response36Afe1097B20_LocalPackSerpElementItem
- 型: object · Response36Afe1097B20_LocalPackSerpElementItem
- type識別子型: string | null
要素の種類
- booking型: string | null
_url 予約ページの URL
- cid型: string | null
Google 定義のクライアント ID
- description型: string | null
リンクの説明
- domain型: string | null
動画をホストするウェブサイトのドメイン
- is型: boolean | null
_paid 要素が広告かどうかを示します
- page型: integer | null
検索結果のページ番号
要素が配置されている SERP のページ番号を示します - phone型: string | null
電話番号
- position型: string | null
SERP における要素の配置
次の値を取ることができます:left、right - rank型: integer | null
_absolute SERP の絶対ランク
SERP 内のすべての要素の中での絶対位置
常に0です(desktopの場合) - rank型: integer | null
_group SERP のグループランク
type値が同一の要素グループ内での位置;type値が異なる要素の位置はrank_groupから除外されます;
常に0です(desktopの場合) - rating型: object | null · Response36Afe1097B20_RatingInfo
要素の評価
レビューに基づき SERP に表示される人気度;
ない場合はnullに等しくなります- rating型: integer | null
_max rating_type の最大値
- rating型: string | null
_type 評価の種類 ここには次の要素があります:Max5、Percents、CustomMax
- value型: number | null 形式: double
評価の値
- votes型: integer | null 形式: int64
_count フィードバックの量
- rectangle型: object | null · Response36Afe1097B20_AiModeRectangleInfo
矩形パラメータ
結果のスニペットの SERP におけるデカルト座標とピクセル寸法が含まれますnullになります(POST リクエストのcalculate_rectanglesがtrueに設定されていない場合)- height型: number | null 形式: double
要素の高さ(ピクセル)
- width型: number | null 形式: double
要素の幅(ピクセル)
- x型: number | null 形式: double
x 軸座標 結果スニペットの左上隅の x 軸座標。画面の左上隅を原点とします
- y型: number | null 形式: double
y 軸座標 結果スニペットの左上隅の y 軸座標。画面の左上隅を原点とします
- title型: string | null
行のタイトル
- url型: string | null
サードパーティのレビューソースの URL
- xpath型: string | null
要素の XPath
- items型: integer | null 形式: int64
_count items配列で返された結果数 - keyword型: string | null
POST 配列で受信したキーワード
キーワードはデコードされた %## で返されます(プラス文字 '+' はスペース文字にデコードされます) - language型: string | null
_code POST 配列内の言語コード
- location型: integer | null
_code POST 配列内のロケーションコード
- refinement型: object | null · Response36Afe1097B20_RefinementChipsInfo
_chips 検索絞り込みチップ
- items型: array (object | null)[] | null
要素の項目
- domain型: string | null
SERP のドメイン
- options型: array (object | null)[] | null
さらなる検索絞り込みオプション
- domain型: string | null
SERP のドメイン
- title型: string | null
要素のタイトル
- type型: string | null
要素の種類
- url型: string | null
絞り込みパラメーター付きの検索 URL
- title型: string | null
要素のタイトル
- type型: string | null
要素の種類
- url型: string | null
絞り込みパラメーター付きの検索 URL
- type型: string | null
要素の種類
- xpath型: string | null
要素の XPath
- se型: string | null
_domain POST 配列内の検索エンジンドメイン
- se型: integer | null 形式: int64
_results _count SERP の結果総数
- spell型: object | null · Response36Afe1097B20_SpellInfo
検索エンジンによる自動修正
修正されたキーワードに対して検索エンジンが結果を返した場合、検索エンジンによって修正されたキーワードと自動修正のタイプを示します- keyword型: string | null
検索エンジンの自動修正によって取得されたキーワード 結果は修正後のキーワードに対して提供されます
- type型: string | null
自動修正のタイプ 指定可能な値: did_you_mean、showing_results_for、no_results_found_for、including_results_for 注意:Yahoo と Yandex がサポートする自動修正タイプは次のとおりです: including_results_for
- type型: string | null
要素の種類
- result型: integer | null 形式: int64
_count result 配列内の要素数
- status型: integer | null
_code タスクのステータスコード DataForSEO によって生成され、次の範囲の値になります: 10000-60000 レスポンスコードの完全な一覧はこちらです
- status型: string | null
_message タスクの情報メッセージ 一般的な情報メッセージの完全な一覧はこちらです
- time型: string | null
実行時間(秒)
- 型: integer | null 形式: int64tasks
_count tasks 配列内のタスク数
- 型: integer | null 形式: int64tasks
_error エラーで返された tasks 配列内のタスク数
- 型: string | nulltime
合計実行時間(秒)
- 型: string | nullversion
API の現在のバージョン
application/json - 400
リクエストを処理できませんでした。リクエストパラメータを確認してください。
- 401
有効な Felo API キーが必要です。
- 402
請求要件が満たされていないため、リクエストを続行できません。
- 403
このアカウントにはこの操作を行う権限がありません。
- 429
リクエストまたは支出の上限に達しました。
- 502
サービスがリクエストを完了できませんでした。
- 503
API または請求サービスが一時的に利用できません。
- 504
リクエストの処理中にサービスがタイムアウトしました。
- default
エラーレスポンス。上流のパススルーレスポンスはプロバイダーの形式を使用する場合があります
application/json
curl https://openapi.felo.ai/v1/beta/dataforseo/serp/google/local_finder/live/advanced \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '[
{
"language_code": "en",
"location_code": 2840,
"keyword": "local nail services",
"min_rating": 4.5,
"time_filter": "monday"
}
]'
{
"version": null,
"status_code": null,
"status_message": null,
"time": null,
"cost": null,
"tasks_count": null,
"tasks_error": null,
"tasks": [
{
"id": null,
"status_code": null,
"status_message": null,
"time": null,
"cost": null,
"result_count": null,
"path": [
null
],
"data": null,
"result": [
{
"keyword": null,
"type": null,
"se_domain": null,
"location_code": null,
"language_code": null,
"check_url": null,
"datetime": null,
"spell": {
"keyword": null,
"type": null
},
"refinement_chips": {
"type": null,
"xpath": null,
"items": [
"[Max Depth Exceeded]"
]
},
"item_types": [
null
],
"se_results_count": null,
"items_count": null,
"items": [
{
"type": "[Max Depth Exceeded]",
"page": "[Max Depth Exceeded]",
"position": "[Max Depth Exceeded]",
"xpath": "[Max Depth Exceeded]",
"rectangle": "[Max Depth Exceeded]",
"rank_group": "[Max Depth Exceeded]",
"rank_absolute": "[Max Depth Exceeded]",
"title": "[Max Depth Exceeded]",
"description": "[Max Depth Exceeded]",
"domain": "[Max Depth Exceeded]",
"phone": "[Max Depth Exceeded]",
"booking_url": "[Max Depth Exceeded]",
"url": "[Max Depth Exceeded]",
"is_paid": "[Max Depth Exceeded]",
"rating": "[Max Depth Exceeded]",
"cid": "[Max Depth Exceeded]"
}
]
}
]
}
]
}