← Back to Home

Public API Documentation

Welcome to the Crypti-Ex Public API. Our API provides real-time market data, including tickers, order books, and recent trades. It is fully compatible with CoinGecko and CoinMarketCap standard requirements.

Base URL: https://cryptiex.com/api/
Rate Limit: 100 requests per minute per IP address.

1. Market Ticker (Summary)

Returns 24-hour pricing and volume summary for all active trading pairs.

GET/api/ticker.php
[ { "ticker_id": "BTC_USDT", "symbol": "BTC/USDT", "base_currency": "BTC", "target_currency": "USDT", "last_price": 65000.00, "base_volume": 14.5, "target_volume": 942500.00, "bid": 64990.00, "ask": 65010.00, "high": 66000.00, "low": 63500.00, "change_24h": 2.34, "source": "internal", "is_frozen": 0, "trading_pairs": "BTC_USDT", "highest_bid": 64990.00, "lowest_ask": 65010.00, "quote_volume": 942500.00, "highest_price_24h": 66000.00, "lowest_price_24h": 63500.00, "price_change_percent_24h": 2.34 } ]

2. Orderbook (Depth)

Returns the current open bids and asks for a specific trading pair.

GET/api/orderbook.php?ticker_id=BTC_USDT&depth=100

Parameters:
ticker_id (Required): e.g., BTC_USDT
depth (Optional): Default 100, Max 100.

{ "timestamp": 1725300000000, "bids": [ [ "64990.00", "0.5" ] ], "asks": [ [ "65010.00", "1.2" ] ] }

3. Recent Trades

Returns the most recent completed trades for a specific trading pair.

GET/api/trades.php?ticker_id=BTC_USDT

Parameters:
ticker_id (Required): e.g., BTC_USDT

[ { "trade_id": "TRD123456789", "price": "65000.00", "base_volume": "0.1", "quote_volume": "6500.00", "target_volume": "6500.00", "timestamp": 1725300000000, "type": "buy" } ]

4. Trading Pairs Metadata

Returns configuration, fees, and limits for all active trading pairs.

GET/api/pairs.php
[ { "ticker_id": "BTC_USDT", "base_currency": "BTC", "target_currency": "USDT", "price_decimals": 8, "amount_decimals": 8, "min_trade_amount": "0.00001000", "maker_fee_percent": 0.1, "taker_fee_percent": 0.1 } ]

5. Assets (Coins)

Returns a detailed summary for each currency available on the exchange (CoinMarketCap required).

GET/api/assets.php
{ "BTC": { "name": "Bitcoin", "unified_cryptoasset_id": "bitcoin", "can_withdraw": true, "can_deposit": true, "min_withdraw": "0.001", "max_withdraw": "10", "maker_fee": "0.001", "taker_fee": "0.001" } }