GET/balanceยอดเงิน
แสดงยอดคงเหลือที่ใช้ได้ในปัจจุบันเป็นดอลลาร์สหรัฐ
curl https://cheapmobileproxy.com/api/v1/balance \ -H "Authorization: Bearer YOUR_API_KEY"
{ "ok": true, "balance": "125.40", "currency": "USD" }จัดการยอดเงิน ผลิตภัณฑ์ คำสั่งซื้อ proxy และการเปลี่ยน IP ผ่าน REST API คุณสามารถทำทุกอย่างในคอนโซลผ่านเครื่องมือและสคริปต์ของคุณเอง
ที่อยู่พื้นฐานและการตรวจสอบสิทธิ์
https://cheapmobileproxy.com/api/v1 Authorization: Bearer YOUR_API_KEY
/balanceยอดเงินแสดงยอดคงเหลือที่ใช้ได้ในปัจจุบันเป็นดอลลาร์สหรัฐ
curl https://cheapmobileproxy.com/api/v1/balance \ -H "Authorization: Bearer YOUR_API_KEY"
{ "ok": true, "balance": "125.40", "currency": "USD" }/productsผลิตภัณฑ์และราคาแสดงประเทศที่ขายสำหรับแต่ละผลิตภัณฑ์ ระยะเวลาที่เลือกได้และราคาพร็อกซี 1 ตัวสำหรับแต่ละประเทศ และราคาต่อ GB สำหรับพร็อกซีแบบหมุน
curl https://cheapmobileproxy.com/api/v1/products \ -H "Authorization: Bearer YOUR_API_KEY"
{ "ok": true, "currency": "USD", "products": [ { "id": "dedicated", "unit": "proxy", "countries": [ { "country": "us", "periods": [ { "period": "1m", "days": 30, "price": "83.40" } ] } ] }, { "id": "rotating", "unit": "gb", "price_per_gb": "3.59" } ] }/ordersซื้อซื้อด้วยยอดเงิน สำหรับโมบายล์คงที่ ส่ง product, country, period, quantity(1~100) สำหรับโมบายล์หมุน ส่ง product, gb(1~1000), country(เลือก, ค่าเริ่มต้น any)
curl -X POST https://cheapmobileproxy.com/api/v1/orders \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "product": "dedicated", "country": "us", "period": "1m", "quantity": 2 }'{ "ok": true, "order": "P-7K2M-Q9XD-4HTA", "charged": "166.80", "balance": "58.60" }/ordersรายการสั่งซื้อแสดงรหัสสั่งซื้อ, สินค้า, ประเทศ, ระยะเวลา, จำนวน, ราคา, สถานะ และวันสิ้นสุด
curl https://cheapmobileproxy.com/api/v1/orders \ -H "Authorization: Bearer YOUR_API_KEY"
{ "ok": true, "orders": [ { "code": "P-7K2M-Q9XD-4HTA", "product": "dedicated", "country": "us", "period": "1m", "quantity": 2, "status": "ACTIVE" } ] }/proxiesรายการพร็อกซี่ส่งคืนโฮสต์ พอร์ต HTTP/SOCKS5 ชื่อผู้ใช้ รหัสผ่าน IP ปัจจุบัน และลิงก์เปลี่ยน IP ของพร็อกซีที่ใช้งานอยู่
curl https://cheapmobileproxy.com/api/v1/proxies \ -H "Authorization: Bearer YOUR_API_KEY"
{ "ok": true, "proxies": [ { "id": "pxk3m9q2wt7a", "country": "us", "host": "198.51.100.24", "http_port": 20418, "socks5_port": 30418, "username": "cmpk3m9q2wt", "password": "...", "ip": "203.0.113.57", "ip_change_url": "https://cheapmobileproxy.com/api/rotate/..." } ] }/proxies/{id}/rotateเปลี่ยน IPรับ IP ใหม่สำหรับโปรซีโมบายล์คงที่ เปลี่ยนได้ทุก 10 วินาทีต่อโปรซี
curl -X POST https://cheapmobileproxy.com/api/v1/proxies/pxk3m9q2wt7a/rotate \ -H "Authorization: Bearer YOUR_API_KEY"
{ "ok": true, "ip": "203.0.113.91", "changed_at": "2026-10-23T09:30:00.000Z" }| HTTP | code | ความหมาย |
|---|---|---|
| 401 | auth | ไม่มีคีย์ API หรือคีย์ API ไม่ถูกต้อง |
| 402 | balance | ยอดเงินไม่เพียงพอ (เงินจะไม่ถูกหัก) |
| 400 | bad_country, bad_period, bad_qty, bad_gb | ค่าที่ร้องขอไม่ตรงกับสินค้า (เงินจะไม่ถูกหัก) |
| 429 | rate, too_fast | 300 ครั้งต่อนาที เปลี่ยน IP ได้ทุก 10 วินาที |
| 503 | network | ข้อผิดพลาดเครือข่าย กรุณาส่งใหม่ในภายหลัง (เงินจะไม่ถูกหัก) |
เมื่อการเติมเงินครั้งแรกถูกบันทึกในยอดคงเหลือแล้ว คุณสามารถสร้างคีย์ API ในหน้า API ของคอนโซล ส่งคีย์นี้พร้อมทุกคำขอ และสามารถเปลี่ยนเป็นคีย์ใหม่ในคอนโซลเมื่อจำเป็น
คำสั่งซื้อผ่าน API จะถูกหักจากยอดคงเหลือเดียวกันกับคอนโซล สายคงที่สามารถสั่งซื้อได้ครั้งละ 1-100 ชิ้น ส่วนพร็อกซี่มือถือแบบหมุนจะซื้อเป็นหน่วย GB