# LastLook Data FX Date Rate

> LastLook Data FX Date Rate is a paid API for AI agents from api.lastlookdata.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns the exchange rate for a G10 currency pair on a specific historical date

## Facts

- Endpoint: GET https://api.lastlookdata.com/api/fx/date
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-lastlookdata-com-aeee577d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q0Y_BvIcX8AQSh-ysvSsG

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 api-lastlookdata-com-aeee577d
```

Example prompt: What was the EURUSD exchange rate on March 15, 2024?

## When to prefer this

Use this endpoint when you need the exchange rate for a specific G10 currency pair on a single past date — ideal for historical reconciliation, accounting, backtesting, or answering point-in-time FX questions. Prefer over the current-rate endpoint when the date is not today, and over the historical-series endpoint when you only need one specific date rather than a range.

## Known failure modes

- Invalid or unsupported currency pair returns an error — only EURUSD, GBPUSD, USDJPY, USDCHF, USDCAD, AUDUSD, NZDUSD, USDSEK, USDNOK are supported
- Date outside available historical range returns no data or an error
- Malformed date format (not YYYY-MM-DD) causes a bad request
- Weekend or market holiday date may return no rate or the prior close
- Missing required query parameters (pair or d) returns a validation error
- Payment failure via x402 protocol returns 402 status

## How this service works

LastLook Data — exchange rate for a G10 currency pair on a specific date. Use ?pair=EURUSD&d=YYYY-MM-DD.

## Output

A JSON object containing the exchange rate value for the specified G10 currency pair on the given date, sourced from ECB or equivalent historical FX data.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "d": "2024-03-15",
   "pair": "EURUSD"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "pair",
      "d"
     ],
     "properties": {
      "d": {
       "type": "string",
       "description": "Date in YYYY-MM-DD format"
      },
      "pair": {
       "enum": [
        "EURUSD",
        "GBPUSD",
        "USDJPY",
        "USDCHF",
        "USDCAD",
        "AUDUSD",
        "NZDUSD",
        "USDSEK",
        "USDNOK"
       ],
       "type": "string",
       "description": "G10 currency pair"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-lastlookdata-com-aeee577d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.lastlookdata.com](https://www.zero.xyz/host/api.lastlookdata.com/llms.txt)
