> ## Documentation Index
> Fetch the complete documentation index at: https://doc.astreus.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# FX reference rates

> FX reference-rate board: every fiat currency against USD (units per 1 USD) at the latest complete weekday, the session before and 1W–10Y back, with two years of weekly closes (Frankfurter central-bank blend).



## OpenAPI

````yaml https://astreus.ai/openapi.json get /api/v1/fx
openapi: 3.1.0
info:
  title: Astreus API
  version: '2026-11-11'
  description: >-
    Astreus is a financial data terminal that turns the world's unstructured
    financial disclosure into structured, traceable data. It reads what
    companies, exchanges and central banks publish — annual and interim reports,
    SEC filings, results announcements, investor presentations, earnings calls,
    8-Ks, regulator notices and policy text — across the United States, the Gulf
    (Tadawul, DFM, ADX, Boursa Kuwait, QSE), Japan, Taiwan, Korea, the UK and
    Europe, and serves it as data a program can trust: standardized financial
    statements (annual, quarterly, semiannual), segments and KPIs, the tables
    inside the notes, filing sections as text, investor decks page by page,
    earnings-call transcripts and audio, span-anchored observations, management
    guidance scored against outcomes, typed 8-K events, an attributed intraday
    news tape, insider and 13F ownership, a people registry, macro series (the
    current vintage: the latest published value for each period) and
    central-bank text, benchmark, commodity and compute-price series, and a
    source-linked claim graph with declared validation limits. Use `fact-source`
    and document metadata to retain available provenance. Publication and
    entitlement gates apply per dataset; inspect availability and tool
    limitations.


    Coverage is published live: `GET /api/v1/landing/coverage` (no key) returns
    every market served with company counts, history depth, completeness and
    periods held per data type — ask it before answering "what do you cover?".
    `{id}` is a ticker, a numeric SEC CIK, or a platform key for a non-SEC
    issuer (XSAU000001) — the `cik` field of the company payload. Human-readable
    guides: https://doc.astreus.ai (coverage at /coverage, data catalog at
    /data-catalog).


    Tiers: `public` endpoints need no credentials. Everything else takes an
    **API key** — create one on the Developers page in the terminal
    (https://astreus.ai/developers) and send it as `X-API-KEY: pk_live_...` (or
    `Authorization: Bearer pk_live_...`). Signed-in terminal sessions may use
    their Cognito ID token instead.


    Rate limits and quotas are per plan (fixed UTC windows): Free — 30 req/min,
    250 req/day; Build — 300 req/min, 100,000 req/month; Scale — custom. Build,
    Scale and prepaid credits are set up with sales
    (https://astreus.ai/contact), not self-serve. Responses carry RateLimit-*,
    X-Quota-* and, when credits pay, X-Billing-Source/X-Credits-Remaining-USD
    headers; a 429 carries `Retry-After` and a machine `code` of rate_limited or
    quota_exceeded (with sales_email).


    Server-side use: `/api/v1` sends no CORS headers, so a browser page on
    another origin cannot call it. Call it from a server, a script or an agent,
    and keep the key there.


    Versioning: `info.version` is the UTC date the contract last changed, and
    every response carries it in `x-astreus-api-version`. Within `/api/v1`
    changes are additive; a field or parameter that will go is marked
    `deprecated` first and kept for at least 90 days. Policy:
    https://doc.astreus.ai/versioning.


    Not investment advice. See /terms.
  contact:
    email: saif@astreus.ai
  termsOfService: https://astreus.ai/terms
  license:
    name: 'Proprietary: Astreus terms of service'
    url: https://astreus.ai/terms
servers:
  - url: https://astreus.ai
security: []
tags:
  - name: Search & Meta
    description: Entity resolution and platform metadata.
  - name: Company Data
    description: Profiles, structure, leadership, calendars.
  - name: Geo & Assets
    description: >-
      Physical assets on the map — what a company owns, operates or develops,
      where, since when, at what location precision, and the source behind each
      fact.
  - name: Financial Statements
    description: >-
      Standardized XBRL-derived statements — every line traceable to its filing
      via fact provenance.
  - name: SEC Filings
    description: >-
      The filing index and documents (SEC and exchange-published), parsed
      section text, and the tables inside the notes as gated grids and series.
  - name: 8-K Events
    description: >-
      Material events: 8-K items and exchange disclosures by item code,
      filterable by family, with extracted item text.
  - name: News
    description: >-
      The intraday news tape: filings, releases and licensed wires with source
      attribution, storylines and topics.
  - name: Transcripts & Calls
    description: Earnings-call transcripts, span-anchored observations, IR decks.
  - name: Guidance & Scorecards
    description: What management promised vs. what happened.
  - name: Ownership & Insiders
    description: 13F holders, Forms 3/4/5, the people registry.
  - name: Macro
    description: >-
      Economic series (the current vintage: the latest published value for each
      period) and central-bank text.
  - name: Market Data
    description: Daily bars for stocks, benchmarks, commodities and compute.
  - name: Intelligence
    description: Narratives and source-linked claims with declared validation status.
  - name: Analytics
    description: Charting over any catalog series.
paths:
  /api/v1/fx:
    get:
      tags:
        - Market Data
      summary: FX reference rates
      description: >-
        FX reference-rate board: every fiat currency against USD (units per 1
        USD) at the latest complete weekday, the session before and 1W–10Y back,
        with two years of weekly closes (Frankfurter central-bank blend).
      operationId: get-fx-reference-rates
      parameters:
        - name: base
          in: query
          description: >-
            ISO 4217 code: the board re-based on this currency (units per 1
            base, the base's return against each); unknown currency 404.
          schema:
            type: string
        - name: region
          in: query
          description: 'With base: one region.'
          schema:
            type: string
            enum:
              - majors
              - europe
              - middle_east
              - asia_pacific
              - americas
              - africa
              - other
        - name: codes
          in: query
          description: 'With base: ISO 4217 codes, comma-separated, up to 60.'
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  board:
                    type: object
                    properties:
                      asOf:
                        type: string
                        format: date
                      pointDates:
                        type: object
                        properties:
                          last:
                            type: string
                            format: date
                          d1:
                            type: string
                            format: date
                          w1:
                            type: string
                            format: date
                          m1:
                            type: string
                            format: date
                          m3:
                            type: string
                            format: date
                          m6:
                            type: string
                            format: date
                          y1:
                            type: string
                            format: date
                          y2:
                            type: string
                            format: date
                          y5:
                            type: string
                            format: date
                          y10:
                            type: string
                            format: date
                      base:
                        type: object
                        properties:
                          code:
                            type: string
                          name:
                            type: string
                          lastDate:
                            type: string
                            format: date
                      rows:
                        type: array
                        items:
                          type: object
                          properties:
                            code:
                              type: string
                            name:
                              type: string
                            region:
                              type: string
                            last:
                              type: number
                            returns:
                              type: object
                              properties:
                                d1:
                                  type: number
                                w1:
                                  type: number
                                m1:
                                  type: number
                                m3:
                                  type: number
                                m6:
                                  type: number
                                y1:
                                  type: number
                                y2:
                                  type: number
                                y5:
                                  type: number
                                y10:
                                  type: number
                            spark:
                              type: array
                              items:
                                type: number
                            lastDate:
                              type: string
                              format: date
                            stale:
                              type: boolean
                  source:
                    type: object
                    properties:
                      name:
                        type: string
                      url:
                        type: string
                      note:
                        type: string
                description: >-
                  Inferred from captured responses: every field shown was
                  returned by a real call; a field may be absent or null on
                  other calls.
                x-schema-source: inferred
              example:
                board:
                  asOf: '2026-10-30'
                  pointDates:
                    last: '2026-10-30'
                    d1: '2026-10-29'
                    w1: '2026-10-23'
                    m1: '2026-09-30'
                    m3: '2026-07-30'
                    m6: '2026-04-30'
                    y1: '2025-10-30'
                    y2: '2024-10-30'
                    y5: '2021-10-29'
                    y10: '2016-10-28'
                  base:
                    code: USD
                    name: United States Dollar
                    lastDate: '2026-10-30'
                  rows:
                    - code: EUR
                      name: Euro
                      region: majors
                      last: 0.8951
                      returns:
                        d1: -0.0007925787834474063
                        w1: 0.00424090113539477
                        m1: 0.016096807882667985
                        m3: 0.02479849789338706
                        m6: 0.04686385273031357
                        y1: 0.03937574751216344
                        y2: -0.030416603479278104
                        y5: 0.04097130961657003
                        y10: -0.021973099070158764
                      spark:
                        - 0.91964
                        - 0.92713
                      lastDate: '2026-10-30'
                      stale: false
                    - code: AED
                      name: United Arab Emirates Dirham
                      region: middle_east
                      last: 3.6725
                      returns:
                        d1: 0
                        w1: 0
                        m1: 0
                        m3: 0
                        m6: 0
                        y1: 0
                        y2: 0
                        y5: 0
                        y10: 0
                      spark:
                        - 3.6725
                        - 3.6725
                      lastDate: '2026-10-30'
                      stale: false
                source:
                  name: Frankfurter
                  url: https://frankfurter.dev
                  note: >-
                    Blended reference rates from central banks and official
                    publishers.
        '400':
          description: >-
            A query parameter the route does not take (unknown_parameter), a
            value outside its type, enum or range (invalid_parameter), or a
            required one missing (missing_parameter); `param` names it. A
            request refused against this spec's parameter list is not metered.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid bearer token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Unknown company, country, symbol or resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited. Honour Retry-After.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
        - cognitoIdToken: []
components:
  schemas:
    Error:
      type: object
      required:
        - error
        - code
      properties:
        error:
          type: string
          description: Human-readable message. It may change; branch on `code`.
        code:
          type: string
          description: >-
            Stable machine code; every error carries one. unknown_parameter,
            invalid_parameter and missing_parameter come with `param`;
            unknown_parameter also with `allowed`. A route may add codes of its
            own (e.g. key_limit); treat an unlisted code by its HTTP status.
          enum:
            - unknown_parameter
            - invalid_parameter
            - missing_parameter
            - invalid_request
            - unauthenticated
            - upgrade_required
            - forbidden
            - not_found
            - conflict
            - too_large
            - unsupported_media_type
            - rate_limited
            - quota_exceeded
            - auth_unavailable
            - upstream_unavailable
            - internal_error
        param:
          type: string
          description: The query parameter at fault, when one is.
        allowed:
          type: array
          items:
            type: string
          description: 'With unknown_parameter: every query parameter the route takes.'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        Astreus API key (pk_live_...), created on the Developers page in the
        terminal. Also accepted as `Authorization: Bearer pk_live_...`.
      x-default: pk_live_YOUR_KEY
    cognitoIdToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Amazon Cognito ID token (token_use=id) for the Astreus user pool — the
        terminal's own session credential. API consumers should use an API key
        instead.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.