Api Documentation

Introduction

Finex.xyz provides a simple and powerful REST API to allow you to programatically perform nearly all actions you can from our web interface. All requests use json content type and handle through https requests. The base url is https://finex.xyz/api/{version}/{request}. Currently there is only Public API, other Private API are being developed and should be live soon.
An API with success will return Error: true else Error: false.

Currently there is rate limit of 5 Public API calls per second.

If you have any questions, feedback or recommendation for API support, contact us on discord, email or tweet us.


Public Methods



/getmarket

Used to get the price and volume at finex.xyz along with other meta data for specific market.

Parameters

b : The base cryptocurrency , ex: BTC
c : The market coin , ex: DOGE

Request:
https://finex.xyz/api/v1/getmarket.php?b={basecoin}&c={marketcoin}
Example Response:
    {
	"error" : true,
	"message" : "",
	"result" : [{
			"MarketCurrency" : "DOGE",
			"BaseCurrency" : "BTC",
			"IsActive" : true,
            "Price" : "0.00000029",
            "Volume" : "0.31290000",
            "HighestBuy" : "0.00000028"
        ]
    }

                    

Currently only this API is available, other are being developed.