PostNL Consigments API

The Consigments API from PostNL — 4 operation(s) for consigments.

GitHub OpenAPI

Operations 4

GET /company/search/v3/companysearch Company check API1 #
GET /company/search/v3/companynameandaddress Company check API2 #
GET /company/search/v3/companyaddress Company check API3 #
GET /company/search/v3/companyphone Company check API4 #

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/postnl:postnl-consigments-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

postnl-consigments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DS-CompanyCheck Consigments API
  version: V3
  description: PostDR-CompanyCheck proxy incorporating legacy API0, API1,API2,API3 and API4
servers:
- url: https://api-sandbox.postnl.nl
  description: Non-Production server
- url: https://api.postnl.nl
  description: Production server
security:
- ApiKeyAuth: []
tags:
- name: Consigments
paths:
  /company/search/v3/companysearch:
    get:
      tags:
      - Consigments
      operationId: CompanyCheckAPI1
      parameters:
      - in: query
        name: kvknumber
        schema:
          type: string
          default: '34117529'
      - in: query
        name: branchnumber
        schema:
          type: string
          default: '000017063566'
      - in: query
        name: rsin
        schema:
          type: string
          default: ''
      - in: query
        name: includeinactive
        schema:
          type: string
          default: '1'
      - in: query
        name: mainbranch
        schema:
          type: string
          default: '1'
      - in: query
        name: branch
        schema:
          type: string
          default: '1'
      - in: query
        name: maxresultsperpage
        schema:
          type: string
          default: '1'
      - in: query
        name: requestedpage
        schema:
          type: string
          default: '1'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckUnauthorized'
        '405':
          description: Method not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckMethodNotAllowed'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckTooManyRequest'
        '502':
          description: Bad gateway
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckBadGateway'
      summary: Company check API1
      x-summary-source: derived
  /company/search/v3/companynameandaddress:
    get:
      tags:
      - Consigments
      operationId: CompanyCheckAPI2
      parameters:
      - in: query
        name: companyname
        schema:
          type: string
          default: PostNL Data Solutions B.V.&branchstreetname=Prinses Beatrixlaan
      - in: query
        name: branchhousenumber
        schema:
          type: string
          default: '23'
      - in: query
        name: branchhousenumberaddition
        schema:
          type: string
          default: ''
      - in: query
        name: branchpostalcode
        schema:
          type: string
          default: 2595AK
      - in: query
        name: branchcity
        schema:
          type: string
          default: '''S-GRAVENHAGE'
      - in: query
        name: includebranchaddress
        schema:
          type: string
          default: '1'
      - in: query
        name: includemailingaddress
        schema:
          type: string
          default: '1'
      - in: query
        name: includeinactive
        schema:
          type: string
          default: '1'
      - in: query
        name: mainbranch
        schema:
          type: string
          default: '1'
      - in: query
        name: branch
        schema:
          type: string
          default: '1'
      - in: query
        name: maxresultsperpage
        schema:
          type: string
          default: '50'
      - in: query
        name: requestedpage
        schema:
          type: string
          default: '1'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckUnauthorized'
        '405':
          description: Method not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckMethodNotAllowed'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckTooManyRequest'
        '502':
          description: Bad gateway
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckBadGateway'
      summary: Company check API2
      x-summary-source: derived
  /company/search/v3/companyaddress:
    get:
      tags:
      - Consigments
      operationId: CompanyCheckAPI3
      parameters:
      - in: query
        name: branchhousenumber
        schema:
          type: string
          default: '23'
      - in: query
        name: branchhousenumberaddition
        schema:
          type: string
          default: ''
      - in: query
        name: branchpostalcode
        schema:
          type: string
          default: 2595AK
      - in: query
        name: branchcity
        schema:
          type: string
          default: '''S-GRAVENHAGE'
      - in: query
        name: includebranchaddress
        schema:
          type: string
          default: '1'
      - in: query
        name: includemailingaddress
        schema:
          type: string
          default: '1'
      - in: query
        name: includeinactive
        schema:
          type: string
          default: '1'
      - in: query
        name: mainbranch
        schema:
          type: string
          default: '1'
      - in: query
        name: branch
        schema:
          type: string
          default: '1'
      - in: query
        name: maxresultsperpage
        schema:
          type: string
          default: '50'
      - in: query
        name: requestedpage
        schema:
          type: string
          default: '1'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckUnauthorized'
        '405':
          description: Method not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckMethodNotAllowed'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckTooManyRequest'
        '502':
          description: Bad gateway
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckBadGateway'
      summary: Company check API3
      x-summary-source: derived
  /company/search/v3/companyphone:
    get:
      tags:
      - Consigments
      operationId: CompanyCheckAPI4
      parameters:
      - in: query
        name: phonenumber
        schema:
          type: string
          default: '0703344200'
      - in: query
        name: includeinactive
        schema:
          type: string
          default: '1'
      - in: query
        name: mainbranch
        schema:
          type: string
          default: '1'
      - in: query
        name: branch
        schema:
          type: string
          default: '1'
      - in: query
        name: maxresultsperpage
        schema:
          type: string
          default: '50'
      - in: query
        name: requestedpage
        schema:
          type: string
          default: '1'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckUnauthorized'
        '405':
          description: Method not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckMethodNotAllowed'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckTooManyRequest'
        '502':
          description: bad gateway
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyCheckBadGateway'
      summary: Company check API4
      x-summary-source: derived
components:
  schemas:
    CompanyCheckUnauthorized:
      type: object
      properties:
        message:
          type: string
          example: Failed to resolve API Key variable 'request.header.apikey'
        http_status_code:
          type: number
          example: 401
    CompanyCheckBadGateway:
      type: object
      properties:
        message:
          type: string
          example: Internal server error
    CompanyCheckMethodNotAllowed:
      type: object
      properties:
        message:
          type: string
          example: '{"message":"Request is not valid according to constraint rules","constraints":["Only GET requests allowed"]}'
        http_status_code:
          type: number
          example: 405
    CompanyCheckTooManyRequest:
      type: object
      properties:
        message:
          type: string
          example: Too many requests. Rate limit exceeded!
        http_status_code:
          type: number
          example: 429
    CompanyCheckResponse:
      type: object
      properties:
        totalPages:
          type: string
          example: '1'
        requestedPage:
          type: string
          example: '1'
        resultCount:
          type: string
          example: '1'
        result(s):
          type: array
          items:
            type: object
            properties:
              companyName:
                type: string
                example: PostNL Data Solutions B.V.
              kvkNumber:
                type: string
                example: '34117529'
              postnlKey:
                type: string
                example: '1004784700'
              branchNumber:
                type: string
                example: '000017063566'
              branchStreetName:
                type: string
                example: Prinses Beatrixlaan
              branchHouseNumber:
                type: string
                example: '23'
              branchHouseNumberAddition:
                type: string
                example: ''
              branchPostalCode:
                type: string
                example: 2595AK
              branchCity:
                type: string
                example: '''S-GRAVENHAGE'
              rsin:
                type: string
                example: '808307770'
              legalTypeCd:
                type: string
                example: '41'
              legalTypeDesc:
                type: string
                example: Besloten vennootschap met gewone structuur
              commercialInd:
                type: string
                example: J
              headOfficeInd:
                type: string
                example: H
              allowDmInd:
                type: string
                example: N
              url:
                type: string
                example: ''
              legalName:
                type: string
                example: PostNL Data Solutions B.V.
              tradeNames:
                type: array
                items:
                  type: string
                example: '["Postnl Data Test1", "Postnl Data Test2"]'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: apikey