Govseer Shipping API

Read a safety data sheet and return its transport fields: UN number, proper shipping name, hazard class and packing group, plus whether the US limited quantity exception applies.

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 1

POST /api/v1/shipping-fields UN number, proper shipping name, class and packing group from one sheet #

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/govseer-com:govseer-com-shipping-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

govseer-com-shipping-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Govseer Shipping API
  version: 1.3.0
  summary: 'Product compliance from the documents you already have: EU CLP labels and SDS checks from a safety data sheet, CPSC certificates from a lab test report.'
  description: 'Send a safety data sheet, get back what an online listing must show under the EU CLP Regulation (Article 48a, from 1 January 2028): pictograms, signal word, hazard and precautionary statements in their official wording, the "Contains" line and what the sheet leaves open, in any of the 24 EU languages. Also the hazard fields bol.com, eBay and Amazon EU ask sellers for. Wording comes only from the official texts of the Regulation. Also: a safety data sheet checked against OSHA''s Hazard Communication Standard (2024) and Canada''s WHMIS, with the rule behind each gap; and CPSC eFiling certificates drafted from any lab''s test report and filed into the importer''s own Product Registry. The result is a tool, not legal advice.'
  termsOfService: https://govseer.com/terms
  contact:
    name: Govseer support
    url: https://govseer.com/support
  x-logo:
    url: https://govseer.com/favicon.svg
servers:
- url: https://govseer-api-823928849037.europe-west1.run.app
security:
- apiKey: []
tags:
- name: Shipping
  description: The transport fields shipping software needs per product, from the sheet.
