Maersk AirBookings API

Air freight bookings.

Operations 2

POST /air-booking/v1/bookings Create Air Booking #
GET /air-booking/v1/bookings/{bookingReference} Get Air Booking #

Documentation

Specifications

Schemas & Data

Other Resources

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/maersk-line-airbookings-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

maersk-line-airbookings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Maersk Air Booking Air Bookings API
  description: 'Submit air freight booking requests via Maersk Air Cargo. Covers consolidation, charter, and forwarder bookings between supported origin and destination airports.

    '
  version: '1.0'
  contact:
    name: Maersk Developer Support
    url: https://developer.maersk.com/support
servers:
- url: https://api.maersk.com
  description: Production Gateway
security:
- ConsumerKey: []
tags:
- name: AirBookings
  description: Air freight bookings.
paths:
  /air-booking/v1/bookings:
    post:
      summary: Create Air Booking
      description: Submit a new air freight booking request.
      operationId: createAirBooking
      tags:
      - AirBookings
      parameters:
      - name: Consumer-Key
        in: header
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AirBookingRequest'
      responses:
        '201':
          description: Booking created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AirBooking'
  /air-booking/v1/bookings/{bookingReference}:
    get:
      summary: Get Air Booking
      description: Retrieve an existing air booking by reference.
      operationId: getAirBooking
      tags:
      - AirBookings
      parameters:
      - name: bookingReference
        in: path
        required: true
        schema:
          type: string
      - name: Consumer-Key
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Booking returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AirBooking'
components:
  schemas:
    AirBookingRequest:
      type: object
      required:
      - origin
      - destination
      - departureDate
      - pieces
      properties:
        origin:
          type: string
          description: IATA airport code.
        destination:
          type: string
          description: IATA airport code.
        departureDate:
          type: string
          format: date
        productCode:
          type: string
          enum:
          - GENERAL
          - EXPRESS
          - PHARMA
          - PERISHABLE
        pieces:
          type: array
          items:
            type: object
            properties:
              count:
                type: integer
              grossWeight:
                type: number
              weightUnit:
                type: string
                enum:
                - KGM
                - LBR
              dimensions:
                type: object
                properties:
                  length:
                    type: number
                  width:
                    type: number
                  height:
                    type: number
                  unit:
                    type: string
                    enum:
                    - CMT
                    - INH
        shipper:
          $ref: '#/components/schemas/AirParty'
        consignee:
          $ref: '#/components/schemas/AirParty'
    AirBooking:
      allOf:
      - $ref: '#/components/schemas/AirBookingRequest'
      - type: object
        properties:
          bookingReference:
            type: string
          status:
            type: string
            enum:
            - RECEIVED
            - CONFIRMED
            - REJECTED
            - CANCELLED
            - COMPLETED
          createdAt:
            type: string
            format: date-time
    AirParty:
      type: object
      properties:
        name:
          type: string
        accountNumber:
          type: string
        contactEmail:
          type: string
  securitySchemes:
    ConsumerKey:
      type: apiKey
      in: header
      name: Consumer-Key