Add 3 apikey information

pull/4/head
daffainfo 2021-11-06 09:41:04 +07:00
parent 091ae1d340
commit 7c590f5466
5 changed files with 224 additions and 4 deletions

83
Authentication/Stytch.md Normal file
View File

@ -0,0 +1,83 @@
# [Stytch](https://stytch.com/docs/)
## __Description__
User infrastructure for modern applications
## __Example Request__
* Curl
```
curl --request POST \
--url https://test.stytch.com/v1/users \
-u 'PROJECT ID:SECRET' \
-H 'Content-Type: application/json' \
-d '{
"email": "test@stytch.com"
}'
```
* Raw
```
POST /v1/users HTTP/1.1
Authorization: Basic UFJPSkVDVCBJRDpTRUNSRVQ=
Host: test.stytch.com
Content-Type: application/json
Content-Length: 28
{"email": "test@stytch.com"}
```
## __Response__
* Success
If the email not exists
```
{
"email_id":"xxxxxxxxxxxx",
"phone_id":"",
"request_id":"xxxxxxxxxxxx",
"status":"active",
"status_code":201,
"user_id":"xxxxxxxxxxxx"
}
```
If the email exists
```
{
"status_code":400,
"request_id":"x","error_type":"duplicate_email",
"error_message":"A user with the specified email already exists for this project.",
"error_url":"https://stytch.com/docs/api/errors/400"
}
```
* Error
```
{
"status_code":401,
"request_id":"request-id-test-b2001541-53b3-4faa-b7c0-915d2199c9fc",
"error_type":"unauthorized_credentials",
"error_message":"Unauthorized credentials.",
"error_url":"https://stytch.com/docs/api/errors/401"
}
```
## __Regex__
* Project ID
```
project-.*-[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}
```
* Secret Token
```
secret-.*-[a-zA-Z0-9-_=]{36}
```
## __Example key__
* Project ID
```
project-test-c8267d84-db73-5b90-b8c4-e17b456857b8
```
* Secret Token
```
secret-test-wQZjAsRqcO6z-ac1M5t3WfuRy9C_rcFXQ-Y=
secret-test-o1dsqZWeKkX4YSnIspz_LKGjiNFBMMeRJPo=
```

63
Blockchain/Covalent.md Normal file
View File

@ -0,0 +1,63 @@
# [Covalent](https://www.covalenthq.com/docs/api/)
## __Description__
Multi-blockchain data aggregator platform
## __Example Request__
* Curl
```
curl -X GET "https://api.covalenthq.com/v1/3/address/balances_v2/?&key=YOURAPIKEY" -H "Accept: application/json"
```
* Raw
```
GET /v1/3/address/balances_v2/?&key=YOURAPIKEY HTTP/1.1
Host: api.covalenthq.com
Accept: application/json
```
## __Response__
* Success
```
{
"address": "string",
"updated_at": "1970-01-01T00:00:00.000Z",
"next_update_at": "1970-01-01T00:00:00.000Z",
"quote_currency": "string",
"uniswap_v2": {
"balances": [
{
"token_0": {
"contract_decimals": 0,
"contract_ticker_symbol": "string",
"contract_address": "string",
"logo_url": "string",
"balance": 0,
"quote": 0.5,
"quote_rate": 0.5
}
...
}
]
}
}
```
* Error
```
{
"data":null,
"error":true,
"error_message":"Invalid API key",
"error_code":401
}
```
## __Regex__
```
ckey_[a-z0-9]{27}
```
## __Example API key__
```
ckey_9c452a7xxxxxxb94832cxxxffff
```

44
Blockchain/Etherscan.md Normal file
View File

