Add 5 apikey information

pull/4/head
daffainfo 2022-01-04 22:19:58 +07:00
parent 9a9ebf2a6d
commit 84dcdfb8c3
7 changed files with 276 additions and 11 deletions

View File

@ -48,13 +48,4 @@ sl.[a-zA-Z0-9_-]{136}
## __Example API key__
```
sl.ONOIUgObmbrgsga1kBI-q4NrS_R2cplbTe6zF9ImkQbiR7reMEke4Pcc_hhDtj7uGeEwGB5RmDKQrYclvhvQOkcPBWHRtkBqVabX5_gEhM-y_ZkXDtTQmUrK8gVq8j8YIIl9w8_B
```
If berhasil:
If gagal:
```

View File

@ -50,5 +50,5 @@ Host: api-v2.ddownload.com
## __Example API key__
```
of3ab02f3xd12ldofxc3fo
of3ab02f3xd12ldofxc3fodadsadadad
```

50
Cryptocurrency/Alchemy.md Normal file
View File

@ -0,0 +1,50 @@
# [Alchemy](https://docs.alchemy.com/alchemy/)
## __Description__
Ethereum Node-as-a-Service Provider
## __Example Request__
* Curl
```
curl -XPOST "https://eth-mainnet.alchemyapi.io/v2/{{token}}" -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":0}'
```
* Raw
```
POST /v2/{{token}} HTTP/1.1
Host: eth-mainnet.alchemyapi.io
Content-Type: application/x-www-form-urlencoded
Content-Length: 63
{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":0}
```
## __Response__
* Success
```
{
"jsonrpc": "2.0",
"id": 0,
"result": "0x000000"
}
```
* Error
```
{
"jsonrpc": "2.0",
"id": 0,
"error": {
"code": -32000,
"message": "Must be authenticated!"
}
}
```
## __Regex__
```
[a-zA-Z0-9-]{32}
```
## __Example API key__
```
ACf3vvsAUFQ6V4q2ODDDiCf3vvsAsA-a
```

View File

@ -0,0 +1,57 @@
# [BitcoinAverage](https://apiv2.bitcoinaverage.com/)
## __Description__
Digital Asset Price Data for the blockchain industry
## __Example Request__
* Curl
```
curl 'https://apiv2.bitcoinaverage.com/exchanges/ticker/bitstamp' -H 'x-ba-key: {{token}}'
```
* Raw
```
GET https://apiv2.bitcoinaverage.com/exchanges/ticker/bitstamp HTTP/1.1
Host: apiv2.bitcoinaverage.com
x-ba-key: {{token}}
```
## __Response__
* Success
```
{
"name": "bitstamp",
"display_name": "Bitstamp",
"url": "https://bitstamp.net/",
"timestamp": 00000000,
"data_source": "api",
"symbols": {
"ETHUSD": {
"ask": 0000.00000000,
"bid": 0000.00000000,
"last": 0000.000000,
"high": 0000.000000,
"low": 000.0000000,
"open": 0000.000000,
"vwap": 0000.000000,
"volume": 000.000000,
"exchange_symbol": "ETHUSD"
},
```
* Error
```
Api key does not exist {'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}
```
or if expired
```
Your plan has expired. Go to https://pro.bitcoinaverage.com/pages/auth/my-plan to active or extend your plan.
```
## __Regex__
```
[a-zA-Z0-9]{43}
```
## __Example API key__
```
NzI0MjM4Njc1NGQ3NDU4Mzg1NWU3YYmU4MTdiMaADwS
```

48
Cryptocurrency/Block.md Normal file
View File

@ -0,0 +1,48 @@
# [Block](https://www.block.io/docs/basic)
## __Description__
Bitcoin Payment, Wallet & Transaction Data
## __Example Request__
* Curl
```
curl 'https://block.io/api/v2/get_balance/?api_key={{token}}'
```
* Raw
```
GET /api/v2/get_balance/?api_key={{token}} HTTP/1.1
Host: block.io
```
## __Response__
* Success
```
{
"status": "success",
"data": {
"network": "BTC",
"available_balance": "0.00000000",
"pending_received_balance": "0.00000000"
}
}
```
* Error
```
{
"status": "fail",
"data": {
"error_message": "API Key invalid or you have not enabled API access for this machine's IP address(es). Check that your API Keys are correct, and that you have enabled API access for this machine's IP Address(es) on your account's Settings page.",
"connecting_ip": "127.0.0.1"
}
}
```
## __Regex__
```
[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}
```
## __Example API key__
```
17b5-7e2c-10f1-9eea
```

View File

@ -0,0 +1,65 @@
# [Blockchain](https://www.blockchain.com/api)
## __Description__
Bitcoin Payment, Wallet & Transaction Data
## __Example Request__
* Curl
```
curl 'https://api.blockchain.com/v3/exchange/accounts' -H 'X-API-Token: {{token}}'
```
* Raw
```
GET /v3/exchange/accounts HTTP/1.1
Host: api.blockchain.com
X-API-Token: {{token}}
```
## __Response__
* Success
```
{
"primary": [
{
"currency": "BTC",
"balance": 0.00366963,
"available": 0.00266963,
"balance_local": 38.746779155,
"available_local": 28.188009155,
"rate": 10558.77
}
],
"additionalProp1": [
{
"currency": "BTC",
"balance": 0.00366963,
"available": 0.00266963,
"balance_local": 38.746779155,
"available_local": 28.188009155,
"rate": 10558.77
}
],
...
}
```
* Error
```
{
"timestamp":"2022-01-04T15:08:26.723+00:00",
"status":401,
"error":"Unauthorized",
"message":"",
"path":"/accounts"
}
```
## __Regex__
```
[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[0-9a-f]{12}
```
## __Example API key__
```
da3ec69e-bdc3-8f07-b5e3-6521c026d4be
```

View File

@ -0,0 +1,54 @@
# [Coinlayer](https://coinlayer.com/documentation)
## __Description__
Real-time Crypto Currency Exchange Rates
## __Example Request__
* Curl
```
curl 'https://api.coinlayer.com/live?access_key={{token}}'
```
* Raw
```
GET /live?access_key={{token}} HTTP/1.1
Host: api.coinlayer.com
```
## __Response__
* Success
```
{
"success":true,
"terms":"https:\/\/coinlayer.com\/terms",
"privacy":"https:\/\/coinlayer.com\/privacy",
"timestamp":1641304507,
"target":"USD",
"rates":{
"ABC":00.00,
"ACP":0.000000,
"ACT":0.006995,
...
}
}
```
* Error
```
{
"success":false,
"error":{
"code":101,
"type":"invalid_access_key",
"info":"You have not supplied a valid API Access Key. [Technical Support: support@apilayer.com]"
}
}
```
## __Regex__
```
[a-z0-9]{32}
```
## __Example API key__
```
of3ab02f3xd12ldofxc3fodadsadadad
```