discava
/install discava
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
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 searchlimit(optional): Number of results, 1-50, default 20page(optional): Page number for pagination, default 1min_confidence(optional): Minimum confidence score 0-100, default 0lang(optional): Language for labels: "de", "en". Default: "de"lat/lon(optional): Coordinates for distance calculationformat(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": "...", ... } }—datais a single business object. - Multiple IDs (batch) →
{ "success": true, "data": [{ "id": "...", ... }, { "id": "...", ... }] }—datais 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=htmlwhenever 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/).
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install discava - 安装完成后,直接呼叫该 Skill 的名称或使用
/discava触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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。