資料 API / DataForSEO / SERP
Live Google Finance Markets SERP HTML
Returns the market indexes and movers Google Finance lists 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.
參數
沒有路徑、查詢或請求標頭參數。
請求主體
location_namestring選填Full name of search engine location
location_codeinteger選填Search engine location code
language_namestring選填Full name of search engine language
language_codestring選填Search engine language code
market_typestring必填Market type for the Markets tab
請求範例
curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/serp/google/finance_markets/live/html" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"market_type": "<string>",
"location_name": "<string>",
"location_code": 0,
"language_name": "<string>",
"language_code": "<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