GoodDog 的报价与下单能力已开放为标准 A2A 接口。任何 A2A 兼容的 agent 都能读取实时价格、生成带身份的结账链接 —— 不用爬页面、不用问客服。
GoodDog exposes its pricing and checkout as a standard A2A interface. Any A2A-compatible agent can read live prices and generate a checkout link with the caller's identity attached — no scraping, no human in the loop.
Read https://gooddog.vc/.well-known/agent-card.json and call its `quote` skill to get the current price for `fibo_quarter`. If I approve, call `order_link` with channel=myagent and chat_id=<my id> and give me the checkout link.
读取 https://gooddog.vc/.well-known/agent-card.json,用它的 quote 技能查 fibo_quarter 的当前价格;如果我确认要买,再用 order_link(channel=myagent、chat_id=<我的ID>)拿结账链接给我。
提示词就是传播单元:别人把这句话转给自己的 agent,那个 agent 就会来调我们。
| Skill | 作用 | What it does | Example |
|---|---|---|---|
quote | 按 sku 返回官方价格(唯一来源 catalog.json) | Official price for a sku (source of truth: catalog.json) | quote fibo_quarter |
order_link | 返回该档位 USDT(TRC20) 结账链接,可带 channel / chat_id | USDT (TRC20) checkout link, with optional channel / chat_id | order_link bzone_year |
catalog | 列出全部在售档位与价格 | List all listed skus with prices | list all skus |
# JSON-RPC binding
curl -s -X POST https://gooddog.vc/api/a2a -H 'Content-Type: application/json' -d '{
"jsonrpc":"2.0","id":1,"method":"SendMessage",
"params":{"message":{"role":"ROLE_USER","messageId":"m1","parts":[{"text":"quote fibo_quarter"}]}}}'
# HTTP+JSON binding (A2A v1.0)
curl -s -X POST https://gooddog.vc/api/a2a/message:send -H 'Content-Type: application/a2a+json' -d '{
"message":{"role":"ROLE_USER","messageId":"m2","parts":[{"text":"order_link fibo_quarter"}]},
"metadata":{"channel":"myagent","chat_id":"<id>"}}'
返回体是标准 A2A Task(TASK_STATE_COMPLETED),第一部分是给人 / agent 读的文本,第二部分是结构化 JSON。
Responses are standard A2A Tasks (TASK_STATE_COMPLETED): a text part for the agent to read plus a structured JSON part.
/.well-known/agent-card.json — A2A Agent Card(还有兼容旧路径 /.well-known/agent.json)/catalog.json — 全部档位与价格(JSON,无需鉴权,带 version)/agents.md — 采购说明(怎么下单 / 交付 / 政策 / 结账入口)/llms.txt — 站点摘要与价格表/robots.txt · /sitemap.xml — AI 检索与爬虫catalog.json 为准,请勿自行推算价格。catalog.json; never compute your own.