毛驴拼命工作中...
Loading...
Loading...
Loading...
Loading...
Loading...

API 分销商接口

HTTP Method POST
base_url https://www.superlikefollow.com/api/
Response format JSON

Service list

参数 描述
key 12位卡密
action services

返回json

    [{
        "sku": "ins-follower-vip",
        "name": "Ins优质粉(包补30天)",
        "type": "onetime",
        "category": "Ins推广",
        "rate": 80.0,
        "min": 100,
        "max": 150000,
        "refill": false
    }, {
        "sku": "ins-follower-good",
        "name": "Ins普通粉",
        "type": "onetime",
        "category": "Ins推广",
        "rate": 60.0,
        "min": 100,
        "max": 100000,
        "refill": false
    }
]

Add order

返回json

{
    'balance_after': 9820.4,
    'balance_before': 9828.4,
    'charge': 8.0,
    'currency': 'CNY',
    'link': 'https://www.baidu.com',
    'msg': '',
    'order': '9ccd8e618c35cd8869b05cbd199cbd9',
    'quantity': 1000,
    'sku': 'google-seo-sem-cheap',
    'status': 'success'
}

Order status

参数 描述
key 12位卡密
action status
order Order id [多个order 请以英文逗号,分割]

返回json

    {
        "3915ccaa63204685a8b56df03e88bede": {
            "charge": 4.0,
            "url": "https://www.instagram.com/superip/",
            "count": 100,
            "status": "completed",
            "currency": "CNY",
            "start_count": 230,
            "remains": 0,
            "refund": false
        },
        "90fe7e3c3cc442758ae09e07d081b14f": {
            "charge": 19.6,
            "url": "https://twitter.com/luc139",
            "count": 200,
            "status": "canceled",
            "currency": "CNY",
            "start_count": 0,
            "remains": 200,
            "refund": true
        }
    }
                           

User balance

参数 描述
key 12位卡密
action balance

返回json

{
    "balance": "100.84292",
    "currency": "CNY"
}
# python 参考代码

    
import json
import pprint
import requests

headers = {   "content-type": "application/json",
                "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36",
                "cache-control": "no-cache", }

key_right = 'testAPI3WHFU' # 请输入正确的key, 也就是充值VIP卡密(计费用)

    

def post(action, params={}):
    key_val = {'action': action, 'key': key_right}
    if params:
        key_val.update(params)

    data=json.dumps(key_val)                    
    response = requests.post(
                base_url, headers=headers, data=data, timeout=20
            )  
    return response


#获取服务列表
response = post('services', {})
json_obj = json.loads(response.text)
pprint.pprint(json_obj)

#获取余额
response = post('balance', {})
json_obj = json.loads(response.text)
pprint.pprint(json_obj)

#下单 sku quantity 需要符合服务列表返回的json
response = post('add', {"sku": "ins-follower-vip",  "link":"https://www.instagram.com/aaa", "quantity":100})
json_obj = json.loads(response.text)
pprint.pprint(json_obj)