服务商合作 / 数据格式

Partner Feed v1 数据格式

在你的域名下发布一个 JSON 文件(建议 /.well-known/cloudmac.json),通过 HTTPS 公开访问即可。我们每天读取一次。 完整的机器可读定义见 JSON Schema,写好后用在线校验检查。

规则

字段

字段要求说明
version必填固定为 "1"
updated_at必填文件最后修改日期,YYYY-MM-DD
provider.name / website必填品牌名与官网
provider.contact选填email / telegram / wechat
provider.support_languages选填客服语言,如 ["zh","en"]
provider.payment_methods选填card / paypal / alipay / wechat / usdt / crypto / bank
provider.trial选填试用或退款政策,一句话
provider.trial_en选填英文试用或退款政策;provider.trial 不是英文时填写
offers[]必填当前在售的全部套餐;列表里消失的套餐视为下架
offers[].id必填套餐的稳定 ID,小写字母、数字、连字符,之后不要更改
offers[].service_type必填dedicated(独占实体机)/ vps(macOS 虚拟机)/ shared / colo(托管)/ ci
offers[].hardware必填family(mac-mini / mac-studio / mac-pro / vm)、chip、ram_gb、storage_gb;cpu_cores、gpu_cores 选填
offers[].locations[]必填country 用两位国家代码(JP、SG、US…),city 选填
offers[].network选填bandwidth_mbps、traffic_tb(null=不限)、ipv4、ip_type(residential / isp / datacenter)、ip_dedicated
offers[].access选填root、ssh、vnc、uu_remote、rustdesk、kvm、custom_software、reinstall,true / false
offers[].prices[]必填amount、currency(USD / EUR / CNY…)、period(hour / day / week / month / quarter / year);vat_included、setup_fee、surcharge_pct(必付服务费 %)、min_term_months、note、note_en 选填
offers[].stock必填in_stock / sold_out / coming_soon / unknown
offers[].url选填该套餐的下单页
deals[]选填优惠活动:id、title、code、url、starts_at、expires_at
affiliate选填推广链接 url 与条款 terms

示例

下载示例文件

{
  "version": "1",
  "updated_at": "2026-10-19",
  "provider": {
    "name": "Example Mac Cloud",
    "website": "https://example.com/",
    "contact": { "email": "[email protected]", "telegram": "@example" },
    "support_languages": ["zh", "en"],
    "payment_methods": ["card", "alipay", "usdt"],
    "trial": "首月 7 天内无理由退款"
  },
  "offers": [
    {
      "id": "m4-16-256",
      "name": "Mac mini M4 基础版",
      "service_type": "dedicated",
      "hardware": { "family": "mac-mini", "chip": "M4", "cpu_cores": 10, "gpu_cores": 10, "ram_gb": 16, "storage_gb": 256 },
      "network": { "bandwidth_mbps": 1000, "traffic_tb": null, "ipv4": true, "ip_type": "datacenter", "ip_dedicated": true },
      "locations": [{ "country": "JP", "city": "Tokyo" }, { "country": "SG" }],
      "access": { "root": true, "ssh": true, "vnc": true, "custom_software": true },
      "prices": [
        { "amount": 99, "currency": "USD", "period": "month", "vat_included": false },
        { "amount": 6, "currency": "USD", "period": "day", "vat_included": false }
      ],
      "stock": "in_stock",
      "url": "https://example.com/order/m4"
    }
  ],
  "deals": [
    { "id": "double-11", "title": "双十一首月 8 折", "code": "CM11", "url": "https://example.com/promo", "expires_at": "2026-11-12" }
  ],
  "affiliate": { "url": "https://example.com/?aff=cloudmac", "terms": "首单 20%" }
}