# [绿标短网址](https://www.svip8.vip/docs/api/show/Id/11.html)
> 本接口支持生成t.cn等绿标短网址生成,支持接口API以及在线生成和PC端
## 展示网站
> [https://shorturl.svip8.vip/](https://shorturl.svip8.vip/)
## 电脑端
> [下载电脑端](https://www.fxw.la/news/13416.html)
## 请求地址
> [https://api.svip8.vip/](https://api.svip8.vip/)
>
> * * *
## 请求方式
> GET&POST
>
> * * *
## 请求参数
| 参数名 | 值 |
| --- | --- |
| key | 项目生成的Key |
| text|要缩短的链接 |
| type|生成类型 |
## 生成类型
```17 surl.amap.com(高德绿标短网址)
32 f.amap.com(高德绿标短网址)
28 r.m.baidu.com (百度绿标短网址)
29 mi.mbd.baidu.com (百度绿标短网址)
30 my.mbd.baidu.com (百度绿标短网址)
31 mo.mbd.baidu.com(百度绿标短网址)
18 mr.baidu.com (百度短网址)
33 sinaurl.cn(新浪短网址)
1 t.cn (新浪短网址)
14 dx5.cn(短信短网址)
4 urltm.com (urltm短网址)
5 shorturl.at (shorturl.at短网址)
6 x8a.cn(x8a.cn短网址)
7 alturl.com(alturl.com短网址)
9 mtw.so (缩我短网址)
25 dwz.re(dwz.re短网址)
```
## GET提交示例
> https://api.svip8.vip/?text=urlencode('要缩短的网址')&type=短网址类型&key=你的KEY
>
> * * *
## POST参数类型
> JSON
>
> * * *
## POST提交参数
> {
"key": "AGr0sxHkbSe3IZjaNhDvo2yYXzMQwVLu",
"text": "https://www.fxw.la",
"type":"1"
}
>
> * * *
## 返回示例
~~~
{
"code": "200",
"url_short": "http://t.cn/EPxu6Fz",
"url_long": "https://www.fxw.la",
"msg":"生成成功"
}
~~~
## 接口调试
~~~[api]
get:https://api.svip8.vip
*string:key#项目生成的Key
*text=https://www.svip8.vip/#要缩短的网址
*type=1#生成类型
~~~