{"name":"Exchange Rate API","version":"1.0.0","description":"Real-time and historical exchange rates","endpoints":{"health":"GET /health","current":{"Get all rates":"GET /api/exchange-rates","Get USD to IQD":"GET /api/exchange-rates/usd-to-iqd","Get all rates (detailed)":"GET /api/exchange-rates/all","Get specific currency":"GET /api/exchange-rates/currency/:code","Get raw rates":"GET /api/exchange-rates/raw","Get formatted rates":"GET /api/exchange-rates/pretty","Get service status":"GET /api/exchange-rates/status","Force refresh":"POST /api/exchange-rates/refresh","Convert currencies":"POST /api/exchange-rates/convert"},"historical":{"Get rates by date":"GET /api/historical/date/:date","Get rates by range":"GET /api/historical/range?startDate=YYYY-MM-DD&endDate=YYYY-MM-DD","Get available currencies":"GET /api/historical/currencies","Get available dates":"GET /api/historical/dates","Get latest historical":"GET /api/historical/latest","Get currency history":"GET /api/historical/currency/:currency?days=30","Compare rates":"GET /api/historical/compare?date1=YYYY-MM-DD&date2=YYYY-MM-DD"}},"examples":{"Get today's rates":"/api/exchange-rates/raw","Get rates for 2024-01-15":"/api/historical/date/2024-01-15","Get USD history for 30 days":"/api/historical/currency/USD?days=30","Compare rates between dates":"/api/historical/compare?date1=2024-01-01&date2=2024-01-15"}}