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.
openapi: 3.2.0
info:
title: Triplicate Shipment API
version: 1.4.0
description: 'Create matching export documents (proforma invoice, commercial invoice, packing list, shipping instruction; also purchase order, sales contract and certificate of origin) from order data. Also: search HS codes and UN/LOCODE port codes, check container numbers, calculate CBM and export prices, check a B/L or AWB draft and read a letter of credit. Free, no key; nothing is stored. The documents endpoint returns a link that opens Triplicate''s generator filled in, where the user reviews and saves the PDF. MCP server with the same tools: https://api.triplicatedocs.com/mcp'
contact:
url: https://triplicatedocs.com/developers/
servers:
- url: https://api.triplicatedocs.com
tags:
- name: Shipment
paths:
/api/v1/shipment:
post:
operationId: calculateShipment
summary: CBM, chargeable weight and container fit from carton sizes
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
cartons:
type: array
items:
type: object
properties:
length_cm:
type: number
width_cm:
type: number
height_cm:
type: number
quantity:
type: number
gross_weight_kg:
type: number
required:
- length_cm
- width_cm
- height_cm
- quantity
required:
- cartons
responses:
'200':
description: Totals
content:
application/json:
schema:
type: object
'400':
description: Error
content:
application/json:
schema:
type: object
properties:
error:
type: string
detail:
type: string
description: Returns the total CBM and gross weight, the chargeable weight for air and express courier, the sea LCL revenue tons, and how much of a 20ft, 40ft and 40ft high cube container the cartons fill.
tags:
- Shipment