首页 登录/注册

BMA-BMA短网址

输入将要缩短的长网址:

创建
重置

API接口说明

接口:http://bma-bma.org/sapi.so?urls=urlencode('要缩短的网址')&auth=yourkey

例如:http://bma-bma.org/sapi.so?urls=http%3a%2f%2fwww.baidu.com&auth=yourkey

短链接api请求频次限制: 1次/秒

短链接auth: 请登录后查看

使用问题和建议,请联系suourl@qq.com

TEXT格式短网址API接口

说明:format为text

例如:http://bma-bma.org/sapi.so?format=text&urls=http%3a%2f%2fwww.baidu.com&auth=yourkey

返回:http://bma-bma.org/15G0t5\nhttp://bma-bma.org/15G0t6

JSON格式短网址API接口

说明:format为json

例如:http://bma-bma.org/sapi.so?format=json&urls=http%3a%2f%2fwww.baidu.com&auth=yourkey

返回:{"urls":"http://bma-bma.org/15G0t5\nhttp://bma-bma.org/15G0t6","code":"","msg":""}

JSONP格式短网址API接口

说明:format为jsonp

例如:http://bma-bma.org/sapi.so?format=jsonp&urls=http%3a%2f%2fbaidu.com&callback=callbackname&auth=yourkey

返回:callbackname({"urls":"http://bma-bma.org/15G0t5\nhttp://bma-bma.org/15G0t6","code":"","msg":""})

XML格式短网址API接口

说明:format为xml

例如:http://bma-bma.org/sapi.so?format=xml&urls=http%3a%2f%2fwww.baidu.com&auth=yourkey

返回:<root><code>1</code><urls>http://bma-bma.org/15G0t5\nhttp://bma-bma.org/15G0t6</urls><msg>success</msg></root>