Glasser

Provided by DataForSEO

Count business listings across selected categories with DataForSEO

From $0.012 per callanswers within 30s

Count how many Google Maps business listings fall under each category related to the categories you give, up to 100 category ids, optionally narrowed to businesses whose title or description contains given words, to claimed listings only, or to a radius around a coordinate. One row per category cluster: the categories it groups, the number of businesses and of distinct websites in it, the top related categories and top countries with a business count each, the attributes those businesses most often offer, and the topics reviewers mention most. One request per call, priced by the vendor's own rate card; an empty result set is reported as no result.

How to run it

Step 1Set up

Once: paste this into your agent's chat. The Skill installs the CLI and logs in by itself. For an agent that cannot use a shell, connect it over MCP instead.

Set up
set up https://glasser.ai/SKILL.md

Show me how to use the DataForSEO endpoint /v3/business_data/business_listings/categories_aggregation/live on Glasser.

Step 2Try a specific example task

When you need to assign a category to a product or topic, you might review the available options to find the closest match.

Copy this prompt into your agent to find a category for your product or topic.

Prompt
Use dataforseo:/v3/business_data/business_listings/categories_aggregation/live on Glasser.
Find the category that best matches my product or topic in the returned list.

Endpoint structure

json
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "categories"
  ],
  "properties": {
    "tag": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1
    },
    "limit": {
      "type": "integer",
      "maximum": 1000,
      "minimum": 1
    },
    "title": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1
    },
    "offset": {
      "type": "integer",
      "maximum": 10000,
      "minimum": 0
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 2048,
        "minLength": 1
      },
      "maxItems": 100,
      "minItems": 1
    },
    "is_claimed": {
      "type": "boolean"
    },
    "description": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1
    },
    "internal_list_limit": {
      "type": "integer"
    },
    "location_coordinate": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1
    },
    "initial_dataset_filters": {
      "type": "array",
      "description": "DataForSEO filter expression, passed through unchanged: one condition [field, operator, value], or conditions joined by \"and\" / \"or\" ([[a], \"and\", [b]]). Field names come from this endpoint's result items; the number of conditions allowed is in the endpoint's docUrl."
    }
  },
  "additionalProperties": false
}

How pricing works

Base feeThe same price with or without matching data.$0.012
Per rowFor each row returned.$0.00036
Maximum per RunThe total charge will not exceed this amount.$0.372
Provider errorThe Provider failed to answer.$0.00
Timed outThe Run exceeded its time limit.$0.00
Internal failureAn internal error prevented completion.$0.00
MethodPOSTVersion7Provider documentation ↗