APIDataSearch & Research

DataForSEO — Content Analysis / Rating Distribution / Live

Retrieve content Analysis Rating Distribution Live with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it to study recurring themes in customer feedback.

Selected price
$0.024 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

DataForSEO — Content Analysis / Rating Distribution / Live

Prepare your request, then continue with your agent.

Pricing

$0.024 / call

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
Pricing
Connect your agent
On this page

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*array

body

‌ This endpoint will provide you with rating distribution data for the keyword and other parameters specified in the request.

Sample response

{
  "cost": 0.0203,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.0203,
      "data": {
        "api": "content_analysis",
        "function": "rating_distribution",
        "internal_list_limit": 10,
        "keyword": "logitech",
        "search_mode": "as_is"
      },
      "id": "11041243-1535-0466-0000-3280caf1189e",
      "path": [
        "v3",
        "content_analysis",
        "rating_distribution",
        "live"
      ],
      "result": [
        {
          "max": 0.1,
          "metrics": {
            "connotation_types": {
              "negative": 32,
              "neutral": 67,
              "positive": 51
            },
            "countries": {
              "DE": 56,
              "US": 5,
              "WW": 1
            },
            "languages": {
              "de": 175,
              "en": 14
            },
            "page_categories": [
              {
                "category": [
                  10019,
                  10167,
                  10168,
                  10883,
                  12187,
                  13068,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054
                ],
                "count": 2
              },
              {
                "category": [
                  10019,
                  10167,
                  10872,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054
                ],
                "count": 2
              },
              {
                "category": [
                  10019,
                  10168,
                  10886,
                  12216,
                  12222
                ],
                "count": 2
              },
              {
                "category": [
                  10002,
                  10028,
                  10222,
                  13813,
                  10001,
                  10026,
                  10209,
                  10019,
                  10167
                ],
                "count": 1
              },
              {
                "category": [
                  10002,
                  10028,
                  10222,
                  13813,
                  10009,
                  10410,
                  10417
                ],
                "count": 1
              },
              {
                "category": [
                  10002,
                  10028,
                  10222,
                  13813,
                  10013,
                  10019,
                  10167
                ],
                "count": 1
              },
              {
                "category": [
                  10002,
                  10028,
                  10222,
                  13813,
                  10019,
                  10167,
                  10168,
                  10886,
                  12216
                ],
                "count": 1
              },
              {
                "category": [
                  10002,
                  10028,
                  10222,
                  13813,
                  10019,
                  10167,
                  10873,
                  12138,
                  10013,
                  10109,
                  10592,
                  13537
                ],
                "count": 1
              },
              {
                "category": [
                  10002,
                  10028,
                  10222,
                  13813,
                  10108,
                  10004,
                  10276,
                  11088,
                  13412
                ],
                "count": 1
              },
              {
                "category": [
                  10004,
                  10307,
                  10002,
                  10028,
                  10222,
                  13813,
                  10013
                ],
                "count": 1
              }
            ],
            "page_types": {
              "blogs": 35,
              "ecommerce": 61,
              "message-boards": null,
              "news": 1,
              "organization": null
            },
            "rank": 211,
            "sentiment_connotations": {
              "anger": 0,
              "fun": 2,
              "happiness": 18,
              "love": 0,
              "sadness": 0,
              "share": 0
            },
            "text_categories": [
              {
                "category": [
                  10013,
                  10019,
                  10167,
                  10002,
                  10028,
                  10222,
                  13813
                ],
                "count": 13
              },
              {
                "category": [
                  10019,
                  10167,
                  10013,
                  10007,
                  13418
                ],
                "count": 12
              },
              {
                "category": [
                  10019,
                  10167,
                  10013,
                  10002,
                  10028,
                  10222,
                  13813
                ],
                "count": 11
              },
              {
                "category": [
                  10013,
                  10019,
                  10167
                ],
                "count": 9
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054,
                  10168,
                  10883,
                  12187,
                  13068
                ],
                "count": 6
              },
              {
                "category": [
                  10019,
                  10167,
                  10013
                ],
                "count": 6
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054,
                  10013
                ],
                "count": 5
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  13418,
                  10013
                ],
                "count": 5
              },
              {
                "category": [
                  10013,
                  10019,
                  10167,
                  10007,
                  13418
                ],
                "count": 4
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054,
                  10108
                ],
                "count": 4
              }
            ],
            "top_domains": [
              {
                "count": 35,
                "domain": "pcwelt.de"
              },
              {
                "count": 21,
                "domain": "macwelt.de"
              },
              {
                "count": 3,
                "domain": "macworld.com"
              },
              {
                "count": 1,
                "domain": "pcworld.com"
              },
              {
                "count": 1,
                "domain": "pocket-lint.com"
              },
              {
                "count": 1,
                "domain": "techadvisor.com"
              }
            ],
            "total_count": 189,
            "type": "content_analysis_summary"
          },
          "min": 0,
          "type": "content_analysis_rating_distribution"
        },
        {
          "max": 0.2,
          "metrics": {
            "connotation_types": {
              "negative": 648,
              "neutral": 905,
              "positive": 280
            },
            "countries": {
              "AR": 9,
              "DE": 26,
              "FR": 18,
              "GB": 12,
              "GR": 13,
              "PL": 32,
              "RO": 190,
              "UA": 17,
              "US": 90,
              "WW": 30
            },
            "languages": {
              "de": 141,
              "en": 1094,
              "es": 55,
              "fr": 41,
              "it": 44,
              "nl": 68,
              "pl": 181,
              "ro": 65,
              "ru": 59,
              "vi": 32
            },
            "page_categories": [
              {
                "category": null,
                "count": 229
              },
              {
                "category": [
                  10019,
                  10167
                ],
                "count": 15
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054
                ],
                "count": 14
              },
              {
                "category": [
                  10019,
                  10168,
                  10886,
                  12216,
                  12222
                ],
                "count": 14
              },
              {
                "category": [
                  10019,
                  10168,
                  10883,
                  12187,
                  13069,
                  10886,
                  12216,
                  12188,
                  13073
                ],
                "count": 12
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  13418
                ],
                "count": 9
              },
              {
                "category": [
                  10019,
                  10168,
                  10883,
                  12187,
                  13069,
                  10886,
                  12216,
                  13068
                ],
                "count": 8
              },
              {
                "category": [
                  10019,
                  10168,
                  10886,
                  12222,
                  12216
                ],
                "count": 8
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  13418,
                  10878,
                  13381,
                  12161,
                  13054
                ],
                "count": 5
              },
              {
                "category": [
                  10019,
                  10167,
                  10013
                ],
                "count": 5
              }
            ],
            "page_types": {
              "blogs": 146,
              "ecommerce": 445,
              "message-boards": null,
              "news": 8,
              "organization": 89
            },
            "rank": 270,
            "sentiment_connotations": {
              "anger": 5,
              "fun": 6,
              "happiness": 75,
              "love": 0,
              "sadness": 5,
              "share": 38
            },
            "text_categories": [
              {
                "category": null,
                "count": 499
              },
              {
                "category": [
                  10013,
                  10108,
                  13691
                ],
                "count": 103
              },
              {
                "category": [
                  10019,
                  10167
                ],
                "count": 43
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  13418
                ],
                "count": 34
              },
              {
                "category": [
                  10108,
                  13691,
                  10013,
                  10103,
                  10556
                ],
                "count": 32
              },
              {
                "category": [
                  10019,
                  10167,
                  10013
                ],
                "count": 30
              },
              {
                "category": [
                  10019,
                  10168,
                  10886,
                  12222,
                  12216
                ],
                "count": 29
              },
              {
                "category": [
                  10013,
                  10019,
                  10167
                ],
                "count": 25
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054
                ],
                "count": 25
              },
              {
                "category": [
                  10108,
                  13691,
                  10013
                ],
                "count": 25
              }
            ],
            "top_domains": [
              {
                "count": 170,
                "domain": "csh.ro"
              },
              {
                "count": 30,
                "domain": "plazacompare.com"
              },
              {
                "count": 30,
                "domain": "x-kom.pl"
              },
              {
                "count": 24,
                "domain": "trending-electronics.com"
              },
              {
                "count": 23,
                "domain": "geendank.com"
              },
              {
                "count": 23,
                "domain": "mediamarkt.de"
              },
              {
                "count": 21,
                "domain": "scoopdeals.com"
              },
              {
                "count": 20,
                "domain": "librarii.ro"
              },
              {
                "count": 14,
                "domain": "pcoverhauls.com"
              },
              {
                "count": 13,
                "domain": "dealwithit.gr"
              }
            ],
            "total_count": 1840,
            "type": "content_analysis_summary"
          },
          "min": 0.1,
          "type": "content_analysis_rating_distribution"
        }
      ],
      "result_count": 10,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "16.8151 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "16.8783 sec.",
  "version": "0.1.20220819"
}

