A PHP Error was encountered

Severity: Notice

Message: Use of undefined constant english - assumed 'english'

Filename: controllers/Pages.php

Line Number: 11

Backtrace:

File: /storage/public/exchange/application/controllers/Pages.php
Line: 11
Function: _error_handler

File: /storage/public/exchange/index.php
Line: 315
Function: require_once

FreiExchange
Markets
AIQ/BTC -11.11%
0.71550386 0.00000009
BTI/BTC 47.83%
0.49113972 0.00000368
DOGE/BTC 5.13%
0.23651668 0.00000039
ANC/BTC -4.86%
0.15148808 0.00006650
XCN/BTC 0.00%
0.01188725 0.00000011
FRC/BTC 0.00%
0.00576000 0.00000072
LTC/BTC -2.76%
0.00559898 0.00970000
XWC/BTC 0.00%
0.00300000 0.00001500
DTC/BTC 0.00%
0.00141887 0.00000040
SLM/BTC 0.00%
0.00099989 0.00000140
VLU/BTC 0.00%
0.00044000 0.00000110
MZC/BTC 0.00%
0.00013816 0.00000006
MANNA/BTC 0.00%
0.00001100 0.00000020
CAP/BTC 0.00%
0.00000012 0.00000005
AXE/BTC 0.00%
0.00000009 0.00000100
SUPER/BTC 0.00%
0.00000003 0.00000030
ILC/BTC 0.00%
0.00000002 0.00000680
MRN/BTC 0.00%
0.00000002 0.00000002
WCH/BTC 0.00%
0.00000000 0.00002000
LTB/BTC 0.00%
0.00000000 0.00002100
NYC/BTC 0.00%
0.00000000 0.00000001
GST/BTC 0.00%
0.00000000 0.00001400
DVC/BTC 0.00%
0.00000000 0.00000001
HUM/BTC 0.00%
0.00000000 0.00000006
ATB/BTC 0.00%
0.00000000 0.00000620
IXC/BTC 0.00%
0.00000000 0.00000600
AGC/BTC 0.00%
0.00000000 0.00000001
PPC/BTC 0.00%
0.00000000 0.00029000
SKC/BTC 0.00%
0.00000000 0.00000390
QRK/BTC 0.00%
0.00000000 0.00000070
TOKC/BTC 0.00%
0.00000000 0.00000101
CHAN/BTC 0.00%
0.00000000 0.00000120
HUC/BTC 0.00%
0.00000000 0.00000000
SDR/BTC 0.00%
0.00000000 0.00000901
DGB/BTC 0.00%
0.00000000 0.00000410
BTB/BTC 0.00%
0.00000000 0.03000000
DIME/BTC 0.00%
0.00000000 0.00000001
SUPP/BTC 0.00%
0.00000000 0.00000251
KGC/BTC 0.00%
0.00000000 0.00000699
MOON/BTC 0.00%
0.00000000 0.00000001
RDD/BTC 0.00%
0.00000000 0.00000020
CDT/BTC 0.00%
0.00000000 0.00000006
Public Channels
Api Documentation

Currently there is just a few json api functions implented. It will be extended as needed. Coincode is the shortcode FRC, ANC, SDR etc etc.

Public Information

For market ticker for all markets on exchange, use https://freiexchange.com/api/returnTicker

https://freiexchange.com/api/returnTicker (tickerdata for all markets)

