Sources › Finance › Investing › FX Cross Rates

Investing FX Cross Rates API

The cross-rate grid, flattened into one row per currency pair.

InvestingGET /fx-cross-ratesAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:investing/fx-cross-rates

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 1 minute.

Parameters

NameTypeInRequiredDescription
basestringqueryNoKeep only rows quoting this base currency, as a three-letter code. Omit for the whole grid Example: USD
quotestringqueryNoKeep only the counter currency, as a three-letter code. Omit for every counter currency Example: JPY

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:investing/fx-cross-rates?base=USD&quote=JPY" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:investing/fx-cross-rates?base=USD&quote=JPY", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:investing/fx-cross-rates",
    params={"base":"USD","quote":"JPY"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:investing",
  "data": {
    "base": "USD",
    "count": 1,
    "items": [
      {
        "base": "USD",
        "rate": 159.32,
        "quote": "JPY",
        "pairId": 3,
        "symbol": "USD/JPY"
      }
    ],
    "quote": "JPY",
    "total": 42,
    "provider": "investing",
    "currencies": [
      "AUD",
      "CAD",
      "CHF",
      "EUR",
      "GBP",
      "JPY"
    ]
  },
  "timestamp": "2026-06-14T07:37:04Z"
}

Frequently asked questions

How do I call the Investing FX Cross Rates API?

Send a GET request to https://api.zapi.ink/v1/finance:investing/fx-cross-rates with your Zapi key in the x-api-key header. Parameters — optional: base, quote. The response is JSON in the { project, data, timestamp } envelope.

What does the Investing FX Cross Rates API return?

The cross-rate grid, flattened into one row per currency pair. The example response has the fields base, count, items, quote, total, provider, currencies. Each item in items has fields such as base, rate, quote, pairId, symbol.

Is the Investing FX Cross Rates API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the Investing FX Cross Rates API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "investing" and endpoint "fx-cross-rates".

What other Investing API endpoints are there?

It has 15 endpoints. Besides FX Cross Rates: Search, Quote, Technical, Historical, News, Article, and 8 more.