Response result

Response structure

Inferred from examples
  • costnumber
  • status_codeinteger
  • status_messagestring
  • tasksobject[]
    • costnumber
    • dataobject
      • apistring
      • functionstring
      • internal_list_limitinteger
      • keywordstring
      • search_modestring
    • idstring
    • pathstring[]
    • resultobject[]
      • maxnumber
      • metricsobject
        • connotation_typesobject
          • negativeinteger
          • neutralinteger
          • positiveinteger
        • countriesobject
          • DEinteger
          • USinteger
          • WWinteger
          • ARinteger
          • FRinteger
          • GBinteger
          • GRinteger
          • PLinteger
          • ROinteger
          • UAinteger
        • languagesobject
          • deinteger
          • eninteger
          • esinteger
          • frinteger
          • itinteger
          • nlinteger
          • plinteger
          • rointeger
          • ruinteger
          • viinteger
        • page_categoriesobject[]
          • categoryinteger[] | null
          • countinteger
        • page_typesobject
          • blogsinteger
          • ecommerceinteger
          • message-boardsnull
          • newsinteger
          • organizationnull | integer
        • rankinteger
        • sentiment_connotationsobject
          • angerinteger
          • funinteger
          • happinessinteger
          • loveinteger
          • sadnessinteger
          • shareinteger
        • text_categoriesobject[]
          • categoryinteger[] | null
          • countinteger
        • top_domainsobject[]
          • countinteger
          • domainstring
        • total_countinteger
        • typestring
      • minnumber
      • typestring
    • result_countinteger
    • status_codeinteger
    • status_messagestring
    • timestring
  • tasks_countinteger
  • tasks_errorinteger
  • timestring
  • versionstring

Sellers

SellerPricingRequests · 30dPerformanceAccess
DataForSEOCurrent
DataForSEO — Content Analysis / Rating Distribution / Live · POST · View API reference
$0.024 / call—
—successP50—
Loading...
Selected pricing · DataForSEOUSD / call
Pricing
$0.024

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/dataforseo/v3/content_analysis/rating_distribution/live
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api.openany.si/v1/agent-apis/dataforseo/v3/content_analysis/rating_distribution/live' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "internal_list_limit": 10,
    "keyword": "logitech",
    "search_mode": "as_is"
  }
]'

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
bodyJSON request bodybodyarrayYes‌ This endpoint will provide you with rating distribution data for the keyword and other parameters specified in the request.

minItems: 1 · maxItems: 1

Nested fields and variants

body[] · Array item · object

Nested fields and variants
body[].initial_dataset_filters array · Optional

Parent object: body[]

initial dataset filtering parameters optional field initial filtering parameters that apply to fields in the Search endpoint you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: regex, not_regex, <, <=, >, >=, =, <>, in, not_in, like, not_like, has, has_not, match, not_match you can use the % operator with like and not_like to match any string of zero or more characters example: ["domain","<>", "logitech.com"] [["domain","<>","logitech.com"],"and",["content_info.connotation_types.negative",">",1000]] [["domain","<>","logitech.com"]], "and", [["content_info.connotation_types.negative",">",1000], "or", ["content_info.text_category","has",10994]]] for more information about filters, please refer to Content Analysis API - Filters learn more about the initial dataset filters in this help center article.
body[].internal_list_limit integer · Optional

Parent object: body[]

maximum number of elements within internal arrays optional field you can use this field to limit the number of elements within the following arrays: top_domains text_categories page_categories countries languages default value: 1 maximum value: 20

maximum: 20

body[].keyword string · Required

Parent object: body[]

target keyword required field UTF-8 encoding the keywords will be converted to a lowercase format; Note: to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes; example: "keyword": "\"tesla palo alto\"" learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article
body[].keyword_fields object · Optional

Parent object: body[]

target keyword fields and target keywords optional field use this parameter to filter the dataset by keywords that certain fields should contain; fields you can specify: title, main_title, previous_title, snippet you can indicate several fields; Note: to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes; example: "keyword_fields": { "snippet": "\"logitech mouse\"", "main_title": "sale" }
Nested fields and variants

body[].keyword_fields.{name} · Named entries · string

body[].page_type array · Optional

Parent object: body[]

target page types optional field use this parameter to filter the dataset by page types possible values: "ecommerce", "news", "blogs", "message-boards", "organization"
Nested fields and variants

body[].page_type[] · Array item · string

