Felo API PlatformFelo API Platform
All DataForSEO endpoints
v0.2.0-beta
OpenAPI 3.1.0

Setting Live ‘DataForSEO Trends Merged Data’ Tasks

Server:https://openapi.felo.ai
Client Libraries

DataForSEO

​

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

Setting Live ‘DataForSEO Trends Merged Data’ Tasks

​

Explore, demography and subregion data for the same keywords in one response, rather than three calls. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. Prefer it when you want the whole picture: the three siblings each cost a call, and this returns what all three would.

Pricing reference

  • Metering: Reported response cost.
  • Reference request estimate: USD 0.09.
  • Reference customer multiplier: 1.0. Do not apply it again to a settled customer amount.

Reference metadata only, not an account quote, a guaranteed price or a spending cap. Resource credits are not Felo credits. Final charges follow Felo billing records.

Body
application/json
  • Type: array (object | null)[]
    • date_from
      Type: string | null

      starting date of the time range
      optional field
      if you don't specify this field, the current day and month of the preceding year will be used by default
      minimal value for the web type: 2004-01-01
      minimal value for other types: 2008-01-01
      date format: "yyyy-mm-dd"
      example:
      "2019-01-15"

    • date_to
      Type: string | null

      ending date of the time range
      optional field
      if you don't specify this field, the today's date will be used by default
      date format: "yyyy-mm-dd"
      example:
      "2019-01-15"

    • keywords
      Type: array string[]

      keywords
      required field
      the maximum number of keywords you can specify: 5
      avoid symbols and special characters (e.g., UTF symbols, emojis);
      specifying non-Latin characters, you’ll get data for the countries where they are used

      learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article

    • location_code
      Type: integer | null

      search engine location code
      optional field
      if you don't use this field, you will recieve global results
      if you use this field, you don't need to specify location_name
      you can receive the list of available locations of the search engines with their location_code by making a separate request to https://api.dataforseo.com/v3/keywords_data/dataforseo_trends/locations
      note that the data will be provided for the country the specified location_code belongs to;
      example:
      2840

    • location_name
      Type: string | null

      full name of search engine location
      optional field
      if you don't use this field, you will recieve global results
      if you use this field, you don't need to specify location_code
      you can receive the list of available locations of the search engine with their location_name by making a separate request to https://api.dataforseo.com/v3/keywords_data/dataforseo_trends/locations
      note that the data will be provided for the country the specified location_name belongs to;
      example:
      United Kingdom

    • tag
      Type: string | null

      user-defined task identifier
      optional field
      the character limit is 255
      you can use this parameter to identify the task and match it with the result
      you will find the specified tag value in the data object of the response

    • time_range
      Type: string | null

      preset time ranges
      optional field
      if you specify date_from or date_to parameters, this field will be ignored when setting a task
      possible values for all type parameters:
      past_4_hours, past_day, past_7_days, past_30_days, past_90_days, past_12_months, past_5_years

    • type
      Type: string | null

      type of element

Responses
  • 200
    Type: object | null · Response36Afe1097B20_KeywordsDataDataforseoTrendsMergedDataLiveResponseInfo
    • cost
      Type: number | null Format: double

      total tasks cost, USD

    • status_code
      Type: integer | null

      general status code you can find the full list of the response codes here

    • status_message
      Type: string | null

      general informational message you can find the full list of general informational messages here

    • tasks
      Type: array (object | null)[] | null

      array of tasks

      • Type: object | null · Response36Afe1097B20_KeywordsDataDataforseoTrendsMergedDataLiveTaskInfo
        • cost
          Type: number | null Format: double

          total tasks cost, USD

        • data
          Type: object | null

          contains the same parameters that you specified in the POST request

          • propertyName
            Type: object | null
        • id
          Type: string | null

          task identifier unique task identifier in our system in the UUID format

        • path
          Type: array (string | null)[] | null

          URL path

        • result
          Type: array (object | null)[] | null

          array of results

          • datetime
            Type: string | null

            date and time when the result was received
            in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
            example:
            2019-11-15 12:57:46 +00:00

          • items
            Type: array (object | null)[] | null

            contains keyword popularity and related data

            • keywords
              Type: array (string | null)[] | null

              keywords in a POST array

            • position
              Type: integer | null

              the alignment of the element
              can take the following values: 1, 2, 3, 4, etc.

            • type
              Type: string | null

              type of element

          • items_count
            Type: integer | null Format: int64

            the number of results returned in the items array

          • keywords
            Type: array (string | null)[] | null

            keywords in a POST array

          • language_code
            Type: string | null

            language code in a POST array
            if there is no data, then the value is_nulln

          • location_code
            Type: integer | null

            location code in a POST array
            if there is no data, then the value is_nulln

          • type
            Type: string | null

            type of element

        • result_count
          Type: integer | null Format: int64

          number of elements in the result array

        • status_code
          Type: integer | null

          status code of the task generated by DataForSEO, can be within the following range: 10000-60000 you can find the full list of the response codes here

        • status_message
          Type: string | null

          informational message of the task you can find the full list of general informational messages here

        • time
          Type: string | null

          execution time, seconds

    • tasks_count
      Type: integer | null Format: int64

      the number of tasks in the tasks array

    • tasks_error
      Type: integer | null Format: int64

      the number of tasks in the tasks array returned with an error

    • time
      Type: string | null

      total execution time, seconds

    • version
      Type: string | null

      the current version of the API

    application/json
  • 400

    The request could not be processed. Check the request parameters.

  • 401

    A valid Felo API key is required.

  • 402

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

  • 403

    The account is not permitted to perform this operation.

  • 429

    A request or spending limit has been reached.

  • 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

    Error response; upstream passthrough responses may use provider formats

    application/json
Request Example for post/v1/beta/dataforseo/keywords_data/dataforseo_trends/merged_data/live
curl https://openapi.felo.ai/v1/beta/dataforseo/keywords_data/dataforseo_trends/merged_data/live \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '[
  {
    "keywords": [
      "rugby",
      "cricket"
    ],
    "date_from": "2023-01-01",
    "date_to": "2024-01-01",
    "type": "web",
    "location_name": "United States"
  }
]'
{
  "version": null,
  "status_code": null,
  "status_message": null,
  "time": null,
  "cost": null,
  "tasks_count": null,
  "tasks_error": null,
  "tasks": [
    {
      "id": null,
      "status_code": null,
      "status_message": null,
      "time": null,
      "cost": null,
      "result_count": null,
      "path": [
        null
      ],
      "data": null,
      "result": [
        {
          "keywords": [
            null
          ],
          "type": null,
          "location_code": null,
          "language_code": null,
          "datetime": null,
          "items_count": null,
          "items": [
            {
              "type": null,
              "position": null,
              "keywords": [
                "[Max Depth Exceeded]"
              ]
            }
          ]
        }
      ]
    }
  ]
}
Setting Live ‘DataForSEO Trends Merged Data’ Tasks

Need help?