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 10.00%
1.92925914 0.00000020
DOGE/BTC 2.08%
0.10615243 0.00000048
LTC/BTC 13.04%
0.10266152 0.01499888
ANC/BTC 0.99%
0.09585842 0.00016900
FRC/BTC 0.00%
0.00931999 0.00000077
NYC/BTC 0.00%
0.00700000 0.00000002
SKC/BTC 0.44%
0.00550034 0.00000450
BTI/BTC 0.20%
0.00501062 0.00000508
XCN/BTC -5.26%
0.00096495 0.00000019
MANNA/BTC 0.00%
0.00091495 0.00000040
DGB/BTC 0.00%
0.00077608 0.00000428
DTC/BTC 0.00%
0.00062805 0.00000073
MRN/BTC 0.00%
0.00000140 0.00000007
SLM/BTC 0.00%
0.00000000 0.00000215
WCH/BTC 0.00%
0.00000000 0.00019499
LTB/BTC 0.00%
0.00000000 0.00002600
DVC/BTC 0.00%
0.00000000 0.00000001
AXE/BTC 0.00%
0.00000000 0.00000000
MZC/BTC 0.00%
0.00000000 0.00000007
HUM/BTC 0.00%
0.00000000 0.00000002
ATB/BTC 0.00%
0.00000000 0.00001230
AGC/BTC 0.00%
0.00000000 0.00000001
PPC/BTC 0.00%
0.00000000 0.00023000
QRK/BTC 0.00%
0.00000000 0.00000060
TOKC/BTC 0.00%
0.00000000 0.00000016
CHAN/BTC 0.00%
0.00000000 0.00000209
SDR/BTC 0.00%
0.00000000 0.00001001
BTB/BTC 0.00%
0.00000000 0.00164000
DIME/BTC 0.00%
0.00000000 0.00000001
SUPP/BTC 0.00%
0.00000000 0.00000116
ILC/BTC 0.00%
0.00000000 0.00000950
XWC/BTC 0.00%
0.00000000 0.00002222
MOON/BTC 0.00%
0.00000000 0.00000002
RDD/BTC 0.00%
0.00000000 0.00000076
CDT/BTC 0.00%
0.00000000 0.00000017
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"}]}