Central Banks & Monetary

Single CHF currency pair

Changed on

Deep history for one CHF pair, e.g. EUR, USD, JPY, GBP. The path parameter is matched against the Currency dimension in cube devkum using a case-insensitive substring match.

get/api/v1/snb/fx/{pair}

Request

  • Base URL: https://sugra.ai
  • URL: https://sugra.ai/api/v1/snb/fx/{pair}
  • Auth: API key in header x-api-key

Path parameters

pairstring required

CHF pair (3-letter ISO 4217 currency code or SNB currency label).

Query parameters

start_datestring nullable

Optional start of the date window (YYYY-MM-DD or YYYY-MM; a month starts on its first day). Omit for the cube's whole history.

end_datestring nullable

Optional end of the date window (YYYY-MM-DD or YYYY-MM; a month runs to its last day). Omit to run to the latest observation.

Response

Single-currency slice of the devkum cube.

Example response

{
  "meta": {
    "endpoint": "/api/v1/fred/us/cpi",
    "data_time": "2026-04-16T14:30:00Z",
    "response_time": "2026-04-16T14:30:12Z",
    "provider": "Sugra API v1.0.1",
    "data_age_days": 8.532,
    "source": "sugra_crypto",
    "attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
    "fallback_chain": [
      "sugra_crypto",
      "sugra_finance"
    ],
    "stale_since": "2026-09-08T12:00:00Z",
    "period": "2026-Q1",
    "notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
  }
}

Changes