Currencylayer · Example Payload

Currencylayer Getlive Example

Currency ExchangeForeign ExchangeFXForexConversionHistorical RatesTime FrameChange ReportPrecious MetalsAPILayerPublic APIs

Currencylayer Getlive Example is an example object payload from Currencylayer, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://api.apilayer.com/currency_data/live?source=USD&currencies=AUD,CHF,EUR,GBP,PLN",
    "headers": {
      "apikey": "YOUR_API_KEY"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "success": true,
      "terms": "https://currencylayer.com/terms",
      "privacy": "https://currencylayer.com/privacy",
      "timestamp": 1430068515,
      "source": "USD",
      "quotes": {
        "USDAUD": 1.278384,
        "USDCHF": 0.953975,
        "USDEUR": 0.919677,
        "USDGBP": 0.658443,
        "USDPLN": 3.713873
      }
    }
  }
}