Panel ile aynı fiyattan işlem yaparsınız. Anahtarı bağlantının içine değil, istek başlığına ekleyin. Bakiye sorgusu her zaman günceldir.
Panel ile aynı
Alımlar önce bakiyeden düşer; başarısız olursa iade. İlk SMS’ten sonra requestNextSms veya rent/:id/next ile bir SMS daha istenebilir. Satın alma ~20 dk; kiralama süre bitene kadar. Profil · Nasıl kullanılır.
PHP-style `/api/v1/<apiKey>/…` for curl/bots. Disabled in production unless ALLOW_PATH_API_KEYS=true. Browser Origin is always ignored — use Bearer / x-api-key.
JSON body is always { "error": "<CODE>" } for auth failures, or buy/cancel success: false with message + error. Never provider brand names.
HTTP
Code
When
401
INVALID_KEY
Missing / unknown API key
403
BANNED
Account banned (key may still resolve)
429
RATE_LIMITED
Per-user or public IP throttle
400
INSUFFICIENT_BALANCE
Buy / rent debit refused
400
NO_NUMBERS
No stock for that operator
400
TOO_EARLY_CANCEL / TOO_EARLY
Cancel before min window (rent: TOO_EARLY)
400
HAS_SMS
Cancel blocked — SMS already delivered
400
INVALID_STATE
Wrong status for poll / next / cancel
400
PROVIDER_ERROR
Upstream failure (generic copy)
400
BUY_UNCERTAIN
Debit held — do not retry until settle
02
Ops cron
Header only: Authorization: Bearer <CRON_SECRET> or x-cron-secret. GET /api/cron/expire-stale — expire PENDING, finish SUCCESS past TTL, expire rents. GET /api/cron/update-prices — catalog costs and USD→TRY.