short-url
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseShort URL Service
短链接服务
Create short URLs through AceDataCloud's URL shortening API.
Setup: See authentication for token setup.
通过AceDataCloud的URL缩短API创建短链接。
设置: 请查看身份验证了解令牌设置方法。
Quick Start
快速开始
bash
curl -X POST https://api.acedata.cloud/shorturl \
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"content": "https://example.com/very-long-url-path?with=params"}'bash
curl -X POST https://api.acedata.cloud/shorturl \
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"content": "https://example.com/very-long-url-path?with=params"}'Workflows
工作流程
1. Create a Short URL
1. 创建短链接
json
POST /shorturl
{
"content": "https://example.com/article/2024/awesome-content"
}Response:
json
{
"data": {
"url": "https://suro.id/abc123"
},
"success": true
}json
POST /shorturl
{
"content": "https://example.com/article/2024/awesome-content"
}响应:
json
{
"data": {
"url": "https://suro.id/abc123"
},
"success": true
}Parameters
参数说明
| Parameter | Required | Description |
|---|---|---|
| Yes | The original long URL to shorten |
| 参数 | 是否必填 | 描述 |
|---|---|---|
| 是 | 需要缩短的原始长链接 |
Gotchas
注意事项
- Short URLs use the domain
suro.id - Results are returned synchronously — no task polling needed
- The field must be a valid URL to shorten
content
MCP:| Hosted:pip install mcp-shorturl| See all MCP servershttps://short-url.mcp.acedata.cloud/mcp
- 短链接使用域名
suro.id - 结果同步返回——无需轮询任务
- 字段必须是有效的URL
content
MCP:| 托管地址:pip install mcp-shorturl| 查看所有MCP服务器https://short-url.mcp.acedata.cloud/mcp