Prices
The current price and available stock for a service in a country, as USD decimal strings.
GET
/v1/pricesThe current price and available stock for a service in a country. Pass service
and country to price a single option, or omit them to page through the whole
catalog. Prices are USD decimal strings.
Query parameters
service— optional, filter by service slug.country— optional, filter by ISO country code.
curl "https://api.otp.black/v1/prices?service=whatsapp&country=us" \
-H "Authorization: Bearer $API_KEY"[
{ "service": "whatsapp", "country": "us", "price": "0.65", "stock": 1523 }
]Fields
service— service slug.country— ISO country code.price— price to buy one number, USD decimal string.stock— numbers available right now.
The price shown here is exactly what a POST /v1/activations
will charge. Set max_price on that call to protect against price movement.