Entur Items API

The Items API from Entur — 2 operation(s) for items.

GitHub OpenAPI

Operations 4

GET /items Get items #
POST /items Create an item #
GET /items/{itemId} Get an item #
PUT /items/{itemId} Update an item #

Specifications

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/entur:entur-items-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

entur-items-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Example Service Items API
  version: 1.0.0
  description: A long and descriptive description
  termsOfService: https://developer.entur.org/terms-of-service
  contact:
    name: API Support
    url: https://entur.no
    email: support@entur.no
  x-entur-metadata:
    id: example
    owner: team-api
    audience: partner
servers:
- url: https://api.entur.io/product/v1
  description: Production
- url: https://api.staging.entur.io/product/v1
  description: Staging
tags:
- name: Items
paths:
  /items:
    get:
      tags:
      - Items
      parameters:
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/Page-Size'
      - name: status
        description: Filters items to return on status
        in: query
        schema:
          type: string
        example: completed
      summary: Get items
      description: Get items matching a status filter, with pagination support.
      operationId: getItems
      responses:
        '200':
          description: Get items
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Items'
      x-entur-permissions:
        value: items:les
    post:
      tags:
      - Items
      security:
      - jwt: []
      summary: Create an item
      description: Create a new item, given in request body.
      operationId: createItem
      requestBody:
        description: Item to create
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Item'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Item'
      x-entur-permissions:
        description: You need access to read organisations, and create items.
        value:
          all:
          - organisations:les
          - any:
            - items:opprett
            - items-global:opprett
  /items/{itemId}:
    parameters:
    - $ref: '#/components/parameters/Item-Id'
    get:
      tags:
      - Items
      summary: Get an item
      description: Get an item with given id.
      operationId: getItem
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Item'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
    put:
      tags:
      - Items
      security:
      - jwt: []
      summary: Update an item
      description: Update an item according to given item request body.
      operationId: updateItem
      requestBody:
        description: Item to update
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Item'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Item'
components:
  schemas:
    Items:
      type: array
      items:
        $ref: '#/components/schemas/Item'
      example:
      - id: '100'
        name: Item 100
      - id: '101'
        name: Item 101
    Problem:
      type: object
      properties:
        type:
          type: string
          example: https://example.com/probs/invalid-parameter
        title:
          type: string
          example: Invalid parameter
        detail:
          type: string
          example: The parameter 'exampleParameter' is invalid.
        status:
          type: integer
          example: 400
      example:
        type: https://example.com/probs/invalid-parameter
        title: Invalid parameter
        detail: The parameter 'exampleParameter' is invalid.
        status: 400
    Item:
      type: object
      properties:
        id:
          type: string
          example: '100'
        name:
          type: string
          example: Item 100
      examples:
      - id: '100'
        name: Item 100
      - id: '100'
        name: null
  parameters:
    Page:
      description: Results page you want to retrieve (0..N)
      in: query
      required: true
      name: page
      schema:
        type: integer
        example: 0
    Page-Size:
      description: Number of records per page.
      in: query
      name: size
      schema:
        type: integer
        example: 20
    Item-Id:
      name: itemId
      description: The item ID.
      in: path
      required: true
      schema:
        type: string
      example: '100'
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT