# Open Exchange Rates

```json
{
  "name": "Open Exchange Rates",
  "slug": "open_exchange_rates",
  "url": "https://composio.dev/toolkits/open_exchange_rates",
  "markdown_url": "https://composio.dev/toolkits/open_exchange_rates.md",
  "logo_url": "https://logos.composio.dev/api/open_exchange_rates",
  "categories": [
    "finance & accounting"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-11-19T05:34:34.332Z"
}
```

![Open Exchange Rates logo](https://logos.composio.dev/api/open_exchange_rates)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Open Exchange Rates MCP or direct API to fetch live rates, convert currencies, query historical data, and review market usage through natural language.

## Summary

Open Exchange Rates is a foreign exchange data service for current and historical currency rates, conversions, and market data.
It provides reliable currency insights through simple API access.

## Categories

- finance & accounting

## Toolkit Details

- Tools: 7

## Images

- Logo: https://logos.composio.dev/api/open_exchange_rates

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for Open Exchange Rates.
  - Setup:
    - Configure Api Key credentials for Open Exchange Rates.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Get latest USD rates for EUR
- Convert 1,000 USD to EUR today
- Show historical GBP rates for January 2025

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `OPEN_EXCHANGE_RATES_CONVERT_CURRENCY` | Convert Currency | Convert a monetary amount between two currencies at the latest available rate. This endpoint requires an Open Exchange Rates Unlimited plan; successful paid-tier behavior has not been live-verified. |
| `OPEN_EXCHANGE_RATES_GET_HISTORICAL_RATES` | Get Historical Rates | Get end-of-day midpoint exchange rates for one UTC date on or after 1999-01-01. Non-USD bases require a paid plan. |
| `OPEN_EXCHANGE_RATES_GET_LATEST_RATES` | Get Latest Rates | Get the latest midpoint exchange rates for a base currency, optionally limited to selected currency symbols. Non-USD bases require a paid plan. |
| `OPEN_EXCHANGE_RATES_GET_OHLC_RATES` | Get OHLC Rates | Get open, high, low, close, and average exchange rates for one aggregation period. Requires VIP Platinum or equivalent select-client access with contact-based pricing. Successful paid behavior remains unverified. |
| `OPEN_EXCHANGE_RATES_GET_TIME_SERIES` | Get Time Series | Get daily exchange rates for an inclusive UTC date range of at most one month. Requires an Enterprise or Unlimited plan, and each returned day consumes one quota request. Successful responses are documented but have not been verified against an entitled account. |
| `OPEN_EXCHANGE_RATES_GET_USAGE` | Get Usage | Get the connected App ID's plan features, exchange-rate data refresh frequency, and current-month request usage. |
| `OPEN_EXCHANGE_RATES_LIST_CURRENCIES` | List Currencies | List available currency symbols and display names, optionally including alternative or inactive currencies. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to Open Exchange Rates
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["open_exchange_rates"])
tools = session.tools()
```

```typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["open_exchange_rates"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run Open Exchange Rates tools with your agent

Send a request, execute the Open Exchange Rates tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Get the latest USD exchange rates for EUR, GBP, and JPY."}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Get the latest USD exchange rates for EUR, GBP, and JPY." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to Open Exchange Rates and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["open_exchange_rates"], mcp=True)
```

```typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["open_exchange_rates"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a Open Exchange Rates request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to Open Exchange Rates tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Get the latest USD exchange rates for EUR, GBP, and JPY.")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Get the latest USD exchange rates for EUR, GBP, and JPY.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native Open Exchange Rates Integration

- Supports both Open Exchange Rates MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable rate lookups and currency conversions
- Rich coverage for current rates, historical data, time series, and market data

### 2. Secure API Key Handling

- Connect Open Exchange Rates with your API key without embedding credentials in agent prompts
- Central place to manage, scope, and revoke Open Exchange Rates access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Clear inputs and structured outputs help agents select the right rate or conversion tool
- Comprehensive execution logs show what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Open Exchange Rates
- Scoped, least privilege access to Open Exchange Rates resources
- Full audit trail of agent actions to support review and compliance

## Use Open Exchange Rates with any AI Agent Framework

Choose a framework you want to connect Open Exchange Rates with:

- [ChatGPT](https://composio.dev/toolkits/open_exchange_rates/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/open_exchange_rates/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/open_exchange_rates/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/open_exchange_rates/framework/atomic-agent)

## Related Toolkits

- [Stripe](https://composio.dev/toolkits/stripe) - Stripe is a global online payments platform offering APIs for managing payments, customers, and subscriptions. Trusted by businesses for secure, efficient, and scalable payment processing worldwide.
- [44API](https://composio.dev/toolkits/44api) - 44API is an API service for validating VAT and tax identifiers and returning company details. Use it to verify business tax data and manage account IP whitelists quickly.
- [Airwallex](https://composio.dev/toolkits/airwallex) - Airwallex is a global financial platform providing business accounts, payments, payouts, FX, and cards. Built to simplify cross-border payments and streamline financial operations for businesses.
- [Aiwyn Tax MCP](https://composio.dev/toolkits/aiwyn_tax_mcp) - Aiwyn Tax MCP is a tax estimation service powered by Aiwyn's federal and state tax engine. It helps teams estimate tax outcomes without building tax calculation logic from scratch.
- [Alpaca](https://composio.dev/toolkits/alpaca) - Alpaca is a stock and crypto trading platform for commission-free trading, real-time market data, and algorithmic strategies. Use it to build brokerage apps, trading bots, and portfolio workflows with market connectivity.
- [Alpha vantage](https://composio.dev/toolkits/alpha_vantage) - Alpha Vantage is a financial data platform offering real-time and historical stock market APIs. Get instant, reliable access to equities, forex, and technical analysis data for smarter trading decisions.
- [Altoviz](https://composio.dev/toolkits/altoviz) - Altoviz is a cloud-based billing and invoicing platform for businesses. It streamlines online payments, expense tracking, and customizable invoice management.
- [Anrok](https://composio.dev/toolkits/anrok) - Anrok is a sales tax platform for software businesses that automates calculations, compliance, filings, and exemption management. It helps finance teams stay accurate and reduce the manual work of tax operations.
- [Benzinga](https://composio.dev/toolkits/benzinga) - Benzinga provides real-time financial news and data APIs for market coverage. It helps you track breaking news and actionable market insights instantly.
- [bexio](https://composio.dev/toolkits/bexio) - bexio is a Swiss business management platform for accounting, invoicing, contacts, projects, banking, expenses, and payroll. It brings core business operations into one connected workspace.
- [Bigdata.com MCP](https://composio.dev/toolkits/bigdata_com_mcp) - Bigdata.com MCP provides grounded access to financial news, transcripts, filings, and entity intelligence. Ideal for building research workflows and generating timely market insights.
- [Billsby](https://composio.dev/toolkits/billsby) - Billsby is a subscription billing platform for managing customers, subscriptions, invoices, products, plans, usage counters, add-ons, and allowances. It helps SaaS and subscription teams automate billing operations without building complex billing logic from scratch.
- [Brex](https://composio.dev/toolkits/brex) - Brex provides corporate credit cards and spend management tailored for startups and tech businesses. It helps optimize company cash flow, streamline accounting, and accelerate business growth.
- [Carta](https://composio.dev/toolkits/carta) - Carta is an equity management platform for cap tables, compensation, portfolios, and fund administration. It helps companies and investors manage ownership data and financial operations in one place.
- [Cashfree](https://composio.dev/toolkits/cashfree_payments_mcp) - Cashfree is a merchant payments platform that handles collection, payouts, subscriptions, settlements, refunds, and identity verification. Simplifies merchant money lifecycle management with unified, API-driven workflows.
- [Chaser](https://composio.dev/toolkits/chaser) - Chaser is accounts receivable automation software that sends invoice reminders and helps businesses get paid faster. It streamlines the collections process to save time and improve cash flow.
- [Clarity AI MCP](https://composio.dev/toolkits/clarity_ai_mcp) - Clarity AI MCP is an MCP toolkit for simulating SFDR 2.0 fund classifications from a fund name, ISIN, or CUSIP. Use it to tap Clarity AI disclosure data and modeling without building custom sustainability-data workflows.
- [Clientary](https://composio.dev/toolkits/clientary) - Clientary is a platform for managing clients, invoices, projects, proposals, and more. It streamlines client work and saves you serious admin time.
- [Coinbase](https://composio.dev/toolkits/coinbase) - Coinbase is a platform for buying, selling, and storing cryptocurrency. It makes exchanging and managing crypto simple and secure for everyone.
- [Coinbase Agents MCP](https://composio.dev/toolkits/coinbase_agents_mcp) - Coinbase Agents MCP is Coinbase's managed toolkit exposing accounts, portfolios, orders, fills, and market data. Use it to let authorized agents inspect holdings, execute trades, perform transfers, and handle payments.

## Frequently Asked Questions

### Do I need my own developer credentials to use Open Exchange Rates with Composio?

Yes, Open Exchange Rates requires you to configure your own API key. Once set up, Composio handles secure credential storage and API request handling.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
