データ API / DataForSEO / SERP
List of Baidu Locations for SERP
The locations the Baidu SERP endpoints accept, as location_code, location_name, location_code_parent, country_iso_code and location_type. Do not call this from an agent: location_code 2840 is the United States, and other codes belong in DataForSEO's documentation.
パラメータ
パス・クエリ・ヘッダーのパラメータはありません。
リクエスト例
curl -X GET "https://openapi.felo.ai/v1/beta/dataforseo/serp/baidu/locations" \
-H "Authorization: Bearer $FELO_API_KEY"レスポンス
レスポンスのフィールド
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
tasks_countinteger任意The number of tasks in the tasks array
tasks_errorinteger任意The number of tasks in the tasks array returned with an error
tasksstring[]任意Array of tasks
resultstring[]任意Array of available locations
location_codeinteger任意Location code
location_namestring任意Location name
location_code_parentinteger任意Parent location code
country_iso_codestring任意Country ISO code