API

What is API?

Application Programming Interface
MyBitExa exchange allows our clients to access public API, to view statistics for our exchange.

Public API

Request
GET https://mybitexa.com/api/v1/markets
Response
currency_pair Market name
fee Fee used in trading
min_order_size Minimum order size
currency_pair Market enabled
Request
GET https://mybitexa.com/api/v1/ticker/{currency_pair}
Error Invalid market
Response
high Daily high
last Price of last trade beeing executed
timestamp Unix timestamp of request
bid Current highest bid
volume Market volume
low Daily low
ask Current lowest ask
open Daily open
Request
GET https://mybitexa.com/api/v1/ticker_hour/{currency_pair}
Error Invalid market
Response
high Hourly high
last Last trade in last hour
timestamp Unix timestamp of request
bid Current highest bid
volume Market volume
low Hourly low
ask Current lowest ask
open Hourly open
Request
GET https://mybitexa.com/api/v1/orderbook/{currency_pair}
Optional: Limit https://mybitexa.com/api/v1/orderbook/{currency_pair}?limit = 5, 10, 20, 50, 100, 500, 1000, 5000, Default 100
Error Invalid market
Response
timestamp Current unix timestamp
bids Array of market bids, bid price and quantity
asks Array of market asks, ask price and quantity
Request
GET https://mybitexa.com/api/v1/trades/{currency_pair}
Optional: time https://mybitexa.com/api/v1/trades/{currency_pair}?time = minute, hour, day, Default hour
Error Invalid market
Response
date Unix timestamp of trade
price Price of purchase
type Buy or sell
amount Amount purchased or sold
Request
GET https://mybitexa.com/api/v1/marketsTicker
Response
baseVolume Market volume
high Daily high
low Daily low
bid Current highest bid
ask Current highest askk
open Daily open
percentChange Daily percentage change