body[].positive_connotation_threshold number · Optional

Parent object: body[]

positive connotation threshold optional field specified as the probability index threshold for positive sentiment related to the citation content if you specify this field, connotation_types object in the response will only contain data on citations with positive sentiment probability more than or equal to the specified value possible values: from 0 to 1 default value: 0.4
body[].rank_scale string · Optional

Parent object: body[]

defines the scale used for calculating and displaying the rank values optional field you can use this parameter to choose whether rank values are presented on a 0–100 or 0–1000 scale possible values: one_hundred — rank values are displayed on a 0–100 scale one_thousand — rank values are displayed on a 0–1000 scale default value: one_thousand learn more about how this parameter works in this Help Center article
body[].search_mode string · Optional

Parent object: body[]

results grouping type optional field possible grouping types: as_is - returns all citations for the target keyword one_per_domain - returns one citation of the keyword per domain default value: as_is
body[].sentiments_connotation_threshold number · Optional

Parent object: body[]

sentiment connotation threshold optional field specified as the probability index threshold for sentiment connotations related to the citation content if you specify this field, sentiment_connotations object in the response will only contain data on citations where the probability per each sentiment is more than or equal to the specified value possible values: from 0 to 1 default value: 0.4
body[].tag string · Optional

Parent object: body[]

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

Required markers inside a nested object or variant apply when that object or variant is used.

Sample response

Sample response · Configured HTTP 200; actual status is unverified. Example from the provider's documentation. Field values in your results will differ.

Official example · 官方历史成对样例(未运行) (HTTP assumed)
{
  "cost": 0.0203,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.0203,
      "data": {
        "api": "content_analysis",
        "function": "rating_distribution",
        "internal_list_limit": 10,
        "keyword": "logitech",
        "search_mode": "as_is"
      },
      "id": "11041243-1535-0466-0000-3280caf1189e",
      "path": [
        "v3",
        "content_analysis",
        "rating_distribution",
        "live"
      ],
      "result": [
        {
          "max": 0.1,
          "metrics": {
            "connotation_types": {
              "negative": 32,
              "neutral": 67,
              "positive": 51
            },
            "countries": {
              "DE": 56,
              "US": 5,
              "WW": 1
            },
            "languages": {
              "de": 175,
              "en": 14
            },
            "page_categories": [
              {
                "category": [
                  10019,
                  10167,
                  10168,
                  10883,
                  12187,
                  13068,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054
                ],
                "count": 2
              },
              {
                "category": [
                  10019,
                  10167,
                  10872,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054
                ],
                "count": 2
              },
              {
                "category": [
                  10019,
                  10168,
                  10886,
                  12216,
                  12222
                ],
                "count": 2
              },
              {
                "category": [
                  10002,
                  10028,
                  10222,
                  13813,
                  10001,
                  10026,
                  10209,
                  10019,
                  10167
                ],
                "count": 1
              },
              {
                "category": [
                  10002,
                  10028,
                  10222,
                  13813,
                  10009,
                  10410,
                  10417
                ],
                "count": 1
              },
              {
                "category": [
                  10002,
                  10028,
                  10222,
                  13813,
                  10013,
                  10019,
                  10167
                ],
                "count": 1
              },
              {
                "category": [
                  10002,
                  10028,
                  10222,
                  13813,
                  10019,
                  10167,
                  10168,
                  10886,
                  12216
                ],
                "count": 1
              },
              {
                "category": [
                  10002,
                  10028,
                  10222,
                  13813,
                  10019,
                  10167,
                  10873,
                  12138,
                  10013,
                  10109,
                  10592,
                  13537
                ],
                "count": 1
              },
              {
                "category": [
                  10002,
                  10028,
                  10222,
                  13813,
                  10108,
                  10004,
                  10276,
                  11088,
                  13412
                ],
                "count": 1
              },
              {
                "category": [
                  10004,
                  10307,
                  10002,
                  10028,
                  10222,
                  13813,
                  10013
                ],
                "count": 1
              }
            ],
            "page_types": {
              "blogs": 35,
              "ecommerce": 61,
              "message-boards": null,
              "news": 1,
              "organization": null
            },
            "rank": 211,
            "sentiment_connotations": {
              "anger": 0,
              "fun": 2,
              "happiness": 18,
              "love": 0,
              "sadness": 0,
              "share": 0
            },
            "text_categories": [
              {
                "category": [
                  10013,
                  10019,
                  10167,
                  10002,
                  10028,
                  10222,
                  13813
                ],
                "count": 13
              },
              {
                "category": [
                  10019,
                  10167,
                  10013,
                  10007,
                  13418
                ],
                "count": 12
              },
              {
                "category": [
                  10019,
                  10167,
                  10013,
                  10002,
                  10028,
                  10222,
                  13813
                ],
                "count": 11
              },
              {
                "category": [
                  10013,
                  10019,
                  10167
                ],
                "count": 9
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054,
                  10168,
                  10883,
                  12187,
                  13068
                ],
                "count": 6
              },
              {
                "category": [
                  10019,
                  10167,
                  10013
                ],
                "count": 6
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054,
                  10013
                ],
                "count": 5
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  13418,
                  10013
                ],
                "count": 5
              },
              {
                "category": [
                  10013,
                  10019,
                  10167,
                  10007,
                  13418
                ],
                "count": 4
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054,
                  10108
                ],
                "count": 4
              }
            ],
            "top_domains": [
              {
                "count": 35,
                "domain": "pcwelt.de"
              },
              {
                "count": 21,
                "domain": "macwelt.de"
              },
              {
                "count": 3,
                "domain": "macworld.com"
              },
              {
                "count": 1,
                "domain": "pcworld.com"
              },
              {
                "count": 1,
                "domain": "pocket-lint.com"
              },
              {
                "count": 1,
                "domain": "techadvisor.com"
              }
            ],
            "total_count": 189,
            "type": "content_analysis_summary"
          },
          "min": 0,
          "type": "content_analysis_rating_distribution"
        },
        {
          "max": 0.2,
          "metrics": {
            "connotation_types": {
              "negative": 648,
              "neutral": 905,
              "positive": 280
            },
            "countries": {
              "AR": 9,
              "DE": 26,
              "FR": 18,
              "GB": 12,
              "GR": 13,
              "PL": 32,
              "RO": 190,
              "UA": 17,
              "US": 90,
              "WW": 30
            },
            "languages": {
              "de": 141,
              "en": 1094,
              "es": 55,
              "fr": 41,
              "it": 44,
              "nl": 68,
              "pl": 181,
              "ro": 65,
              "ru": 59,
              "vi": 32
            },
            "page_categories": [
              {
                "category": null,
                "count": 229
              },
              {
                "category": [
                  10019,
                  10167
                ],
                "count": 15
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054
                ],
                "count": 14
              },
              {
                "category": [
                  10019,
                  10168,
                  10886,
                  12216,
                  12222
                ],
                "count": 14
              },
              {
                "category": [
                  10019,
                  10168,
                  10883,
                  12187,
                  13069,
                  10886,
                  12216,
                  12188,
                  13073
                ],
                "count": 12
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  13418
                ],
                "count": 9
              },
              {
                "category": [
                  10019,
                  10168,
                  10883,
                  12187,
                  13069,
                  10886,
                  12216,
                  13068
                ],
                "count": 8
              },
              {
                "category": [
                  10019,
                  10168,
                  10886,
                  12222,
                  12216
                ],
                "count": 8
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  13418,
                  10878,
                  13381,
                  12161,
                  13054
                ],
                "count": 5
              },
              {
                "category": [
                  10019,
                  10167,
                  10013
                ],
                "count": 5
              }
            ],
            "page_types": {
              "blogs": 146,
              "ecommerce": 445,
              "message-boards": null,
              "news": 8,
              "organization": 89
            },
            "rank": 270,
            "sentiment_connotations": {
              "anger": 5,
              "fun": 6,
              "happiness": 75,
              "love": 0,
              "sadness": 5,
              "share": 38
            },
            "text_categories": [
              {
                "category": null,
                "count": 499
              },
              {
                "category": [
                  10013,
                  10108,
                  13691
                ],
                "count": 103
              },
              {
                "category": [
                  10019,
                  10167
                ],
                "count": 43
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  13418
                ],
                "count": 34
              },
              {
                "category": [
                  10108,
                  13691,
                  10013,
                  10103,
                  10556
                ],
                "count": 32
              },
              {
                "category": [
                  10019,
                  10167,
                  10013
                ],
                "count": 30
              },
              {
                "category": [
                  10019,
                  10168,
                  10886,
                  12222,
                  12216
                ],
                "count": 29
              },
              {
                "category": [
                  10013,
                  10019,
                  10167
                ],
                "count": 25
              },
              {
                "category": [
                  10019,
                  10167,
                  10007,
                  10878,
                  13381,
                  12161,
                  13054
                ],
                "count": 25
              },
              {
                "category": [
                  10108,
                  13691,
                  10013
                ],
                "count": 25
              }
            ],
            "top_domains": [
              {
                "count": 170,
                "domain": "csh.ro"
              },
              {
                "count": 30,
                "domain": "plazacompare.com"
              },
              {
                "count": 30,
                "domain": "x-kom.pl"
              },
              {
                "count": 24,
                "domain": "trending-electronics.com"
              },
              {
                "count": 23,
                "domain": "geendank.com"
              },
              {
                "count": 23,
                "domain": "mediamarkt.de"
              },
              {
                "count": 21,
                "domain": "scoopdeals.com"
              },
              {
                "count": 20,
                "domain": "librarii.ro"
              },
              {
                "count": 14,
                "domain": "pcoverhauls.com"
              },
              {
                "count": 13,
                "domain": "dealwithit.gr"
              }
            ],
            "total_count": 1840,
            "type": "content_analysis_summary"
          },
          "min": 0.1,
          "type": "content_analysis_rating_distribution"
        }
      ],
      "result_count": 10,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "16.8151 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "16.8783 sec.",
  "version": "0.1.20220819"
}

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.024000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
任务错误数必须为零$0.000000 / billing unitResponse · /tasks_error · Numeric valueAlways0 billing unit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.024000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# DataForSEO — Content Analysis / Rating Distribution / Live

