Add 2 APIs

pull/4/head
daffainfo 2022-06-16 15:53:28 +07:00
parent a9be9c11be
commit aa3fa306c8
3 changed files with 92 additions and 0 deletions

View File

@ -0,0 +1,43 @@
# [1Forge](https://1forge.com/api)
## __Description__
Forex currency market data
## __Example Request__
* Curl
```
curl "https://api.1forge.com/quota?api_key={{token}}"
```
* Raw
```
GET /quota?api_key={{token}} HTTP/1.1
Host: api.1forge.com
```
## __Response__
* Success
```
{
quota_used: 259,
quota_limit: 5000,
quota_remaining: 4741,
hours_until_reset: 23
}
```
* Error
```
{
"error":true,
"message":"API Key Not Valid. Please go to 1forge.com to get an API key. If you have any questions please email us at contact@1forge.com"
}
```
## __Regex__
```
[a-zA-Z0-9]{32}
```
## __Example API key__
```
QSzFlcDwaXtfevSu4Oo98AsJb4fKMGio
```

View File

@ -0,0 +1,43 @@
# [Amdoren](https://www.amdoren.com/currency-api/)
## __Description__
Free currency API with over 150 currencies
## __Example Request__
* Curl
```
curl "https://www.amdoren.com/api/currency.php?api_key={{token}}&from=USD&to=EUR"
```
* Raw
```
GET /api/currency.php?api_key={{token}}&from=USD&to=EUR HTTP/1.1
Host: www.amdoren.com
```
## __Response__
* Success
```
{
"error" : 0,
"error_message" : "-",
"amount" : 0.95356
}
```
* Error
```
{
"error" : 110,
"error_message" : "Invalid API key: {{token}}.",
"amount" : 0
}
```
## __Regex__
```
[a-zA-Z0-9]{30}
```
## __Example API key__
```
QSzFlcDwaXtfevSu4Oo98AsJb4fKMG
```

View File

@ -128,6 +128,12 @@ Detailed information about API
* [Coinlayer](Cryptocurrency/Coinlayer.md)
* [Coinlib](Cryptocurrency/Coinlib.md)
</details>
<details>
<summary>Currency Exchange</summary>
* [1Forge](Currency%20Exchange/1Forge.md)
* [Amdoren](Currency%20Exchange/Amdoren.md)
</details>
## References
- [public-apis](https://github.com/public-apis/public-apis) (APIs list to be added to this repository)