short-url

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Short 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

参数说明

ParameterRequiredDescription
content
YesThe original long URL to shorten
参数是否必填描述
content
需要缩短的原始长链接

Gotchas

注意事项

  • Short URLs use the
    suro.id
    domain
  • Results are returned synchronously — no task polling needed
  • The
    content
    field must be a valid URL to shorten
MCP:
pip install mcp-shorturl
| Hosted:
https://short-url.mcp.acedata.cloud/mcp
| See all MCP servers
  • 短链接使用
    suro.id
    域名
  • 结果同步返回——无需轮询任务
  • content
    字段必须是有效的URL
MCP:
pip install mcp-shorturl
| 托管地址:
https://short-url.mcp.acedata.cloud/mcp
| 查看所有MCP服务器