# DataForSEO — Business Data / Business Listings / Categories Aggregation / Live

Get DataForSEO Business Category Aggregation data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DataForSEO, configure supported query parameters and filters, and retrieve structured data including returned cost field, returned status code field, returned status message field, business payload, and identifier for application integration and result review, and integration reference.

Documentation: https://openany.si/dataforseo/dataforseo-business-data-business-listings-categories-aggregation-live/bd294f5a-d517-4ee5-a4e0-f151848e4c53/
API ID: bd294f5a-d517-4ee5-a4e0-f151848e4c53
Provider: DataForSEO
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/business_data/business_listings/categories_aggregation/live
Page update time: 2026-12-03T02:50:31.438Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.012 base + $0.00036 / result
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:50:31.094Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "12000",
    "max_cost_micro_usd": "372000",
    "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/count",
        "price_micro_usd": "360",
        "quantity_scale": 0,
        "source": "response",
        "unit": "result",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## DataForSEO Business Category Aggregation API

Retrieve business Data Business Listings Categories Aggregation Live with the DataForSEO API. Provide JSON payload in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Application integration and result review**: Keep the request context attached to available returned results.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `cost` | Returned cost field |
| `status_code` | Returned status code field |
| `status_message` | Returned status message field |
| `tasks[].data` | Business payload |
| `tasks[].id` | Identifier |
| `tasks[].result` | Returned result |
| `tasks[].cost` | Returned cost field |
| `tasks[].path` | Returned path field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DataForSEO — Business Data / Business Listings / Categories Aggregation / Live request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "example": [
        {
          "categories": [
            "pizza_restaurant"
          ],
          "description": "pizza",
          "initial_dataset_filters": [
            [
              "rating.value",
              ">",
              3
            ]
          ],
          "is_claimed": true,
          "limit": 3,
          "location_coordinate": "53.476225,-2.243572,10",
          "title": "pizza"
        }
      ],
      "items": {
        "example": [
          {
            "categories": [
              "pizza_restaurant"
            ],
            "description": "pizza",
            "initial_dataset_filters": [
              [
                "rating.value",
                ">",
                3
              ]
            ],
            "is_claimed": true,
            "limit": 3,
            "location_coordinate": "53.476225,-2.243572,10",
            "title": "pizza"
          }
        ],
        "nullable": true,
        "properties": {
          "categories": {
            "description": "business categories optional field the categories you specify are used to search for business listings; if you don't use this field, we will return business listings found in the specified location; you can specify up to 10 categories",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array",
            "x-required-status": "optional"
          },
          "description": {
            "description": "description of the element in SERP optional field the description of the business entity for which the results are collected; can contain up to 200 characters",
            "nullable": true,
            "type": "string",
            "x-required-status": "optional"
          },
          "initial_dataset_filters": {
            "allOf": [
              {
                "anyOf": [
                  {
                    "anyOf": [
                      {
                        "items": false,
                        "maxItems": 3,
                        "minItems": 3,
                        "prefixItems": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "string"
                          },
                          {}
                        ],
                        "type": "array"
                      },
                      {
                        "items": {
                          "anyOf": [
                            {
                              "type": "array"
                            },
                            {
                              "enum": [
                                "and",
                                "or"
                              ],
                              "type": "string"
                            }
                          ]
                        },
                        "minItems": 1,
                        "type": "array"
                      }
                    ],
                    "description": "官方过滤器文档中的条件三元组或由 and/or 连接的条件数组；仅检查外层结构，嵌套数组、操作符和值的完整语义仍以官方文档为准。",
                    "x-coverage": "outer_structure_only_nested_operator_semantics_not_exhaustively_validated",
                    "x-schema-origin": "derived_from_official_filter_prose_and_examples"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            ],
            "description": "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, like, not_like, match, not_match you can use the % operator with like and not_like to match any string of zero or more characters example: [\"rating.value\",\">\",3] you can receive the list of available filters_by making a separate request to https://api.dataforseo.com/v3/business_data/business_listings/available_filters the full list of possible filters is available here. learn more about the initial dataset filters in this help center article.n",
            "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 , like , not_like , match , not_match you can use the % operator with like and not_like to match any string of zero or more characters example: [\"rating.value\",\">\",3] you can receive the list of available filters_by making a separate request to https://api.dataforseo.com/v3/business_data/business_listings/available_filters the full list of possible filters is available here. learn more about the initial dataset filters in this help center article.n",
            "x-required-status": "optional",
            "x-schema-origin": "official_filter_prose_normalized"
          },
          "internal_list_limit": {
            "default": 10,
            "description": "maximum number of elements within internal arrays optional field you can use this field to limit the number of elements within the aggregated categories default value: 10",
            "nullable": true,
            "type": "integer",
            "x-constraints-from-official-description": [
              "default"
            ],
            "x-required-status": "optional"
          },
          "is_claimed": {
            "description": "indicates whether the business is verified by its owner on Google Maps optional field",
            "nullable": true,
            "type": "boolean",
            "x-required-status": "optional"
          },
          "limit": {
            "default": 100,
            "description": "the maximum number of returned businesses optional field default value: 100 maximum value: 1000",
            "maximum": 1000,
            "nullable": true,
            "type": "integer",
            "x-constraints-from-official-description": [
              "default",
              "maximum"
            ],
            "x-required-status": "optional"
          },
          "location_coordinate": {
            "description": "GPS coordinates of a location optional field location_coordinate parameter should be specified in the \"latitude,longitude,radius\" format the maximum number of decimal digits for \"latitude\" and \"longitude\": 7 the minimum value for \"radius\": 1 the maximum value for \"radius\": 100000 example: 53.476225,-2.243572,200 learn more about how to set location parameters in this API on our Help Center",
            "nullable": true,
            "type": "string",
            "x-original-openapi-description": "GPS coordinates of a location optional field location_coordinate parameter should be specified in the \"latitude,longitude,radius\" format the maximum number of decimal digits for \"latitude\" and \"longitude\" : 7 the minimum value for \"radius\" : 1 the maximum value for \"radius\" : 100000 example: 53.476225,-2.243572,200 learn more about how to set location parameters in this API on our Help Center",
            "x-required-status": "optional"
          },
          "offset": {
            "description": "the maximum number of returned businesses optional field",
            "nullable": true,
            "type": "integer",
            "x-required-status": "optional"
          },
          "tag": {
            "description": "user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response",
            "nullable": true,
            "type": "string",
            "x-required-status": "optional"
          },
          "title": {
            "description": "title of the element in SERP optional field the name of the business entity for which the results are collected; can contain up to 200 characters",
            "nullable": true,
            "type": "string",
            "x-required-status": "optional"
          }
        },
        "type": "object"
      },
      "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",
      "description": "‌‌ Business Listings Categories Aggregation endpoint provides results containing information about groups of related categories along with the number of entities in each category. The provided results are specific to the specified parameters."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cost": {
      "type": "number"
    },
    "status_code": {
      "type": "integer"
    },
    "status_message": {
      "type": "string"
    },
    "tasks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "cost": {
            "type": "number"
          },
          "data": {
            "type": "object",
            "properties": {
              "api": {
                "type": "string"
              },
              "categories": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "description": {
                "type": "string"
              },
              "function": {
                "type": "string"
              },
              "initial_dataset_filters": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "integer"
                      }
                    ]
                  }
                }
              },
              "is_claimed": {
                "type": "boolean"
              },
              "limit": {
                "type": "integer"
              },
              "location_coordinate": {
                "type": "string"
              },
              "title": {
                "type": "string"
              }
            }
          },
          "id": {
            "type": "string"
          },
          "path": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "result": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "count": {
                  "type": "integer"
                },
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "aggregation": {
                        "type": "object",
                        "properties": {
                          "count": {
                            "type": "integer"
                          },
                          "top_attributes": {
                            "type": "object",
                            "properties": {
                              "accepts_reservations": {
                                "type": "integer"
                              },
                              "feels_casual": {
                                "type": "integer"
                              },
                              "has_delivery": {
                                "type": "integer"
                              },
                              "has_no_contact_delivery": {
                                "type": "integer"
                              },
                              "has_takeout": {
                                "type": "integer"
                              },
                              "has_wheelchair_accessible_entrance": {
                                "type": "integer"
                              },
                              "pay_debit_card": {
                                "type": "integer"
                              },
                              "pay_mobile_nfc": {
                                "type": "integer"
                              },
                              "serves_dessert": {
                                "type": "integer"
                              },
                              "serves_dinner": {
                                "type": "integer"
                              },
                              "is_transgender_safespace": {
                                "type": "integer"
                              },
                              "serves_late_night_food": {
                                "type": "integer"
                              }
                            }
                          },
                          "top_categories": {
                            "type": "object",
                            "properties": {
                              "delivery_service": {
                                "type": "integer"
                              },
                              "fast_food_restaurant": {
                                "type": "integer"
                              },
                              "italian_restaurant": {
                                "type": "integer"
                              },
                              "meal_takeaway": {
                                "type": "integer"
                              },
                              "neapolitan_restaurant": {
                                "type": "integer"
                              },
                              "pizza_delivery_service": {
                                "type": "integer"
                              },
                              "pizza_restaurant": {
                                "type": "integer"
                              },
                              "pizzatakeaway": {
                                "type": "integer"
                              },
                              "restaurant": {
                                "type": "integer"
                              },
                              "vegan_restaurant": {
                                "type": "integer"
                              },
                              "buffet_restaurant": {
                                "type": "integer"
                              },
                              "family_restaurant": {
                                "type": "integer"
                              }
                            }
                          },
                          "top_countries": {
                            "type": "object",
                            "properties": {
                              "GB": {
                                "type": "integer"
                              }
                            }
                          },
                          "top_place_topics": {
                            "type": "object",
                            "properties": {
                              "atmosphere": {
                                "type": "integer"
                              },
                              "cold": {
                                "type": "integer"
                              },
                              "dominos": {
                                "type": "integer"
                              },
                              "dough": {
                                "type": "integer"
                              },
                              "kids": {
                                "type": "integer"
                              },
                              "money": {
                                "type": "integer"
                              },
                              "order": {
                                "type": "integer"
                              },
                              "phone": {
                                "type": "integer"
                              },
                              "price": {
                                "type": "integer"
                              },
                              "vegan": {
                                "type": "integer"
                              },
                              "app": {
                                "type": "integer"
                              },
                              "buffet": {
                                "type": "integer"
                              },
                              "call": {
                                "type": "integer"
                              },
                              "ice cream": {
                                "type": "integer"
                              },
                              "pay": {
                                "type": "integer"
                              },
                              "the pizza": {
                                "type": "integer"
                              },
                              "incredible pizza": {
                                "type": "integer"
                              }
                            }
                          },
                          "websites_count": {
                            "type": "integer"
                          }
                        }
                      },
                      "categoiries": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "type": {
                        "type": "string"
                      }
                    }
                  }
                },
                "offset": {
                  "type": "null"
                },
                "offset_token": {
                  "type": "null"
                },
                "total_count": {
                  "type": "integer"
                }
              }
            }
          },
          "result_count": {
            "type": "integer"
          },
          "status_code": {
            "type": "integer"
          },
          "status_message": {
            "type": "string"
          },
          "time": {
            "type": "string"
          }
        }
      }
    },
    "tasks_count": {
      "type": "integer"
    },
    "tasks_error": {
      "type": "integer"
    },
    "time": {
      "type": "string"
    },
    "version": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · 官方历史成对样例（未运行） (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/dataforseo/v3/business_data/business_listings/categories_aggregation/live' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "categories": [
      "pizza_restaurant"
    ],
    "description": "pizza",
    "initial_dataset_filters": [
      [
        "rating.value",
        ">",
        3
      ]
    ],
    "is_claimed": true,
    "limit": 3,
    "location_coordinate": "53.476225,-2.243572,10",
    "title": "pizza"
  }
]'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "cost": 0.0109,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.0109,
      "data": {
        "api": "business_data",
        "categories": [
          "pizza_restaurant"
        ],
        "description": "pizza",
        "function": "categories_aggregation",
        "initial_dataset_filters": [
          [
            "rating.value",
            ">",
            3
          ]
        ],
        "is_claimed": true,
        "limit": 3,
        "location_coordinate": "53.476225,-2.243572,10",
        "title": "pizza"
      },
      "id": "04301510-1535-0545-0000-92269c6091b9",
      "path": [
        "v3",
        "business_data",
        "business_listings",
        "categories_aggregation",
        "live"
      ],
      "result": [
        {
          "count": 3,
          "items": [
            {
              "aggregation": {
                "count": 32,
                "top_attributes": {
                  "accepts_reservations": 17,
                  "feels_casual": 28,
                  "has_delivery": 32,
                  "has_no_contact_delivery": 20,
                  "has_takeout": 32,
                  "has_wheelchair_accessible_entrance": 17,
                  "pay_debit_card": 26,
                  "pay_mobile_nfc": 23,
                  "serves_dessert": 20,
                  "serves_dinner": 18
                },
                "top_categories": {
                  "delivery_service": 7,
                  "fast_food_restaurant": 4,
                  "italian_restaurant": 7,
                  "meal_takeaway": 3,
                  "neapolitan_restaurant": 6,
                  "pizza_delivery_service": 11,
                  "pizza_restaurant": 32,
                  "pizzatakeaway": 14,
                  "restaurant": 12,
                  "vegan_restaurant": 3
                },
                "top_countries": {
                  "GB": 32
                },
                "top_place_topics": {
                  "atmosphere": 6,
                  "cold": 5,
                  "dominos": 6,
                  "dough": 4,
                  "kids": 5,
                  "money": 7,
                  "order": 8,
                  "phone": 5,
                  "price": 9,
                  "vegan": 6
                },
                "websites_count": 18
              },
              "categoiries": [
                "pizza_restaurant"
              ],
              "type": "business_category"
            },
            {
              "aggregation": {
                "count": 14,
                "top_attributes": {
                  "accepts_reservations": 9,
                  "feels_casual": 13,
                  "has_delivery": 14,
                  "has_no_contact_delivery": 10,
                  "has_takeout": 14,
                  "is_transgender_safespace": 9,
                  "pay_debit_card": 12,
                  "pay_mobile_nfc": 12,
                  "serves_dessert": 9,
                  "serves_late_night_food": 8
                },
                "top_categories": {
                  "buffet_restaurant": 1,
                  "family_restaurant": 2,
                  "fast_food_restaurant": 3,
                  "italian_restaurant": 2,
                  "meal_takeaway": 2,
                  "pizza_delivery_service": 8,
                  "pizza_restaurant": 14,
                  "pizzatakeaway": 14,
                  "restaurant": 8,
                  "vegan_restaurant": 2
                },
                "top_countries": {
                  "GB": 14
                },
                "top_place_topics": {
                  "app": 2,
                  "buffet": 3,
                  "call": 2,
                  "ice cream": 3,
                  "kids": 3,
                  "money": 3,
                  "order": 4,
                  "pay": 3,
                  "price": 5,
                  "the pizza": 3
                },
                "websites_count": 7
              },
              "categoiries": [
                "pizzatakeaway"
              ],
              "type": "business_category"
            },
            {
              "aggregation": {
                "count": 12,
                "top_attributes": {
                  "accepts_reservations": 11,
                  "feels_casual": 11,
                  "has_delivery": 12,
                  "has_no_contact_delivery": 8,
                  "has_takeout": 12,
                  "has_wheelchair_accessible_entrance": 8,
                  "is_transgender_safespace": 11,
                  "pay_debit_card": 11,
                  "pay_mobile_nfc": 11,
                  "serves_dessert": 10
                },
                "top_categories": {
                  "buffet_restaurant": 1,
                  "delivery_service": 1,
                  "family_restaurant": 2,
                  "italian_restaurant": 3,
                  "neapolitan_restaurant": 3,
                  "pizza_delivery_service": 5,
                  "pizza_restaurant": 12,
                  "pizzatakeaway": 8,
                  "restaurant": 12,
                  "vegan_restaurant": 2
                },
                "top_countries": {
                  "GB": 12
                },
                "top_place_topics": {
                  "app": 2,
                  "atmosphere": 2,
                  "buffet": 3,
                  "ice cream": 3,
                  "incredible pizza": 3,
                  "kids": 3,
                  "order": 3,
                  "pay": 3,
                  "the pizza": 4,
                  "vegan": 3
                },
                "websites_count": 3
              },
              "categoiries": [
                "restaurant"
              ],
              "type": "business_category"
            }
          ],
          "offset": null,
          "offset_token": null,
          "total_count": 26
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "0.2798 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "0.3505 sec.",
  "version": "0.1.20221214"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide JSON payload in body (array). Keep identifiers and URLs in the formats documented for this implementation.

### How should I structure the JSON body?
Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- DataForSEO: https://openany.si/dataforseo/dataforseo-business-data-business-listings-categories-aggregation-live/bd294f5a-d517-4ee5-a4e0-f151848e4c53/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
