Skip to main content
POST
Rate history

Request contract

  • Method and path: POST /apis/v1/xe-com/exchange-rates/rate-history
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/xe-com/exchange-rates/rate-history
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
from
string
required

from

to
string
required

to

interval
string

One closing value per UTC day (default) or per hour (ranges up to 1M).

Provider reference: allowed values ["day", "hour"].

range
string

How far back from XE's latest point. Default 1M.

Provider reference: allowed values ["1D", "1W", "1M", "3M", "6M", "1Y", "2Y", "5Y", "10Y"].

Response

A time series of XE's mid-market rate for one pair over the last 1 day to 10 years, decoded from XE's charting API and collapsed to one closing value per UTC day (interval day, default) or per hour (hour, ranges up to 1M). Points are {time, rate} with rate in units of to per 1 from. Ranges: 1D, 1W, 1M, 3M, 6M, 1Y, 2Y, 5Y, 10Y.

The response contains the tool result directly.

The provider identifies points as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.