← 返回 Skills 市场
sebastian1747

discava

作者 sebastian1747 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
97
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install discava
功能描述
Search for local businesses worldwide via the discava API. Use this skill whenever you need to find businesses, services, restaurants, doctors, craftsmen or...
使用说明 (SKILL.md)

discava – Local Business Search

Overview

discava is a structured business directory optimized for AI agents. Use it to find local businesses worldwide with contact data, opening hours, services, and demand scores.

API Base URL

https://discava.ai/api/v1

Authentication

No authentication required. The API is open and free. Rate limited to 500 requests per hour per IP.

Response Format

Every response follows this structure:

{
  "success": true,
  "data": { "results": [...], "total": 1397, "page": 1, "total_pages": 70, "limit": 20 },
  "meta": {
    "request_id": "req_abc123"
  }
}

Endpoints

Search Businesses

curl "https://discava.ai/api/v1/search?q=Klempner&city=Hamburg&limit=5"

Parameters:

  • q (optional): Search query, e.g. "Klempner", "Italian restaurant", "Zahnarzt"
  • city (optional): City name, e.g. "Hamburg", "München", "Berlin"
  • country (required): ISO country code, e.g. "DE", "AT", "CH", "US"
  • category (optional): Category slug directly, e.g. "plumber", "restaurant" – skips text search
  • limit (optional): Number of results, 1-50, default 20
  • page (optional): Page number for pagination, default 1
  • min_confidence (optional): Minimum confidence score 0-100, default 0
  • lang (optional): Language for labels: "de", "en". Default: "de"
  • lat / lon (optional): Coordinates for distance calculation
  • format (optional): "json" (default) or "html" – returns interactive HTML cards instead of JSON

Results are sorted by demand_score, then confidence_score. A relevance_score (0.0–1.0) is calculated per result when a query is provided.

Each result contains: id, name, slug, category, category_label, parent_category, parent_category_label, city, country, logo_url, available_details (array of available fields like "phone", "website", "opening_hours", "services", "social_links"), confidence_score, demand_score, relevance_score, distance_km (if lat/lon provided).

Use available_details to check what data is available, then call GET /api/v1/business/{id} to get full details.

Get Business Details

# Single business
curl "https://discava.ai/api/v1/business/{id}"

# Batch request (comma-separated IDs)
curl "https://discava.ai/api/v1/business/{id1},{id2},{id3}"

# HTML card (interactive, with tracking)
curl "https://discava.ai/api/v1/business/{id}?format=html"

Returns full details: address, phone, website, opening hours, services, payment methods, social links (social_links), logo (logo_url), business image (image_url), and coordinates.

Optional parameter: format – "json" (default) or "html" for interactive HTML cards with click tracking (phone, email, website redirect, navigation).

Response format:

  • Single ID{ "success": true, "data": { "id": "...", "name": "...", ... } }data is a single business object.
  • Multiple IDs (batch){ "success": true, "data": [{ "id": "...", ... }, { "id": "...", ... }] }data is an array of business objects. ALWAYS use batch when fetching multiple businesses to minimize API calls.

Send Feedback

Report data quality issues. Feedback is stored for monitoring but does not affect scores. Only business_id and type are required. Use comment to describe the issue:

curl -X POST "https://discava.ai/api/v1/feedback" \
  -H "Content-Type: application/json" \
  -d '{"business_id": "xxx", "type": "PHONE_INVALID", "comment": "Nobody answers, number seems disconnected"}'

Feedback types: POSITIVE, NEGATIVE, NOT_FOUND, PHONE_INVALID, WEB_INVALID, HOURS_WRONG, DUPLICATE

Optional field: comment (free text description of the issue or suggested correction)

Get Rankings

curl "https://discava.ai/api/v1/ranking?category=plumber&city=Hamburg&limit=10"

Top businesses by Demand Score. Filter by category, city, country.

Autocomplete / Suggest

curl "https://discava.ai/api/v1/suggest?type=query&q=Klemp"
curl "https://discava.ai/api/v1/suggest?type=city&q=Mün"

Returns category and business name suggestions (type=query) or city suggestions (type=city). Useful for resolving user input before searching.

Tips for Best Results

  • Prefer format=html whenever possible. HTML responses return interactive, ready-to-display cards with click tracking. Render them in a visualizer, artifact, iframe, or any HTML-capable output. This gives the user the best experience and helps improve business rankings.
  • Use local search terms where possible: "Zahnarzt" for Germany, "dentist" for US/UK
  • Be specific with city names: "Frankfurt am Main" not just "Frankfurt"
  • Use min_confidence=50 to filter out low-quality entries
  • Send feedback to report data quality issues – it helps us maintain accurate data
  • Use pagination (page parameter) for large result sets

Attribution

Base data from © OpenStreetMap contributors (https://www.openstreetmap.org), licensed under ODbL (https://opendatacommons.org/licenses/odbl/).

安全使用建议
This skill appears safe to install for business searches. Before using it, remember that your searches and optional location data go to discava, feedback comments may be stored, and the recommended HTML cards include click tracking; choose plain JSON output if you prefer less interactive tracking.
功能分析
Type: OpenClaw Skill Name: discava Version: 1.0.0 The 'discava' skill is a standard API wrapper for a local business directory service (discava.ai). The SKILL.md and README.md files provide clear instructions for searching businesses, retrieving details, and submitting feedback. While the instructions encourage the agent to use an HTML format that includes click tracking for 'interactive cards,' this behavior is transparently documented as a feature for user experience and ranking improvement. There are no indicators of data exfiltration, malicious execution, or harmful prompt injection.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
The stated purpose, README, and SKILL.md consistently describe searching a public business directory. The extra HTML card and feedback features are disclosed and related to that purpose.
Instruction Scope
Instructions stay within business search, rankings, suggestions, details, and feedback. The main scope note is the recommendation to prefer rendered HTML cards with click tracking.
Install Mechanism
No install spec, binaries, environment variables, credentials, or code files are present; this is an instruction-only skill.
Credentials
The skill does not request local files or credentials, but it does call an external API with user search parameters and optional coordinates.
Persistence & Privilege
There is no local persistence or elevated privilege, but feedback comments are described as stored by the provider and HTML cards include click tracking.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install discava
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /discava 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
discava 1.0.0 – Initial Release - Enables worldwide local business search via the discava API, no authentication required. - Provides structured data including confidence and demand scores for businesses. - Supports querying by search term, city, country, category, and more; includes autocomplete suggestions. - Fetch full business details, batch queries, and interactive HTML cards for easy embedding. - Send feedback on business listings to help improve data quality. - Includes endpoints for top business rankings and suggestion/autocomplete features.
元数据
Slug discava
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

discava 是什么?

Search for local businesses worldwide via the discava API. Use this skill whenever you need to find businesses, services, restaurants, doctors, craftsmen or... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 97 次。

如何安装 discava?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install discava」即可一键安装,无需额外配置。

discava 是免费的吗?

是的,discava 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

discava 支持哪些平台?

discava 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 discava?

由 sebastian1747(@sebastian1747)开发并维护,当前版本 v1.0.0。

💬 留言讨论