all-about-apikey/amdoren
Muhammad Daffa 7372a52709 Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00
..
README.md Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00

README.md

Amdoren

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