Add 2 APIs
parent
a9be9c11be
commit
aa3fa306c8
|
@ -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
|
||||
```
|
|
@ -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
|
||||
```
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue