Felo API PlatformFelo API Platform

数据 API / DataForSEO / SERP

Live Yahoo Organic SERP HTML

Returns the ranked results for a keyword on Yahoo, 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_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

  • devicestring可选

    Device type

  • osstring可选

    Device operating system

请求示例

curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/serp/yahoo/organic/live/html" \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "keyword": "<string>",
  "location_name": "<string>",
  "location_code": 0,
  "language_name": "<string>",
  "language_code": "<string>",
  "device": "<string>",
  "os": "<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