DB Schenker Sorting Code API

Responsible for all Web API functions related to handling sorting codes in MANET.

Operations 1

POST /SortingCode/v1/GetSortingCode Returns a sorting code with the corresponding city and postal code. The departure- and arrival code should be printed on the waybill and STES according to AGI. If the API returns " #

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/db-schenker-sortingcode-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

db-schenker-sortingcode-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: V1
  title: Partner services API V1. Sorting Code API
  description: <a target="_blank" href="/Utils/PartnerServices/ParcelServicesExamples.zip">This zip</a> includes example/sample code to connect to DB Schenker Partner API.
  x-swagger-net-version: 8.5.28.001
servers:
- url: https://parcelservices-se.dbschenker.com/Apipartner
tags:
- name: SortingCode
  description: Responsible for all Web API functions related to handling sorting codes in MANET.
paths:
  /SortingCode/v1/GetSortingCode:
    post:
      tags:
      - SortingCode
      summary: "Returns a sorting code with the corresponding city and postal code.\nThe departure- and arrival code should be printed on the waybill and STES according to AGI.\n\nIf the API returns \"N/A\" the sorting code is missing. This is not an error. Print as is.\nIn case of time-out, print '---' for each code.\nIn case of other errors, print '???' for each code.\nCaching responses for more than 24 hours is not recommended.\n\nTo use endpoint, invoke a HTTP POST request at \n'https://parcelservices-se.dbschenker.com/apipartner/SortingCode/v1/GetSortingCode'"
      operationId: SortingCode_GetSortingCode
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BaseSortingCodeDto'
            text/json:
              schema:
                $ref: '#/components/schemas/BaseSortingCodeDto'
            application/xml:
              schema:
                $ref: '#/components/schemas/BaseSortingCodeDto'
            text/xml:
              schema:
                $ref: '#/components/schemas/BaseSortingCodeDto'
        '400':
          description: BadRequest
        '401':
          description: Unauthorized
      deprecated: false
      security:
      - basic: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetSortingCodeExternalDto'
          text/json:
            schema:
              $ref: '#/components/schemas/GetSortingCodeExternalDto'
          application/xml:
            schema:
              $ref: '#/components/schemas/GetSortingCodeExternalDto'
          text/xml:
            schema:
              $ref: '#/components/schemas/GetSortingCodeExternalDto'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/GetSortingCodeExternalDto'
        description: 'Required: PostalCodeReceiver, PostalCodeSender, ProductCode'
        required: true
components:
  schemas:
    GetSortingCodeExternalDto:
      properties:
        PostalCodeSender:
          type: string
        PostalCodeReceiver:
          type: string
        ProductCode:
          type: string
        AdditionalServiceCodes:
          items:
            type: string
          type: array
        CustomerNumber:
          type: string
        ProductType:
          readOnly: true
          type: string
          enum:
          - InvalidProduct
          - PAR
          - COM
          - SPC
          - DIR
          - BUD
          - CLD
          - LPA
          - HDG
          - PAH
          - PHD
          - LGO
          - CHA
          - NIP
          - PRI
          - DMO
          - DMA
          - PAL
          - PTE
          - SYS
          - OAS
          - IDP
          - SYP
          - SCO
          - PEX
          - LTL
          - FTL
          - SYH
          - REP
          - PAB
          - PSE
          - PCB
          - PHC
      xml:
        name: GetSortingCodeExternalDto
      type: object
    BaseSortingCodeDto:
      properties:
        ArrivalCode:
          type: string
        DepartureCode:
          type: string
      xml:
        name: BaseSortingCodeDto
      type: object
  securitySchemes:
    basic:
      type: http
      scheme: basic
      description: Basic HTTP Authentication