API文档

1.生成短链

请求地址:https://5rpa.com/api/

请求方式:GET 返回方式:JSON

请求参数解释类型示例
method请求方法文本add
key会员key,从会员中心获取文本0cc175b9c0f1b6a831c399e269772661
url原网址文本http://www.baidu.com
vip短链是否永久,0:临时(0天),1:永久数字1
domain

选择生成短链的域名

0:5rpa.com

8:abc.com

9:claze999.com

10:wj-r100.com

11:wj-100r.com

12: claze999.co

13:claze888.co

14:vjogo1.com

15: vjogo2.com

16:vjogo3.com

17:vjogo.vip

18:vjogo.tw

19:pt9.top

20:pt8.top

21:pt9.tw

22:pt8.store

23:pgtada26.com

24:pgtada27.com

25:pgtada25.com

26:pgtada23.com

27:pgtada24.com

28:clazeb.com

29:clazea.com

30:18n01.cc

31:pp18.store

32:12359.org

33:pjogox.com

34:pjogob.com

35:pjogoa.com

36:pjogov.com

37:pjogoz.com

38:qeiqbbcainaoiaqqhniogbshjfajgzkrdag4653.com

39:huiahduiqwbwdbuqruqwrvbqfczsjkzkvnd4564.com

40:popskccasww.com

41:tdb7.com

42:tdb1.com

43:tdb6.com

44:wj-101r.com

45:wj-102r.com

46:wj-103r.com

47:wj-app9.com

48:wj-apprs9.com

49:5rpa.com

50:5rpb.com

51:5rpp.com

52:wjplus-2.com

53:wjplus-1.com

54:clazevip0011.com

数字1

说明:(1)url传入前需要用urlencode转码(2)如果生成永久链接,请保证账户余额充足

请求示例
https://5rpa.com/api/?method=add&key=0cc175b9c0f1b6a831c399e269772661&domain=1&vip=1&url=http%3a%2f%2fwww.baidu.com

返回参数解释示例
code返回码success:成功,error:错误
id短链编号1
vip短链是否永久,0:临时(0天),1:永久123
short短链接https://5rpa.com/s/d
long原网址http://www.baidu.com
time短链接生成时间2021-01-18 15:38:52

返回示例:
{"code":"success","id":"1","vip":"1","short":"https://5rpa.com/s/d","long":"http://www.baidu.com","time":"2021-01-18 15:38:52"}

2.获取短链列表

请求地址:https://5rpa.com/api/

请求方式:GET 返回方式:JSON

请求参数解释示例
method请求方法list
key会员key,从会员中心获取0cc175b9c0f1b6a831c399e269772661

请求示例
https://5rpa.com/api/?method=list&key=0cc175b9c0f1b6a831c399e269772661

返回参数解释示例
S_vip短链是否永久,0:临时(0天),1:永久123
S_short短链接https://5rpa.com/s/d
S_url原网址http://www.baidu.com
S_time短链接生成时间2021-01-18 15:38:52

返回示例:
[{"S_vip":"1","S_short":"https://5rpa.com/d","S_url":"http://www.baidu.com","S_time":"2021-01-18 15:38:52"},{"S_vip":"1","S_short":"https://5rpa.com/e","S_url":"http://www.qq.com","S_time":"2021-01-18 15:38:52"}]

私人管家般的专属服务,只为您的使用更放心!
立即咨询