{
  "openapi": "3.0.1",
  "info": {
    "title": "Riksbank SWEA Rates Scraper",
    "description": "Pull Swedish central bank policy rates, reference rates, STIBOR fixings, and SEK exchange rates from the Riksbank SWEA feed. Each record carries the series ID, short description, observation date, and value. Useful for treasury reporting, FX analysis, and macro research.",
    "version": "0.1",
    "x-build-id": "9DwQhMyEHwcw7ambn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parseforge~riksbank-swea-rates-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parseforge-riksbank-swea-rates-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/parseforge~riksbank-swea-rates-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parseforge-riksbank-swea-rates-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/parseforge~riksbank-swea-rates-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parseforge-riksbank-swea-rates-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "seriesIds": {
            "title": "Series",
            "type": "array",
            "description": "Riksbank SWEA series to pull. Pick one or more policy rates, reference rates, market rates, or SEK cross rates. Leave empty to pull every series in the catalog (capped by Max Items).",
            "items": {
              "type": "string",
              "enum": [
                "SECBDEPOEFF",
                "SECBLENDEFF",
                "SECBLIKVEFF",
                "SECBMARGEFF",
                "SECBREPOEFF",
                "SECBDISCEFF",
                "SECBREFEFF",
                "SEDP12MSTIBOR",
                "SEDP1MSTIBORDELAYC",
                "SEDP1WSTIBORDELAYC",
                "SEDP2MSTIBORDELAYC",
                "SEDP3MSTIBORDELAYC",
                "SEDP6MSTIBORDELAYC",
                "SEDP9MSTIBOR",
                "SEDPT_NSTIBORDELAYC",
                "SETB12MBENCH",
                "SETB1MBENCHC",
                "SETB3MBENCH",
                "SETB6MBENCH",
                "SEGVB10YC",
                "SEGVB2YC",
                "SEGVB5YC",
                "SEGVB7YC",
                "SEGVB5YSTFIXC",
                "SETB3MSTFIX",
                "SETB6MSTFIX",
                "SEMB2YCACOMB",
                "SEMB5YCACOMB",
                "SECP3MK1FIX",
                "SECP6MK1FIX",
                "SEKTCW92",
                "EUDP3MDKK",
                "EUDP3MEUR",
                "EUDP3MGBP",
                "EUDP3MJPY",
                "EUDP3MNOK",
                "EUDP3MUSD",
                "EUDP6MDKK",
                "EUDP6MEUR",
                "EUDP6MGBP",
                "EUDP6MJPY",
                "EUDP6MNOK",
                "EUDP6MUSD",
                "DEGVB5Y",
                "EMGVB5Y",
                "FRGVB5Y",
                "GBGVB5Y",
                "JPGVB5Y",
                "NLGVB5Y",
                "USGVB5Y",
                "DEGVB10Y",
                "DKGVB10Y",
                "EMGVB10Y",
                "FIGVB10Y",
                "FRGVB10Y",
                "GBGVB10Y",
                "JPGVB10Y",
                "NLGVB10Y",
                "NOGVB10Y",
                "USGVB10Y",
                "SEKATSPMI",
                "SEKAUDPMI",
                "SEKBEFPMI",
                "SEKBGNPMI",
                "SEKBRLPMI",
                "SEKCADPMI",
                "SEKCHFPMI",
                "SEKCNYPMI",
                "SEKCYPPMI",
                "SEKCZKPMI",
                "SEKDEMPMI",
                "SEKDKKPMI",
                "SEKEEKPMI",
                "SEKESPPMI",
                "SEKETT",
                "SEKEURPMI",
                "SEKFIMPMI",
                "SEKFRFPMI",
                "SEKGBPPMI",
                "SEKGRDPMI",
                "SEKHKDPMI",
                "SEKHUFPMI",
                "SEKIDRPMI",
                "SEKIEPPMI",
                "SEKILSPMI",
                "SEKINRPMI",
                "SEKISKPMI",
                "SEKITLPMI",
                "SEKJPYPMI",
                "SEKKRWPMI",
                "SEKKWDPMI",
                "SEKLTLPMI",
                "SEKLVLPMI",
                "SEKMADPMI",
                "SEKMXNPMI",
                "SEKMYRPMI",
                "SEKNLGPMI",
                "SEKNOKPMI",
                "SEKNZDPMI",
                "SEKPHPPMI",
                "SEKPLNPMI",
                "SEKPTEPMI",
                "SEKRONPMI",
                "SEKRUBPMI",
                "SEKSARPMI",
                "SEKSGDPMI",
                "SEKSITPMI",
                "SEKSKKPMI",
                "SEKTHBPMI",
                "SEKTRLPMI",
                "SEKTRYPMI",
                "SEKUSDPMI",
                "SEKZARPMI",
                "SEKSDR",
                "SEKKIX92",
                "SEKUSDFO3MFIX",
                "SEKUSDFO6MFIX"
              ],
              "enumTitles": [
                "SECBDEPOEFF — Deposit rate",
                "SECBLENDEFF — Lending rate",
                "SECBLIKVEFF — Liquidity facility rate",
                "SECBMARGEFF — Marginal rate",
                "SECBREPOEFF — Policy rate",
                "SECBDISCEFF — Discount rate",
                "SECBREFEFF — Reference rate",
                "SEDP12MSTIBOR — STIBOR 12 Months",
                "SEDP1MSTIBORDELAYC — STIBOR 1 Month",
                "SEDP1WSTIBORDELAYC — STIBOR 1 Week",
                "SEDP2MSTIBORDELAYC — STIBOR 2 Months",
                "SEDP3MSTIBORDELAYC — STIBOR 3 Months",
                "SEDP6MSTIBORDELAYC — STIBOR 6 Months",
                "SEDP9MSTIBOR — STIBOR 9 Months",
                "SEDPT_NSTIBORDELAYC — STIBOR T/N",
                "SETB12MBENCH — SE TB 12 Months",
                "SETB1MBENCHC — SE TB 1 Month",
                "SETB3MBENCH — SE TB 3 Months",
                "SETB6MBENCH — SE TB 6 Months",
                "SEGVB10YC — SE GVB 10 Year",
                "SEGVB2YC — SE GVB 2 Year",
                "SEGVB5YC — SE GVB 5 Year",
                "SEGVB7YC — SE GVB 7 Year",
                "SEGVB5YSTFIXC — SE STFIX 5 Year",
                "SETB3MSTFIX — SE STFIX 3 Months",
                "SETB6MSTFIX — SE STFIX 6 Months",
                "SEMB2YCACOMB — SE MB 2 Year",
                "SEMB5YCACOMB — SE MB 5 Year",
                "SECP3MK1FIX — SE CP 3 Months",
                "SECP6MK1FIX — SE CP 6 Months",
                "SEKTCW92 — TCW-index",
                "EUDP3MDKK — DK 3 Months",
                "EUDP3MEUR — EU 3 Months",
                "EUDP3MGBP — GB 3 Months",
                "EUDP3MJPY — JP 3 Months",
                "EUDP3MNOK — NO 3 Months",
                "EUDP3MUSD — US 3 Months",
                "EUDP6MDKK — DK 6 Months",
                "EUDP6MEUR — EU 6 Months",
                "EUDP6MGBP — GB 6 Months",
                "EUDP6MJPY — JP 6 Months",
                "EUDP6MNOK — NO 6 Months",
                "EUDP6MUSD — US 6 Months",
                "DEGVB5Y — DE 5 Year",
                "EMGVB5Y — EU 5 Year",
                "FRGVB5Y — FR 5 Year",
                "GBGVB5Y — GB 5 Year",
                "JPGVB5Y — JP 5 Year",
                "NLGVB5Y — NL 5 Year",
                "USGVB5Y — US 5 Year",
                "DEGVB10Y — DE 10 Year",
                "DKGVB10Y — DK 10 Year",
                "EMGVB10Y — EU 10 Year",
                "FIGVB10Y — FI 10 Year",
                "FRGVB10Y — FR 10 Year",
                "GBGVB10Y — GB 10 Year",
                "JPGVB10Y — JP 10 Year",
                "NLGVB10Y — NL 10 Year",
                "NOGVB10Y — NO 10 Year",
                "USGVB10Y — US 10 Year",
                "SEKATSPMI — ATS",
                "SEKAUDPMI — AUD",
                "SEKBEFPMI — BEF",
                "SEKBGNPMI — BGN",
                "SEKBRLPMI — BRL",
                "SEKCADPMI — CAD",
                "SEKCHFPMI — CHF",
                "SEKCNYPMI — CNY",
                "SEKCYPPMI — CYP",
                "SEKCZKPMI — CZK",
                "SEKDEMPMI — DEM",
                "SEKDKKPMI — DKK",
                "SEKEEKPMI — EEK",
                "SEKESPPMI — ESP",
                "SEKETT — SEK",
                "SEKEURPMI — EUR",
                "SEKFIMPMI — FIM",
                "SEKFRFPMI — FRF",
                "SEKGBPPMI — GBP",
                "SEKGRDPMI — GRD",
                "SEKHKDPMI — HKD",
                "SEKHUFPMI — HUF",
                "SEKIDRPMI — IDR",
                "SEKIEPPMI — IEP",
                "SEKILSPMI — ILS",
                "SEKINRPMI — INR",
                "SEKISKPMI — ISK",
                "SEKITLPMI — ITL",
                "SEKJPYPMI — JPY",
                "SEKKRWPMI — KRW",
                "SEKKWDPMI — KWD",
                "SEKLTLPMI — LTL",
                "SEKLVLPMI — LVL",
                "SEKMADPMI — MAD",
                "SEKMXNPMI — MXN",
                "SEKMYRPMI — MYR",
                "SEKNLGPMI — NLG",
                "SEKNOKPMI — NOK",
                "SEKNZDPMI — NZD",
                "SEKPHPPMI — PHP",
                "SEKPLNPMI — PLN",
                "SEKPTEPMI — PTE",
                "SEKRONPMI — RON",
                "SEKRUBPMI — RUB",
                "SEKSARPMI — SAR",
                "SEKSGDPMI — SGD",
                "SEKSITPMI — SIT",
                "SEKSKKPMI — SKK",
                "SEKTHBPMI — THB",
                "SEKTRLPMI — TRL",
                "SEKTRYPMI — TRY",
                "SEKUSDPMI — USD",
                "SEKZARPMI — ZAR",
                "SEKSDR — SDR",
                "SEKKIX92 — KIX-index",
                "SEKUSDFO3MFIX — SEK/USD Forward Premium 3 Months",
                "SEKUSDFO6MFIX — SEK/USD Forward Premium 6 Months"
              ]
            }
          },
          "latestOnly": {
            "title": "Latest observation only",
            "type": "boolean",
            "description": "When enabled, only the most recent observation per series is collected. Turn this off to pull a date range of historical observations.",
            "default": true
          },
          "fromDate": {
            "title": "From date",
            "type": "string",
            "description": "Start date for historical observations in YYYY-MM-DD form, for example 2024-01-01. Used only when 'Latest observation only' is off. Leave empty to start from each series' first available date."
          },
          "toDate": {
            "title": "To date",
            "type": "string",
            "description": "End date for historical observations in YYYY-MM-DD form, for example 2024-12-31. Used only when 'Latest observation only' is off. Defaults to today."
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}