Geting authorization token
example :
curl --request POST \ --url https://auth.bigmama.network/oauth/token \ --header 'content-type: application/x-www-form-urlencoded' \ -d "client_id=iyinBdBok0wjoGlMdxuCDkYc5n0HuTlB&client_secret=W0H_5sc8HkjmIMjZTwy_alv23FtCOyDJe74BT4VSpe7u2wPPbVKOYZ7SdcL8WmDE" "&username=email&password=password&audience=https%3A%2F%2Fcollector&grant_type=password"
client_id : iyinBdBok0wjoGlMdxuCDkYc5n0HuTlB
client_secret : W0H_5sc8HkjmIMjZTwy_alv23FtCOyDJe74BT4VSpe7u2wPPbVKOYZ7SdcL8WmDE
email : your login
password : your password
audience : https%3A%2F%2Fcollector
grant_type : password
All requests should provide "authorization" token, otherwise 403 Forbidden response
will be sent.
Requesting proxy list
GET : https://market.bigmama.network/api/agents?....
Header : authorization: Bearer [token]
query vars:
*cursor : cursor for next page (available in response) 0 - initial
*segments : true/false - display segments data in response
*cc : 2 letter country code
exstars : 1..5 - show with rating only
city :: string
ip1 [ip2] : string first/second ip octet
reg : region name
isp : isp name
leases : none/some - (private/shared)
conn : wifi/cell
fresh : fresh/worn (new/old)
response :
{ "agents": [ <AGENT_OBJECT>, ... ], "cursor": "222", "total": "333", "segments": { "cities": { <string>, ... }, "isps": { <string>, ... }, "zips": { <string>, ... }, "regions": { <string>, ... } } }AGENT_OBJECT:
{ "self": "/api/agents/CR5ZmjGRe7X", "id": "CR5ZmjGRe7X", "ip": "66.176._..", "host": "c-w.hsdl.fl.comcast.net", "conn": "wifi", "dev": "android", "stars": 3, "loc": { "cc": "US", "reg": "Florida", "city": "Miami", "zip": "33177", "isp": "Comcast Cable Communications" }, "leases": { "count": 0, "worn": true }, "score": 0.3499999493954, "actv": 0.29, "age": 4036502000000000, "priceSvc": 42, "priceExc": 143, "blacklists": { "listIDs": [ "@msbl.sorbs.net" ] } }Get leases
GET : https://market.bigmama.network/api/leases?cursor=0
query vars :
cursor : cursor
response :
{ "leases": [ <LEASE_OBJECT>, ... ], "cursor": 0 }LEASE_OBJECT:
{ "self": "/api/leases/3NLV-3662", "id": "3NLV-3662", "user": "urn:useruauth0|5fd7dca5ac74c00683c00f8", "agent": "/api/agents/CR5ZmjGRe7X", "info": { "ip": "66.176.204.30", "host": "c-66-176-204-36.hsdl.fl.comcast.net", "loc": { "cc": "US", "reg": "Florida", "city": "Miami", "zip": "33177", "isp": "Comcast Cable Communications" }, "score": 0.3499999493954, "leases": { "count": 1, "worn": true }, "age": 4036502000000000, "actv": 0.29, "conn": "wifi", "blacklists": { "listIDs": [ "@msbl.sorbs.net" ] } }, "currentInfo": { "ip": "66.176-204-30", "host": "c-66-176-204-36.hsdl.fl.comcast.net", "loc": { "cc": "US", "reg": "Florida", "city": "Miami", "zip": "33177", "isp": "Comcast Cable Communications" }, "score": 0.3499999493954, "leases": { "count": 1, "worn": true }, "age": 4036502000000000, "actv": 0.29, "conn": "wifi", "sucks": false, "host": "market.bigmama.network", "id": "79.129.169.55", "port": 1800, "user": "3d4d556d4b6e4", "pwd": "346466666sv9Ba" }, "stats": { "reqs": 0, "inBytes": 0, "outBytes": 0, "failPct": 0, "refundable": false }, "purchasePrice": 42, "renewable": false, "autoRenew": false }Lease proxy
POST : https://market.bigmama.network/api/leases
json object in body:
{"agentID":"<LEASE_ID>","expPrice":<PRICE>,"priv":true,"exc":false}exc : true - private, false - shared
response : [LEASE_OBJECT]
Refund lease
DELETE : https://market.bigmama.network/api/leases/{LEASE_ID}
path vars :
{LEASE_ID}
response :200 OK
Enable/Disable autorenew
GET : https://market.bigmama.network/api/leases/{LEASE_ID}/autoRenew?set=true
path vars :
{LEASE_ID}
query vars :
set : true/false
response :200 OK