APIDataSearch & Research

DataForSEO — Dataforseo Labs / Google / Domain Metrics By Categories / Live

Retrieve labs Google Domain Metrics By Categories Live with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it for search visibility research or technical SEO.

Selected price
$0.12 base + $0.0012 / result Published pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

DataForSEO — Dataforseo Labs / Google / Domain Metrics By Categories / Live

Prepare your request, then continue with your agent.

Pricing

$0.12 base + $0.0012 / result

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 dynamics of change in metrics of domains relevant to the specified product and service categories. You will receive historical ranking data from Google SERPs, along with valuable current and historical domain metrics, such as ETV, impressions ETV, estimated paid traffic cost, the total count of SERPs that contain domains, and more.

Sample response

{
  "cost": 0.103,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.103,
      "data": {
        "api": "dataforseo_labs",
        "category_codes": [
          13418,
          11494
        ],
        "first_date": "2021-06-01",
        "function": "domain_metrics_by_categories",
        "language_code": "en",
        "limit": 3,
        "location_code": 2840,
        "se_type": "google",
        "second_date": "2021-10-01"
      },
      "id": "03021547-0696-0403-0000-7814b5225608",
      "path": [
        "v3",
        "dataforseo_labs",
        "google",
        "domain_metrics_by_categories",
        "live"
      ],
      "result": [
        {
          "categories": [
            11494,
            13418
          ],
          "items": [
            {
              "domain": "enricospastryshop.com",
              "main_domain": "enricospastryshop.com",
              "metrics_difference": {
                "featured_snippet": null,
                "local_pack": null,
                "organic": {
                  "count": 6,
                  "estimated_paid_traffic_cost": 266.1012032026081,
                  "etv": 161.65143505765496,
                  "is_down": -8,
                  "is_lost": 7,
                  "is_new": 11,
                  "is_up": 6,
                  "pos_1": 1,
                  "pos_11_20": 0,
                  "pos_21_30": -1,
                  "pos_2_3": 1,
                  "pos_31_40": 2,
                  "pos_41_50": 1,
                  "pos_4_10": -1,
                  "pos_51_60": 3,
                  "pos_61_70": 1,
                  "pos_71_80": -1,
                  "pos_81_90": -4,
                  "pos_91_100": 3
                },
                "paid": {
                  "count": 0,
                  "estimated_paid_traffic_cost": 0,
                  "etv": 0,
                  "is_down": 0,
                  "is_lost": 0,
                  "is_new": 0,
                  "is_up": 0,
                  "pos_1": 0,
                  "pos_11_20": 0,
                  "pos_21_30": 0,
                  "pos_2_3": 0,
                  "pos_31_40": 0,
                  "pos_41_50": 0,
                  "pos_4_10": 0,
                  "pos_51_60": 0,
                  "pos_61_70": 0,
                  "pos_71_80": 0,
                  "pos_81_90": 0,
                  "pos_91_100": 0
                }
              },
              "metrics_history": {
                "202106": {
                  "featured_snippet": null,
                  "local_pack": null,
                  "organic": {
                    "count": 41,
                    "estimated_paid_traffic_cost": 69.1921289233835,
                    "etv": 147.2205658582747,
                    "is_down": 15,
                    "is_lost": 12,
                    "is_new": 1,
                    "is_up": 4,
                    "pos_1": 4,
                    "pos_11_20": 4,
                    "pos_21_30": 6,
                    "pos_2_3": 3,
                    "pos_31_40": 1,
                    "pos_41_50": 2,
                    "pos_4_10": 1,
                    "pos_51_60": 4,
                    "pos_61_70": 5,
                    "pos_71_80": 7,
                    "pos_81_90": 4,
                    "pos_91_100": 1
                  },
                  "paid": {
                    "count": 0,
                    "estimated_paid_traffic_cost": 0,
                    "etv": 0,
                    "is_down": 0,
                    "is_lost": 0,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 0,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 0,
                    "pos_71_80": 0,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  }
                },
                "202110": {
                  "featured_snippet": null,
                  "local_pack": null,
                  "organic": {
                    "count": 46,
                    "estimated_paid_traffic_cost": 335.2933321259916,
                    "etv": 308.8720009159297,
                    "is_down": 7,
                    "is_lost": 19,
                    "is_new": 12,
                    "is_up": 11,
                    "pos_1": 4,
                    "pos_11_20": 4,
                    "pos_21_30": 4,
                    "pos_2_3": 4,
                    "pos_31_40": 3,
                    "pos_41_50": 3,
                    "pos_4_10": 0,
                    "pos_51_60": 7,
                    "pos_61_70": 6,
                    "pos_71_80": 6,
                    "pos_81_90": 0,
                    "pos_91_100": 4
                  },
                  "paid": {
                    "count": 0,
                    "estimated_paid_traffic_cost": 0,
                    "etv": 0,
                    "is_down": 0,
                    "is_lost": 0,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 0,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 0,
                    "pos_71_80": 0,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  }
                }
              },
              "organic_count": 58,
              "organic_etv": 1179.6579938028008,
              "organic_is_lost": 11,
              "organic_is_new": 12,
              "se_type": "google",
              "top_categories": [
                11494,
                13418
              ]
            },
            {
              "domain": "expertblogz.com",
              "main_domain": "expertblogz.com",
              "metrics_difference": {
                "featured_snippet": null,
                "local_pack": null,
                "organic": {
                  "count": -5,
                  "estimated_paid_traffic_cost": -261.7570120933071,
                  "etv": 846.4703587682992,
                  "is_down": -4,
                  "is_lost": 8,
                  "is_new": -2,
                  "is_up": -2,
                  "pos_1": -3,
                  "pos_11_20": 0,
                  "pos_21_30": -2,
                  "pos_2_3": -1,
                  "pos_31_40": -1,
                  "pos_41_50": -2,
                  "pos_4_10": 0,
                  "pos_51_60": 1,
                  "pos_61_70": -1,
                  "pos_71_80": 2,
                  "pos_81_90": 1,
                  "pos_91_100": 0
                },
                "paid": {
                  "count": 0,
                  "estimated_paid_traffic_cost": 0,
                  "etv": 0,
                  "is_down": 0,
                  "is_lost": 0,
                  "is_new": 0,
                  "is_up": 0,
                  "pos_1": 0,
                  "pos_11_20": 0,
                  "pos_21_30": 0,
                  "pos_2_3": 0,
                  "pos_31_40": 0,
                  "pos_41_50": 0,
                  "pos_4_10": 0,
                  "pos_51_60": 0,
                  "pos_61_70": 0,
                  "pos_71_80": 0,
                  "pos_81_90": 0,
                  "pos_91_100": 0
                }
              },
              "metrics_history": {
                "202106": {
                  "featured_snippet": null,
                  "local_pack": null,
                  "organic": {
                    "count": 22,
                    "estimated_paid_traffic_cost": 313.0662581565395,
                    "etv": 430.9176690654755,
                    "is_down": 5,
                    "is_lost": 0,
                    "is_new": 2,
                    "is_up": 2,
                    "pos_1": 14,
                    "pos_11_20": 0,
                    "pos_21_30": 2,
                    "pos_2_3": 1,
                    "pos_31_40": 1,
                    "pos_41_50": 2,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 1,
                    "pos_71_80": 1,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  },
                  "paid": {
                    "count": 0,
                    "estimated_paid_traffic_cost": 0,
                    "etv": 0,
                    "is_down": 0,
                    "is_lost": 0,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 0,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 0,
                    "pos_71_80": 0,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  }
                },
                "202110": {
                  "featured_snippet": null,
                  "local_pack": null,
                  "organic": {
                    "count": 17,
                    "estimated_paid_traffic_cost": 51.30924606323242,
                    "etv": 1277.3880278337747,
                    "is_down": 1,
                    "is_lost": 8,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 11,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 1,
                    "pos_61_70": 0,
                    "pos_71_80": 3,
                    "pos_81_90": 1,
                    "pos_91_100": 0
                  },
                  "paid": {
                    "count": 0,
                    "estimated_paid_traffic_cost": 0,
                    "etv": 0,
                    "is_down": 0,
                    "is_lost": 0,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 0,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 0,
                    "pos_71_80": 0,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  }
                }
              },
              "organic_count": 16,
              "organic_etv": 854.9360156022012,
              "organic_is_lost": 2,
              "organic_is_new": 3,
              "se_type": "google",
              "top_categories": [
                11494,
                13418
              ]
            },
            {
              "domain": "bergpartners.com",
              "main_domain": "bergpartners.com",
              "metrics_difference": {
                "featured_snippet": null,
                "local_pack": null,
                "organic": {
                  "count": -7,
                  "estimated_paid_traffic_cost": 2104.03663279918,
                  "etv": 960.46854136078,
                  "is_down": -3,
                  "is_lost": 3,
                  "is_new": -5,
                  "is_up": 19,
                  "pos_1": 0,
                  "pos_11_20": -3,
                  "pos_21_30": -4,
                  "pos_2_3": 1,
                  "pos_31_40": 0,
                  "pos_41_50": -4,
                  "pos_4_10": 1,
                  "pos_51_60": 2,
                  "pos_61_70": 0,
                  "pos_71_80": 0,
                  "pos_81_90": 0,
                  "pos_91_100": -1
                },
                "paid": {
                  "count": 0,
                  "estimated_paid_traffic_cost": 0,
                  "etv": 0,
                  "is_down": 0,
                  "is_lost": 0,
                  "is_new": 0,
                  "is_up": 0,
                  "pos_1": 0,
                  "pos_11_20": 0,
                  "pos_21_30": 0,
                  "pos_2_3": 0,
                  "pos_31_40": 0,
                  "pos_41_50": 0,
                  "pos_4_10": 0,
                  "pos_51_60": 0,
                  "pos_61_70": 0,
                  "pos_71_80": 0,
                  "pos_81_90": 0,
                  "pos_91_100": 0
                }
              },
              "metrics_history": {
                "202106": {
                  "featured_snippet": null,
                  "local_pack": null,
                  "organic": {
                    "count": 45,
                    "estimated_paid_traffic_cost": 2.4893027277572437,
                    "etv": 6.312458390981554,
                    "is_down": 14,
                    "is_lost": 12,
                    "is_new": 10,
                    "is_up": 2,
                    "pos_1": 2,
                    "pos_11_20": 4,
                    "pos_21_30": 5,
                    "pos_2_3": 0,
                    "pos_31_40": 5,
                    "pos_41_50": 11,
                    "pos_4_10": 0,
                    "pos_51_60": 5,
                    "pos_61_70": 3,
                    "pos_71_80": 2,
                    "pos_81_90": 6,
                    "pos_91_100": 4
                  },
                  "paid": {
                    "count": 0,
                    "estimated_paid_traffic_cost": 0,
                    "etv": 0,
                    "is_down": 0,
                    "is_lost": 0,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 0,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 0,
                    "pos_71_80": 0,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  }
                },
                "202110": {
                  "featured_snippet": null,
                  "local_pack": null,
                  "organic": {
                    "count": 38,
                    "estimated_paid_traffic_cost": 2106.5259355269372,
                    "etv": 966.7809997517616,
                    "is_down": 11,
                    "is_lost": 16,
                    "is_new": 5,
                    "is_up": 22,
                    "pos_1": 2,
                    "pos_11_20": 1,
                    "pos_21_30": 1,
                    "pos_2_3": 1,
                    "pos_31_40": 4,
                    "pos_41_50": 7,
                    "pos_4_10": 1,
                    "pos_51_60": 7,
                    "pos_61_70": 3,
                    "pos_71_80": 2,
                    "pos_81_90": 6,
                    "pos_91_100": 3
                  },
                  "paid": {
                    "count": 0,
                    "estimated_paid_traffic_cost": 0,
                    "etv": 0,
                    "is_down": 0,
                    "is_lost": 0,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 0,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 0,
                    "pos_71_80": 0,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  }
                }
              },
              "organic_count": 38,
              "organic_etv": 802.8389475755394,
              "organic_is_lost": 10,
              "organic_is_new": 7,
              "se_type": "google",
              "top_categories": [
                11494,
                13418
              ]
            }
          ],
          "items_count": 3,
          "language_code": "en",
          "location_code": 2840,
          "se_type": "google",
          "total_count": 1131
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "1.8132 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "1.8991 sec.",
  "version": "0.1.20220216"
}

Response result

Response structure

Inferred from examples
  • costnumber
  • status_codeinteger
  • status_messagestring
  • tasksobject[]
    • costnumber
    • dataobject
      • apistring
      • category_codesinteger[]
      • first_datestring
      • functionstring
      • language_codestring
      • limitinteger
      • location_codeinteger
      • se_typestring
      • second_datestring
    • idstring
    • pathstring[]
    • resultobject[]
      • categoriesinteger[]
      • itemsobject[]
        • domainstring
        • main_domainstring
        • metrics_differenceobject
          • featured_snippetnull
          • local_packnull
          • organicobject
            • countinteger
            • estimated_paid_traffic_costnumber
            • etvnumber
            • is_downinteger
            • is_lostinteger
            • is_newinteger
            • is_upinteger
            • pos_1integer
            • pos_11_20integer
            • pos_21_30integer
            • pos_2_3integer
            • pos_31_40integer
            • pos_41_50integer
            • pos_4_10integer
            • pos_51_60integer
            • pos_61_70integer
            • pos_71_80integer
            • pos_81_90integer
            • pos_91_100integer
          • paidobject
            • countinteger
            • estimated_paid_traffic_costinteger
            • etvinteger
            • is_downinteger
            • is_lostinteger
            • is_newinteger
            • is_upinteger
            • pos_1integer
            • pos_11_20integer
            • pos_21_30integer
            • pos_2_3integer
            • pos_31_40integer
            • pos_41_50integer
            • pos_4_10integer
            • pos_51_60integer
            • pos_61_70integer
            • pos_71_80integer
            • pos_81_90integer
            • pos_91_100integer
        • metrics_historyobject
          • 202106object
            • featured_snippetnull
            • local_packnull
            • organicobject
              • countinteger
              • estimated_paid_traffic_costnumber
              • etvnumber
              • is_downinteger
              • is_lostinteger
              • is_newinteger
              • is_upinteger
              • pos_1integer
              • pos_11_20integer
              • pos_21_30integer
              • pos_2_3integer
              • pos_31_40integer
              • pos_41_50integer
              • pos_4_10integer
              • pos_51_60integer
              • pos_61_70integer
              • pos_71_80integer
              • pos_81_90integer
              • pos_91_100integer
            • paidobject
              • countinteger
              • estimated_paid_traffic_costinteger
              • etvinteger
              • is_downinteger
              • is_lostinteger
              • is_newinteger
              • is_upinteger
              • pos_1integer
              • pos_11_20integer
              • pos_21_30integer
              • pos_2_3integer
              • pos_31_40integer
              • pos_41_50integer
              • pos_4_10integer
              • pos_51_60integer
              • pos_61_70integer
              • pos_71_80integer
              • pos_81_90integer
              • pos_91_100integer
          • 202110object
            • featured_snippetnull
            • local_packnull
            • organicobject
              • countinteger
              • estimated_paid_traffic_costnumber
              • etvnumber
              • is_downinteger
              • is_lostinteger
              • is_newinteger
              • is_upinteger
              • pos_1integer
              • pos_11_20integer
              • pos_21_30integer
              • pos_2_3integer
              • pos_31_40integer
              • pos_41_50integer
              • pos_4_10integer
              • pos_51_60integer
              • pos_61_70integer
              • pos_71_80integer
              • pos_81_90integer
              • pos_91_100integer
            • paidobject
              • countinteger
              • estimated_paid_traffic_costinteger
              • etvinteger
              • is_downinteger
              • is_lostinteger
              • is_newinteger
              • is_upinteger
              • pos_1integer
              • pos_11_20integer
              • pos_21_30integer
              • pos_2_3integer
              • pos_31_40integer
              • pos_41_50integer
              • pos_4_10integer
              • pos_51_60integer
              • pos_61_70integer
              • pos_71_80integer
              • pos_81_90integer
              • pos_91_100integer
        • organic_countinteger
        • organic_etvnumber
        • organic_is_lostinteger
        • organic_is_newinteger
        • se_typestring
        • top_categoriesinteger[]
      • items_countinteger
      • language_codestring
      • location_codeinteger
      • se_typestring
      • total_countinteger
    • result_countinteger
    • status_codeinteger
    • status_messagestring
    • timestring
  • tasks_countinteger
  • tasks_errorinteger
  • timestring
  • versionstring

Sellers

SellerPricingRequests · 30dPerformanceAccess
DataForSEOCurrent
DataForSEO — Dataforseo Labs / Google / Domain Metrics By Categories / Live · POST · View API reference
$0.12 base + $0.0012 / result—
—successP50—
Loading...
Selected pricing · DataForSEOUSD
Pricing
$0.12 base + $0.0012 / result

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/dataforseo_labs/google/domain_metrics_by_categories/live
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api.openany.si/v1/agent-apis/dataforseo/v3/dataforseo_labs/google/domain_metrics_by_categories/live' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "category_codes": [
      13418,
      11494
    ],
    "first_date": "2021-06-01",
    "language_code": "en",
    "limit": 3,
    "location_code": 2840,
    "second_date": "2021-10-01"
  }
]'

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 dynamics of change in metrics of domains relevant to the specified product and service categories. You will receive historical ranking data from Google SERPs, along with valuable current and historical domain metrics, such as ETV, impressions ETV, estimated paid traffic cost, the total count of SERPs that contain domains, and more.

