API
JSON sa HTTPS. Ipadala ang API key sa Authorization header. Hanggang 300 request kada minuto.
Base address
https://wingproxy.com/api/v1
Authentication
Header Authorization: Bearer YOUR_API_KEY. Gawin ang key sa API key page pagkatapos ng unang top-up.
curl https://wingproxy.com/api/v1/account \ -H "Authorization: Bearer YOUR_API_KEY"
GET /account
Balance at traffic.
Halimbawang response
{
"balance": "42.50",
"traffic_left_gb": "8.73",
"traffic_used_gb": "1.27"
}GET /prices
Presyo kada GB para sa bawat laki ng pack.
Halimbawang response
[
{ "from_gb": 1, "per_gb": "4.00" },
{ "from_gb": 10, "per_gb": "3.50" }
]POST /traffic {"gb": 10}
Bumibili ng traffic mula sa balance.
Halimbawang response
{
"id": 311,
"gb": 10,
"price": "35.00",
"status": "added"
}GET /list?country=de&session=sticky&minutes=10&count=5&format=hostport
Gumagawa ng proxy lines. country: country code o walang laman para sa kahit ano. session: rotating (default) o sticky. minutes: 1 hanggang 120 (default 10, sticky lang). count: 1 hanggang 1000 (default 10). format: hostport (host:port:user:pass, default) o url (user:pass@host:port). protocol: http (default) o socks5.
Halimbawang response
{
"lines": [ "gate.example:8000:user-country-de-session-a1b2-time-10:pass" ]
}GET /usage
Traffic kada araw sa huling 30 araw.
Halimbawang response
[
{ "day": "2026-10-13", "gb": "0.84" }
]Mga error
Nagbabalik ang mga error ng status na hindi 2xx at JSON body na may error code.
| unauthorized | Walang API key o mali ito |
| not_allowed | Bumubukas ang API pagkatapos ng unang top-up |
| bad_request | May field na kulang o mali |
| not_enough_balance | Mag-top up muna |
| not_added | Hindi naidagdag ang traffic; bumalik na sa balance ang presyo |
| checking | Hindi nag-confirm ang supplier; iche-check namin ito at idadagdag ang traffic o ibabalik ang presyo |
| no_login | Bumili muna ng traffic; saka gagawin ang iyong proxy login |
| rate_limited | Sobrang dami ng request sa loob ng isang minuto |
