https://github.com/codigami/wazirx-api
public api of Wazirx
https://github.com/codigami/wazirx-api
Last synced: 3 months ago
JSON representation
public api of Wazirx
- Host: GitHub
- URL: https://github.com/codigami/wazirx-api
- Owner: Codigami
- Created: 2018-09-11T07:26:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-12T06:08:12.000Z (over 7 years ago)
- Last Synced: 2025-01-11T10:16:04.219Z (about 1 year ago)
- Size: 2.93 KB
- Stars: 3
- Watchers: 5
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WazirX Public Rest API
Here's our public API handed to you on a silver platter. You can use it to build tickers, price comparison apps, or anything that helps the crypto community. Use it wisely and responsibily. ❤️
## General Information
1. Base API Endpoint: https://api.wazirx.com
1. All public api will return either JSON or Array object.
### Public API Endpoints
1. GET `/api/v2/market-status`
Returns JSON object which has current market and assets status. Response object will have 2 keys `markets`(all market related configs will be in this key) and `assets`(all assets related configs will be here).
##### Response:
```
{
"markets": [
{
"baseMarket": "btc",
"quoteMarket": "inr",
"minBuyAmount": 0.001,
"minSellAmount": 0.001,
"fee": {
"bid": {
"maker": 0.001,
"taker": 0.0025
},
"ask": {
"maker": 0.001,
"taker": 0.0025
}
},
"basePrecision": 4,
"quotePrecision": 2,
"low": "460001.01",
"high": "505000.0",
"last": "480102.0",
"open": 505002,
"volume": "0.2071",
"sell": "490000.0",
"buy": "485001.0"
},
...
],
"assets": [
{
"type": "inr",
"name": "Rupee",
"withdrawFee": 0,
"minWithdrawAmount": 50,
"maxWithdrawAmount": 50000,
"deposit": "enabled",
"withdrawal": "enabled"
},
...
]
}
```
`markets` key have multiple market related configuration and description of every field in market is as below:
1. `baseMarket`: ticker code of base asset
1. `quoteMarket`: ticker code of quote asset
1. `minBuyAmount`: Minimum buy amount of base asset
1. `minSellAmount`: Minumum sell amount of base asset
1. `fee`: JSON Object consists of `bid` and `ask` order's maker-taker fee percentage
1. `basePrecision`: Maximum precision of base asset, this the decimal point.
1. `quotePrecision`: Maximum precision of quote asset
1. `low`: 24 hrs lowest price of base asset
1. `high`: 24 hrs highest price of base asset
1. `last`: Last traded price in current market
1. `open`: Market Open price 24hrs ago
1. `volume`: Last 24hrs traded volume
1. `sell`: Top ask order price
1. `buy`: Top bid order price
`assets` key have multiple asset related configuration as described below:
1. `type`: asset code
1. `name`: Display name of asset
1. `withdrawFee`: Withdrawal fee of asset
1. `minWithdrawAmount`: Minimum withdrawal amount in single transaction
1. `maxWithdrawAmount`: Maximum withdrawal amount in single transaction
1. `deposit`: Denotes whether deposit is enabled or disabled
1. `withdrawal`: Denotes whether withdrawal is enabled or disabled
1. GET `/api/v2/tickers`
Returns JSON response which has active market data with all ticker related values.
##### Response:
```
{
"btcinr": {
"base_unit": "btc",
"quote_unit": "inr",
"low": "472005.0",
"high": "508102.0",
"last": "508100.0",
"open": 490000,
"volume": "0.2709",
"sell": "508100.0",
"buy": "481000.0",
"name": "BTC/INR",
"at": 1536732262
},
...
}
```
Response have multiple key which denotes market and it has JSON object as a value which is consists of ticker information as mentioned below:
1. `base_unit`: ticker code of base market
1. `quote_unit`: ticker code of quote asset
1. `low`: 24 hrs lowest price of base asset
1. `high`: 24 hrs highest price of base asset
1. `last`: Last traded price in current market
1. `open`: Market Open price 24hrs ago
1. `volume`: Last 24hrs traded volume
1. `sell`: Top ask order price
1. `buy`: Top bid order price
1. `name`: Display text of market
1. `at`: Timestamp when ticker information is fetched
If you have any questions regarding APIs please reach out to us at http://support.wazirx.com