The api is rate limited to maximum 1 request / 2 seconds. Abusive requests will automaticly be banned.
Ticker for all markets
For content providers, please use the public/ticker and retrive all data in one connection. Retriving 1 and 1 ticker in a loop will result in ban.
https://api.freiexchange.com/public/ticker
https://api.freiexchange.com/public/ticker/FRC
Response :
{
"FRC_BTC": [
{
"marketid": "1",
"volume24h": "0.00000000",
"average24h": "0.00000000",
"high": "0.0000000000000000",
"low": "0.0000000000000000",
"last": "0.0000009400000000",
"volume24h_btc": "0.0000000000000000",
"percent_change_24h": null
}
],
"SDR_BTC": [..........
Orderbook
Use shortcode in end to retrive orderbook for coin or it will default to FRC. For LTC orderbooks, add /LTC/ on the end.
https://api.freiexchange.com/public/orderbook/LTB>
https://api.freiexchange.com/public/orderbook/FRC/LTC
Response :
{
"BUY": [
{
"coin": "LTB",
"basecoin": "BTC",
"price": "0.00002800",
"amount": "45.78069884"
}
],
"SELL": [
{
"coin": "LTB",
"basecoin": "BTC",
"price": "0.00002899",
"amount": "1.53319500"
},
{
"coin": "LTB",
"basecoin": "BTC",
"price": "0.00002900",
"amount": "0.88000000"
},
{
"coin": "LTB",
"basecoin": "BTC",
"price": "0.00003000",
"amount": "0.33000000"
},
{
"coin": "LTB",
"basecoin": "BTC",
"price": "0.00003010",
"amount": "0.78452000"
}
]
}