Developers cần tích hợp proxy vào ứng dụng? Proxy API giúp programmatically control proxies – lấy IP, rotate, monitoring.

Authentication
curl -H "Authorization: Bearer YOUR_API_KEY" https://api.vinaproxy.com/v1/proxies
Core Endpoints
Get Rotating Proxy
import requests
response = requests.get(
"https://api.vinaproxy.com/v1/proxy/rotate",
headers={"Authorization": "Bearer API_KEY"},
params={"country": "US"}
)
proxy = response.json()
Sticky Sessions
params={"session_id": "my-session", "duration": 600}
Check Usage
GET /v1/usage
{"bandwidth_used": "10.5 GB", "bandwidth_remaining": "39.5 GB"}
Integration Examples
Python Requests, Node.js, Scrapy, Selenium – Full code examples trong bài.
Error Handling
| Code | Meaning |
|---|---|
| 401 | Invalid API key |
| 429 | Rate limited |
| 402 | Insufficient balance |
Rate Limits
| Tier | API Calls/min |
|---|---|
| Basic | 300 |
| Pro | 1000 |
| Enterprise | Unlimited |
VinaProxy API
✅ RESTful + JSON
✅ Real-time rotation
✅ Sticky sessions
✅ Usage tracking
✅ API access FREE với $0.5/GB residential
Đăng ký: vinaproxy.com
