# Cortex Cloud FX Price Lookup

> Cortex Cloud FX Price Lookup is a paid API for AI agents from api.cortexcloud.org, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Retrieves the current foreign exchange (FX) price for a given currency pair or asset via pay-per-call USDC micropayment

## Facts

- Endpoint: GET https://api.cortexcloud.org/x402/v1/fx/price
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cortex-cloud-fx-price-lookup-0ace74ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hSfHW22vpl60yraY8r0mK

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 cortex-cloud-fx-price-lookup-0ace74ef
```

Example prompt: What's the current exchange rate for USD to EUR right now? I need the live FX price.

## When to prefer this

Choose this endpoint when you need real-time FX price lookups without managing API keys or subscriptions, and your agent is capable of paying per-call in USDC on Base via x402. Particularly useful for autonomous agents needing live exchange rates on demand at low cost ($0.005/call), where traditional FX APIs would require subscription management. Prefer this over traditional REST FX APIs when operating in a crypto-native, agent-first environment.

## Known failure modes

- Invalid or unsupported currency pair symbol returns an error or empty result
- Payment failure via x402 (insufficient USDC balance, wrong chain) blocks the request
- Malformed properties parameter causes a 400-level error
- Rate-limiting or downtime on the upstream FX data provider returns a 503
- Empty response object if the requested pair has no current price data

## How this service works

OpenAI-compatible AI and data API for agents. Pay per call in USDC on Base via x402 — no API keys, no subscriptions, no lock-in.

## Output

Returns a JSON object containing the current FX price or exchange rate for the requested currency pair or asset, delivered as a real-time quote with no API key required — payment is settled per-call in USDC on Base via the x402 protocol.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "format": "application/json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cortex-cloud-fx-price-lookup-0ace74ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cortexcloud.org](https://www.zero.xyz/host/api.cortexcloud.org/llms.txt)
