データ API / DataForSEO / SERP
Live Google Images SERP HTML
Returns the image results for a keyword on Google, synchronously. Raw page source rather than parsed results. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200.
パラメータ
パス・クエリ・ヘッダーのパラメータはありません。
リクエストボディ
keywordstring必須Keyword to search for
location_codeinteger任意Search engine location code
location_namestring任意Full name of search engine location
location_coordinatestring任意GPS coordinates of a location
language_codestring任意Search engine language code
language_namestring任意Full name of search engine language
devicestring任意Device type: desktop or mobile
リクエスト例
curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/serp/google/images/live/html" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "<string>",
"location_code": 0,
"location_name": "<string>",
"location_coordinate": "<string>",
"language_code": "<string>",
"language_name": "<string>",
"device": "<string>"
}'レスポンス
レスポンスのフィールド
versionstring任意The current version of the API
status_codeinteger任意General status code
status_messagestring任意General informational message
timestring任意Execution time, seconds
costnumber任意Total tasks cost, USD
tasksstring[]任意Array of tasks
resultstring[]任意Array of HTML results