minItems: 1 · maxItems: 1

Nested fields and variants

body[] · Array item · object

Nested fields and variants
body[].category_codes array · Required

Parent object: body[]

product and service categories required field The maximum number of categories you can specify: 5 you can download the full list of possible categories
Nested fields and variants

body[].category_codes[] · Array item · integer

body[].correlate boolean · Optional

Parent object: body[]

correlate data with previously obtained datasets optional field default value: true; if you use this parameter, our system will correlate data you obtain now with previously obtained datasets; this parameter is intended to mitigate any inconsistencies that may result from changes to our database; Note: we do not recommend setting correlate to false
body[].etv_max integer · Optional

Parent object: body[]

maximum current organic ETV of the domain optional field if specified, the API will return only domains with organic_etv lesser than the specified value
body[].etv_min integer · Optional

Parent object: body[]

minimum current organic ETV of the domain optional field if specified, the API will return only domains with organic_etv greater than the specified value
body[].filters array · Optional

Parent object: body[]

array of results filtering parameters optional field 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, match, not_match, ilike, not_ilike, like, not_like; you can use the % operator with like and not_like, as well as ilike and not_ilike to match any string of zero or more characters; example: ["metrics_history.202110.organic.pos_1", ">", 15]; for more information about filters, please refer to Dataforseo Labs - Filters or this help center guide
body[].first_date string · Required

Parent object: body[]

first date of comparison period required field first date for which domain metrics will be provided; date format: "yyyy-mm-dd"; example: "2021-06-01"; the list available dates is available through the available history endpoint; Note: first_date cannot be greater than today's date; Also note: the dates specified in first_date and second_date cannot point to the same month of the same year; you can specify the dates in any order: first_date can be greater than second_date and vice versa; minimum date: "2020-10-01"
body[].include_subdomains boolean · Optional

Parent object: body[]

return subdomains in the API response optional field if false, the API response will contain main_domain only; if true, the API will return main_domain plus its subdomains (if available); default value: true
body[].item_types array · Optional

Parent object: body[]

