Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Live Google Organic SERP HTML

伺服器:https://openapi.felo.ai
用戶端程式庫

DataForSEO

​

SEO, search-engine results, keyword research, backlinks and AI visibility data.

Live Google Organic SERP HTML

​

Returns the ranked 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.

請求本文
application/json
  • 類型: array object[]
    • depth
      類型: integer

      Parsing depth, default 100, max 700

    • device
      類型: string

      Device type: desktop or mobile

    • expand_ai_overview
      類型: boolean

      Expand AI overview item

    • keyword
      類型: string

      Keyword to search for.

    • language_code
      類型: string

      Search engine language code

    • language_name
      類型: string

      Full name of search engine language

    • load_async_ai_overview
      類型: boolean

      Load asynchronous AI overview

    • location_code
      類型: integer

      Search engine location code

    • location_coordinate
      類型: string

      GPS coordinates of a location

    • location_name
      類型: string

      Full name of search engine location

    • max_crawl_pages
      類型: integer

      Page crawl limit, max 100

    • os
      類型: string

      Device operating system

    • se_domain
      類型: string

      Custom search engine domain

    • search_param
      類型: string

      Additional parameters of the search query

    • tag
      類型: string

      User-defined task identifier

    • url
      類型: string

      Direct URL of the search query

回應
  • 200
    類型: object

    Successful response

    • cost
      類型: number

      Request cost in USD

    • status_code
      類型: integer

      General status code

    • status_message
      類型: string

      General informational message

    • tasks
      類型: string

      Array of live task objects

    • tasks_count
      類型: integer

      Number of tasks returned

    • tasks_error
      類型: integer

      Number of tasks returned with an error

    • tasks[].id
      類型: string

      Task identifier

    • tasks[].result
      類型: string

      Result array containing HTML pages

    • tasks[].result[].items
      類型: string

      HTML page items

    • tasks[].result[].items[].html
      類型: string

      Raw HTML page content

    • time
      類型: string

      Execution time

    • version
      類型: string

      API version

    application/json
  • 400

    Bad request

  • 401

    Unauthorized

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    Rate limit exceeded

  • 500

    Internal server error

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for post/v1/beta/dataforseo/serp/google/organic/live/html
curl https://openapi.felo.ai/v1/beta/dataforseo/serp/google/organic/live/html \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '[
  {
    "url": "",
    "location_name": "",
    "location_code": 1,
    "location_coordinate": "",
    "language_name": "",
    "language_code": "",
    "device": "",
    "os": "",
    "se_domain": "",
    "depth": 1,
    "max_crawl_pages": 1,
    "search_param": "",
    "load_async_ai_overview": true,
    "expand_ai_overview": true,
    "tag": "",
    "keyword": ""
  }
]'
{
  "version": "string",
  "status_code": 1,
  "status_message": "string",
  "time": "string",
  "cost": 1,
  "tasks_count": 1,
  "tasks_error": 1,
  "tasks": "string",
  "tasks[].id": "string",
  "tasks[].result": "string",
  "tasks[].result[].items": "string",
  "tasks[].result[].items[].html": "string"
}
Live Google Organic SERP HTML