Core API

Cryptocurrency Information

Returns detailed metadata and optional fiat prices for a single cryptocurrency or token. This endpoint is useful when you only need information about one specific ticker, such as btc or trc20/usdt. Values such as minimum_transaction, minimum_fee and network_fee_estimation are retrieved from the service database.

GET https://api.kingpay.online/{ticker}/info/

Replace {ticker} with the cryptocurrency/network identifier (e.g. btc, bch, bep20/usdt, trc20/usdt).

Notices

  • This endpoint always returns a single object describing exactly one native coin or token.
  • Ticker syntax follows the same rules as in other endpoints: btc, bch, ltc, and network/token combinations like bep20/usdt, trc20/usdt.
  • For token tickers the returned ticker field uses the full network/token format (e.g. bep20/usdt), even though the request path may be split by slashes.
  • If fiat prices are enabled and available, the prices object contains converted values for multiple fiat currencies, derived from the internal USD price.
  • If the ticker is unknown, the endpoint returns an error JSON with status: "error".

Path parameters

ticker string • required

Identifies the cryptocurrency and (optionally) the token network this request refers to.

  • btc — Bitcoin mainnet.
  • bch — Bitcoin Cash.
  • trc20/usdt — USDT on TRON (TRC-20).
  • bep20/usdt — USDT on BNB Smart Chain (BEP-20).

Example: https://api.kingpay.online/trc20/usdt/info/


Query parameters

prices string • optional default: "1"

Controls whether fiat price data is included for this ticker.

  • "1", "true", "yes" — include fiat prices.
  • "0", "false", "no" — omit fiat prices.

Example: https://api.kingpay.online/btc/info/?prices=1

Response fields

{
  "coin": "BTC",
  "ticker": "btc",
  "contract": null,
  "minimum_transaction": 5460,
  "minimum_transaction_coin": "0.0000546",
  "minimum_fee": 546,
  "minimum_fee_coin": "0.00000546",
  "network_fee_estimation": "0.00000371",
  "fee_percent": "1.000",
  "prices_updated": "2025-12-14T18:54:50.574Z",
  "prices": {
    "USD": "88961.05",
    "EUR": "75758.25",
    "PLN": "319923.07",
    "..."
  },
  "status": "success"
}
      
  • coin — asset symbol/name stored in the database (e.g. "BTC", "USDT").
  • ticker — full ticker. For native assets it is the network ticker (e.g. "btc"). For token assets it is "network/token" (e.g. "trc20/usdt").
  • contract — network contract address
  • minimum_transaction — minimum transaction amount in base units (e.g. satoshis for BTC/LTC/DOGE, or token base units for EVM/TRON tokens).
  • minimum_transaction_coin — minimum transaction amount in coin units (human-readable), represented as a string.
  • minimum_fee — minimum fee value in base units (policy floor / dust).
  • minimum_fee_coin — minimum fee value in coin units, represented as a string.
  • network_fee_estimation — estimated network fee in coin units (string). May be "0" if no estimation is available yet.
  • fee_percent — service fee percentage as a string (e.g. "1.000").
  • prices_updated — ISO 8601 timestamp of the last successful price update for this ticker; null if USD price is not available.
  • prices — optional object mapping fiat currency codes (e.g. USD, EUR, PLN) to string amounts. Present only if prices is enabled and a USD price exists.
  • status — "success" on success or "error" if the ticker was not found.
  • error — error message (only present when status is "error").

Error example

If an invalid or unsupported ticker is requested, the endpoint responds with:

{
  "coin": "UNKNOWN",
  "ticker": "unknown",
  "minimum_transaction": 0,
  "minimum_transaction_coin": "0",
  "minimum_fee": 0,
  "minimum_fee_coin": "0",
  "network_fee_estimation": "0",
  "fee_percent": "1.000",
  "prices_updated": null,
  "status": "error",
  "error": "Invalid ticker"
}