@ -0,0 +1,44 @@
# [Etherscan](https://docs.etherscan.io/)
## __Description__
Ethereum explorer API
## __Example Request__
* Curl
```
curl -X GET "https://api.etherscan.io/api?module=account&action=balance&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&tag=latest&apikey=YOURAPIKEY"
```
* Raw
```
GET /api?module=account&action=balance&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&tag=latest&apikey=YOURAPIKEY HTTP/1.1
Host: api.etherscan.io
```
## __Response__
* Success
```
{
"status":"1",
"message":"OK",
"result":"374868436783144397866641"
}
```
* Error
```
{
"status":"1",
"message":"OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result":"374868436783144397866641"
}
```
## __Regex__
```
[A-Z0-9]{34}
```
## __Example API key__
```
47ZBD9SAWKNN6XYB6A92V4GMCC741VYV37
```

6
Blockchain/README.md Normal file
View File

@ -0,0 +1,6 @@
# Authentication
List of Blockchain API
## Index
* [Covalent](Covalent.md)
* [Etherscan](Etherscan.md)

View File

@ -13,24 +13,48 @@ Detailed information about API
![](https://img.shields.io/github/last-commit/daffainfo/all-about-api) ![](https://img.shields.io/github/last-commit/daffainfo/all-about-api)
## Index ## Index
* __[Animals](Anime)__ <details>
<summary>Animals</summary>
* [IUCN](Animals/IUCN.md) * [IUCN](Animals/IUCN.md)
* [TheCatApi](Animals/TheCatApi.md) * [TheCatApi](Animals/TheCatApi.md)
* __[Anime](Anime)__ </details>
<details>
<summary>Anime</summary>
* [AniAPI](Anime/AniAPI.md) * [AniAPI](Anime/AniAPI.md)
* [MyAnimeList](Anime/MyAnimeList.md) * [MyAnimeList](Anime/MyAnimeList.md)
* __[Anti-Malware](Anti-Malware)__ </details>
<details>
<summary>Anti-Malware</summary>
* [AbuseIPDB](Anti-Malware/AbuseIPDB.md) * [AbuseIPDB](Anti-Malware/AbuseIPDB.md)
* [AlienVault Open Threat Exchange (OTX)](Anti-Malware/AlienVault%20Open%20Threat%20Exchange.md) * [AlienVault Open Threat Exchange (OTX)](Anti-Malware/AlienVault%20Open%20Threat%20Exchange.md)
* [Google Safe Browsing](Anti-Malware/Google%20Safe%20Browsing.md) * [Google Safe Browsing](Anti-Malware/Google%20Safe%20Browsing.md)
* [URLScan.io](Anti-Malware/URLScan.md) * [URLScan.io](Anti-Malware/URLScan.md)
* [VirusTotal](Anti-Malware/VirusTotal.md) * [VirusTotal](Anti-Malware/VirusTotal.md)
* __[Art-Design](Art-Design)__ </details>
<details>
<summary>Art-Design</summary>
* [Cooper Hewitt](Art-Design/Cooper%20Hewitt.md) * [Cooper Hewitt](Art-Design/Cooper%20Hewitt.md)
* [Dribbble](Art-Design/Dribbble.md) * [Dribbble](Art-Design/Dribbble.md)
* [Europeana](Art-Design/Europeana.md) * [Europeana](Art-Design/Europeana.md)
* [IconFinder](Art-Design/IconFinder.md) * [IconFinder](Art-Design/IconFinder.md)
* [Rijksmuseum](Art-Design/Rijksmuseum.md) * [Rijksmuseum](Art-Design/Rijksmuseum.md)
</details>
<details>
<summary>Athentication</summary>
* [Micro User Service](Authentication/Micro%20User%20Service.md)
* [Stytch](Authentication/Stytch.md)
</details>
<details>
<summary>BlockChain</summary>
* [Covalent](BlockChain/Covalent.md)
* [Etherscan](Blockchain/Etherscan.md)
</details>
## References ## References
- [public-apis](https://github.com/public-apis/public-apis) (APIs list to be added to this repository) - [public-apis](https://github.com/public-apis/public-apis) (APIs list to be added to this repository)