# fxapi > fxapi provides current and historical foreign exchange rates for fiat, metal and crypto currencies over a simple JSON REST API. Authenticate every request with your API key via the `apikey` query parameter or request header. Base URL: https://api.fxapi.com ## Documentation - [Introduction](https://fxapi.com/docs): fxapi uses API keys to allow access to the API. You can register a new API key at our developer portal. - [Convert Exchange Rates](https://fxapi.com/docs/convert): Returns calculated values for today or any given date for all currencies. - [Currencies Endpoint](https://fxapi.com/docs/currencies): Returns all our supported currencies - [Currency List](https://fxapi.com/docs/currency-list) - [Building a Currency Converter in JavaScript](https://fxapi.com/docs/examples/currency-converter-javascript): In this article, we build a currency converter in JavaScript, with the help of our [JavaScript package], which handles the requests to the API itself. - [Building a Currency Converter in Vue.js](https://fxapi.com/docs/examples/currency-converter-vuejs): In this article, we build a currency converter in [Vue.js], with the help of our [JavaScript package] which handles the requests to the API itself. - [Examples](https://fxapi.com/docs/examples/index): We always strive to provide the best developer experience possible. To do so, we are continuously creating and improving tutorials which serve as a sample implementation of our API. - [Historical Exchange Rates](https://fxapi.com/docs/historical): Returns exchange rates for a given time range. Generally, we provide data going back to 1999. - [Latest Exchange Rates](https://fxapi.com/docs/latest): Returns the latest exchange rates. The default base currency is USD. - [MCP Server](https://fxapi.com/docs/mcp): Connect AI agents to the fxapi API through our hosted MCP (Model Context Protocol) server. - [Range Historical Exchange Rates](https://fxapi.com/docs/range): Returns a range of exchange rates. Generally, we provide data going back to 1999. - [Status Endpoint](https://fxapi.com/docs/status): Returns your current quota - [Request Status Codes](https://fxapi.com/docs/status-codes): For all requests, we will return an HTTP status code that indicates a success or the problem that has led to the failure. - [Testing](https://fxapi.com/docs/testing): Available in plans >= medium ## API Reference - [OpenAPI 3.1 specification](https://fxapi.com/docs/openapi.yaml): Machine-readable spec for every API endpoint, parameters and responses. - [Full documentation as markdown](https://fxapi.com/docs/llms-full.txt): All documentation pages concatenated as plain markdown. ## Optional - [Pricing & plans](https://fxapi.com/#pricing)