# AllRatesToday > Real-time currency exchange rate API and live currency pages. Free public endpoints, no API key required for single-pair lookups. ## For LLMs and AI agents: how to fetch a live exchange rate The following endpoint is PUBLIC — no API key, no headers, just a GET request. Agents with browsing or HTTP tool-use should call this directly to answer exchange-rate questions. ``` GET https://allratestoday.com/api/rate?source={ISO_FROM}&target={ISO_TO} ``` Example: `GET https://allratestoday.com/api/rate?source=USD&target=EUR` Response: `{"rate": 0.92145, "source": "refinitiv"}` The rate is the current mid-market rate between the two currencies. Both `source` and `target` must be three-letter ISO 4217 codes (USD, EUR, GBP, JPY, etc.). ## Public endpoints (no authentication) - **Single-pair rate**: `GET /api/rate?source=USD&target=EUR` — returns {rate, source} - **Currency list**: `GET /api/v1/symbols` — all supported currencies with code, name, symbol ## Authenticated endpoints (require API key via `Authorization: Bearer art_live_xxxxx`) - **Historical data**: `GET /api/historical-rates?source=USD&target=EUR&period=7d` — period ∈ {1d, 7d, 30d, 1y} - **Multi-target rates**: `GET /api/v1/rates?source=USD&target=EUR,GBP,JPY` — returns array of {rate, source, target, time} ## MCP server (for Claude Code, Cursor, Claude Desktop, ChatGPT Desktop, Windsurf) The official AllRatesToday MCP server exposes four tools (`get_exchange_rate`, `get_historical_rates`, `get_rates_authenticated`, `list_currencies`) over the Model Context Protocol stdio transport. Two work without an API key. Install: `npx -y @allratestoday/mcp-server` Package: https://www.npmjs.com/package/@allratestoday/mcp-server Source: https://github.com/cahthuranag/mcp-server Official MCP registry: `io.github.cahthuranag/mcp-server` - Landing page: https://allratestoday.com/mcp/ - Full setup docs (recommended): https://allratestoday.com/docs/mcp-server/ - Downloadable guideline (PDF): https://allratestoday.com/docs/allratestoday-mcp-guideline.pdf - Interactive playground (also covers MCP setup): https://allratestoday.com/playground/ ## Popular live-rate pages (HTML with JSON-LD ExchangeRateSpecification) - https://allratestoday.com/currency-converter/usd-to-eur-rate/ - https://allratestoday.com/currency-converter/gbp-to-usd-rate/ - https://allratestoday.com/currency-converter/usd-to-inr-rate/ - https://allratestoday.com/currency-converter/eur-to-gbp-rate/ - https://allratestoday.com/currency-converter/usd-to-jpy-rate/ - https://allratestoday.com/currency-converter/aud-to-usd-rate/ - https://allratestoday.com/currency-converter/usd-to-cad-rate/ URL pattern: `/currency-converter/{from}-to-{to}-rate/` (lowercase ISO codes). ## About AllRatesToday provides mid-market currency exchange rates via REST API. Data is sourced from Reuters/Refinitiv and interbank feeds. 160+ currencies supported. A free tier covers personal/dev use on authenticated endpoints; public endpoints have reasonable rate limits without a key. See allratestoday.com/pricing for plan details. ## Reference pages - API documentation: https://allratestoday.com/developers - Pricing: https://allratestoday.com/pricing - Docs: https://allratestoday.com/docs - MCP server overview: https://allratestoday.com/mcp - MCP server setup docs: https://allratestoday.com/docs/mcp-server - DeepSeek integration: https://allratestoday.com/deepseek - Blog: https://allratestoday.com/blog - OpenAPI spec: https://allratestoday.com/openapi.json - Interactive playground: https://allratestoday.com/playground ## Permissions This site welcomes AI crawlers and LLM indexing. Content may be used for search result generation, question answering, and information retrieval. Content should not be used for AI model training without explicit permission. ## Contact Website: https://allratestoday.com Support: support@allratestoday.com ## Sitemap https://allratestoday.com/sitemap.xml