# TickersFeed FX Rate — Single Currency Pair

> TickersFeed FX Rate — Single Currency Pair is a paid API for AI agents from api.tickersfeed.net, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Returns the current foreign exchange rate for a specified currency pair using European Central Bank (ECB) data via Frankfurter.

## Facts

- Endpoint: GET https://api.tickersfeed.net/fx/USD/EUR?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tickersfeed-fx-rate-single-currency-pair-1ec761cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DwEl-KWd6gBgv1t-HGxZV

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tickersfeed-fx-rate-single-currency-pair-1ec761cb
```

Example prompt: What's the current exchange rate from USD to EUR according to ECB data?

## When to prefer this

Use this endpoint when you need a lightweight, point-in-time ECB-sourced exchange rate for a single currency pair. Ideal for quick currency conversions, financial calculations, or enriching data with FX rates without needing a full market data subscription.

## Known failure modes

- Unsupported or invalid currency code returns an error response
- Network timeout or upstream Frankfurter/ECB data unavailability
- Malformed request with missing base or quote parameter
- Rate data may be from previous business day if ECB hasn't published yet

## How this service works

Returns live foreign exchange rates for a base and quote currency pair.

## Output

A JSON object containing the base currency code, quote currency code, the exchange rate as a decimal number, and the date of the rate — e.g. {"base":"USD","date":"2026-06-20","rate":0.92,"quote":"EUR"}.

## Example request

```json
{
 "base": "USD",
 "quote": "EUR"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "properties": {
      "base": {
       "type": "string"
      },
      "quote": {
       "type": "string"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "base": {
       "type": "string",
       "description": "Base currency code (e.g. USD, EUR, GBP)"
      },
      "quote": {
       "type": "string",
       "description": "Quote currency code (e.g. EUR, JPY, GBP)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tickersfeed-fx-rate-single-currency-pair-1ec761cb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tickersfeed.net](https://www.zero.xyz/host/api.tickersfeed.net/llms.txt)
