v1

latestOpenAPI 3.0.32026-07-2618073.2 KB
Accounts

Get country details (pricing breakdown)

Returns detailed pricing breakdown for a specific country, showing how the user's discount is applied.

Response includes:

  • price — final price after user's personal discount
  • discount.base_price — price before discount
  • discount.percent — discount percentage applied

Use case. Account detail/checkout page where user needs to see both the original price and their discounted price.

Example. If base price is $3.00 and user has 10% discount:

  • price.amount: "2.70"
  • discount.base_price: "3.00"
  • discount.percent: 10
get/v1/accounts/{country_code}

Path parameters

country_codestring required

ISO 3166-1 alpha-2 country code (e.g., US, RU, GB).

Example:US

Response

Response for status 200

country_codestring required

ISO 3166-1 alpha-2 country code (e.g., US, RU, GB).

emojistring required

Country flag emoji.

availableboolean required

Indicates if account is available for purchase.

tagsstring[] required

Account tags (e.g., HIGH_QUALITY for premium accounts).

Example response

{
  "country_code": "US",
  "emoji": "🇺🇸",
  "display_name": {
    "ru": "США",
    "en": "United States"
  },
  "price": {
    "amount": "1.50",
    "currency_code": "USD"
  },
  "discount": {
    "base_price": "2.50",
    "percent": 5
  },
  "available": true,
  "tags": [
    "HIGH_QUALITY"
  ]
}