Felo API PlatformFelo API Platform

資料 API / DataForSEO / SERP

Live Google Organic SERP Regular

Returns the ranked results for a keyword on Google, synchronously. Returns keyword, type, se_domain, location_code, language_code, check_url, datetime, spell, refinement_chips, item_types, items_count and items. 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

  • location_coordinatestring選填

    GPS coordinates of a location

  • language_namestring選填

    Full name of search engine language

  • language_codestring選填

    Search engine language code

  • devicestring選填

    Device type: desktop or mobile

  • osstring選填

    Device operating system

  • depthinteger選填

    Parsing depth, default 100, max 700

  • max_crawl_pagesinteger選填

    Page crawl limit, max 100

  • tagstring選填

    User-defined task identifier

請求範例

curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/serp/google/organic/live/regular" \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "keyword": "<string>",
  "location_name": "<string>",
  "location_code": 0,
  "location_coordinate": "<string>",
  "language_name": "<string>",
  "language_code": "<string>",
  "device": "<string>",
  "os": "<string>"
}'

回應

回應欄位

  • versionstring選填

    API version

  • status_codeinteger選填

    General status code

  • status_messagestring選填

    General informational message

  • timestring選填

    Execution time

  • costnumber選填

    Request cost in USD

  • tasks_countinteger選填

    Number of tasks returned

  • tasks_errorinteger選填

    Number of tasks returned with an error

  • tasksstring選填

    Array of live task objects

  • idstring選填

    Task identifier

  • resultstring選填

    Live SERP regular results