{
  "info": {
    "_postman_id": "8f14e45f-ceea-467f-a8c1-6f0f2f6a9b21",
    "name": "CurrencyCore API",
    "description": "Generated from the CurrencyCore OpenAPI 3.1 contract. Contains 15 GET requests grouped by endpoint family. Select the CurrencyCore API environment, set apiKey, and send. The collection uses Bearer {{apiKey}}.",
    "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.currency-core.com/v1",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "Core",
      "description": "Conversion and the current or dated exchange-rate snapshot.",
      "item": [
        {
          "name": "Convert",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/convert?from=USD&to=EUR%2CINR&amount=100&ppp=false",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "convert"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "USD"
                },
                {
                  "key": "to",
                  "value": "EUR,INR"
                },
                {
                  "key": "amount",
                  "value": "100"
                },
                {
                  "key": "ppp",
                  "value": "false"
                }
              ]
            },
            "description": "Convert an amount between currencies, optionally PPP-adjusted."
          },
          "response": []
        },
        {
          "name": "Rates",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/rates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "rates"
              ],
              "query": []
            },
            "description": "The full exchange-rate snapshot for a date (USD base)."
          },
          "response": []
        },
        {
          "name": "Rates by base",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/rates/EUR",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "rates",
                "EUR"
              ],
              "query": []
            },
            "description": "The same snapshot re-expressed against any base currency."
          },
          "response": []
        }
      ]
    },
    {
      "name": "History",
      "description": "Daily rate series and analysis over a date window.",
      "item": [
        {
          "name": "History",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/history?currency=INR&base=USD&interval=daily",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "history"
              ],
              "query": [
                {
                  "key": "currency",
                  "value": "INR"
                },
                {
                  "key": "base",
                  "value": "USD"
                },
                {
                  "key": "interval",
                  "value": "daily"
                }
              ]
            },
            "description": "A single currency's daily rate time series over a date range. Free: last 30 days; Starter and above: full history."
          },
          "response": []
        },
        {
          "name": "History analysis",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/history/analysis?base=USD&currencies=GBP%2CEUR%2CAED&period=10y&sort=strengthened&assetClass=fiat&limit=10&interval=yearly&stats=true",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "history",
                "analysis"
              ],
              "query": [
                {
                  "key": "base",
                  "value": "USD"
                },
                {
                  "key": "currencies",
                  "value": "GBP,EUR,AED"
                },
                {
                  "key": "period",
                  "value": "10y"
                },
                {
                  "key": "sort",
                  "value": "strengthened"
                },
                {
                  "key": "assetClass",
                  "value": "fiat"
                },
                {
                  "key": "limit",
                  "value": "10"
                },
                {
                  "key": "interval",
                  "value": "yearly"
                },
                {
                  "key": "stats",
                  "value": "true"
                }
              ]
            },
            "description": "Trends, comparisons & 'movers': % change, strength, and min/max/avg over a window. Growth plan or higher."
          },
          "response": []
        }
      ]
    },
    {
      "name": "PPP",
      "description": "Purchasing-power-parity factors and PPP change over time.",
      "item": [
        {
          "name": "PPP factor",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/ppp?country=IND&year=2024",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ppp"
              ],
              "query": [
                {
                  "key": "country",
                  "value": "IND"
                },
                {
                  "key": "year",
                  "value": "2024"
                }
              ]
            },
            "description": "A single country's purchasing-power-parity conversion factor for a year (IMF World Economic Outlook)."
          },
          "response": []
        },
        {
          "name": "PPP analysis",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/ppp/analysis?countries=IND%2CDEU%2CUSA&period=10y&sort=increased&limit=10&stats=true",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ppp",
                "analysis"
              ],
              "query": [
                {
                  "key": "countries",
                  "value": "IND,DEU,USA"
                },
                {
                  "key": "period",
                  "value": "10y"
                },
                {
                  "key": "sort",
                  "value": "increased"
                },
                {
                  "key": "limit",
                  "value": "10"
                },
                {
                  "key": "stats",
                  "value": "true"
                }
              ]
            },
            "description": "PPP over time: how a country's purchasing-power-parity factor changed, comparing countries, or 'movers'. Growth plan or higher."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Analytics",
      "description": "Window metrics for volatility, correlation, drawdown, safe haven, and mean reversion.",
      "item": [
        {
          "name": "Volatility",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/volatility?currency=EUR&base=USD&sort=stable&universe=liquid&limit=10",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "volatility"
              ],
              "query": [
                {
                  "key": "currency",
                  "value": "EUR"
                },
                {
                  "key": "base",
                  "value": "USD"
                },
                {
                  "key": "sort",
                  "value": "stable"
                },
                {
                  "key": "universe",
                  "value": "liquid"
                },
                {
                  "key": "limit",
                  "value": "10"
                }
              ]
            },
            "description": "Annualized volatility of a currency vs a base, or a stability ranking of the liquid currencies. Growth plan or higher."
          },
          "response": []
        },
        {
          "name": "Correlation",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/correlation?base=EUR&currencies=GBP%2CCHF%2CSEK",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "correlation"
              ],
              "query": [
                {
                  "key": "base",
                  "value": "EUR"
                },
                {
                  "key": "currencies",
                  "value": "GBP,CHF,SEK"
                }
              ]
            },
            "description": "Correlation of each currency's daily returns with a base currency's, over a window. Growth plan or higher."
          },
          "response": []
        },
        {
          "name": "Drawdown",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/drawdown?currency=EUR&base=USD&sort=deepest&universe=liquid&limit=10",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "drawdown"
              ],
              "query": [
                {
                  "key": "currency",
                  "value": "EUR"
                },
                {
                  "key": "base",
                  "value": "USD"
                },
                {
                  "key": "sort",
                  "value": "deepest"
                },
                {
                  "key": "universe",
                  "value": "liquid"
                },
                {
                  "key": "limit",
                  "value": "10"
                }
              ]
            },
            "description": "Maximum peak-to-trough decline vs a base (with peak/trough/recovery), or a drawdown ranking. Growth plan or higher."
          },
          "response": []
        },
        {
          "name": "Safe haven",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/safe-haven?currencies=CHF%2CJPY&base=USD&limit=10",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "safe-haven"
              ],
              "query": [
                {
                  "key": "currencies",
                  "value": "CHF,JPY"
                },
                {
                  "key": "base",
                  "value": "USD"
                },
                {
                  "key": "limit",
                  "value": "10"
                }
              ]
            },
            "description": "Ranks currencies by a composite safe-haven score (low volatility + shallow drawdown + 2008-crisis resilience). Growth plan or higher."
          },
          "response": []
        },
        {
          "name": "Mean reversion",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/mean-reversion?currencies=EUR%2CGBP&base=USD&limit=10",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "mean-reversion"
              ],
              "query": [
                {
                  "key": "currencies",
                  "value": "EUR,GBP"
                },
                {
                  "key": "base",
                  "value": "USD"
                },
                {
                  "key": "limit",
                  "value": "10"
                }
              ]
            },
            "description": "Ranks currencies by how strongly they revert to their mean (crossing frequency + reversion half-life). Growth plan or higher."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Reference",
      "description": "Supported countries and currencies. Both paths are public.",
      "item": [
        {
          "name": "Countries",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/countries",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "countries"
              ],
              "query": []
            },
            "description": "The supported countries and their official currencies. Public, no key needed."
          },
          "response": []
        },
        {
          "name": "Currencies",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/currencies",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "currencies"
              ],
              "query": []
            },
            "description": "The full list of supported ISO 4217 currencies. Use it to resolve a name or symbol to its code, or to check whether a currency is supported (so a missing one fails clearly, not silently). Public, no key needed."
          },
          "response": []
        }
      ]
    },
    {
      "name": "AI",
      "description": "Natural-language currency questions with structured data in the response.",
      "item": [
        {
          "name": "AI",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/ai?q=Convert%2050%20euro%20to%20indian%20rupees",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "Convert 50 euro to indian rupees"
                }
              ]
            },
            "description": "Ask a natural-language currency question; the model answers using live rates."
          },
          "response": []
        }
      ]
    }
  ]
}
