Triplicate Price API

The Price API from Triplicate, for price.

GitHub OpenAPI

Operations 1

POST /api/v1/price Quotation price under each Incoterms 2020 rule (EXW to DDP), in total and per… #

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/triplicatedocs-com:triplicatedocs-com-price-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

triplicatedocs-com-price-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Triplicate Price 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: Price
paths:
  /api/v1/price:
    post:
      operationId: calculateExportPrice
      summary: Quotation price under each Incoterms 2020 rule (EXW to DDP), in total and per…
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                quantity:
                  type: number
                  description: Units in the shipment
                unit_cost:
                  type: number
                  description: Seller's cost per unit (product cost)
                markup_percent:
                  type: number
                  description: Markup on cost, e.g. 25 for +25%
                  default: 0
                currency:
                  type: string
                  enum:
                  - USD
                  - EUR
                  - GBP
                  - JPY
                  - CNY
                  - KRW
                  - VND
                  - AUD
                  - CAD
                  - CHF
                  - HKD
                  - SGD
                  - INR
                  - PKR
                  - BDT
                  - IDR
                  - THB
                  - MYR
                  - PHP
                  - AED
                  - SAR
                  - TRY
                  - BRL
                  - MXN
                  - ZAR
                  - NGN
                  - KES
                  - EGP
                  default: USD
                mode:
                  type: string
                  enum:
                  - sea
                  - any
                  description: 'sea: FOB/CFR/CIF (loaded on board at a port); any: containers handed over at a terminal, air or road: FCA/CPT/CIP'
                  default: sea
                costs:
                  type: object
                  description: Shipment totals in the same currency (omit what does not apply)
                  properties:
                    packing_loading:
                      type: number
                      description: Export packing and loading at the seller's premises
                    export_clearance:
                      type: number
                      description: Export customs clearance and documents
                    inland_to_port:
                      type: number
                      description: Transport to the port, airport or terminal
                    origin_terminal:
                      type: number
                      description: Terminal handling and loading at origin
                    main_freight:
                      type: number
                      description: Sea or air freight to the destination port/airport
                    insurance_rate_percent:
                      type: number
                      description: Cargo insurance rate in %; premium = rate x 110% x CIF/CIP value
                    destination_charges:
                      type: number
                      description: Destination terminal charges and delivery to the named place
                    unloading:
                      type: number
                      description: Unloading at the destination (DPU)
                    import_clearance:
                      type: number
                      description: Import customs clearance fees (DDP)
                    import_duty_percent:
                      type: number
                    import_vat_percent:
                      type: number
                      description: Import VAT/GST %
                duty_basis:
                  type: string
                  enum:
                  - cif
                  - fob
                  description: 'Customs value basis: cif (EU, UK, most countries) or fob (US, Canada, Australia)'
                  default: cif
                include_vat_in_ddp:
                  type: boolean
                  default: false
                language:
                  type: string
                  enum:
                  - en
                  - zh
                  - ar
                  - fr
                  - es
                  - pt
                  - ru
                  - tr
                  - hi
                  - ur
                  - bn
                  - id
                  - vi
                  - ja
                  - ko
                  default: en
                  description: Language of the generator page the proforma links open
              required:
              - quantity
              - unit_cost
      responses:
        '200':
          description: Prices by rule
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  detail:
                    type: string
      description: Use when a user has a unit cost and wants the price to quote under EXW, FCA, FOB, CFR, CIF, DAP, DPU or DDP. Builds the quotation price under each Incoterms 2020 rule from the unit cost, markup and the shipment's costs, in total and per unit, with links that open a proforma invoice at that price.
      tags:
      - Price