display results by item type optional field indicates the type of search results included in the response; Note: if the item_types array contains item types that are different from the organic object, the results will be ordered by the first item type in the array; you will not be able to sort and filter results by the types of search results not included in the response; possible values: ["organic", "paid", "featured_snippet", "local_pack"]; default value: ["organic", "paid"]
Nested fields and variants

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

body[].language_code string · Optional

Parent object: body[]

unique language identifier required field if you don't specify language_name Note: it is required to specify either language_name or language_code; you can receive the list of available languages with their language_code by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages; example: en
body[].language_name string · Optional

Parent object: body[]

full name of the language required field if you don't specify language_code Note: it is required to specify either language_name or language_code; you can receive the list of available languages with their language_name by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages; example: English
body[].limit integer · Optional

Parent object: body[]

the maximum number of domains in the results array optional field default value: 100; maximum value: 1000

maximum: 1000

body[].location_code integer · Optional

Parent object: body[]

unique location identifier required field if you don't specify location_name Note: it is required to specify either location_name or location_code; you can receive the list of available locations with their location_code by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages; example: 2840
body[].location_name string · Optional

Parent object: body[]

full name of the location required field if you don't specify location_code Note: it is required to specify either location_name or location_code; you can receive the list of available locations with their location_name by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages; example: United Kingdom
body[].offset integer · Optional

Parent object: body[]

offset in the results array of returned domains optional field default value: 0; if you specify the 10 value, the first ten domains in the results array will be omitted and the data will be provided for the successive domains
body[].order_by array · Optional

Parent object: body[]

results sorting rules optional field you can use the same values as in the filters array to sort the results; default rule: ["organic_etv,desc"]; possible sorting types: asc - results will be sorted in ascending order desc - results will be sorted in descending order; you should use a comma to set up a sorting type; example: ["organic_count,desc"]; note that you can set no more than three sorting rules in a single request; you should use a comma to separate several sorting rules; example: ["organic_etv,desc","organic_count,asc"]
Nested fields and variants

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

body[].second_date string · Required

Parent object: body[]

second date of comparison period required field second date for which domain metrics will be provided; date format: "yyyy-mm-dd"; example: "2021-10-01"; the list available dates is available through the available history endpoint; Note: second_date cannot be greater than today's date; Also note: the dates specified in first_date and second_date cannot point to the same month of the same year; you can specify the dates in any order: second_date can be greater than first_date and vice versa; minimum date: "2020-10-01"
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
body[].top_categories_count integer · Optional

Parent object: body[]

number of additional domain categories optional field by using this parameter, you can receive domains relevant to additional categories that are not specified in category_codes above; to learn more about the parameter, please refer to this help center article; by default, top_categories_count is equal to the number of categories specified in the category_codes array; Note: top_categories_count cannot be less than the number of categories in the category_codes array; maximum value: 5