paths:
  /api/v1/shipping-fields:
    post:
      operationId: shippingFields
      tags:
      - Shipping
      summary: UN number, proper shipping name, class and packing group from one sheet
      description: 'Reads section 14 of the sheet as printed, one entry per transport mode, and picks the US (DOT) entry when there is one. Adds whether US ground transport may use the limited quantity exception for that class and packing group, with the inner packaging limit and the rule in 49 CFR part 173; this holds only where the Hazardous Materials Table entry (column 8A) lists the exception, and not by air. Flags where sections 2, 9 and 14 disagree. Nothing is classified: the shipper stays responsible. Counts one sheet; nothing is stored.'
      parameters:
      - name: callback
        in: query
        required: false
        description: 'For automation tools with short step limits (Zapier). The request is answered 202 at once and the answer is POSTed to this address as JSON: `{status, result}`, or `{status, error, detail}` on failure. Zapier''s callback addresses only.'
        schema:
          type: string
          format: uri
      requestBody:
        required: true
        description: 'The safety data sheet: a PDF or Word (.docx) file up to 10 MB, or one photo of a page (JPEG, PNG, WebP or HEIC), sent as the body; or photos of its pages as JSON. The type is read from the file itself. It is read once and not stored.'
        content:
          application/pdf:
            schema:
              type: string
              format: binary
          application/vnd.openxmlformats-officedocument.wordprocessingml.document:
            schema:
              type: string
              format: binary
          image/*:
            schema:
              type: string
              format: binary
          application/json:
            schema:
              type: object
              required:
              - files
              properties:
                files:
                  type: array
                  minItems: 1
                  maxItems: 20
                  items:
                    type: string
                    contentEncoding: base64
                    description: 'One page: JPEG, PNG, WebP or HEIC/HEIF, up to 7 MB.'
      responses:
        '200':
          description: The shipping fields.
          content:
            application/json:
              schema:
                type: object
                required:
                - shipping
                - usage
                properties:
                  shipping:
                    $ref: '#/components/schemas/ShippingFields'
                  usage:
                    $ref: '#/components/schemas/Usage'
        '202':
          description: 'With `callback`: accepted; the answer goes to the callback.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - accepted
        '400':
          description: The sheet is not a PDF, Word file or photo; more than 20 photos; or a Word file that could not be opened.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: not_pdf
          x-error-codes:
          - not_pdf
          - files
          - convert
        '401':
          description: Missing, wrong or revoked key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: api_key
          x-error-codes:
          - api_key
        '413':
          description: Larger than 10 MB (20 MB of page photos).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: too_large
          x-error-codes:
          - too_large
        '429':
          description: 'This month''s free sheets and any packs are used up (usage says how many; they renew on the 1st, UTC). Paid API plans don''t stop: extra sheets are charged next month.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: monthly_limit
          x-error-codes:
          - monthly_limit
        '502':
          description: The sheet could not be read. Not counted; try again or check the file.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: read_failed
          x-error-codes:
          - read_failed
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: gsk_live_…
      description: Create a key under API keys on your govseer.com account page. It acts for your account and uses its monthly checks.
  schemas:
    Products:
      type: object
      required:
      - used
      - limit
      description: The plan's products with a label.
      properties:
        used:
          type: integer
        limit:
          type:
          - integer
          - 'null'
          description: null on plans without a limit.
    Usage:
      type: object
      required:
      - month
      - checks
      - limit
      description: This month's sheets on the account's API plan.
      properties:
        month:
          type: string
          example: 2026-12
        checks:
          type: integer
          description: Sheets read this month.
        limit:
          type: integer
          description: The plan's sheets a month.
        plan:
          type: string
          example: API Starter
        packs:
          type: integer
          description: Sheets left in packs.
        extra:
          type: integer
          description: Sheets beyond the allowance this month, charged next month (paid plans).
    ShippingFields:
      type: object
      required:
      - version
      - notRegulated
      - modes
      - limitedQuantity
      - flags
      properties:
        version:
          type: string
          description: Date of the rules applied.
        notRegulated:
          type: boolean
          description: Every transport mode on the sheet says not regulated.
        unNumber:
          type:
          - string
          - 'null'
          example: UN1993
        shippingName:
          type:
          - string
          - 'null'
          example: Flammable liquid, n.o.s. (ethanol)
        hazardClass:
          type:
          - string
          - 'null'
          example: '3'
        packingGroup:
          type:
          - string
          - 'null'
          example: II
        from:
          type:
          - string
          - 'null'
          description: The transport mode the fields above come from (the US one when printed).
        modes:
          type: array
          items:
            type: object
            required:
            - mode
            - notRegulated
            properties:
              mode:
                type: string
              notRegulated:
                type: boolean
              unNumber:
                type:
                - string
                - 'null'
              shippingName:
                type:
                - string
                - 'null'
              hazardClass:
                type:
                - string
                - 'null'
              packingGroup:
                type:
                - string
                - 'null'
        limitedQuantity:
          type: object
          required:
          - eligible
          properties:
            eligible:
              type:
              - boolean
              - 'null'
              description: 'US ground: true when the class and packing group have the exception, false when not, null when the sheet does not settle it.'
            innerLimitLiquid:
              type:
              - string
              - 'null'
              example: 1.0 L
            innerLimitSolid:
              type:
              - string
              - 'null'
              example: 1.0 kg
            grossLimitKg:
              type:
              - number
              - 'null'
              example: 30
            ref:
              type:
              - string
              - 'null'
              example: 49 CFR 173.150(b)(2)
            note:
              type:
              - string
              - 'null'
        flags:
          type: array
          items:
            type: string
            enum:
            - flammable_not_regulated
            - corrosive_not_regulated
            - class3_without_flammable
            - class8_without_corrosive
            - flash_point_low_not_flammable
            - flash_point_high_but_flammable
            - un_numbers_differ
            - no_transport_section
        flashPoint:
          type:
          - string
          - 'null'
          description: Section 9, as printed.
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
        usage:
          $ref: '#/components/schemas/Usage'
        products:
          $ref: '#/components/schemas/Products'
x-provenance:
  method: harvested
  publisher: Govseer
  source: https://govseer-api-823928849037.europe-west1.run.app/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)