API
JSON über HTTPS. Senden Sie Ihren API-Schlüssel im Authorization-Header. Bis zu 300 Anfragen pro Minute.
Basisadresse
https://wingproxy.com/api/v1
Authentifizierung
Header Authorization: Bearer YOUR_API_KEY. Erstellen Sie den Schlüssel nach Ihrer ersten Aufladung auf der Seite API-Schlüssel.
curl https://wingproxy.com/api/v1/account \ -H "Authorization: Bearer YOUR_API_KEY"
GET /account
Guthaben und Traffic.
Beispielantwort
{
"balance": "42.50",
"traffic_left_gb": "8.73",
"traffic_used_gb": "1.27"
}GET /prices
Preis pro GB für jede Paketgröße.
Beispielantwort
[
{ "from_gb": 1, "per_gb": "4.00" },
{ "from_gb": 10, "per_gb": "3.50" }
]POST /traffic {"gb": 10}
Kauft Traffic aus Ihrem Guthaben.
Beispielantwort
{
"id": 311,
"gb": 10,
"price": "35.00",
"status": "added"
}GET /list?country=de&session=sticky&minutes=10&count=5&format=hostport
Erstellt Proxy-Zeilen. country: ein Ländercode oder leer für beliebig. session: rotating (Standard) oder sticky. minutes: 1 bis 120 (Standard 10, nur sticky). count: 1 bis 1000 (Standard 10). format: hostport (host:port:user:pass, Standard) oder url (user:pass@host:port). protocol: http (Standard) oder socks5.
Beispielantwort
{
"lines": [ "gate.example:8000:user-country-de-session-a1b2-time-10:pass" ]
}GET /usage
Traffic pro Tag für die letzten 30 Tage.
Beispielantwort
[
{ "day": "2026-10-13", "gb": "0.84" }
]Fehler
Fehler liefern einen Status außerhalb von 2xx und einen JSON-Body mit Fehlercode.
| unauthorized | API-Schlüssel fehlt oder ist falsch |
| not_allowed | Die API steht nach Ihrer ersten Aufladung offen |
| bad_request | Ein Feld fehlt oder ist falsch |
| not_enough_balance | Zuerst aufladen |
| not_added | Der Traffic konnte nicht hinzugefügt werden; der Preis ist wieder in Ihrem Guthaben |
| checking | Die Bestätigung steht noch aus; wir prüfen sie und schreiben den Traffic gut oder erstatten den Preis |
| no_login | Zuerst Traffic kaufen; dann wird Ihr Proxy-Login erstellt |
| rate_limited | Zu viele Anfragen in einer Minute |