Retrieve content Analysis Rating Distribution Live with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it to study recurring themes in customer feedback.
## Available implementations
DataForSEO · DataForSEO — Content Analysis / Rating Distribution / Live: https://openany.si/markets/apis/capabilities/dataforseo-content-analysis-rating-distribution-live?offering=b3988a5e-6d66-4fa5-819a-cc8a01b82f48 · $0.024 / call

## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/dataforseo-content-analysis-rating-distribution-live
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/content_analysis/rating_distribution/live
Price: $0.024 / call
Provider: DataForSEO
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/dataforseo/v3/content_analysis/rating_distribution/live' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "internal_list_limit": 10,
    "keyword": "logitech",
    "search_mode": "as_is"
  }
]'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "DataForSEO — Content Analysis / Rating Distribution / Live",
  "endpoint": "https://api.openany.si/v1/agent-apis/dataforseo/v3/content_analysis/rating_distribution/live",
  "method": "POST",
  "content_type": "application/json",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "‌ This endpoint will provide you with rating distribution data for the keyword and other parameters specified in the request.",
      "json_schema": {
        "example": [
          {
            "internal_list_limit": 10,
            "keyword": "logitech",
            "search_mode": "as_is"
          }
        ],
        "items": {
          "example": [
            {
              "internal_list_limit": 10,
              "keyword": "logitech",
              "search_mode": "as_is"
            }
          ],
          "nullable": true,
          "properties": {
            "initial_dataset_filters": {
              "allOf": [
                {
                  "anyOf": [
                    {
                      "anyOf": [
                        {
                          "items": false,
                          "maxItems": 3,
                          "minItems": 3,
                          "prefixItems": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "string"
                            },
                            {}
                          ],
                          "type": "array"
                        },
                        {
                          "items": {
                            "anyOf": [
                              {
                                "type": "array"
                              },
                              {
                                "enum": [
                                  "and",
                                  "or"
                                ],
                                "type": "string"
                              }
                            ]
                          },
                          "minItems": 1,
                          "type": "array"
                        }
                      ],
                      "description": "官方过滤器文档中的条件三元组或由 and/or 连接的条件数组;仅检查外层结构,嵌套数组、操作符和值的完整语义仍以官方文档为准。",
                      "x-coverage": "outer_structure_only_nested_operator_semantics_not_exhaustively_validated",
                      "x-schema-origin": "derived_from_official_filter_prose_and_examples"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              ],
              "description": "initial dataset filtering parameters optional field initial filtering parameters that apply to fields in the Search endpoint you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: regex, not_regex, <, <=, >, >=, =, <>, in, not_in, like, not_like, has, has_not, match, not_match you can use the % operator with like and not_like to match any string of zero or more characters example: [\"domain\",\"<>\", \"logitech.com\"] [[\"domain\",\"<>\",\"logitech.com\"],\"and\",[\"content_info.connotation_types.negative\",\">\",1000]] [[\"domain\",\"<>\",\"logitech.com\"]], \"and\", [[\"content_info.connotation_types.negative\",\">\",1000], \"or\", [\"content_info.text_category\",\"has\",10994]]] for more information about filters, please refer to Content Analysis API - Filters learn more about the initial dataset filters in this help center article.",
              "nullable": true,
              "type": "array",
              "x-original-openapi-description": "initial dataset filtering parameters optional field initial filtering parameters that apply to fields in the Search endpoint you can add several filters at once (8 filters maximum) you should set a logical operator and , or between the conditions the following operators are supported: regex , not_regex , < , <= , > , >= , = , <> , in , not_in , like , not_like , has , has_not , match , not_match you can use the % operator with like and not_like to match any string of zero or more characters example: [\"domain\",\"<>\", \"logitech.com\"] [[\"domain\",\"<>\",\"logitech.com\"],\"and\",[\"content_info.connotation_types.negative\",\">\",1000]] [[\"domain\",\"<>\",\"logitech.com\"]], \"and\", [[\"content_info.connotation_types.negative\",\">\",1000], \"or\", [\"content_info.text_category\",\"has\",10994]]] for more information about filters, please refer to Content Analysis API - Filters learn more about the initial dataset filters in this help center article.",
              "x-required-status": "optional",
              "x-schema-origin": "official_filter_prose_normalized"
            },
            "internal_list_limit": {
              "default": 1,
              "description": "maximum number of elements within internal arrays optional field you can use this field to limit the number of elements within the following arrays: top_domains text_categories page_categories countries languages default value: 1 maximum value: 20",
              "maximum": 20,
              "nullable": true,
              "type": "integer",
              "x-constraints-from-official-description": [
                "default",
                "maximum"
              ],
              "x-required-status": "optional"
            },
            "keyword": {
              "description": "target keyword required field UTF-8 encoding the keywords will be converted to a lowercase format; Note: to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes; example: \"keyword\": \"\\\"tesla palo alto\\\"\" learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article",
              "type": "string",
              "x-original-openapi-description": "target keyword required field UTF-8 encoding the keywords will be converted to a lowercase format; Note : to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes; example: \"keyword\": \"\\\"tesla palo alto\\\"\" learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article",
              "x-required-status": "required"
            },
            "keyword_fields": {
              "additionalProperties": {
                "nullable": true,
                "type": "string"
              },
              "description": "target keyword fields and target keywords optional field use this parameter to filter the dataset by keywords that certain fields should contain; fields you can specify: title, main_title, previous_title, snippet you can indicate several fields; Note: to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes; example: \"keyword_fields\": { \"snippet\": \"\\\"logitech mouse\\\"\", \"main_title\": \"sale\" }",
              "nullable": true,
              "type": "object",
              "x-original-openapi-description": "target keyword fields and target keywords optional field use this parameter to filter the dataset by keywords that certain fields should contain; fields you can specify: title , main_title , previous_title , snippet you can indicate several fields; Note : to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes; example: `\"keyword_fields\": { \"snippet\": \"\\\"logitech mouse\\\"\", \"main_title\": \"sale\" }`",
              "x-required-status": "optional"
            },
            "page_type": {
              "description": "target page types optional field use this parameter to filter the dataset by page types possible values: \"ecommerce\", \"news\", \"blogs\", \"message-boards\", \"organization\"",
              "items": {
                "type": "string"
              },
              "nullable": true,
              "type": "array",
              "x-original-openapi-description": "target page types optional field use this parameter to filter the dataset by page types possible values: \"ecommerce\" , \"news\" , \"blogs\" , \"message-boards\" , \"organization\"",
              "x-required-status": "optional"
            },
            "positive_connotation_threshold": {
              "default": 0.4,
              "description": "positive connotation threshold optional field specified as the probability index threshold for positive sentiment related to the citation content if you specify this field, connotation_types object in the response will only contain data on citations with positive sentiment probability more than or equal to the specified value possible values: from 0 to 1 default value: 0.4",
              "nullable": true,
              "type": "number",
              "x-constraints-from-official-description": [
                "default"
              ],
              "x-required-status": "optional"
            },
            "rank_scale": {
              "description": "defines the scale used for calculating and displaying the rank values optional field you can use this parameter to choose whether rank values are presented on a 0–100 or 0–1000 scale possible values: one_hundred — rank values are displayed on a 0–100 scale one_thousand — rank values are displayed on a 0–1000 scale default value: one_thousand learn more about how this parameter works in this Help Center article",
              "nullable": true,
              "type": "string",
              "x-required-status": "optional"
            },
            "search_mode": {
              "description": "results grouping type optional field possible grouping types: as_is - returns all citations for the target keyword one_per_domain - returns one citation of the keyword per domain default value: as_is",
              "nullable": true,
              "type": "string",
              "x-required-status": "optional"
            },
            "sentiments_connotation_threshold": {
              "default": 0.4,
              "description": "sentiment connotation threshold optional field specified as the probability index threshold for sentiment connotations related to the citation content if you specify this field, sentiment_connotations object in the response will only contain data on citations where the probability per each sentiment is more than or equal to the specified value possible values: from 0 to 1 default value: 0.4",
              "nullable": true,
              "type": "number",
              "x-constraints-from-official-description": [
                "default"
              ],
              "x-required-status": "optional"
            },
            "tag": {
              "description": "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",
              "nullable": true,
              "type": "string",
              "x-required-status": "optional"
            }
          },
          "required": [
            "keyword"
          ],
          "type": "object",
          "x-required-origin": "official_required_array_plus_explicit_unconditional_required_field_prose"
        },
        "maxItems": 1,
        "minItems": 1,
        "type": "array",
        "x-openany-retail-scope": "single_native_task_per_sale_execution",
        "x-openapi-version": "3.0.1",
        "x-schema-origin": "official_openapi_plus_explicit_official_doc_amendments"
      },
      "location": "body",
      "name": "body",
      "nullable": false,
      "pointer": "",
      "required": true,
      "type": "array"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "rules",
    "parameters": [],
    "policy_version": 2,
    "sale": {
      "addons": [],
      "base_price_micro_usd": "24000",
      "max_cost_micro_usd": "24000",
      "quantities": [
        {
          "id": "task_errors",
          "label": "任务错误数必须为零",
          "max_quantity": "0",
          "measure": "value",
          "pointer": "/tasks_error",
          "price_micro_usd": "0",
          "quantity_scale": 0,
          "source": "response",
          "unit": "task_error",
          "unit_quantity": "1"
        }
      ],
      "rounding": "ceil",
      "variants": []
    }
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Official example · 官方历史成对样例(未运行) (HTTP assumed)",
      "request": {
        "body": [
          {
            "internal_list_limit": 10,
            "keyword": "logitech",
            "search_mode": "as_is"
          }
        ],
        "headers": {},
        "path": {},
        "query": {}
      },
      "response_body": {
        "cost": 0.0203,
        "status_code": 20000,
        "status_message": "Ok.",
        "tasks": [
          {
            "cost": 0.0203,
            "data": {
              "api": "content_analysis",
              "function": "rating_distribution",
              "internal_list_limit": 10,
              "keyword": "logitech",
              "search_mode": "as_is"
            },
            "id": "11041243-1535-0466-0000-3280caf1189e",
            "path": [
              "v3",
              "content_analysis",
              "rating_distribution",
              "live"
            ],
            "result": [
              {
                "max": 0.1,
                "metrics": {
                  "connotation_types": {
                    "negative": 32,
                    "neutral": 67,
                    "positive": 51
                  },
                  "countries": {
                    "DE": 56,
                    "US": 5,
                    "WW": 1
                  },
                  "languages": {
                    "de": 175,
                    "en": 14
                  },
                  "page_categories": [
                    {
                      "category": [
                        10019,
                        10167,
                        10168,
                        10883,
                        12187,
                        13068,
                        10007,
                        10878,
                        13381,
                        12161,
                        13054
                      ],
                      "count": 2
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10872,
                        10007,
                        10878,
                        13381,
                        12161,
                        13054
                      ],
                      "count": 2
                    },
                    {
                      "category": [
                        10019,
                        10168,
                        10886,
                        12216,
                        12222
                      ],
                      "count": 2
                    },
                    {
                      "category": [
                        10002,
                        10028,
                        10222,
                        13813,
                        10001,
                        10026,
                        10209,
                        10019,
                        10167
                      ],
                      "count": 1
                    },
                    {
                      "category": [
                        10002,
                        10028,
                        10222,
                        13813,
                        10009,
                        10410,
                        10417
                      ],
                      "count": 1
                    },
                    {
                      "category": [
                        10002,
                        10028,
                        10222,
                        13813,
                        10013,
                        10019,
                        10167
                      ],
                      "count": 1
                    },
                    {
                      "category": [
                        10002,
                        10028,
                        10222,
                        13813,
                        10019,
                        10167,
                        10168,
                        10886,
                        12216
                      ],
                      "count": 1
                    },
                    {
                      "category": [
                        10002,
                        10028,
                        10222,
                        13813,
                        10019,
                        10167,
                        10873,
                        12138,
                        10013,
                        10109,
                        10592,
                        13537
                      ],
                      "count": 1
                    },
                    {
                      "category": [
                        10002,
                        10028,
                        10222,
                        13813,
                        10108,
                        10004,
                        10276,
                        11088,
                        13412
                      ],
                      "count": 1
                    },
                    {
                      "category": [
                        10004,
                        10307,
                        10002,
                        10028,
                        10222,
                        13813,
                        10013
                      ],
                      "count": 1
                    }
                  ],
                  "page_types": {
                    "blogs": 35,
                    "ecommerce": 61,
                    "message-boards": null,
                    "news": 1,
                    "organization": null
                  },
                  "rank": 211,
                  "sentiment_connotations": {
                    "anger": 0,
                    "fun": 2,
                    "happiness": 18,
                    "love": 0,
                    "sadness": 0,
                    "share": 0
                  },
                  "text_categories": [
                    {
                      "category": [
                        10013,
                        10019,
                        10167,
                        10002,
                        10028,
                        10222,
                        13813
                      ],
                      "count": 13
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10013,
                        10007,
                        13418
                      ],
                      "count": 12
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10013,
                        10002,
                        10028,
                        10222,
                        13813
                      ],
                      "count": 11
                    },
                    {
                      "category": [
                        10013,
                        10019,
                        10167
                      ],
                      "count": 9
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10007,
                        10878,
                        13381,
                        12161,
                        13054,
                        10168,
                        10883,
                        12187,
                        13068
                      ],
                      "count": 6
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10013
                      ],
                      "count": 6
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10007,
                        10878,
                        13381,
                        12161,
                        13054,
                        10013
                      ],
                      "count": 5
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10007,
                        13418,
                        10013
                      ],
                      "count": 5
                    },
                    {
                      "category": [
                        10013,
                        10019,
                        10167,
                        10007,
                        13418
                      ],
                      "count": 4
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10007,
                        10878,
                        13381,
                        12161,
                        13054,
                        10108
                      ],
                      "count": 4
                    }
                  ],
                  "top_domains": [
                    {
                      "count": 35,
                      "domain": "pcwelt.de"
                    },
                    {
                      "count": 21,
                      "domain": "macwelt.de"
                    },
                    {
                      "count": 3,
                      "domain": "macworld.com"
                    },
                    {
                      "count": 1,
                      "domain": "pcworld.com"
                    },
                    {
                      "count": 1,
                      "domain": "pocket-lint.com"
                    },
                    {
                      "count": 1,
                      "domain": "techadvisor.com"
                    }
                  ],
                  "total_count": 189,
                  "type": "content_analysis_summary"
                },
                "min": 0,
                "type": "content_analysis_rating_distribution"
              },
              {
                "max": 0.2,
                "metrics": {
                  "connotation_types": {
                    "negative": 648,
                    "neutral": 905,
                    "positive": 280
                  },
                  "countries": {
                    "AR": 9,
                    "DE": 26,
                    "FR": 18,
                    "GB": 12,
                    "GR": 13,
                    "PL": 32,
                    "RO": 190,
                    "UA": 17,
                    "US": 90,
                    "WW": 30
                  },
                  "languages": {
                    "de": 141,
                    "en": 1094,
                    "es": 55,
                    "fr": 41,
                    "it": 44,
                    "nl": 68,
                    "pl": 181,
                    "ro": 65,
                    "ru": 59,
                    "vi": 32
                  },
                  "page_categories": [
                    {
                      "category": null,
                      "count": 229
                    },
                    {
                      "category": [
                        10019,
                        10167
                      ],
                      "count": 15
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10007,
                        10878,
                        13381,
                        12161,
                        13054
                      ],
                      "count": 14
                    },
                    {
                      "category": [
                        10019,
                        10168,
                        10886,
                        12216,
                        12222
                      ],
                      "count": 14
                    },
                    {
                      "category": [
                        10019,
                        10168,
                        10883,
                        12187,
                        13069,
                        10886,
                        12216,
                        12188,
                        13073
                      ],
                      "count": 12
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10007,
                        13418
                      ],
                      "count": 9
                    },
                    {
                      "category": [
                        10019,
                        10168,
                        10883,
                        12187,
                        13069,
                        10886,
                        12216,
                        13068
                      ],
                      "count": 8
                    },
                    {
                      "category": [
                        10019,
                        10168,
                        10886,
                        12222,
                        12216
                      ],
                      "count": 8
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10007,
                        13418,
                        10878,
                        13381,
                        12161,
                        13054
                      ],
                      "count": 5
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10013
                      ],
                      "count": 5
                    }
                  ],
                  "page_types": {
                    "blogs": 146,
                    "ecommerce": 445,
                    "message-boards": null,
                    "news": 8,
                    "organization": 89
                  },
                  "rank": 270,
                  "sentiment_connotations": {
                    "anger": 5,
                    "fun": 6,
                    "happiness": 75,
                    "love": 0,
                    "sadness": 5,
                    "share": 38
                  },
                  "text_categories": [
                    {
                      "category": null,
                      "count": 499
                    },
                    {
                      "category": [
                        10013,
                        10108,
                        13691
                      ],
                      "count": 103
                    },
                    {
                      "category": [
                        10019,
                        10167
                      ],
                      "count": 43
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10007,
                        13418
                      ],
                      "count": 34
                    },
                    {
                      "category": [
                        10108,
                        13691,
                        10013,
                        10103,
                        10556
                      ],
                      "count": 32
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10013
                      ],
                      "count": 30
                    },
                    {
                      "category": [
                        10019,
                        10168,
                        10886,
                        12222,
                        12216
                      ],
                      "count": 29
                    },
                    {
                      "category": [
                        10013,
                        10019,
                        10167
                      ],
                      "count": 25
                    },
                    {
                      "category": [
                        10019,
                        10167,
                        10007,
                        10878,
                        13381,
                        12161,
                        13054
                      ],
                      "count": 25
                    },
                    {
                      "category": [
                        10108,
                        13691,
                        10013
                      ],
                      "count": 25
                    }
                  ],
                  "top_domains": [
                    {
                      "count": 170,
                      "domain": "csh.ro"
                    },
                    {
                      "count": 30,
                      "domain": "plazacompare.com"
                    },
                    {
                      "count": 30,
                      "domain": "x-kom.pl"
                    },
                    {
                      "count": 24,
                      "domain": "trending-electronics.com"
                    },
                    {
                      "count": 23,
                      "domain": "geendank.com"
                    },
                    {
                      "count": 23,
                      "domain": "mediamarkt.de"
                    },
                    {
                      "count": 21,
                      "domain": "scoopdeals.com"
                    },
                    {
                      "count": 20,
                      "domain": "librarii.ro"
                    },
                    {
                      "count": 14,
                      "domain": "pcoverhauls.com"
                    },
                    {
                      "count": 13,
                      "domain": "dealwithit.gr"
                    }
                  ],
                  "total_count": 1840,
                  "type": "content_analysis_summary"
                },
                "min": 0.1,
                "type": "content_analysis_rating_distribution"
              }
            ],
            "result_count": 10,
            "status_code": 20000,
            "status_message": "Ok.",
            "time": "16.8151 sec."
          }
        ],
        "tasks_count": 1,
        "tasks_error": 0,
        "time": "16.8783 sec.",
        "version": "0.1.20220819"
      }
    }
  ]
}
```

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · 官方历史成对样例(未运行) (HTTP assumed)

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 1

    Review these request fields before running. Keep the published provider and request method unchanged.

    body
    ‌ This endpoint will provide you with rating distribution data for the keyword and other parameters specified in the request.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/dataforseo/v3/content_analysis/rating_distribution/live' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '[
      {
        "internal_list_limit": 10,
        "keyword": "logitech",
        "search_mode": "as_is"
      }
    ]'
  3. Check the response

    Sample response · Configured HTTP 200; actual status is unverified.

    Sample response
    {
      "cost": 0.0203,
      "status_code": 20000,
      "status_message": "Ok.",
      "tasks": [
        {
          "cost": 0.0203,
          "data": {
            "api": "content_analysis",
            "function": "rating_distribution",
            "internal_list_limit": 10,
            "keyword": "logitech",
            "search_mode": "as_is"
          },
          "id": "11041243-1535-0466-0000-3280caf1189e",
          "path": [
            "v3",
            "content_analysis",
            "rating_distribution",
            "live"
          ],
          "result": [
            {
              "max": 0.1,
              "metrics": {
                "connotation_types": {
                  "negative": 32,
                  "neutral": 67,
                  "positive": 51
                },
                "countries": {
                  "DE": 56,
                  "US": 5,
                  "WW": 1
                },
                "languages": {
                  "de": 175,
                  "en": 14
                },
                "page_categories": [
                  {
                    "category": [
                      10019,
                      10167,
                      10168,
                      10883,
                      12187,
                      13068,
                      10007,
                      10878,
                      13381,
                      12161,
                      13054
                    ],
                    "count": 2
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10872,
                      10007,
                      10878,
                      13381,
                      12161,
                      13054
                    ],
                    "count": 2
                  },
                  {
                    "category": [
                      10019,
                      10168,
                      10886,
                      12216,
                      12222
                    ],
                    "count": 2
                  },
                  {
                    "category": [
                      10002,
                      10028,
                      10222,
                      13813,
                      10001,
                      10026,
                      10209,
                      10019,
                      10167
                    ],
                    "count": 1
                  },
                  {
                    "category": [
                      10002,
                      10028,
                      10222,
                      13813,
                      10009,
                      10410,
                      10417
                    ],
                    "count": 1
                  },
                  {
                    "category": [
                      10002,
                      10028,
                      10222,
                      13813,
                      10013,
                      10019,
                      10167
                    ],
                    "count": 1
                  },
                  {
                    "category": [
                      10002,
                      10028,
                      10222,
                      13813,
                      10019,
                      10167,
                      10168,
                      10886,
                      12216
                    ],
                    "count": 1
                  },
                  {
                    "category": [
                      10002,
                      10028,
                      10222,
                      13813,
                      10019,
                      10167,
                      10873,
                      12138,
                      10013,
                      10109,
                      10592,
                      13537
                    ],
                    "count": 1
                  },
                  {
                    "category": [
                      10002,
                      10028,
                      10222,
                      13813,
                      10108,
                      10004,
                      10276,
                      11088,
                      13412
                    ],
                    "count": 1
                  },
                  {
                    "category": [
                      10004,
                      10307,
                      10002,
                      10028,
                      10222,
                      13813,
                      10013
                    ],
                    "count": 1
                  }
                ],
                "page_types": {
                  "blogs": 35,
                  "ecommerce": 61,
                  "message-boards": null,
                  "news": 1,
                  "organization": null
                },
                "rank": 211,
                "sentiment_connotations": {
                  "anger": 0,
                  "fun": 2,
                  "happiness": 18,
                  "love": 0,
                  "sadness": 0,
                  "share": 0
                },
                "text_categories": [
                  {
                    "category": [
                      10013,
                      10019,
                      10167,
                      10002,
                      10028,
                      10222,
                      13813
                    ],
                    "count": 13
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10013,
                      10007,
                      13418
                    ],
                    "count": 12
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10013,
                      10002,
                      10028,
                      10222,
                      13813
                    ],
                    "count": 11
                  },
                  {
                    "category": [
                      10013,
                      10019,
                      10167
                    ],
                    "count": 9
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10007,
                      10878,
                      13381,
                      12161,
                      13054,
                      10168,
                      10883,
                      12187,
                      13068
                    ],
                    "count": 6
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10013
                    ],
                    "count": 6
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10007,
                      10878,
                      13381,
                      12161,
                      13054,
                      10013
                    ],
                    "count": 5
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10007,
                      13418,
                      10013
                    ],
                    "count": 5
                  },
                  {
                    "category": [
                      10013,
                      10019,
                      10167,
                      10007,
                      13418
                    ],
                    "count": 4
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10007,
                      10878,
                      13381,
                      12161,
                      13054,
                      10108
                    ],
                    "count": 4
                  }
                ],
                "top_domains": [
                  {
                    "count": 35,
                    "domain": "pcwelt.de"
                  },
                  {
                    "count": 21,
                    "domain": "macwelt.de"
                  },
                  {
                    "count": 3,
                    "domain": "macworld.com"
                  },
                  {
                    "count": 1,
                    "domain": "pcworld.com"
                  },
                  {
                    "count": 1,
                    "domain": "pocket-lint.com"
                  },
                  {
                    "count": 1,
                    "domain": "techadvisor.com"
                  }
                ],
                "total_count": 189,
                "type": "content_analysis_summary"
              },
              "min": 0,
              "type": "content_analysis_rating_distribution"
            },
            {
              "max": 0.2,
              "metrics": {
                "connotation_types": {
                  "negative": 648,
                  "neutral": 905,
                  "positive": 280
                },
                "countries": {
                  "AR": 9,
                  "DE": 26,
                  "FR": 18,
                  "GB": 12,
                  "GR": 13,
                  "PL": 32,
                  "RO": 190,
                  "UA": 17,
                  "US": 90,
                  "WW": 30
                },
                "languages": {
                  "de": 141,
                  "en": 1094,
                  "es": 55,
                  "fr": 41,
                  "it": 44,
                  "nl": 68,
                  "pl": 181,
                  "ro": 65,
                  "ru": 59,
                  "vi": 32
                },
                "page_categories": [
                  {
                    "category": null,
                    "count": 229
                  },
                  {
                    "category": [
                      10019,
                      10167
                    ],
                    "count": 15
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10007,
                      10878,
                      13381,
                      12161,
                      13054
                    ],
                    "count": 14
                  },
                  {
                    "category": [
                      10019,
                      10168,
                      10886,
                      12216,
                      12222
                    ],
                    "count": 14
                  },
                  {
                    "category": [
                      10019,
                      10168,
                      10883,
                      12187,
                      13069,
                      10886,
                      12216,
                      12188,
                      13073
                    ],
                    "count": 12
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10007,
                      13418
                    ],
                    "count": 9
                  },
                  {
                    "category": [
                      10019,
                      10168,
                      10883,
                      12187,
                      13069,
                      10886,
                      12216,
                      13068
                    ],
                    "count": 8
                  },
                  {
                    "category": [
                      10019,
                      10168,
                      10886,
                      12222,
                      12216
                    ],
                    "count": 8
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10007,
                      13418,
                      10878,
                      13381,
                      12161,
                      13054
                    ],
                    "count": 5
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10013
                    ],
                    "count": 5
                  }
                ],
                "page_types": {
                  "blogs": 146,
                  "ecommerce": 445,
                  "message-boards": null,
                  "news": 8,
                  "organization": 89
                },
                "rank": 270,
                "sentiment_connotations": {
                  "anger": 5,
                  "fun": 6,
                  "happiness": 75,
                  "love": 0,
                  "sadness": 5,
                  "share": 38
                },
                "text_categories": [
                  {
                    "category": null,
                    "count": 499
                  },
                  {
                    "category": [
                      10013,
                      10108,
                      13691
                    ],
                    "count": 103
                  },
                  {
                    "category": [
                      10019,
                      10167
                    ],
                    "count": 43
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10007,
                      13418
                    ],
                    "count": 34
                  },
                  {
                    "category": [
                      10108,
                      13691,
                      10013,
                      10103,
                      10556
                    ],
                    "count": 32
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10013
                    ],
                    "count": 30
                  },
                  {
                    "category": [
                      10019,
                      10168,
                      10886,
                      12222,
                      12216
                    ],
                    "count": 29
                  },
                  {
                    "category": [
                      10013,
                      10019,
                      10167
                    ],
                    "count": 25
                  },
                  {
                    "category": [
                      10019,
                      10167,
                      10007,
                      10878,
                      13381,
                      12161,
                      13054
                    ],
                    "count": 25
                  },
                  {
                    "category": [
                      10108,
                      13691,
                      10013
                    ],
                    "count": 25
                  }
                ],
                "top_domains": [
                  {
                    "count": 170,
                    "domain": "csh.ro"
                  },
                  {
                    "count": 30,
                    "domain": "plazacompare.com"
                  },
                  {
                    "count": 30,
                    "domain": "x-kom.pl"
                  },
                  {
                    "count": 24,
                    "domain": "trending-electronics.com"
                  },
                  {
                    "count": 23,
                    "domain": "geendank.com"
                  },
                  {
                    "count": 23,
                    "domain": "mediamarkt.de"
                  },
                  {
                    "count": 21,
                    "domain": "scoopdeals.com"
                  },
                  {
                    "count": 20,
                    "domain": "librarii.ro"
                  },
                  {
                    "count": 14,
                    "domain": "pcoverhauls.com"
                  },
                  {
                    "count": 13,
                    "domain": "dealwithit.gr"
                  }
                ],
                "total_count": 1840,
                "type": "content_analysis_summary"
              },
              "min": 0.1,
              "type": "content_analysis_rating_distribution"
            }
          ],
          "result_count": 10,
          "status_code": 20000,
          "status_message": "Ok.",
          "time": "16.8151 sec."
        }
      ],
      "tasks_count": 1,
      "tasks_error": 0,
      "time": "16.8783 sec.",
      "version": "0.1.20220819"
    }

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use DataForSEO — Content Analysis / Rating Distribution / Live with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.