# USD base cross rates API: the last five days

**Use case:** 

For US-dollar reporting built on an official source: rates per 1 US dollar for the euro, yen, pound, yuan and Canadian dollar over the last five ECB reference days, computed from the ECB euro rates of the same day. Each row carries the formula and both ECB values used, so the number can be audited. No API key. Export as JSON, CSV or Excel.

## Input

```json
{
  "currencies": [
    "EUR",
    "JPY",
    "GBP",
    "CNY",
    "CAD"
  ],
  "baseCurrency": "USD",
  "latestDays": 5
}
```

## Output

```json
{
  "date": {
    "label": "Date",
    "format": "string"
  },
  "baseCurrency": {
    "label": "Base",
    "format": "string"
  },
  "quoteCurrency": {
    "label": "Quote",
    "format": "string"
  },
  "rate": {
    "label": "Rate (1 base = x quote)",
    "format": "number"
  },
  "inverseRate": {
    "label": "Inverse",
    "format": "number"
  },
  "rateIsComputed": {
    "label": "Computed",
    "format": "boolean"
  },
  "quoteCurrencyName": {
    "label": "Quote currency",
    "format": "string"
  },
  "ecbSeriesKey": {
    "label": "ECB series",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "note": {
    "label": "Note",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Currency Exchange Rates Scraper - ECB Reference Rates & History](https://apify.com/neverempty/currency-exchange-rates-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/neverempty/currency-exchange-rates-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/neverempty/currency-exchange-rates-scraper.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
