FreiExchange / FreiXLite Api Documentation

The API is rate limited to 30 requests per 60 seconds per IP. Abusive requests will be automatically blocked.

Public Api

GET Ticker

Returns 24h market statistics for all enabled trading pairs, or a single pair when a coin is specified. Use /public/ticker to fetch all pairs in a single request. Polling individual tickers in a loop will result in a ban.

Endpoints
Response
{
  "FRC_BTC": [
    {
      "marketid": "1",
      "volume24h": "0.00000000",
      "average24h": "0.00000000",
      "high": "0.00000000",
      "low": "0.00000000",
      "last": "0.00000940",
      "volume24h_btc": "0.00000000",
      "percent_change_24h": "0.00"
    }
  ],
  "SDR_BTC": [ ... ]
}

GET Orderbook

Returns aggregated buy and sell orders for a trading pair, grouped by price level. Defaults to BTC base pair. Append /LTC for FreiXLite (LTC base) orderbooks.

Endpoints
Response
{
  "BUY": [
    {
      "id": "42",
      "coin": "LTB",
      "basecoin": "BTC",
      "price": "0.00002800",
      "amount": "45.78069884"
    }
  ],
  "SELL": [
    {
      "id": "57",
      "coin": "LTB",
      "basecoin": "BTC",
      "price": "0.00002899",
      "amount": "1.53319500"
    }
  ]
}