maximum: 5 · format: int64

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.103,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.103,
      "data": {
        "api": "dataforseo_labs",
        "category_codes": [
          13418,
          11494
        ],
        "first_date": "2021-06-01",
        "function": "domain_metrics_by_categories",
        "language_code": "en",
        "limit": 3,
        "location_code": 2840,
        "se_type": "google",
        "second_date": "2021-10-01"
      },
      "id": "03021547-0696-0403-0000-7814b5225608",
      "path": [
        "v3",
        "dataforseo_labs",
        "google",
        "domain_metrics_by_categories",
        "live"
      ],
      "result": [
        {
          "categories": [
            11494,
            13418
          ],
          "items": [
            {
              "domain": "enricospastryshop.com",
              "main_domain": "enricospastryshop.com",
              "metrics_difference": {
                "featured_snippet": null,
                "local_pack": null,
                "organic": {
                  "count": 6,
                  "estimated_paid_traffic_cost": 266.1012032026081,
                  "etv": 161.65143505765496,
                  "is_down": -8,
                  "is_lost": 7,
                  "is_new": 11,
                  "is_up": 6,
                  "pos_1": 1,
                  "pos_11_20": 0,
                  "pos_21_30": -1,
                  "pos_2_3": 1,
                  "pos_31_40": 2,
                  "pos_41_50": 1,
                  "pos_4_10": -1,
                  "pos_51_60": 3,
                  "pos_61_70": 1,
                  "pos_71_80": -1,
                  "pos_81_90": -4,
                  "pos_91_100": 3
                },
                "paid": {
                  "count": 0,
                  "estimated_paid_traffic_cost": 0,
                  "etv": 0,
                  "is_down": 0,
                  "is_lost": 0,
                  "is_new": 0,
                  "is_up": 0,
                  "pos_1": 0,
                  "pos_11_20": 0,
                  "pos_21_30": 0,
                  "pos_2_3": 0,
                  "pos_31_40": 0,
                  "pos_41_50": 0,
                  "pos_4_10": 0,
                  "pos_51_60": 0,
                  "pos_61_70": 0,
                  "pos_71_80": 0,
                  "pos_81_90": 0,
                  "pos_91_100": 0
                }
              },
              "metrics_history": {
                "202106": {
                  "featured_snippet": null,
                  "local_pack": null,
                  "organic": {
                    "count": 41,
                    "estimated_paid_traffic_cost": 69.1921289233835,
                    "etv": 147.2205658582747,
                    "is_down": 15,
                    "is_lost": 12,
                    "is_new": 1,
                    "is_up": 4,
                    "pos_1": 4,
                    "pos_11_20": 4,
                    "pos_21_30": 6,
                    "pos_2_3": 3,
                    "pos_31_40": 1,
                    "pos_41_50": 2,
                    "pos_4_10": 1,
                    "pos_51_60": 4,
                    "pos_61_70": 5,
                    "pos_71_80": 7,
                    "pos_81_90": 4,
                    "pos_91_100": 1
                  },
                  "paid": {
                    "count": 0,
                    "estimated_paid_traffic_cost": 0,
                    "etv": 0,
                    "is_down": 0,
                    "is_lost": 0,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 0,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 0,
                    "pos_71_80": 0,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  }
                },
                "202110": {
                  "featured_snippet": null,
                  "local_pack": null,
                  "organic": {
                    "count": 46,
                    "estimated_paid_traffic_cost": 335.2933321259916,
                    "etv": 308.8720009159297,
                    "is_down": 7,
                    "is_lost": 19,
                    "is_new": 12,
                    "is_up": 11,
                    "pos_1": 4,
                    "pos_11_20": 4,
                    "pos_21_30": 4,
                    "pos_2_3": 4,
                    "pos_31_40": 3,
                    "pos_41_50": 3,
                    "pos_4_10": 0,
                    "pos_51_60": 7,
                    "pos_61_70": 6,
                    "pos_71_80": 6,
                    "pos_81_90": 0,
                    "pos_91_100": 4
                  },
                  "paid": {
                    "count": 0,
                    "estimated_paid_traffic_cost": 0,
                    "etv": 0,
                    "is_down": 0,
                    "is_lost": 0,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 0,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 0,
                    "pos_71_80": 0,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  }
                }
              },
              "organic_count": 58,
              "organic_etv": 1179.6579938028008,
              "organic_is_lost": 11,
              "organic_is_new": 12,
              "se_type": "google",
              "top_categories": [
                11494,
                13418
              ]
            },
            {
              "domain": "expertblogz.com",
              "main_domain": "expertblogz.com",
              "metrics_difference": {
                "featured_snippet": null,
                "local_pack": null,
                "organic": {
                  "count": -5,
                  "estimated_paid_traffic_cost": -261.7570120933071,
                  "etv": 846.4703587682992,
                  "is_down": -4,
                  "is_lost": 8,
                  "is_new": -2,
                  "is_up": -2,
                  "pos_1": -3,
                  "pos_11_20": 0,
                  "pos_21_30": -2,
                  "pos_2_3": -1,
                  "pos_31_40": -1,
                  "pos_41_50": -2,
                  "pos_4_10": 0,
                  "pos_51_60": 1,
                  "pos_61_70": -1,
                  "pos_71_80": 2,
                  "pos_81_90": 1,
                  "pos_91_100": 0
                },
                "paid": {
                  "count": 0,
                  "estimated_paid_traffic_cost": 0,
                  "etv": 0,
                  "is_down": 0,
                  "is_lost": 0,
                  "is_new": 0,
                  "is_up": 0,
                  "pos_1": 0,
                  "pos_11_20": 0,
                  "pos_21_30": 0,
                  "pos_2_3": 0,
                  "pos_31_40": 0,
                  "pos_41_50": 0,
                  "pos_4_10": 0,
                  "pos_51_60": 0,
                  "pos_61_70": 0,
                  "pos_71_80": 0,
                  "pos_81_90": 0,
                  "pos_91_100": 0
                }
              },
              "metrics_history": {
                "202106": {
                  "featured_snippet": null,
                  "local_pack": null,
                  "organic": {
                    "count": 22,
                    "estimated_paid_traffic_cost": 313.0662581565395,
                    "etv": 430.9176690654755,
                    "is_down": 5,
                    "is_lost": 0,
                    "is_new": 2,
                    "is_up": 2,
                    "pos_1": 14,
                    "pos_11_20": 0,
                    "pos_21_30": 2,
                    "pos_2_3": 1,
                    "pos_31_40": 1,
                    "pos_41_50": 2,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 1,
                    "pos_71_80": 1,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  },
                  "paid": {
                    "count": 0,
                    "estimated_paid_traffic_cost": 0,
                    "etv": 0,
                    "is_down": 0,
                    "is_lost": 0,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 0,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 0,
                    "pos_71_80": 0,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  }
                },
                "202110": {
                  "featured_snippet": null,
                  "local_pack": null,
                  "organic": {
                    "count": 17,
                    "estimated_paid_traffic_cost": 51.30924606323242,
                    "etv": 1277.3880278337747,
                    "is_down": 1,
                    "is_lost": 8,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 11,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 1,
                    "pos_61_70": 0,
                    "pos_71_80": 3,
                    "pos_81_90": 1,
                    "pos_91_100": 0
                  },
                  "paid": {
                    "count": 0,
                    "estimated_paid_traffic_cost": 0,
                    "etv": 0,
                    "is_down": 0,
                    "is_lost": 0,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 0,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 0,
                    "pos_71_80": 0,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  }
                }
              },
              "organic_count": 16,
              "organic_etv": 854.9360156022012,
              "organic_is_lost": 2,
              "organic_is_new": 3,
              "se_type": "google",
              "top_categories": [
                11494,
                13418
              ]
            },
            {
              "domain": "bergpartners.com",
              "main_domain": "bergpartners.com",
              "metrics_difference": {
                "featured_snippet": null,
                "local_pack": null,
                "organic": {
                  "count": -7,
                  "estimated_paid_traffic_cost": 2104.03663279918,
                  "etv": 960.46854136078,
                  "is_down": -3,
                  "is_lost": 3,
                  "is_new": -5,
                  "is_up": 19,
                  "pos_1": 0,
                  "pos_11_20": -3,
                  "pos_21_30": -4,
                  "pos_2_3": 1,
                  "pos_31_40": 0,
                  "pos_41_50": -4,
                  "pos_4_10": 1,
                  "pos_51_60": 2,
                  "pos_61_70": 0,
                  "pos_71_80": 0,
                  "pos_81_90": 0,
                  "pos_91_100": -1
                },
                "paid": {
                  "count": 0,
                  "estimated_paid_traffic_cost": 0,
                  "etv": 0,
                  "is_down": 0,
                  "is_lost": 0,
                  "is_new": 0,
                  "is_up": 0,
                  "pos_1": 0,
                  "pos_11_20": 0,
                  "pos_21_30": 0,
                  "pos_2_3": 0,
                  "pos_31_40": 0,
                  "pos_41_50": 0,
                  "pos_4_10": 0,
                  "pos_51_60": 0,
                  "pos_61_70": 0,
                  "pos_71_80": 0,
                  "pos_81_90": 0,
                  "pos_91_100": 0
                }
              },
              "metrics_history": {
                "202106": {
                  "featured_snippet": null,
                  "local_pack": null,
                  "organic": {
                    "count": 45,
                    "estimated_paid_traffic_cost": 2.4893027277572437,
                    "etv": 6.312458390981554,
                    "is_down": 14,
                    "is_lost": 12,
                    "is_new": 10,
                    "is_up": 2,
                    "pos_1": 2,
                    "pos_11_20": 4,
                    "pos_21_30": 5,
                    "pos_2_3": 0,
                    "pos_31_40": 5,
                    "pos_41_50": 11,
                    "pos_4_10": 0,
                    "pos_51_60": 5,
                    "pos_61_70": 3,
                    "pos_71_80": 2,
                    "pos_81_90": 6,
                    "pos_91_100": 4
                  },
                  "paid": {
                    "count": 0,
                    "estimated_paid_traffic_cost": 0,
                    "etv": 0,
                    "is_down": 0,
                    "is_lost": 0,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 0,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 0,
                    "pos_71_80": 0,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  }
                },
                "202110": {
                  "featured_snippet": null,
                  "local_pack": null,
                  "organic": {
                    "count": 38,
                    "estimated_paid_traffic_cost": 2106.5259355269372,
                    "etv": 966.7809997517616,
                    "is_down": 11,
                    "is_lost": 16,
                    "is_new": 5,
                    "is_up": 22,
                    "pos_1": 2,
                    "pos_11_20": 1,
                    "pos_21_30": 1,
                    "pos_2_3": 1,
                    "pos_31_40": 4,
                    "pos_41_50": 7,
                    "pos_4_10": 1,
                    "pos_51_60": 7,
                    "pos_61_70": 3,
                    "pos_71_80": 2,
                    "pos_81_90": 6,
                    "pos_91_100": 3
                  },
                  "paid": {
                    "count": 0,
                    "estimated_paid_traffic_cost": 0,
                    "etv": 0,
                    "is_down": 0,
                    "is_lost": 0,
                    "is_new": 0,
                    "is_up": 0,
                    "pos_1": 0,
                    "pos_11_20": 0,
                    "pos_21_30": 0,
                    "pos_2_3": 0,
                    "pos_31_40": 0,
                    "pos_41_50": 0,
                    "pos_4_10": 0,
                    "pos_51_60": 0,
                    "pos_61_70": 0,
                    "pos_71_80": 0,
                    "pos_81_90": 0,
                    "pos_91_100": 0
                  }
                }
              },
              "organic_count": 38,
              "organic_etv": 802.8389475755394,
              "organic_is_lost": 10,
              "organic_is_new": 7,
              "se_type": "google",
              "top_categories": [
                11494,
                13418
              ]
            }
          ],
          "items_count": 3,
          "language_code": "en",
          "location_code": 2840,
          "se_type": "google",
          "total_count": 1131
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "1.8132 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "1.8991 sec.",
  "version": "0.1.20220216"
}

Composite rule pricing

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

Base fee: $0.120000. 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
本次返回结果$0.001200 / resultResponse · /tasks/0/result/0/items_count · Numeric valueAlways1000 result · Decimal places: 0

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

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 — Dataforseo Labs / Google / Domain Metrics By Categories / Live

Retrieve labs Google Domain Metrics By Categories Live with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it for search visibility research or technical SEO.
## Available implementations
DataForSEO · DataForSEO — Dataforseo Labs / Google / Domain Metrics By Categories / Live: https://openany.si/markets/apis/capabilities/dataforseo-dataforseo-labs-google-domain-metrics-by-categories-live?offering=5bdb0792-cb0a-46cf-b9df-ae021ad029e9 · $0.12 base + $0.0012 / result

## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/dataforseo-dataforseo-labs-google-domain-metrics-by-categories-live
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/dataforseo_labs/google/domain_metrics_by_categories/live
Price: $0.12 base + $0.0012 / result
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/dataforseo_labs/google/domain_metrics_by_categories/live' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "category_codes": [
      13418,
      11494
    ],
    "first_date": "2021-06-01",
    "language_code": "en",
    "limit": 3,
    "location_code": 2840,
    "second_date": "2021-10-01"
  }
]'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "DataForSEO — Dataforseo Labs / Google / Domain Metrics By Categories / Live",
  "endpoint": "https://api.openany.si/v1/agent-apis/dataforseo/v3/dataforseo_labs/google/domain_metrics_by_categories/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 dynamics of change in metrics of domains relevant to the specified product and service categories. You will receive historical ranking data from Google SERPs, along with valuable current and historical domain metrics, such as ETV, impressions ETV, estimated paid traffic cost, the total count of SERPs that contain domains, and more.",
      "json_schema": {
        "example": [
          {
            "category_codes": [
              "13418",
              "11494"
            ],
            "first_date": "2021-06-01",
            "language_code": "en",
            "limit": 3,
            "location_code": 2840,
            "second_date": "2021-10-01"
          }
        ],
        "items": {
          "example": [
            {
              "category_codes": [
                "13418",
                "11494"
              ],
              "first_date": "2021-06-01",
              "language_code": "en",
              "limit": 3,
              "location_code": 2840,
              "second_date": "2021-10-01"
            }
          ],
          "nullable": true,
          "properties": {
            "category_codes": {
              "description": "product and service categories required field The maximum number of categories you can specify: 5 you can download the full list of possible categories",
              "items": {
                "type": "integer",
                "x-schema-origin": "official_endpoint_json_request_example"
              },
              "type": "array",
              "x-required-status": "required",
              "x-schema-origin": "official_prose_and_json_example_normalized"
            },
            "correlate": {
              "default": true,
              "description": "correlate data with previously obtained datasets optional field default value: true; if you use this parameter, our system will correlate data you obtain now with previously obtained datasets; this parameter is intended to mitigate any inconsistencies that may result from changes to our database; Note: we do not recommend setting correlate to false",
              "nullable": true,
              "type": "boolean",
              "x-constraints-from-official-description": [
                "default"
              ],
              "x-original-openapi-description": "correlate data with previously obtained datasets optional field default value: true ; if you use this parameter, our system will correlate data you obtain now with previously obtained datasets; this parameter is intended to mitigate any inconsistencies that may result from changes to our database; Note: we do not recommend setting correlate to false",
              "x-required-status": "optional"
            },
            "etv_max": {
              "description": "maximum current organic ETV of the domain optional field if specified, the API will return only domains with organic_etv lesser than the specified value",
              "nullable": true,
              "type": "integer",
              "x-required-status": "optional"
            },
            "etv_min": {
              "description": "minimum current organic ETV of the domain optional field if specified, the API will return only domains with organic_etv greater than the specified value",
              "nullable": true,
              "type": "integer",
              "x-required-status": "optional"
            },
            "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": "array of results filtering parameters optional field 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, match, not_match, ilike, not_ilike, like, not_like; you can use the % operator with like and not_like, as well as ilike and not_ilike to match any string of zero or more characters; example: [\"metrics_history.202110.organic.pos_1\", \">\", 15]; for more information about filters, please refer to Dataforseo Labs - Filters or this help center guide",
              "nullable": true,
              "type": "array",
              "x-original-openapi-description": "array of results filtering parameters optional field 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 , match , not_match , ilike , not_ilike , like , not_like ; you can use the % operator with like and not_like , as well as ilike and not_ilike to match any string of zero or more characters; example: [\"metrics_history.202110.organic.pos_1\", \">\", 15] ; for more information about filters, please refer to Dataforseo Labs - Filters or this help center guide",
              "x-required-status": "optional",
              "x-schema-origin": "official_filter_prose_normalized"
            },
            "first_date": {
              "description": "first date of comparison period required field first date for which domain metrics will be provided; date format: \"yyyy-mm-dd\"; example: \"2021-06-01\"; the list available dates is available through the available history endpoint; Note: first_date cannot be greater than today's date; Also note: the dates specified in first_date and second_date cannot point to the same month of the same year; you can specify the dates in any order: first_date can be greater than second_date and vice versa; minimum date: \"2020-10-01\"",
              "type": "string",
              "x-original-openapi-description": "first date of comparison period required field first date for which domain metrics will be provided; date format: \"yyyy-mm-dd\" ; example: \"2021-06-01\" ; the list available dates is available through the available history endpoint; Note: first_date cannot be greater than today's date; Also note: the dates specified in first_date and second_date cannot point to the same month of the same year; you can specify the dates in any order: first_date can be greater than second_date and vice versa; minimum date: \"2020-10-01\"",
              "x-required-status": "required"
            },
            "include_subdomains": {
              "default": true,
              "description": "return subdomains in the API response optional field if false, the API response will contain main_domain only; if true, the API will return main_domain plus its subdomains (if available); default value: true",
              "nullable": true,
              "type": "boolean",
              "x-constraints-from-official-description": [
                "default"
              ],
              "x-original-openapi-description": "return subdomains in the API response optional field if false , the API response will contain main_domain only; if true , the API will return main_domain plus its subdomains (if available); default value: true",
              "x-required-status": "optional"
            },
            "item_types": {
              "description": "display results by item type optional field indicates the type of search results included in the response; Note: if the item_types array contains item types that are different from the organic object, the results will be ordered by the first item type in the array; you will not be able to sort and filter results by the types of search results not included in the response; possible values: [\"organic\", \"paid\", \"featured_snippet\", \"local_pack\"]; default value: [\"organic\", \"paid\"]",
              "items": {
                "type": "string"
              },
              "nullable": true,
              "type": "array",
              "x-original-openapi-description": "display results by item type optional field indicates the type of search results included in the response; Note: if the item_types array contains item types that are different from the organic object, the results will be ordered by the first item type in the array; you will not be able to sort and filter results by the types of search results not included in the response; possible values: [\"organic\", \"paid\", \"featured_snippet\", \"local_pack\"] ; default value: [\"organic\", \"paid\"]",
              "x-required-status": "optional"
            },
            "language_code": {
              "description": "unique language identifier required field if you don't specify language_name Note: it is required to specify either language_name or language_code; you can receive the list of available languages with their language_code by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages; example: en",
              "nullable": true,
              "type": "string",
              "x-original-openapi-description": "unique language identifier required field if you don't specify language_name Note: it is required to specify either language_name or language_code ; you can receive the list of available languages with their language_code by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages ; example: en",
              "x-required-status": "conditional"
            },
            "language_name": {
              "description": "full name of the language required field if you don't specify language_code Note: it is required to specify either language_name or language_code; you can receive the list of available languages with their language_name by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages; example: English",
              "type": "string",
              "x-original-openapi-description": "full name of the language required field if you don't specify language_code Note: it is required to specify either language_name or language_code ; you can receive the list of available languages with their language_name by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages ; example: English",
              "x-required-status": "conditional"
            },
            "limit": {
              "default": 100,
              "description": "the maximum number of domains in the results array optional field default value: 100; maximum value: 1000",
              "maximum": 1000,
              "nullable": true,
              "type": "integer",
              "x-constraints-from-official-description": [
                "default",
                "maximum"
              ],
              "x-original-openapi-description": "the maximum number of domains in the results array optional field default value: 100 ; maximum value: 1000",
              "x-required-status": "optional"
            },
            "location_code": {
              "description": "unique location identifier required field if you don't specify location_name Note: it is required to specify either location_name or location_code; you can receive the list of available locations with their location_code by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages; example: 2840",
              "type": "integer",
              "x-original-openapi-description": "unique location identifier required field if you don't specify location_name Note: it is required to specify either location_name or location_code ; you can receive the list of available locations with their location_code by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages ; example: 2840",
              "x-required-status": "conditional"
            },
            "location_name": {
              "description": "full name of the location required field if you don't specify location_code Note: it is required to specify either location_name or location_code; you can receive the list of available locations with their location_name by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages; example: United Kingdom",
              "type": "string",
              "x-original-openapi-description": "full name of the location required field if you don't specify location_code Note: it is required to specify either location_name or location_code ; you can receive the list of available locations with their location_name by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages ; example: United Kingdom",
              "x-required-status": "conditional"
            },
            "offset": {
              "default": 0,
              "description": "offset in the results array of returned domains optional field default value: 0; if you specify the 10 value, the first ten domains in the results array will be omitted and the data will be provided for the successive domains",
              "nullable": true,
              "type": "integer",
              "x-constraints-from-official-description": [
                "default"
              ],
              "x-original-openapi-description": "offset in the results array of returned domains optional field default value: 0 ; if you specify the 10 value, the first ten domains in the results array will be omitted and the data will be provided for the successive domains",
              "x-required-status": "optional"
            },
            "order_by": {
              "description": "results sorting rules optional field you can use the same values as in the filters array to sort the results; default rule: [\"organic_etv,desc\"]; possible sorting types: asc - results will be sorted in ascending order desc - results will be sorted in descending order; you should use a comma to set up a sorting type; example: [\"organic_count,desc\"]; note that you can set no more than three sorting rules in a single request; you should use a comma to separate several sorting rules; example: [\"organic_etv,desc\",\"organic_count,asc\"]",
              "items": {
                "type": "string"
              },
              "nullable": true,
              "type": "array",
              "x-original-openapi-description": "results sorting rules optional field you can use the same values as in the filters array to sort the results; default rule: [\"organic_etv,desc\"] ; possible sorting types: asc - results will be sorted in ascending order desc - results will be sorted in descending order; you should use a comma to set up a sorting type; example: [\"organic_count,desc\"] ; note that you can set no more than three sorting rules in a single request ; you should use a comma to separate several sorting rules; example: [\"organic_etv,desc\",\"organic_count,asc\"]",
              "x-required-status": "optional"
            },
            "second_date": {
              "description": "second date of comparison period required field second date for which domain metrics will be provided; date format: \"yyyy-mm-dd\"; example: \"2021-10-01\"; the list available dates is available through the available history endpoint; Note: second_date cannot be greater than today's date; Also note: the dates specified in first_date and second_date cannot point to the same month of the same year; you can specify the dates in any order: second_date can be greater than first_date and vice versa; minimum date: \"2020-10-01\"",
              "type": "string",
              "x-original-openapi-description": "second date of comparison period required field second date for which domain metrics will be provided; date format: \"yyyy-mm-dd\" ; example: \"2021-10-01\" ; the list available dates is available through the available history endpoint; Note: second_date cannot be greater than today's date; Also note: the dates specified in first_date and second_date cannot point to the same month of the same year; you can specify the dates in any order: second_date can be greater than first_date and vice versa; minimum date: \"2020-10-01\"",
              "x-required-status": "required"
            },
            "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-original-openapi-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",
              "x-required-status": "optional"
            },
            "top_categories_count": {
              "description": "number of additional domain categories optional field by using this parameter, you can receive domains relevant to additional categories that are not specified in category_codes above; to learn more about the parameter, please refer to this help center article; by default, top_categories_count is equal to the number of categories specified in the category_codes array; Note: top_categories_count cannot be less than the number of categories in the category_codes array; maximum value: 5",
              "format": "int64",
              "maximum": 5,
              "nullable": true,
              "type": "integer",
              "x-constraints-from-official-description": [
                "maximum"
              ],
              "x-required-status": "optional"
            }
          },
          "required": [
            "category_codes",
            "first_date",
            "second_date"
          ],
          "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": "120000",
      "max_cost_micro_usd": "1320000",
      "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"
        },
        {
          "id": "returned_results",
          "label": "本次返回结果",
          "max_quantity": "1000",
          "measure": "value",
          "pointer": "/tasks/0/result/0/items_count",
          "price_micro_usd": "1200",
          "quantity_scale": 0,
          "source": "response",
          "unit": "result",
          "unit_quantity": "1"
        }
      ],
      "rounding": "ceil",
      "variants": []
    }
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Official example · 官方历史成对样例(未运行) (HTTP assumed)",
      "request": {
        "body": [
          {
            "category_codes": [
              13418,
              11494
            ],
            "first_date": "2021-06-01",
            "language_code": "en",
            "limit": 3,
            "location_code": 2840,
            "second_date": "2021-10-01"
          }
        ],
        "headers": {},
        "path": {},
        "query": {}
      },
      "response_body": {
        "cost": 0.103,
        "status_code": 20000,
        "status_message": "Ok.",
        "tasks": [
          {
            "cost": 0.103,
            "data": {
              "api": "dataforseo_labs",
              "category_codes": [
                13418,
                11494
              ],
              "first_date": "2021-06-01",
              "function": "domain_metrics_by_categories",
              "language_code": "en",
              "limit": 3,
              "location_code": 2840,
              "se_type": "google",
              "second_date": "2021-10-01"
            },
            "id": "03021547-0696-0403-0000-7814b5225608",
            "path": [
              "v3",
              "dataforseo_labs",
              "google",
              "domain_metrics_by_categories",
              "live"
            ],
            "result": [
              {
                "categories": [
                  11494,
                  13418
                ],
                "items": [
                  {
                    "domain": "enricospastryshop.com",
                    "main_domain": "enricospastryshop.com",
                    "metrics_difference": {
                      "featured_snippet": null,
                      "local_pack": null,
                      "organic": {
                        "count": 6,
                        "estimated_paid_traffic_cost": 266.1012032026081,
                        "etv": 161.65143505765496,
                        "is_down": -8,
                        "is_lost": 7,
                        "is_new": 11,
                        "is_up": 6,
                        "pos_1": 1,
                        "pos_11_20": 0,
                        "pos_21_30": -1,
                        "pos_2_3": 1,
                        "pos_31_40": 2,
                        "pos_41_50": 1,
                        "pos_4_10": -1,
                        "pos_51_60": 3,
                        "pos_61_70": 1,
                        "pos_71_80": -1,
                        "pos_81_90": -4,
                        "pos_91_100": 3
                      },
                      "paid": {
                        "count": 0,
                        "estimated_paid_traffic_cost": 0,
                        "etv": 0,
                        "is_down": 0,
                        "is_lost": 0,
                        "is_new": 0,
                        "is_up": 0,
                        "pos_1": 0,
                        "pos_11_20": 0,
                        "pos_21_30": 0,
                        "pos_2_3": 0,
                        "pos_31_40": 0,
                        "pos_41_50": 0,
                        "pos_4_10": 0,
                        "pos_51_60": 0,
                        "pos_61_70": 0,
                        "pos_71_80": 0,
                        "pos_81_90": 0,
                        "pos_91_100": 0
                      }
                    },
                    "metrics_history": {
                      "202106": {
                        "featured_snippet": null,
                        "local_pack": null,
                        "organic": {
                          "count": 41,
                          "estimated_paid_traffic_cost": 69.1921289233835,
                          "etv": 147.2205658582747,
                          "is_down": 15,
                          "is_lost": 12,
                          "is_new": 1,
                          "is_up": 4,
                          "pos_1": 4,
                          "pos_11_20": 4,
                          "pos_21_30": 6,
                          "pos_2_3": 3,
                          "pos_31_40": 1,
                          "pos_41_50": 2,
                          "pos_4_10": 1,
                          "pos_51_60": 4,
                          "pos_61_70": 5,
                          "pos_71_80": 7,
                          "pos_81_90": 4,
                          "pos_91_100": 1
                        },
                        "paid": {
                          "count": 0,
                          "estimated_paid_traffic_cost": 0,
                          "etv": 0,
                          "is_down": 0,
                          "is_lost": 0,
                          "is_new": 0,
                          "is_up": 0,
                          "pos_1": 0,
                          "pos_11_20": 0,
                          "pos_21_30": 0,
                          "pos_2_3": 0,
                          "pos_31_40": 0,
                          "pos_41_50": 0,
                          "pos_4_10": 0,
                          "pos_51_60": 0,
                          "pos_61_70": 0,
                          "pos_71_80": 0,
                          "pos_81_90": 0,
                          "pos_91_100": 0
                        }
                      },
                      "202110": {
                        "featured_snippet": null,
                        "local_pack": null,
                        "organic": {
                          "count": 46,
                          "estimated_paid_traffic_cost": 335.2933321259916,
                          "etv": 308.8720009159297,
                          "is_down": 7,
                          "is_lost": 19,
                          "is_new": 12,
                          "is_up": 11,
                          "pos_1": 4,
                          "pos_11_20": 4,
                          "pos_21_30": 4,
                          "pos_2_3": 4,
                          "pos_31_40": 3,
                          "pos_41_50": 3,
                          "pos_4_10": 0,
                          "pos_51_60": 7,
                          "pos_61_70": 6,
                          "pos_71_80": 6,
                          "pos_81_90": 0,
                          "pos_91_100": 4
                        },
                        "paid": {
                          "count": 0,
                          "estimated_paid_traffic_cost": 0,
                          "etv": 0,
                          "is_down": 0,
                          "is_lost": 0,
                          "is_new": 0,
                          "is_up": 0,
                          "pos_1": 0,
                          "pos_11_20": 0,
                          "pos_21_30": 0,
                          "pos_2_3": 0,
                          "pos_31_40": 0,
                          "pos_41_50": 0,
                          "pos_4_10": 0,
                          "pos_51_60": 0,
                          "pos_61_70": 0,
                          "pos_71_80": 0,
                          "pos_81_90": 0,
                          "pos_91_100": 0
                        }
                      }
                    },
                    "organic_count": 58,
                    "organic_etv": 1179.6579938028008,
                    "organic_is_lost": 11,
                    "organic_is_new": 12,
                    "se_type": "google",
                    "top_categories": [
                      11494,
                      13418
                    ]
                  },
                  {
                    "domain": "expertblogz.com",
                    "main_domain": "expertblogz.com",
                    "metrics_difference": {
                      "featured_snippet": null,
                      "local_pack": null,
                      "organic": {
                        "count": -5,
                        "estimated_paid_traffic_cost": -261.7570120933071,
                        "etv": 846.4703587682992,
                        "is_down": -4,
                        "is_lost": 8,
                        "is_new": -2,
                        "is_up": -2,
                        "pos_1": -3,
                        "pos_11_20": 0,
                        "pos_21_30": -2,
                        "pos_2_3": -1,
                        "pos_31_40": -1,
                        "pos_41_50": -2,
                        "pos_4_10": 0,
                        "pos_51_60": 1,
                        "pos_61_70": -1,
                        "pos_71_80": 2,
                        "pos_81_90": 1,
                        "pos_91_100": 0
                      },
                      "paid": {
                        "count": 0,
                        "estimated_paid_traffic_cost": 0,
                        "etv": 0,
                        "is_down": 0,
                        "is_lost": 0,
                        "is_new": 0,
                        "is_up": 0,
                        "pos_1": 0,
                        "pos_11_20": 0,
                        "pos_21_30": 0,
                        "pos_2_3": 0,
                        "pos_31_40": 0,
                        "pos_41_50": 0,
                        "pos_4_10": 0,
                        "pos_51_60": 0,
                        "pos_61_70": 0,
                        "pos_71_80": 0,
                        "pos_81_90": 0,
                        "pos_91_100": 0
                      }
                    },
                    "metrics_history": {
                      "202106": {
                        "featured_snippet": null,
                        "local_pack": null,
                        "organic": {
                          "count": 22,
                          "estimated_paid_traffic_cost": 313.0662581565395,
                          "etv": 430.9176690654755,
                          "is_down": 5,
                          "is_lost": 0,
                          "is_new": 2,
                          "is_up": 2,
                          "pos_1": 14,
                          "pos_11_20": 0,
                          "pos_21_30": 2,
                          "pos_2_3": 1,
                          "pos_31_40": 1,
                          "pos_41_50": 2,
                          "pos_4_10": 0,
                          "pos_51_60": 0,
                          "pos_61_70": 1,
                          "pos_71_80": 1,
                          "pos_81_90": 0,
                          "pos_91_100": 0
                        },
                        "paid": {
                          "count": 0,
                          "estimated_paid_traffic_cost": 0,
                          "etv": 0,
                          "is_down": 0,
                          "is_lost": 0,
                          "is_new": 0,
                          "is_up": 0,
                          "pos_1": 0,
                          "pos_11_20": 0,
                          "pos_21_30": 0,
                          "pos_2_3": 0,
                          "pos_31_40": 0,
                          "pos_41_50": 0,
                          "pos_4_10": 0,
                          "pos_51_60": 0,
                          "pos_61_70": 0,
                          "pos_71_80": 0,
                          "pos_81_90": 0,
                          "pos_91_100": 0
                        }
                      },
                      "202110": {
                        "featured_snippet": null,
                        "local_pack": null,
                        "organic": {
                          "count": 17,
                          "estimated_paid_traffic_cost": 51.30924606323242,
                          "etv": 1277.3880278337747,
                          "is_down": 1,
                          "is_lost": 8,
                          "is_new": 0,
                          "is_up": 0,
                          "pos_1": 11,
                          "pos_11_20": 0,
                          "pos_21_30": 0,
                          "pos_2_3": 0,
                          "pos_31_40": 0,
                          "pos_41_50": 0,
                          "pos_4_10": 0,
                          "pos_51_60": 1,
                          "pos_61_70": 0,
                          "pos_71_80": 3,
                          "pos_81_90": 1,
                          "pos_91_100": 0
                        },
                        "paid": {
                          "count": 0,
                          "estimated_paid_traffic_cost": 0,
                          "etv": 0,
                          "is_down": 0,
                          "is_lost": 0,
                          "is_new": 0,
                          "is_up": 0,
                          "pos_1": 0,
                          "pos_11_20": 0,
                          "pos_21_30": 0,
                          "pos_2_3": 0,
                          "pos_31_40": 0,
                          "pos_41_50": 0,
                          "pos_4_10": 0,
                          "pos_51_60": 0,
                          "pos_61_70": 0,
                          "pos_71_80": 0,
                          "pos_81_90": 0,
                          "pos_91_100": 0
                        }
                      }
                    },
                    "organic_count": 16,
                    "organic_etv": 854.9360156022012,
                    "organic_is_lost": 2,
                    "organic_is_new": 3,
                    "se_type": "google",
                    "top_categories": [
                      11494,
                      13418
                    ]
                  },
                  {
                    "domain": "bergpartners.com",
                    "main_domain": "bergpartners.com",
                    "metrics_difference": {
                      "featured_snippet": null,
                      "local_pack": null,
                      "organic": {
                        "count": -7,
                        "estimated_paid_traffic_cost": 2104.03663279918,
                        "etv": 960.46854136078,
                        "is_down": -3,
                        "is_lost": 3,
                        "is_new": -5,
                        "is_up": 19,
                        "pos_1": 0,
                        "pos_11_20": -3,
                        "pos_21_30": -4,
                        "pos_2_3": 1,
                        "pos_31_40": 0,
                        "pos_41_50": -4,
                        "pos_4_10": 1,
                        "pos_51_60": 2,
                        "pos_61_70": 0,
                        "pos_71_80": 0,
                        "pos_81_90": 0,
                        "pos_91_100": -1
                      },
                      "paid": {
                        "count": 0,
                        "estimated_paid_traffic_cost": 0,
                        "etv": 0,
                        "is_down": 0,
                        "is_lost": 0,
                        "is_new": 0,
                        "is_up": 0,
                        "pos_1": 0,
                        "pos_11_20": 0,
                        "pos_21_30": 0,
                        "pos_2_3": 0,
                        "pos_31_40": 0,
                        "pos_41_50": 0,
                        "pos_4_10": 0,
                        "pos_51_60": 0,
                        "pos_61_70": 0,
                        "pos_71_80": 0,
                        "pos_81_90": 0,
                        "pos_91_100": 0
                      }
                    },
                    "metrics_history": {
                      "202106": {
                        "featured_snippet": null,
                        "local_pack": null,
                        "organic": {
                          "count": 45,
                          "estimated_paid_traffic_cost": 2.4893027277572437,
                          "etv": 6.312458390981554,
                          "is_down": 14,
                          "is_lost": 12,
                          "is_new": 10,
                          "is_up": 2,
                          "pos_1": 2,
                          "pos_11_20": 4,
                          "pos_21_30": 5,
                          "pos_2_3": 0,
                          "pos_31_40": 5,
                          "pos_41_50": 11,
                          "pos_4_10": 0,
                          "pos_51_60": 5,
                          "pos_61_70": 3,
                          "pos_71_80": 2,
                          "pos_81_90": 6,
                          "pos_91_100": 4
                        },
                        "paid": {
                          "count": 0,
                          "estimated_paid_traffic_cost": 0,
                          "etv": 0,
                          "is_down": 0,
                          "is_lost": 0,
                          "is_new": 0,
                          "is_up": 0,
                          "pos_1": 0,
                          "pos_11_20": 0,
                          "pos_21_30": 0,
                          "pos_2_3": 0,
                          "pos_31_40": 0,
                          "pos_41_50": 0,
                          "pos_4_10": 0,
                          "pos_51_60": 0,
                          "pos_61_70": 0,
                          "pos_71_80": 0,
                          "pos_81_90": 0,
                          "pos_91_100": 0
                        }
                      },
                      "202110": {
                        "featured_snippet": null,
                        "local_pack": null,
                        "organic": {
                          "count": 38,
                          "estimated_paid_traffic_cost": 2106.5259355269372,
                          "etv": 966.7809997517616,
                          "is_down": 11,
                          "is_lost": 16,
                          "is_new": 5,
                          "is_up": 22,
                          "pos_1": 2,
                          "pos_11_20": 1,
                          "pos_21_30": 1,
                          "pos_2_3": 1,
                          "pos_31_40": 4,
                          "pos_41_50": 7,
                          "pos_4_10": 1,
                          "pos_51_60": 7,
                          "pos_61_70": 3,
                          "pos_71_80": 2,
                          "pos_81_90": 6,
                          "pos_91_100": 3
                        },
                        "paid": {
                          "count": 0,
                          "estimated_paid_traffic_cost": 0,
                          "etv": 0,
                          "is_down": 0,
                          "is_lost": 0,
                          "is_new": 0,
                          "is_up": 0,
                          "pos_1": 0,
                          "pos_11_20": 0,
                          "pos_21_30": 0,
                          "pos_2_3": 0,
                          "pos_31_40": 0,
                          "pos_41_50": 0,
                          "pos_4_10": 0,
                          "pos_51_60": 0,
                          "pos_61_70": 0,
                          "pos_71_80": 0,
                          "pos_81_90": 0,
                          "pos_91_100": 0
                        }
                      }
                    },
                    "organic_count": 38,
                    "organic_etv": 802.8389475755394,
                    "organic_is_lost": 10,
                    "organic_is_new": 7,
                    "se_type": "google",
                    "top_categories": [
                      11494,
                      13418
                    ]
                  }
                ],
                "items_count": 3,
                "language_code": "en",
                "location_code": 2840,
                "se_type": "google",
                "total_count": 1131
              }
            ],
            "result_count": 1,
            "status_code": 20000,
            "status_message": "Ok.",
            "time": "1.8132 sec."
          }
        ],
        "tasks_count": 1,
        "tasks_error": 0,
        "time": "1.8991 sec.",
        "version": "0.1.20220216"
      }
    }
  ]
}
```

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 dynamics of change in metrics of domains relevant to the specified product and service categories. You will receive historical ranking data from Google SERPs, along with valuable current and historical domain metrics, such as ETV, impressions ETV, estimated paid traffic cost, the total count of SERPs that contain domains, and more.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/dataforseo/v3/dataforseo_labs/google/domain_metrics_by_categories/live' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '[
      {
        "category_codes": [
          13418,
          11494
        ],
        "first_date": "2021-06-01",
        "language_code": "en",
        "limit": 3,
        "location_code": 2840,
        "second_date": "2021-10-01"
      }
    ]'
  3. Check the response

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

    Sample response
    {
      "cost": 0.103,
      "status_code": 20000,
      "status_message": "Ok.",
      "tasks": [
        {
          "cost": 0.103,
          "data": {
            "api": "dataforseo_labs",
            "category_codes": [
              13418,
              11494
            ],
            "first_date": "2021-06-01",
            "function": "domain_metrics_by_categories",
            "language_code": "en",
            "limit": 3,
            "location_code": 2840,
            "se_type": "google",
            "second_date": "2021-10-01"
          },
          "id": "03021547-0696-0403-0000-7814b5225608",
          "path": [
            "v3",
            "dataforseo_labs",
            "google",
            "domain_metrics_by_categories",
            "live"
          ],
          "result": [
            {
              "categories": [
                11494,
                13418
              ],
              "items": [
                {
                  "domain": "enricospastryshop.com",
                  "main_domain": "enricospastryshop.com",
                  "metrics_difference": {
                    "featured_snippet": null,
                    "local_pack": null,
                    "organic": {
                      "count": 6,
                      "estimated_paid_traffic_cost": 266.1012032026081,
                      "etv": 161.65143505765496,
                      "is_down": -8,
                      "is_lost": 7,
                      "is_new": 11,
                      "is_up": 6,
                      "pos_1": 1,
                      "pos_11_20": 0,
                      "pos_21_30": -1,
                      "pos_2_3": 1,
                      "pos_31_40": 2,
                      "pos_41_50": 1,
                      "pos_4_10": -1,
                      "pos_51_60": 3,
                      "pos_61_70": 1,
                      "pos_71_80": -1,
                      "pos_81_90": -4,
                      "pos_91_100": 3
                    },
                    "paid": {
                      "count": 0,
                      "estimated_paid_traffic_cost": 0,
                      "etv": 0,
                      "is_down": 0,
                      "is_lost": 0,
                      "is_new": 0,
                      "is_up": 0,
                      "pos_1": 0,
                      "pos_11_20": 0,
                      "pos_21_30": 0,
                      "pos_2_3": 0,
                      "pos_31_40": 0,
                      "pos_41_50": 0,
                      "pos_4_10": 0,
                      "pos_51_60": 0,
                      "pos_61_70": 0,
                      "pos_71_80": 0,
                      "pos_81_90": 0,
                      "pos_91_100": 0
                    }
                  },
                  "metrics_history": {
                    "202106": {
                      "featured_snippet": null,
                      "local_pack": null,
                      "organic": {
                        "count": 41,
                        "estimated_paid_traffic_cost": 69.1921289233835,
                        "etv": 147.2205658582747,
                        "is_down": 15,
                        "is_lost": 12,
                        "is_new": 1,
                        "is_up": 4,
                        "pos_1": 4,
                        "pos_11_20": 4,
                        "pos_21_30": 6,
                        "pos_2_3": 3,
                        "pos_31_40": 1,
                        "pos_41_50": 2,
                        "pos_4_10": 1,
                        "pos_51_60": 4,
                        "pos_61_70": 5,
                        "pos_71_80": 7,
                        "pos_81_90": 4,
                        "pos_91_100": 1
                      },
                      "paid": {
                        "count": 0,
                        "estimated_paid_traffic_cost": 0,
                        "etv": 0,
                        "is_down": 0,
                        "is_lost": 0,
                        "is_new": 0,
                        "is_up": 0,
                        "pos_1": 0,
                        "pos_11_20": 0,
                        "pos_21_30": 0,
                        "pos_2_3": 0,
                        "pos_31_40": 0,
                        "pos_41_50": 0,
                        "pos_4_10": 0,
                        "pos_51_60": 0,
                        "pos_61_70": 0,
                        "pos_71_80": 0,
                        "pos_81_90": 0,
                        "pos_91_100": 0
                      }
                    },
                    "202110": {
                      "featured_snippet": null,
                      "local_pack": null,
                      "organic": {
                        "count": 46,
                        "estimated_paid_traffic_cost": 335.2933321259916,
                        "etv": 308.8720009159297,
                        "is_down": 7,
                        "is_lost": 19,
                        "is_new": 12,
                        "is_up": 11,
                        "pos_1": 4,
                        "pos_11_20": 4,
                        "pos_21_30": 4,
                        "pos_2_3": 4,
                        "pos_31_40": 3,
                        "pos_41_50": 3,
                        "pos_4_10": 0,
                        "pos_51_60": 7,
                        "pos_61_70": 6,
                        "pos_71_80": 6,
                        "pos_81_90": 0,
                        "pos_91_100": 4
                      },
                      "paid": {
                        "count": 0,
                        "estimated_paid_traffic_cost": 0,
                        "etv": 0,
                        "is_down": 0,
                        "is_lost": 0,
                        "is_new": 0,
                        "is_up": 0,
                        "pos_1": 0,
                        "pos_11_20": 0,
                        "pos_21_30": 0,
                        "pos_2_3": 0,
                        "pos_31_40": 0,
                        "pos_41_50": 0,
                        "pos_4_10": 0,
                        "pos_51_60": 0,
                        "pos_61_70": 0,
                        "pos_71_80": 0,
                        "pos_81_90": 0,
                        "pos_91_100": 0
                      }
                    }
                  },
                  "organic_count": 58,
                  "organic_etv": 1179.6579938028008,
                  "organic_is_lost": 11,
                  "organic_is_new": 12,
                  "se_type": "google",
                  "top_categories": [
                    11494,
                    13418
                  ]
                },
                {
                  "domain": "expertblogz.com",
                  "main_domain": "expertblogz.com",
                  "metrics_difference": {
                    "featured_snippet": null,
                    "local_pack": null,
                    "organic": {
                      "count": -5,
                      "estimated_paid_traffic_cost": -261.7570120933071,
                      "etv": 846.4703587682992,
                      "is_down": -4,
                      "is_lost": 8,
                      "is_new": -2,
                      "is_up": -2,
                      "pos_1": -3,
                      "pos_11_20": 0,
                      "pos_21_30": -2,
                      "pos_2_3": -1,
                      "pos_31_40": -1,
                      "pos_41_50": -2,
                      "pos_4_10": 0,
                      "pos_51_60": 1,
                      "pos_61_70": -1,
                      "pos_71_80": 2,
                      "pos_81_90": 1,
                      "pos_91_100": 0
                    },
                    "paid": {
                      "count": 0,
                      "estimated_paid_traffic_cost": 0,
                      "etv": 0,
                      "is_down": 0,
                      "is_lost": 0,
                      "is_new": 0,
                      "is_up": 0,
                      "pos_1": 0,
                      "pos_11_20": 0,
                      "pos_21_30": 0,
                      "pos_2_3": 0,
                      "pos_31_40": 0,
                      "pos_41_50": 0,
                      "pos_4_10": 0,
                      "pos_51_60": 0,
                      "pos_61_70": 0,
                      "pos_71_80": 0,
                      "pos_81_90": 0,
                      "pos_91_100": 0
                    }
                  },
                  "metrics_history": {
                    "202106": {
                      "featured_snippet": null,
                      "local_pack": null,
                      "organic": {
                        "count": 22,
                        "estimated_paid_traffic_cost": 313.0662581565395,
                        "etv": 430.9176690654755,
                        "is_down": 5,
                        "is_lost": 0,
                        "is_new": 2,
                        "is_up": 2,
                        "pos_1": 14,
                        "pos_11_20": 0,
                        "pos_21_30": 2,
                        "pos_2_3": 1,
                        "pos_31_40": 1,
                        "pos_41_50": 2,
                        "pos_4_10": 0,
                        "pos_51_60": 0,
                        "pos_61_70": 1,
                        "pos_71_80": 1,
                        "pos_81_90": 0,
                        "pos_91_100": 0
                      },
                      "paid": {
                        "count": 0,
                        "estimated_paid_traffic_cost": 0,
                        "etv": 0,
                        "is_down": 0,
                        "is_lost": 0,
                        "is_new": 0,
                        "is_up": 0,
                        "pos_1": 0,
                        "pos_11_20": 0,
                        "pos_21_30": 0,
                        "pos_2_3": 0,
                        "pos_31_40": 0,
                        "pos_41_50": 0,
                        "pos_4_10": 0,
                        "pos_51_60": 0,
                        "pos_61_70": 0,
                        "pos_71_80": 0,
                        "pos_81_90": 0,
                        "pos_91_100": 0
                      }
                    },
                    "202110": {
                      "featured_snippet": null,
                      "local_pack": null,
                      "organic": {
                        "count": 17,
                        "estimated_paid_traffic_cost": 51.30924606323242,
                        "etv": 1277.3880278337747,
                        "is_down": 1,
                        "is_lost": 8,
                        "is_new": 0,
                        "is_up": 0,
                        "pos_1": 11,
                        "pos_11_20": 0,
                        "pos_21_30": 0,
                        "pos_2_3": 0,
                        "pos_31_40": 0,
                        "pos_41_50": 0,
                        "pos_4_10": 0,
                        "pos_51_60": 1,
                        "pos_61_70": 0,
                        "pos_71_80": 3,
                        "pos_81_90": 1,
                        "pos_91_100": 0
                      },
                      "paid": {
                        "count": 0,
                        "estimated_paid_traffic_cost": 0,
                        "etv": 0,
                        "is_down": 0,
                        "is_lost": 0,
                        "is_new": 0,
                        "is_up": 0,
                        "pos_1": 0,
                        "pos_11_20": 0,
                        "pos_21_30": 0,
                        "pos_2_3": 0,
                        "pos_31_40": 0,
                        "pos_41_50": 0,
                        "pos_4_10": 0,
                        "pos_51_60": 0,
                        "pos_61_70": 0,
                        "pos_71_80": 0,
                        "pos_81_90": 0,
                        "pos_91_100": 0
                      }
                    }
                  },
                  "organic_count": 16,
                  "organic_etv": 854.9360156022012,
                  "organic_is_lost": 2,
                  "organic_is_new": 3,
                  "se_type": "google",
                  "top_categories": [
                    11494,
                    13418
                  ]
                },
                {
                  "domain": "bergpartners.com",
                  "main_domain": "bergpartners.com",
                  "metrics_difference": {
                    "featured_snippet": null,
                    "local_pack": null,
                    "organic": {
                      "count": -7,
                      "estimated_paid_traffic_cost": 2104.03663279918,
                      "etv": 960.46854136078,
                      "is_down": -3,
                      "is_lost": 3,
                      "is_new": -5,
                      "is_up": 19,
                      "pos_1": 0,
                      "pos_11_20": -3,
                      "pos_21_30": -4,
                      "pos_2_3": 1,
                      "pos_31_40": 0,
                      "pos_41_50": -4,
                      "pos_4_10": 1,
                      "pos_51_60": 2,
                      "pos_61_70": 0,
                      "pos_71_80": 0,
                      "pos_81_90": 0,
                      "pos_91_100": -1
                    },
                    "paid": {
                      "count": 0,
                      "estimated_paid_traffic_cost": 0,
                      "etv": 0,
                      "is_down": 0,
                      "is_lost": 0,
                      "is_new": 0,
                      "is_up": 0,
                      "pos_1": 0,
                      "pos_11_20": 0,
                      "pos_21_30": 0,
                      "pos_2_3": 0,
                      "pos_31_40": 0,
                      "pos_41_50": 0,
                      "pos_4_10": 0,
                      "pos_51_60": 0,
                      "pos_61_70": 0,
                      "pos_71_80": 0,
                      "pos_81_90": 0,
                      "pos_91_100": 0
                    }
                  },
                  "metrics_history": {
                    "202106": {
                      "featured_snippet": null,
                      "local_pack": null,
                      "organic": {
                        "count": 45,
                        "estimated_paid_traffic_cost": 2.4893027277572437,
                        "etv": 6.312458390981554,
                        "is_down": 14,
                        "is_lost": 12,
                        "is_new": 10,
                        "is_up": 2,
                        "pos_1": 2,
                        "pos_11_20": 4,
                        "pos_21_30": 5,
                        "pos_2_3": 0,
                        "pos_31_40": 5,
                        "pos_41_50": 11,
                        "pos_4_10": 0,
                        "pos_51_60": 5,
                        "pos_61_70": 3,
                        "pos_71_80": 2,
                        "pos_81_90": 6,
                        "pos_91_100": 4
                      },
                      "paid": {
                        "count": 0,
                        "estimated_paid_traffic_cost": 0,
                        "etv": 0,
                        "is_down": 0,
                        "is_lost": 0,
                        "is_new": 0,
                        "is_up": 0,
                        "pos_1": 0,
                        "pos_11_20": 0,
                        "pos_21_30": 0,
                        "pos_2_3": 0,
                        "pos_31_40": 0,
                        "pos_41_50": 0,
                        "pos_4_10": 0,
                        "pos_51_60": 0,
                        "pos_61_70": 0,
                        "pos_71_80": 0,
                        "pos_81_90": 0,
                        "pos_91_100": 0
                      }
                    },
                    "202110": {
                      "featured_snippet": null,
                      "local_pack": null,
                      "organic": {
                        "count": 38,
                        "estimated_paid_traffic_cost": 2106.5259355269372,
                        "etv": 966.7809997517616,
                        "is_down": 11,
                        "is_lost": 16,
                        "is_new": 5,
                        "is_up": 22,
                        "pos_1": 2,
                        "pos_11_20": 1,
                        "pos_21_30": 1,
                        "pos_2_3": 1,
                        "pos_31_40": 4,
                        "pos_41_50": 7,
                        "pos_4_10": 1,
                        "pos_51_60": 7,
                        "pos_61_70": 3,
                        "pos_71_80": 2,
                        "pos_81_90": 6,
                        "pos_91_100": 3
                      },
                      "paid": {
                        "count": 0,
                        "estimated_paid_traffic_cost": 0,
                        "etv": 0,
                        "is_down": 0,
                        "is_lost": 0,
                        "is_new": 0,
                        "is_up": 0,
                        "pos_1": 0,
                        "pos_11_20": 0,
                        "pos_21_30": 0,
                        "pos_2_3": 0,
                        "pos_31_40": 0,
                        "pos_41_50": 0,
                        "pos_4_10": 0,
                        "pos_51_60": 0,
                        "pos_61_70": 0,
                        "pos_71_80": 0,
                        "pos_81_90": 0,
                        "pos_91_100": 0
                      }
                    }
                  },
                  "organic_count": 38,
                  "organic_etv": 802.8389475755394,
                  "organic_is_lost": 10,
                  "organic_is_new": 7,
                  "se_type": "google",
                  "top_categories": [
                    11494,
                    13418
                  ]
                }
              ],
              "items_count": 3,
              "language_code": "en",
              "location_code": 2840,
              "se_type": "google",
              "total_count": 1131
            }
          ],
          "result_count": 1,
          "status_code": 20000,
          "status_message": "Ok.",
          "time": "1.8132 sec."
        }
      ],
      "tasks_count": 1,
      "tasks_error": 0,
      "time": "1.8991 sec.",
      "version": "0.1.20220216"
    }

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 — Dataforseo Labs / Google / Domain Metrics By Categories / Live with your agent

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