Glasser
Glasser

数据提供商: DataForSEO

使用 DataForSEO 在选定的类别中查找企业信息。

每次调用 $0.012 起在 30 秒内响应

搜索 DataForSEO 收录的 Google Maps 商家,按给定分类查找,最多可提供 100 个分类 ids。可进一步筛选标题或描述包含指定词语的商家、仅已认领的商家,或某个坐标周围指定半径内的商家。每个商家一行:包含名称、描述、分类及附加分类、包含城市、地区和国家的街道地址、地点 id、网站 url 和域名、标志和照片数量、地图坐标、所有者是否已认领商家信息,以及服务选项、用餐选项、支付方式和停车条件等属性。每页最多 100 家商户,使用 offset 获取下一页。每次调用发送一次请求,按供应商的价目表计费;空结果集会标记为无结果。

如何调用

第 1 步接入

首次使用时,将提示词粘贴到 Agent 对话中。Skill 会自动安装 CLI 并完成登录。无法使用 shell 的 Agent 可通过 MCP 接入。

接入
set up https://glasser.ai/SKILL.md

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

第 2 步尝试一个具体任务

为商品或主题选择分类时,可以审阅可用选项,找到最接近的分类。

复制此提示词到你的 Agent,为商品或主题查找分类。

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

接口结构

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
    },
    "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."
    },
    "order_by": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 3,
      "description": "DataForSEO sorting rules, passed through unchanged: up to 3 \"field,asc\" or \"field,desc\" strings, using the same field names as filters."
    },
    "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
    },
    "offset_token": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1
    },
    "location_coordinate": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1
    }
  },
  "additionalProperties": false
}

计费说明

基础费用有无匹配数据均按此价格收费。$0.012
每行按返回的每行计费。$0.00036
每次运行的费用上限总费用不会超过此金额。$0.372
数据提供商错误数据提供商未能响应。$0.00
运行超时运行超过时间限制。$0.00
内部错误内部错误导致运行未能完成。$0.00
方法POST版本7数据提供商文档 ↗