all-about-apikey/abstract-exchange-rates
Muhammad Daffa cdda7e6ab5 Fix readme and added 12 information 2022-07-24 22:40:18 +07:00
..
README.md Fix readme and added 12 information 2022-07-24 22:40:18 +07:00

README.md

Abstract Exchange Rates

Description

Get live and historical data from 60+ fiat and crypto currencies via a modern REST API

Example Request

  • Curl
curl "https://currency.abstractapi.com/v1/?api_key={{token}}&base=USD"
  • Raw
GET /v1/?api_key={{token}}&base=USD HTTP/1.1
Host: currency.abstractapi.com

Response

  • Success
{
    "base": "USD",
    "last_updated_unix": "1593614038",
    "last_updated_utc": "Wed, 01 Jul 2020 14:33:58 +0000",
    "exchange_rate": {
        "EUR": 0.889758,
        "CAD": 1.35676,
        "AUD": 1.44753,
        "GBP": 0.807175,
        "CHF": 0.946451,
        "CNY": 7.06409,
        ...
        ...
    }
}
  • Error
{
    "error":{
        "message":"Invalid API key provided.",
        "code":"unauthorized",
        "details":null
    }
}

Regex

[a-z0-9]{32}

Example API key

of3ab02f3xd12ldofxc3fosc129sd241