评级 API 快速开始

三步上手:免费创建 API Key → 扫码充值 → 开始 CCS 双引擎评级扫描。

1创建 Key
2充值
3开始使用

步骤一 · 免费创建 API Key

无需注册,一键生成。新 Key 自带初始余额,后续按量充值。

用 curl 直接调用

拿到 Key 后,三行命令即可建 Key / 查余额 / 触发评级扫描。把 cv_your_key_here 换成你刚创建的真实 Key(cv_ 开头)。

# 1) 免费创建 API Key(同 IP 重复调用返回已有 key_id)
curl -X POST https://license-api-neuralbridge-edouhcvhbo.cn-hangzhou.fcapp.run/api/v1/rating/keys/register \
  -H "Content-Type: application/json" -d '{}'

# 2) 查余额(Bearer 用你创建的 Key)
curl https://license-api-neuralbridge-edouhcvhbo.cn-hangzhou.fcapp.run/api/v1/rating/quota \
  -H "Authorization: Bearer cv_your_key_here"

# 3) 触发评级扫描(target 填公开 https 仓库地址,成功扣 1 次余额)
curl -X POST https://license-api-neuralbridge-edouhcvhbo.cn-hangzhou.fcapp.run/v1/rate \
  -H "Authorization: Bearer cv_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"target":"https://github.com/owner/repo"}'
✅ 三条命令均已在线上端点实测通过(HTTP 200,2026-08-07):register 返回 key + key_id + balance;quota 返回余额;/v1/ratehttps://github.com/psf/requests 实测返回 score 80.0 / grade B / findings[](真实扣费,102.6s)。