{
  "info": {
    "name": "Currency Exchange Rate API",
    "description": "USD-based exchange rates for about 160 currencies through a metered JSON API, with daily historical rates back to 1999. Any currency can be the base, and the same edition backs webhooks and a WebSocket stream. Current rates come from the newest edition for the key’s plan, and each plan sets how often that edition can change and how far back historical rates reach.\n\nDocumentation: https://currencyexchangerate-api.com/docs",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.currencyexchangerate-api.com/api/v1",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "YOUR_API_KEY",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "GET /latest",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/latest?base=EGP&symbols=EUR,USD",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "latest"
          ],
          "query": [
            {
              "key": "base",
              "value": "EGP",
              "description": "Currency the rates are per one unit of. Case-insensitive, default USD. Any currency in the edition works, such as EGP."
            },
            {
              "key": "symbols",
              "value": "EUR,USD",
              "description": "Comma-separated currency codes, at most 200, case-insensitive. Without it, every currency is returned, including the base at 1."
            }
          ]
        },
        "description": "Current rates per one unit of a base currency. Every currency is returned unless symbols narrows the list."
      },
      "response": [
        {
          "name": "GET /latest example",
          "status": "OK",
          "code": 200,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"base\": \"EGP\",\n  \"updatedAt\": \"2026-10-08T00:00:01.000Z\",\n  \"nextUpdateAt\": \"2026-10-09T00:00:01.000Z\",\n  \"rates\": {\n    \"EUR\": 0.01895679012,\n    \"USD\": 0.02057613169\n  }\n}"
        }
      ]
    },
    {
      "name": "GET /convert",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/convert?from=EUR&to=GBP&amount=100",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "convert"
          ],
          "query": [
            {
              "key": "from",
              "value": "EUR",
              "description": "Currency code to convert from. Case-insensitive."
            },
            {
              "key": "to",
              "value": "GBP",
              "description": "Currency code to convert to. Case-insensitive."
            },
            {
              "key": "amount",
              "value": "100",
              "description": "Amount in the from currency. Greater than 0 and at most 1,000,000,000,000. Default 1."
            }
          ]
        },
        "description": "Converts an amount between any two currencies in the edition. The pair is converted through USD."
      },
      "response": [
        {
          "name": "GET /convert example",
          "status": "OK",
          "code": 200,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"from\": \"EUR\",\n  \"to\": \"GBP\",\n  \"amount\": 100,\n  \"rate\": 0.8524910453,\n  \"result\": 85.249105,\n  \"updatedAt\": \"2026-10-08T00:00:01.000Z\"\n}"
        }
      ]
    },
    {
      "name": "GET /historical",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/historical?date=2026-10-10&base=EUR&symbols=USD,GBP",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "historical"
          ],
          "query": [
            {
              "key": "date",
              "value": "2026-10-10",
              "description": "The day, YYYY-MM-DD (UTC), no later than today and within the plan’s historical reach."
            },
            {
              "key": "base",
              "value": "EUR",
              "description": "Currency the rates are per one unit of. Case-insensitive, default USD."
            },
            {
              "key": "symbols",
              "value": "USD,GBP",
              "description": "Comma-separated currency codes, at most 200, case-insensitive. Without it, every currency of that day is returned."
            }
          ]
        },
        "description": "Closing rates of one past UTC day per one unit of a base currency. On a weekend or holiday the nearest earlier day with rates is served, and date says which day it is."
      },
      "response": [
        {
          "name": "GET /historical example",
          "status": "OK",
          "code": 200,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"requestedDate\": \"2026-10-10\",\n  \"date\": \"2026-10-09\",\n  \"base\": \"EUR\",\n  \"rates\": {\n    \"GBP\": 0.8524910453,\n    \"USD\": 1.085422772\n  }\n}"
        }
      ]
    },
    {
      "name": "GET /timeseries",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/timeseries?start=2026-10-05&end=2026-10-07&symbols=EUR",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "timeseries"
          ],
          "query": [
            {
              "key": "start",
              "value": "2026-10-05",
              "description": "First day, YYYY-MM-DD (UTC), within the plan’s historical reach."
            },
            {
              "key": "end",
              "value": "2026-10-07",
              "description": "Last day, YYYY-MM-DD (UTC), no later than today and at most 365 days after start."
            },
            {
              "key": "symbols",
              "value": "EUR",
              "description": "Comma-separated currency codes, at most 200, case-insensitive. Codes a day lacks are left out of that day."
            }
          ]
        },
        "description": "Closing rates for every day with rates from start to end inclusive, at most 366 days, keyed by date. Weekends and holidays without rates are left out."
      },
      "response": [
        {
          "name": "GET /timeseries example",
          "status": "OK",
          "code": 200,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"base\": \"USD\",\n  \"start\": \"2026-10-05\",\n  \"end\": \"2026-10-07\",\n  \"rates\": {\n    \"2026-10-05\": {\n      \"EUR\": 0.9205\n    },\n    \"2026-10-06\": {\n      \"EUR\": 0.9198\n    },\n    \"2026-10-07\": {\n      \"EUR\": 0.9213\n    }\n  }\n}"
        }
      ]
    },
    {
      "name": "GET /currencies",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/currencies",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "currencies"
          ],
          "query": []
        },
        "description": "Every currency code in the newest snapshot, sorted by code, with an English name. Public and not metered.",
        "auth": {
          "type": "noauth"
        }
      },
      "response": [
        {
          "name": "GET /currencies example",
          "status": "OK",
          "code": 200,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "[\n  {\n    \"code\": \"AED\",\n    \"name\": \"United Arab Emirates Dirham\"\n  }\n]"
        }
      ]
    },
    {
      "name": "GET /preview",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/preview",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "preview"
          ],
          "query": []
        },
        "description": "Rates for a fixed selection of popular currencies from the newest snapshot. Public and not metered.",
        "auth": {
          "type": "noauth"
        }
      },
      "response": [
        {
          "name": "GET /preview example",
          "status": "OK",
          "code": 200,
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json"
            }
          ],
          "body": "{\n  \"base\": \"USD\",\n  \"updatedAt\": \"2026-10-08T00:00:01.000Z\",\n  \"nextUpdateAt\": \"2026-10-09T00:00:01.000Z\",\n  \"rates\": {\n    \"EUR\": 0.9213,\n    \"GBP\": 0.7854\n  }\n}"
        }
      ]
    }
  ]
}