Add 4 cyptocurrency information
parent
84dcdfb8c3
commit
c6ba29fa6e
|
@ -40,7 +40,6 @@ Content-Length: 28
|
|||
"user_id":"xxxxxxxxxxxx"
|
||||
}
|
||||
```
|
||||
|
||||
If the email exists
|
||||
```
|
||||
{
|
||||
|
|
|
@ -0,0 +1,64 @@
|
|||
# [Binance](https://github.com/binance/binance-spot-api-docs)
|
||||
|
||||
## __Description__
|
||||
Exchange for Trading Cryptocurrencies based in China
|
||||
|
||||
## __Example Request__
|
||||
* Curl
|
||||
```
|
||||
curl -H 'X-MBX-APIKEY: {{token}}' 'https://api.binance.com/api/v3/account'
|
||||
```
|
||||
|
||||
* Raw
|
||||
```
|
||||
GET /api/v3/account HTTP/1.1
|
||||
Host: api.binance.com
|
||||
X-MBX-APIKEY: {{token}}
|
||||
```
|
||||
|
||||
## __Response__
|
||||
* Success
|
||||
```
|
||||
{
|
||||
"makerCommission": 15,
|
||||
"takerCommission": 15,
|
||||
"buyerCommission": 0,
|
||||
"sellerCommission": 0,
|
||||
"canTrade": true,
|
||||
"canWithdraw": true,
|
||||
"canDeposit": true,
|
||||
"updateTime": 123456789,
|
||||
"accountType": "SPOT",
|
||||
"balances": [
|
||||
{
|
||||
"asset": "BTC",
|
||||
"free": "4723846.89208129",
|
||||
"locked": "0.00000000"
|
||||
},
|
||||
{
|
||||
"asset": "LTC",
|
||||
"free": "4763368.68006011",
|
||||
"locked": "0.00000000"
|
||||
}
|
||||
],
|
||||
"permissions": [
|
||||
"SPOT"
|
||||
]
|
||||
}
|
||||
```
|
||||
* Error
|
||||
```
|
||||
{
|
||||
"code":-2015,
|
||||
"msg":"Invalid API-key, IP, or permissions for action."
|
||||
}
|
||||
```
|
||||
## __Regex__
|
||||
```
|
||||
[a-zA-Z0-9]{64}
|
||||
```
|
||||
|
||||
## __Example API key__
|
||||
```
|
||||
8tc4fJ1ddM2VmnbFzTk3f7hXsrehnT8wP7u6EdIoVq7gyXWiL852TP1wnKp0qaGM
|
||||
```
|
|
@ -0,0 +1,62 @@
|
|||
# [Blockfrost](https://docs.blockfrost.io/)
|
||||
|
||||
## __Description__
|
||||
Interaction with the Cardano mainnet and several testnets
|
||||
|
||||
## __Example Request__
|
||||
* Curl
|
||||
```
|
||||
curl -H "project_id: {{token}}" "https://cardano-mainnet.blockfrost.io/api/v0/"
|
||||
```
|
||||
|
||||
* Raw
|
||||
```
|
||||
GET /api/v0/ HTTP/1.1
|
||||
Host: cardano-mainnet.blockfrost.io
|
||||
project_id: {{token}}
|
||||
```
|
||||
|
||||
## __Response__
|
||||
* Success
|
||||
```
|
||||
{
|
||||
"url":"https://blockfrost.io/",
|
||||
"version":"0.16.4"
|
||||
}
|
||||
```
|
||||
* Error
|
||||
```
|
||||
{
|
||||
"status_code":403,
|
||||
"error":"Forbidden",
|
||||
"message":"Invalid project token."
|
||||
}
|
||||
```
|
||||
## __Regex__
|
||||
* Mainnet
|
||||
```
|
||||
mainnet[a-zA-Z0-9]{32}
|
||||
```
|
||||
* Testnet
|
||||
```
|
||||
testnet[a-zA-Z0-9]{32}
|
||||
```
|
||||
* IPFS
|
||||
```
|
||||
ipfs[a-zA-Z0-9]{32}
|
||||
```
|
||||
|
||||
## __Example API key__
|
||||
```
|
||||
* Mainnet
|
||||
```
|
||||
mainnet8tc4fJ1ddM2VmnbFzTk3f7hXsrehnT8w
|
||||
```
|
||||
* Testnet
|
||||
```
|
||||
testnet8tc4fJ1ddM2VmnbFzTk3f7hXsrehnT8w
|
||||
```
|
||||
* IPFS
|
||||
```
|
||||
ipfs8tc4fJ1ddM2VmnbFzTk3f7hXsrehnT8w
|
||||
```
|
|
@ -0,0 +1,53 @@
|
|||
# [Brave New Coin](https://bravenewcoin.com/developers)
|
||||
|
||||
## __Description__
|
||||
Real-time and historic crypto data from more than 200+ exchanges
|
||||
|
||||
## __Example Request__
|
||||
* Curl
|
||||
```
|
||||
curl --request GET \
|
||||
--url https://bravenewcoin.p.rapidapi.com/market \
|
||||
--header 'x-rapidapi-host: bravenewcoin.p.rapidapi.com' \
|
||||
--header 'x-rapidapi-key: {{token}}'
|
||||
```
|
||||
|
||||
* Raw
|
||||
```
|
||||
GET /market HTTP/1.1
|
||||
X-Rapidapi-Host: bravenewcoin.p.rapidapi.com
|
||||
X-Rapidapi-Key: {{token}}
|
||||
Host: bravenewcoin.p.rapidapi.com
|
||||
```
|
||||
|
||||
## __Response__
|
||||
* Success
|
||||
```
|
||||
{
|
||||
"content": [{
|
||||
"id": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
|
||||
"baseAssetId": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
|
||||
"quoteAssetId": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
}, {
|
||||
"id": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
|
||||
"baseAssetId": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
|
||||
"quoteAssetId": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
},
|
||||
...
|
||||
}
|
||||
```
|
||||
* Error
|
||||
```
|
||||
{
|
||||
"message":"You are not subscribed to this API."
|
||||
}
|
||||
```
|
||||
## __Regex__
|
||||
```
|
||||
[a-z0-9]{50}
|
||||
```
|
||||
|
||||
## __Example API key__
|
||||
```
|
||||
d2vr0v1r039rik1293r9v3rk1i2ix239ri2309ri20r9i32r2r
|
||||
```
|
|
@ -0,0 +1,73 @@
|
|||
# [CoiinAPI](https://docs.coinapi.io/)
|
||||
|
||||
## __Description__
|
||||
All Currency Exchanges integrate under a single api
|
||||
|
||||
## __Example Request__
|
||||
* Curl
|
||||
```
|
||||
curl https://rest.coinapi.io/v1/exchanges --request GET --header "X-CoinAPI-Key: {{token}}"
|
||||
```
|
||||
|
||||
* Raw
|
||||
```
|
||||
GET /v1/exchanges HTTP/1.1
|
||||
Host: rest.coinapi.io
|
||||
X-CoinAPI-Key: {{token}}
|
||||
```
|
||||
|
||||
## __Response__
|
||||
* Success
|
||||
```
|
||||
[
|
||||
{
|
||||
"exchange_id": "OKCOIN_CNY",
|
||||
"website": "https://www.okcoin.cn/",
|
||||
"name": "OKCoin CNY",
|
||||
"data_start": "2013-06-12",
|
||||
"data_end": "2018-03-09",
|
||||
"data_quote_start": "2015-02-15T12:53:50.3430000Z",
|
||||
"data_quote_end": "2018-03-09T23:34:52.5800000Z",
|
||||
"data_orderbook_start": "2015-02-15T12:53:50.3430000Z",
|
||||
"data_orderbook_end": "2018-03-09T23:34:52.5800000Z",
|
||||
"data_trade_start": "2013-06-12T14:24:24.0000000Z",
|
||||
"data_trade_end": "2017-11-01T16:30:39.7077259Z",
|
||||
"data_symbols_count": 2,
|
||||
"volume_1hrs_usd": 0.0,
|
||||
"volume_1day_usd": 0.0,
|
||||
"volume_1mth_usd": 0.0
|
||||
},
|
||||
{
|
||||
"exchange_id": "HUOBI",
|
||||
"website": "https://www.huobi.com/",
|
||||
"name": "Huobi (HBUS)",
|
||||
"data_start": "2015-03-29",
|
||||
"data_end": "2019-11-03",
|
||||
"data_quote_start": "2015-03-29T21:46:06.2630000Z",
|
||||
"data_quote_end": "2019-11-03T18:22:29.1837496Z",
|
||||
"data_orderbook_start": "2015-03-29T21:46:06.2630000Z",
|
||||
"data_orderbook_end": "2019-11-03T18:23:53.2859878Z",
|
||||
"data_trade_start": "2015-03-29T21:46:08.7030000Z",
|
||||
"data_trade_end": "2019-11-03T18:21:48.2770000Z",
|
||||
"data_symbols_count": 403,
|
||||
"volume_1hrs_usd": 1605.80,
|
||||
"volume_1day_usd": 59957.44,
|
||||
"volume_1mth_usd": 1259508.43
|
||||
}
|
||||
]
|
||||
```
|
||||
* Error
|
||||
```
|
||||
{
|
||||
"error": "Invalid API key. If this is a new API Key, then we need a few minutes to propagate the new key through our independent server sites. This behavior is by design as our multiple geographical independent sites are designed to be highly available, and we didn\u0027t have a single point where the API keys are stored."
|
||||
}
|
||||
```
|
||||
## __Regex__
|
||||
```
|
||||
[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}
|
||||
```
|
||||
|
||||
## __Example API key__
|
||||
```
|
||||
ABCD1234-ABCD-1234-ABCD-ABCDEFGH1234
|
||||
```
|
Loading…
Reference in New Issue