Nhà phát triển
Dành cho nhà phát triển.
Một REST API đơn giản trả về JSON. Tự động hóa việc mua, kiểm tra số dư và quản lý danh sách từ chính mã của bạn.
Yêu cầu đầu tiên của bạn trong một phút.
Lấy khóa API trong bảng điều khiển, rồi gọi API chỉ với một header.
- 01Tạo tài khoản
- 02Sao chép khóa API
- 03Gửi một yêu cầu
curl "https://app.authilo.com/api/v1?endpoint=balance" \ -H "X-API-KEY: YOUR_API_KEY"import requests r = requests.get("https://app.authilo.com/api/v1", params={"endpoint": "balance"}, headers={"X-API-KEY": "YOUR_API_KEY"})print(r.json())const res = await fetch( "https://app.authilo.com/api/v1?endpoint=balance", { headers: { "X-API-KEY": "YOUR_API_KEY" } });console.log(await res.json());$ch = curl_init("https://app.authilo.com/api/v1?endpoint=balance");curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["X-API-KEY: YOUR_API_KEY"],]);echo curl_exec($ch); { "status": "success", "balance": 150.00, "currency": "USD" }Xác thực
Gửi khóa API trong header X-API-KEY ở mọi yêu cầu.
X-API-KEY: YOUR_API_KEYBASE URLhttps://app.authilo.com/api/v1?endpoint=nameGiữ khóa bí mật. Tham số truy vấn api_key cũng dùng được, nhưng header giúp khóa không lọt vào nhật ký và URL.
Endpoint
Chọn endpoint bằng tham số endpoint. GET đọc dữ liệu, POST thực hiện thay đổi.
balanceYour wallet balance in US dollars.list_listsList all your proxy lists.create_listCreate a proxy list. Needs title; optional rot_type, rotation_time, ports, country, region, city, isp, res_auth_type, whitelist.rename_listRename a list.rotate_listChange a list's rotation mode.toggle_list_statusPause or resume a list.delete_listDelete a list permanently.residential_plansResidential data plans and prices.residential_validate_couponCheck a coupon code before you buy.residential_purchaseBuy a residential data plan.bandwidth_statusCheck your residential data status.proxiesYour active SOCKS leases.static_proxiesYour static ISP and datacenter orders.socks_agentsProxy sources you can buy from.socks_filter_optionsAvailable countries, cities and ISPs.socks_purchaseBuy a SOCKS proxy. Needs agentID.socks_check_ipRun a quality check on an IP address.socks_historyYour purchase and refund history.socks_refundRefund an active lease.socks_whitelistSet the whitelisted IP on a lease.socks_noteAttach a note to a lease.sms_countriesCountries you can buy numbers in.sms_servicesServices you can verify.sms_poolsNumber pools for a service and country.sms_priceCheck the price before buying.sms_purchaseBuy a verification number.sms_activeYour pending and active orders.sms_checkCheck whether the code has arrived.sms_resendAsk for the code to be sent again.sms_cancelCancel an order and refund it if eligible.sms_activateReuse a number. This charges again.sms_reactivateReactivate an expired order. No refund.sms_historyYour last 50 SMS orders.sticky_startStart or resume a sticky pool.sticky_stopStop a sticky pool.sticky_statusPool status, connection details and entries. Needs listLogin.sticky_set_activeMake one IP in the pool the active one.sticky_delete_entriesDelete or replace entries in the pool.filter_list_available_listsLists you can scan.filter_list_latestYour most recent scan and its results.filter_list_scanScan a list for verified-clean proxies.filter_list_statusProgress of a running scan.filter_list_cancelCancel a running scan.filter_list_resultsSaved results for one list.filter_list_check_ipRe-check whether one result is still clean.filter_list_historyVerification history for one result.filter_list_verifyRun a fresh check on one result.filter_list_replace_startReplace a result that is no longer clean.filter_list_replace_statusProgress of a replacement.filter_list_toggle_saveSave or unsave a result.filter_list_delete_resultDelete one result.filter_list_has_unsavedCheck for unsaved results before a new scan.Không có quốc gia nào khớp với tìm kiếm.
Tạo một yêu cầu.
Chọn một endpoint và sao chép lệnh. Trang này không gửi gì cả.
Ví dụ: tạo một danh sách.
POST một JSON body để tạo danh sách residential xoay vòng ở Đức.
curl -X POST "https://app.authilo.com/api/v1?endpoint=create_list" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "my-first-list",
"rot_type": "rotating",
"rotation_time": 300,
"ports": 10,
"country": "DE"
}'Phản hồi và lỗi.
Mọi phản hồi là JSON có status là success hoặc error. Lỗi kèm một message. Khóa thiếu hoặc không hợp lệ trả về HTTP 401.
{ "status": "error", "message": "Invalid API key." }{ "status": "success", "balance": 150.00, "currency": "USD" }Bắt đầu ngay hôm nay.
Tạo tài khoản, nạp tiền và có kết nối đầu tiên chỉ sau vài phút.