文档
一个 Key、一个余额、一条 /v1/run。Agent 直接读 https://haitu.mumong.cn/SKILL.md 即可。
调用
POST https://haitu.mumong.cn/v1/run
Authorization: Bearer <key>
X-Playbook: buyers.multichannel@1 # 可选,账本归因
X-Step: S1 # 可选
{"endpoint":"maps/search","input":{"q":"nuts wholesale","location":"Berlin,Germany"},"country":"DE"}
→ {"run_id","cost":{"usd","cny","billing","units"},"route":{"adapterId","attempted"},"count","fetched_at","source_urls","data"}其他:GET /v1/discover?q= 自然语言找端点;POST /v1/estimate 只估价;GET /v1/balance;GET /v1/runs;POST /v1/runs/:id/dispute;GET /v1/catalog;GET /v1/routing/:endpoint;GET /v1/playbooks。错误统一为 {"error","message"},失败不计费;insufficient_balance(402)与 monthly_cap_reached(409)表示要充值或调预算。
端点
单价 = 上游价 × 汇率 × 1.15,示例按上游 $0.002 计| 端点 | 说明 | 输入 | 计费 | 参考单价 |
|---|---|---|---|---|
| maps/search | 按关键词和地点搜本地商户,含评分、电话、网站 | q* location* limit | per_call | ¥0.0166 |
| maps/profile | 单个商户完整档案:联系方式、营业时间、属性 | place_id* | per_call | ¥0.0166 |
| serp/web | 区域网页搜索。引擎由路由表按国家决定,返回统一 Schema | q* country* lang page | per_call | ¥0.0166 |
| web/extract | 任意网页按 JSON Schema 抽取结构化字段 | url* schema* | per_page | ¥0.0166 |
| company/enrich | 按域名补全企业画像:规模、行业、社媒 | domain* | per_call | ¥0.0166 |
| email/find | 姓名 + 域名推断邮箱,带置信度。按上游条款 BYOK:费用由上游直接向用户收取 | domain* first_name last_name | byok | 0(自带 Key) |