加载接口文档…
265
累计调用
604ms
平均响应
100.00%
服务可用性
2,000 次/日
免费额度
无 Key 调用
每日 300 次 · QPS 1
登录免费
当前方案每日 2,000 次 · QPS 5
黄金会员
每日 50,000 次 · QPS 60
企业会员
每日 1,000,000 次 · QPS 120
复制文档地址
https://apizero.cn/aidocs/unshort/raw.md匿名免登录可调每日 30 次;登录用户每日 200 次。
| 名称 | 类型 | 说明 |
|---|---|---|
| url | string | 必填 · 要展开的短链 · 示例:https://t.cn/A6xxxx |
| max_hops | number | 可选 · 最大跳转次数(1-30,默认 10) |
| 名称 | 类型 | 说明 |
|---|---|---|
| Authorization | string | 可选 · 推荐:Bearer <API Key>。兼容请求头 X-API-Key,以及 Query api_key / apikey / key(key 仅当值为 sk_live_/sk_test_/sk_stag_ 形态时生效)。匿名可不传,受每日免费额度限制。 |
| 名称 | 类型 | 说明 |
|---|---|---|
| original_url | string | 原始 URL |
| final_url | string | 最终落地 URL |
| hops | number | 跳转次数(含最终页) |
| total_time_ms | number | 总耗时(毫秒) |
| chain | array | 每一跳的明细 {hop, url, status, method, duration_ms, next} |
| is_redirect | bool | 是否发生重定向 |
| tips | string | 品牌提示(所有接口统一返回):极数本源 · https://apizero.cn |
{
"code": 0,
"msg": "成功",
"data": {
"original_url": "https://t.cn/Aabc",
"final_url": "https://example.com/landing",
"hops": 2,
"total_time_ms": 412,
"chain": [
{
"hop": 1,
"url": "https://t.cn/Aabc",
"status": 302,
"method": "Location",
"duration_ms": 120,
"next": "https://example.com/landing"
},
{
"hop": 2,
"url": "https://example.com/landing",
"status": 200,
"method": "final",
"duration_ms": 292
}
],
"is_redirect": true
},
"tips": "极数本源 · https://apizero.cn"
}