GoFreight api API

GoFreight api API as documented publicly. Contract generated from the documentation by API Evangelist (2026-12-02); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 9

GET / GET / #
GET /api/v1/async-tasks/status/{ref}/Replace Check status of async print task #
GET /api/v1/container Get container #
POST /api/v1/invoices/{ref}/print Print Invoice by Ref. #
GET /api/v1/shipments/master-bills/Once Retrieve M/BL #
POST /api/v1/shipments/ocean-import/mbl POST /api/v1/shipments/ocean-import/mbl #
GET /api/v1/shipments/ocean-import/mbl/custom-field/The Custom Field Integration - Retrieve Available Custom Fields #
GET /api/v1/trade-partners GET /api/v1/trade-partners #
POST /shipments/ocean-import/mbl/The Create an Ocean Import MB/L #

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/gofreight:api-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

gofreight-api-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: GoFreight api API
  version: '2026-12-02'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-12-02: 9 operation(s) read from 2 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; GoFreight has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 5
    documentation: 10
    pages-with-code: 5
    pages-read: 5
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-12-02'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://developers.gofreight.com/docs/api/more-examples
  - https://developers.gofreight.com/docs/api/quickstart
  x-docs-section: api
servers:
- url: https://api.core.gofreight.co
paths:
  /:
    get:
      operationId: get
      tags:
      - Api
      summary: GET /
      x-source: https://developers.gofreight.com/docs/api/quickstart
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl is used in the examples, but you can use any HTTP client of your choice. If you’d like to know more about the available
          APIs, please refer to the API Reference . Step 1: Obtain an API Key link GoFreight currently does not allow users to create API keys
          on their own (but it will be available soon!). You will need to contact GoFreight staff to obtain an API key to access GoFreight APIs.
          You can'
  /api/v1/async-tasks/status/{ref}/Replace:
    get:
      operationId: get_api_v1_async_tasks_status_ref_Replace
      tags:
      - Api
      summary: Check status of async print task
      x-source: https://developers.gofreight.com/docs/api/more-examples
      parameters:
      - name: ref
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1AsyncTasksStatusRefReplaceResponse'
      x-evidence:
        kind: documentation
  /api/v1/container:
    get:
      operationId: get_api_v1_container
      tags:
      - Api
      summary: Get container
      x-source: https://developers.gofreight.com/docs/api/more-examples
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1ContainerResponse'
      x-evidence:
        kind: documentation
  /api/v1/invoices/{ref}/print:
    post:
      operationId: post_api_v1_invoices_ref_print
      tags:
      - Api
      summary: Print Invoice by Ref.
      x-source: https://developers.gofreight.com/docs/api/more-examples
      parameters:
      - name: ref
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1InvoicesRefPrintResponse'
      x-evidence:
        kind: documentation
  /api/v1/shipments/master-bills/Once:
    get:
      operationId: get_api_v1_shipments_master_bills_Once
      tags:
      - Api
      summary: Retrieve M/BL
      x-source: https://developers.gofreight.com/docs/api/more-examples
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: transportation_mode
        in: query
        required: true
        schema:
          type: string
        description: 'Required, possible values: OI, OE, AI, AE'
      - name: port_of_loading
        in: query
        required: false
        schema:
          type: string
      - name: port_of_discharge
        in: query
        required: false
        schema:
          type: string
      - name: post_date.gt
        in: query
        required: false
        schema:
          type: string
        description: Greater than filter for post_date
      - name: post_date.gte
        in: query
        required: false
        schema:
          type: string
        description: Greater than or equal filter for post_date
      - name: post_date.lt
        in: query
        required: false
        schema:
          type: string
        description: Less than filter for post_date
      - name: post_date.lte
        in: query
        required: false
        schema:
          type: string
        description: Less than or equal filter for post_date
      - name: ocean_shipment.mbl_no
        in: query
        required: false
        schema:
          type: string
      - name: air_shipment.mawb_no
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1ShipmentsMasterBillsOnceResponse'
      x-evidence:
        kind: documentation
  /api/v1/shipments/ocean-import/mbl:
    post:
      operationId: post_api_v1_shipments_ocean_import_mbl
      tags:
      - Api
      summary: POST /api/v1/shipments/ocean-import/mbl
      x-source: https://developers.gofreight.com/docs/api/more-examples
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1ShipmentsOceanImportMblRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1ShipmentsOceanImportMblResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --request POST  --url https://api.core.gofreight.co/api/v1/shipments/ocean-import/mbl/  --header 'Accept: application/json'\
          \  --header 'Content-Type: application/json'  --header 'X-GATEWAY-TOKEN: {{your-api-key}}'  --data '{\n \"data\": [\n {\n \"mbl_no\"\
          : \"MB12345678\",\n \"port_of_loading\": \"USLAX\",\n \"port_of_discharge\": \"CNTAO\",\n \"estimated_arrival_date\": \"2023-07-20T08:15:30\"\
          ,\n \"estimated_departure_"
  /api/v1/shipments/ocean-import/mbl/custom-field/The:
    get:
      operationId: get_api_v1_shipments_ocean_import_mbl_custom_field_The
      tags:
      - Api
      summary: Custom Field Integration - Retrieve Available Custom Fields
      x-source: https://developers.gofreight.com/docs/api/more-examples
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1ShipmentsOceanImportMblCustomFieldTheResponse'
      x-evidence:
        kind: documentation
  /api/v1/trade-partners:
    get:
      operationId: get_api_v1_trade_partners
      tags:
      - Api
      summary: GET /api/v1/trade-partners
      x-source: https://developers.gofreight.com/docs/api/quickstart
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: string
      - name: page
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl --request GET  --url ''https://api.core.gofreight.co/api/v1/trade-partners/?page=1&limit=100''  --header ''Accept: application/json''  --header
          ''X-GATEWAY-TOKEN: {{your-api-key}}''  | python -m json.tool Run this command in your terminal to send the request and you’ll receive
          a JSON response (formatted with Python json.tool for readability), which might look like this — data holds the array of tra'
  /shipments/ocean-import/mbl/The:
    post:
      operationId: post_shipments_ocean_import_mbl_The
      tags:
      - Shipments
      summary: Create an Ocean Import MB/L
      x-source: https://developers.gofreight.com/docs/api/more-examples
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostShipmentsOceanImportMblTheRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostShipmentsOceanImportMblTheResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetApiV1AsyncTasksStatusRefReplaceResponse:
      type: object
      properties:
        status:
          type: string
          description: Current status of the async task
        message:
          type: string
          description: Optional message related to the task status
        uri:
          type: string
          description: URI to access the async task result when status is SUCCESS
    GetApiV1ContainerResponse:
      type: object
      properties:
        ref:
          type: string
        container_no:
          type: string
        seal_no:
          type: string
        container_type_size:
          type: string
        weight:
          type: number
        weight_unit:
          type: string
        measurement:
          type: number
        measurement_unit:
          type: string
        pickup_no:
          type: string
        is_available_for_pickup:
          type: boolean
        pickup_date:
          type: string
        last_free_date:
          type: string
        empty_return_date:
          type: string
    PostApiV1InvoicesRefPrintResponse:
      type: object
      properties:
        ref:
          type: string
          description: Reference for the async generation task
        uri:
          type: string
          description: URI to check the status of the generation task
    GetApiV1ShipmentsMasterBillsOnceResponse:
      type: object
      properties:
        meta:
          type: object
          description: Pagination metadata
        data:
          type: array
          description: Array of Shipment Master Bills objects
    PostApiV1ShipmentsOceanImportMblRequest:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              mbl_no:
                type: string
              port_of_loading:
                type: string
              port_of_discharge:
                type: string
              estimated_arrival_date:
                type: string
                format: date-time
              estimated_departure_date:
                type: string
                format: date-time
              vessel_name:
                type: string
              voyage:
                type: string
              ship_mode:
                type: string
              service_term_from:
                type: string
              service_term_to:
                type: string
              carrier:
                type: string
              oversea_agent:
                type: string
              weight_unit:
                type: string
              measurement_unit:
                type: string
              hbl_list:
                type: array
                items:
                  type: object
                  properties:
                    hbl_no:
                      type: string
                    shipper:
                      type: string
                    consignee:
                      type: string
                    notify:
                      type: string
                    service_term_from:
                      type: string
                    service_term_to:
                      type: string
              container_list:
                type: array
                items:
                  type: object
                  properties:
                    container_no:
                      type: string
                    seal_no:
                      type: string
                    container_type_size:
                      type: string
                    weight:
                      type: number
                    measurement:
                      type: number
                    pickup_no:
                      type: string
                    is_available_for_pickup:
                      type: boolean
                    pickup_date:
                      type: string
                      format: date-time
                    last_free_date:
                      type: string
                      format: date
                    empty_return_date:
                      type: string
                      format: date
    PostApiV1ShipmentsOceanImportMblResponse:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              ref:
                type: string
              uri:
                type: string
              hbl_list:
                type: array
                items:
                  type: object
                  properties:
                    ref:
                      type: string
                    uri:
                      type: string
              container_list:
                type: array
                items:
                  type: object
                  properties:
                    ref:
                      type: string
                    uri:
                      type: string
    GetApiV1ShipmentsOceanImportMblCustomFieldTheResponse:
      type: object
      properties:
        data:
          type: array
          description: Array of custom field definitions
    PostShipmentsOceanImportMblTheRequest:
      type: object
      properties:
        data:
          type: array
          description: Array of shipment objects
      required:
      - data
    PostShipmentsOceanImportMblTheResponse:
      type: object
      properties:
        data:
          type: array
          description: Array containing created shipment references
tags:
- name: Api
- name: Shipments