VIEW API

Getmarkethistory

Description

Used to retrieve the latest trades that have occurred for a specific market.

Request Parameters:

market: a string literal for the market (ex: BTC-USD)

MethodGET

Response:

200 OK       Success

type         object

Request Url Example

URL : https://naijacrypto.com/api/getmarkethistory?market=BTC-USD

Response Example (200 OK)

{   "success": true,"message": "''","result": [{  "Id": 319435, "TimeStamp": "2014-07-09T03:21:20.08", "Quantity": 0.30802438, "Price": 0.012634, "Total": 0.00389158, "FillType": "FILL", "OrderType": "BUY" }]}