Connect with us
Base of endpoint
https://api.gophercoin.org
Verify state
For verify the state of the api you get to this endpoint
GET /health
The response must be to code 200
Get all dictionary
With the next endpoint you can see what is the type o currency in the api
GET /all
Response for example:
{\n\t\"1inch\": \"1inch\",\n\t\"aave\": \"Aave\",\n\t\"ada\": \"Cardano\",\n\t\"aed\": \"Emirati Dirham\",\n\t\"afn\": \"Afghan Afghani\",\n\t\"agix\": \"SingularityNET\",\n\t\"akt\": \"Akash Network\",\n\t\"algo\"}
Get the currency
With the next endpoint you can get the currency
GET /<currency-code>:<currency-common-name>
for example:
{
...
"btc": "Bitcoin",
"usd": "US Dollar",
"mxn": "Mexican Peso",
...
}
Get the exchange
this is for your exchange
GET /exchange/<currency-code>
Response json:
{
"date": "2025-02-18",
"eur": {
"1inch": 3.9004839,
"aave": 0.0040031729,
"ada": 1.35441158,
"aed": 3.84382391,
...
}
}