Skip to content
Eden Engine

Riksbank Cross Rates: Currency Pair Rate Between Two SEK Series

riksbankswea/cross-rates

The cross rate between two Riksbank currency series over a date range, as {date, value} entries in date order, computed by the Riksbank from the two SEK fixings: for SEKEURPMI over SEKUSDPMI the value is US dollars per euro. Both series ids and both dates (YYYY-MM-DD, from earlier than to) are required. An unknown series id, and a range with no observation, answer with no content, which arrives as a PROVIDER_ERROR, not an empty list. Sveriges Riksbank data, passed through unmodified and served by Eden Engine; not an official Sveriges Riksbank product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

Sveriges Riksbank (SWEA API)

Source: Sveriges Riksbank (SWEA API, https://developer.api.riksbank.se), date as published with each observation; passed through unmodified. Served by Eden Engine; not an official Sveriges Riksbank product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "riksbankswea/cross-rates" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "riksbankswea/cross-rates" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "riksbankswea/cross-rates", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "riksbankswea/cross-rates", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 24, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "series_id_1",
    "series_id_2",
    "from",
    "to"
  ],
  "properties": {
    "to": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      "description": "Last date of the range, YYYY-MM-DD, for example 2026-10-05."
    },
    "from": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      "description": "First date of the range, YYYY-MM-DD, for example 2026-10-01. Must be earlier than to."
    },
    "series_id_1": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{3,40}$",
      "description": "The first series id, the numerator of the cross rate, for example SEKEURPMI (kronor per euro)."
    },
    "series_id_2": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{3,40}$",
      "description": "The second series id, the denominator of the cross rate, for example SEKUSDPMI (kronor per US dollar)."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "results"
  ],
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "date",
          "value"
        ],
        "properties": {
          "date": {
            "type": "string",
            "description": "Observation date, YYYY-MM-DD."
          },
          "value": {
            "type": "number",
            "description": "The observed value: a rate in percent for interest series, an exchange rate in the series' own unit for currency series."
          }
        },
        "additionalProperties": true
      },
      "description": "One entry per day on which both series have an observation."
    }
  },
  "description": "The cross rates in date order.",
  "additionalProperties": true
}