> For the complete documentation index, see [llms.txt](https://ipforensics.gitbook.io/ipforensics/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ipforensics.gitbook.io/ipforensics/api/exchange-rate-api.md).

# Exchange Rate API

IpForensics provides a simple REST API with real-time and historical exchange rates for 200 world currencies including crypto, delivering currency pairs in universally usable JSON format - compatible with any of your applications.

Spot exchange rate data is retrieved from several major forex data providers in real-time, validated, processed and delivered hourly, every 10 minutes, or even within the 60-second market window.

Providing the most representative forex market value available ("midpoint" value) for every API request, the IpForensics API powers currency converters, mobile applications, financial software components and back-office systems all around the world

Features Available

| Endpoint                                                                                           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Real time Rate](/ipforensics/api/exchange-rate-api/live-rate-endpoint.md)                         | Real-time exchange rates using the IpForensics API's live endpoint.                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Historical Rate](/ipforensics/api/exchange-rate-api/historical-rate-endpoint.md)                  | The Ipforensics API provides accurate historical exchange rate data for every past day all the way back to the year of 2020.                                                                                                                                                                                                                                                                                                                                                                                             |
| [Currency Conversion Endpoint](/ipforensics/api/exchange-rate-api/currency-conversion-endpoint.md) | Using the `convert` endpoint, you may request the IpForensics API to perform a Single currency conversion on your behalf. e.g converting `$500 to Naira`                                                                                                                                                                                                                                                                                                                                                                 |
| [Currency Swap Endpoint](/ipforensics/api/exchange-rate-api/currency-swap-endpoint.md)             | <p>Our Currency Swap API endpoint is useful for applications where you just want to convert between two specific currencies and aren't interested in any others.</p><p></p><p>You'll need to choose your base currency code and the target currency you'd like to get the exchange rate for. </p><p></p><p>You'll then get a minimal JSON response back from our API with exactly the data you need. It's a much smaller response than the one you'd get from our Live Rate endpoint - quick & easy to develop with.</p> |
| [Currency Endpoint](/ipforensics/api-response-data/currency.md)                                    | A full list of supported currencies can be accessed both in JSON Format and on this website. We support crypto currencies. We support over 200+ currencies                                                                                                                                                                                                                                                                                                                                                               |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ipforensics.gitbook.io/ipforensics/api/exchange-rate-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