"FRC_BTC": [ { "tradepair": "FRC_BTC", "marketid": "1", "volume24h": "3287.74870008", "average24h": "0.00000098", "high": "0.00000100", "low": "0.00000095", "last": "0.00000095", "volume24h_btc": "0.00312961", "percent_change_24h": "-3.157894736842" } ], "SDR_BTC": [ { "tradepair": "SDR_BTC", "marketid": "3", "volume24h": "0.00000000", "average24h": "0.00000000", "high": "0.00000000", "low": "0.00000000", "last": "0.00800000", "volume24h_btc": "0.00000000", "percent_change_24h": null } ], "ANC_BTC": [ {..... }

https://freiexchange.com/api/public/FRC
https://freiexchange.com/api/public/{coincode}

This will give you the data for last 24 hours

{"public":{"marketname":"FRC_BTC","marketid":"1","volume":"10886","average":"0.00000103","high":"0.00000106","low":"0.00000101","volume_btc":"0.01140657","last":"0.00000106"}}

Orderbook

https://freiexchange.com/api/orderbook/FRC
https://freiexchange.com/api/orderbook/{coincode}

This will give you the full orderbook for the coin you ask for

{"buy":[{"price":"0.00000101","amount":"10244.65346534"},{"price":"0.00000100","amount":"35533.38239654"},{"price":"0.00000075","amount":"57286.62958772"},{"price":"0.00000065","amount":"100000.00000000"},{"price":"0.00000055","amount":"100000.00000000"},{"price":"0.00000051","amount":"300000.00000000"},{"price":"0.00000042","amount":"19800.00000000"},{"price":"0.00000041","amount":"200000.00000000"},{"price":"0.00000035","amount":"200000.00000000"},{"price":"0.00000025","amount":"7994.00000000"},{"price":"0.00000021","amount":"50175.00000000"},{"price":"0.00000020","amount":"71312.50000000"},{"price":"0.00000018","amount":"19431.96666380"},{"price":"0.00000014","amount":"20000.00000000"},{"price":"0.00000013","amount":"40000.00000000"},{"price":"0.00000012","amount":"20000.00000000"},{"price":"0.00000008","amount":"10000.00000000"},{"price":"0.00000007","amount":"2500.00000000"},{"price":"0.00000006","amount":"7900.00000000"},{"price":"0.00000005","amount":"8500.00000000"},{"price":"0.00000002","amount":"150000.00000000"},{"price":"0.00000001","amount":"5600.00000000"}],"sell":[{"price":"0.00000109","amount":"3712.15639788"},{"price":"0.00000110","amount":"19651.00000000"},{"price":"0.00000114","amount":"38753.50625063"},{"price":"0.00000116","amount":"10998.12526000"},{"price":"0.00000120","amount":"17068.00000000"},{"price":"0.00000145","amount":"6500.00000000"},{"price":"0.00000150","amount":"40000.00000000"},{"price":"0.00000160","amount":"99993.70000000"},{"price":"0.00000170","amount":"60000.00000000"},{"price":"0.00000180","amount":"50000.00000000"},{"price":"0.00000200","amount":"50603.00000000"},{"price":"0.00000220","amount":"50000.00000000"},{"price":"0.00000250","amount":"50000.00000000"},{"price":"0.00000260","amount":"4522.07407407"},{"price":"0.00000272","amount":"58714.45535714"},{"price":"0.00000289","amount":"20792.38754326"},{"price":"0.00000298","amount":"19990.00000000"},{"price":"0.00000340","amount":"2017.45294119"},{"price":"0.00000358","amount":"5000.00000000"},{"price":"0.00000379","amount":"10000.00000000"},{"price":"0.00000380","amount":"10000.00000000"},{"price":"0.00000390","amount":"10000.00000000"},{"price":"0.00000399","amount":"10000.00000000"},{"price":"0.00000400","amount":"25000.00000000"},{"price":"0.00000410","amount":"25000.00000000"},{"price":"0.00000470","amount":"20000.00000000"},{"price":"0.00000474","amount":"10780.00000000"},{"price":"0.00000475","amount":"16355.32842106"},{"price":"0.00000489","amount":"60250.00000000"},{"price":"0.00000490","amount":"3072.64000000"},{"price":"0.00000499","amount":"40000.00000000"},{"price":"0.00000500","amount":"97444.09292167"},{"price":"0.00000550","amount":"21400.00000000"},{"price":"0.00000590","amount":"50000.00000000"},{"price":"0.00000599","amount":"10000.00000000"},{"price":"0.00000699","amount":"10000.00000000"},{"price":"0.00000799","amount":"10000.00000000"},{"price":"0.00000849","amount":"30711.00000000"},{"price":"0.00000899","amount":"10000.00000000"},{"price":"0.00000999","amount":"100000.00000000"},{"price":"0.00001200","amount":"27000.00000000"},{"price":"0.00001500","amount":"147.00000000"},{"price":"0.00003000","amount":"105425.27522236"},{"price":"0.00003690","amount":"369.00000000"},{"price":"0.00005400","amount":"120.00000000"},{"price":"0.00006900","amount":"300.00000000"},{"price":"0.00007200","amount":"180.00000000"},{"price":"0.00008420","amount":"535.00000000"},{"price":"0.00010200","amount":"1200.00000000"},{"price":"0.00010500","amount":"148.00000000"},{"price":"0.00014400","amount":"1440.00000000"},{"price":"0.00020000","amount":"71.00000000"},{"price":"0.00036900","amount":"369.00000000"},{"price":"0.00052000","amount":"520.00000000"},{"price":"0.00100000","amount":"400.00000000"},{"price":"0.00144000","amount":"1440.00000000"},{"price":"0.00369000","amount":"3690.00000000"},{"price":"0.02000000","amount":"1.00000000"},{"price":"0.10000000","amount":"100.00000000"},{"price":"1.00000000","amount":"132.00000000"}]}