Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/sj-se:sj-se-offers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: SJ Offers API
version: '2026-10-15'
description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-15: 17 operation(s) read from 3 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; SJ has published no machine-readable contract that the pipeline could find. Engine: local.'
x-evidence-tiers:
code-example: 1
documentation: 16
pages-with-code: 1
pages-read: 3
x-generated-from: documentation
x-provenance: generated
x-authored-by: API Evangelist
x-generated: '2026-10-15'
x-generator: generate-contract-from-docs.py
x-engine: local
x-sources:
- https://developer.sj.se/apis/reseller-api/get-started
- https://developer.sj.se/apis/reseller-api/reference-documentation
- https://developer.sj.se/apis/customer-api/reference-documentation
servers:
- url: https://login.microsoftonline.com
tags:
- name: Offers
paths:
/Offers:
post:
operationId: post_Offers
tags:
- Offers
summary: Quick Start Guide for SJ Reseller API
x-source: https://developer.sj.se/apis/reseller-api/get-started
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PostOffersRequest'
responses:
'201':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/PostOffersResponse'
x-evidence:
kind: documentation
/offers:
post:
operationId: post_offers
tags:
- Offers
summary: Quick Start Guide for SJ Reseller API
x-source: https://developer.sj.se/apis/reseller-api/get-started
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PostOffersRequest2'
responses:
'201':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/PostOffersResponse2'
x-evidence:
kind: documentation
components:
schemas:
PostOffersResponse2:
type: object
properties:
offers:
type: array
description: List of offer objects
PostOffersRequest2:
type: object
properties:
tripSpecifications:
type: array
description: List of trips to get offers for
offerSearchCriteria:
type: object
description: Search criteria such as currency
anonymousPassengerSpecifications:
type: array
description: Passenger data needed for pricing
embed:
type: array
description: Embedding options, e.g., "ALL"
required:
- tripSpecifications
- offerSearchCriteria
- anonymousPassengerSpecifications
PostOffersResponse:
type: object
properties:
offers:
type: array
description: List of offer objects
PostOffersRequest:
type: object
properties:
tripSpecifications:
type: array
description: List of trips to get offers for
offerSearchCriteria:
type: object
description: Search criteria such as currency
anonymousPassengerSpecifications:
type: array
description: Passenger data needed for pricing
embed:
type: array
description: Embedding options, e.g., "ALL"
required:
- tripSpecifications
- offerSearchCriteria
- anonymousPassengerSpecifications