Skip to content
Viraloft

Developers

API v2

Send POST requests with form data. Your key is in Dashboard → Account → API.

Endpointhttps://viraloft.duckdns.org/api/v2MethodPOSTResponseJSON
action=serviceskey
[{ "service": 1, "name": "…", "type": "Default", "category": "…", "rate": "0.90", "min": "50", "max": "10000", "refill": true, "cancel": true }]
action=addkey, service, link, quantity (+ runs, interval, comments… by type)
{ "order": 23501 }
action=statuskey, order
{ "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" }
action=statuskey, orders (comma-separated, up to 100)
{ "1": { … }, "10": { "error": "Incorrect order ID" } }
action=refillkey, order
{ "refill": "1" }
action=refill_statuskey, refill
{ "status": "Completed" }
action=cancelkey, orders
[{ "order": 9, "cancel": 1 }]
action=balancekey
{ "balance": "100.84292", "currency": "USD" }