MarkMesh Reference API

Read-only lookup data curated by MarkMesh: Nice Classification classes (goods/services taxonomy), Vienna Codification codes (figurative element taxonomy), the catalogue of supported trademark offices, and the jurisdiction registry (country/territory entries used for deadline calculations and office routing). Use these to resolve IDs needed by the rest of the API (e.g. `office_id` for filing import) without hard-coding values into your integration.

GitHub OpenAPI

Operations 8

GET /jurisdictions List jurisdictions #
GET /jurisdictions/{id} Retrieve a jurisdiction #
GET /nice-classes List Nice classes #
GET /nice-classes/{id} Retrieve a Nice class #
GET /offices List offices #
GET /offices/{id} Retrieve an office #
GET /vienna-classes List Vienna classes #
GET /vienna-classes/{id} Retrieve a Vienna class #

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/markmesh-com:markmesh-com-reference-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

markmesh-com-reference-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'The MarkMesh REST API is a JSON:API-compliant interface for

    managing trademarks, filings, clients and watches. It is the

    same surface used by the MarkMesh web UI, exposed for machine

    integrations under the `mm_live_*` / `mm_test_*` API-key auth. Two integration shapes:


    - **Customer-self** — you manage your own organisation''s

    trademark portfolio. Use the resource tags (Clients,

    Trademarks, Filings, Watches) directly. - **Partner / agency** — you manage *other* organisations''

    portfolios on their behalf. Read managed-orgs and their data

    via the **Partner** tag; create or update by passing

    `organization_id` on the existing customer-side endpoints. Each call requires an active `PartnerRelationship`. ## Quickstart


    1. Create an API key in the dashboard at `/api/keys` (live or sandbox). 2. Set the `Authorization: Bearer mm_live_…` header on every request. 3. Hit `GET /v1/introspect` to confirm the key is valid and to see

    which organisation it is bound to. 4. Browse the endpoint reference below or jump to one of the

    guides. ```bash

    curl https://api.markmesh.com/v1/introspect \

    -H "Authorization: Bearer mm_live_xxxxxxxx"

    ```


    ---


    ## Authentication


    Every request must carry a Bearer token in the `Authorization`

    header. Token prefixes:


    - `mm_live_*` — production keys, bound to a live organisation,

    hit live trademark-office APIs

    - `mm_test_*` — sandbox keys, bound to a sandbox organisation,

    backed by the sandbox dataset described below


    Tokens are shown **once** at creation. Lost a token? Revoke and

    recreate. Tokens are scoped to one organisation. A `mm_live_*`

    key against a sandbox organisation — or vice versa — returns

    `401 environment_mismatch`. ---


    ## Sandbox


    Sandbox keys (`mm_test_*`) run against a curated test dataset

    designed for integration testing and CI. Same routes, same

    JSON:API shapes, same headers as production — only the data

    your customer code consumes changes. Production logic runs

    unmodified. Every office in sandbox is covered by **deterministic test

    data**: each office exposes three known marks with stable

    identifiers (`MM--001/002/003`), owner

    `MarkMesh Sandbox Co.`, a mix of `:registered` and `:pending`

    status. The same query against the same office returns the

    same hits today, tomorrow, next year — so your CI can assert

    exact mark numbers, dates, and Nice/Vienna classes without

    flakiness. Search is case-insensitive substring on `mark_text`,

    `application_number`, and `registration_number`:


    ```bash

    # Returns the "ALPHA" mark from each requested office

    curl ''https://api.markmesh.com/v1/search?q=ALPHA&offices=FR,JP,KR,ES'' \

    -H "Authorization: Bearer mm_test_xxxxxxxx"


    # Exact-number lookup — registers a sandbox filing on a trademark

    curl ''https://api.markmesh.com/v1/filings/import_from_office'' \

    -H "Authorization: Bearer mm_test_xxxxxxxx" \

    -d ''{"office":"FR","number":"MM-FR-001","trademark_id":""}''

    ```


    Sandbox organisations also short-circuit billing operations

    (Stripe is never called from sandbox), enforce per-resource

    storage caps (100 trademarks / 200 filings / 50 clients), and

    expose a `reset_sandbox` action that wipes all data in one

    call — perfect for resetting state between CI runs. No production filings are ever created against an office from

    a sandbox key. ---


    ## Pagination


    List endpoints use **keyset pagination** — no offset, no

    `page=2`. The response carries a `meta.page` block with

    `after` / `before` / `total_count`; pass the cursor back via

    `page[after]=…` to fetch the next slice. - `page[limit]` — page size (default 25, max 100)

    - `page[after]` — keyset cursor returned in the previous response


    ```bash

    curl ''https://api.markmesh.com/v1/filings?page[limit]=10'' \

    -H "Authorization: Bearer mm_live_xxxxxxxx"

    ```


    Sorting and filtering have their own sections below; both

    layer on top of pagination via separate query params. ---


    ## Sorting


    Every list endpoint accepts a `sort` query parameter. Pass one

    or more attribute names, comma-separated; prefix with `-` for

    descending order.'
  title: MarkMesh Reference API
  version: v1
servers:
- description: Production API surface
  url: https://api.markmesh.com/v1
security:
- bearerAuth: []
tags:
- description: 'Read-only lookup data curated by MarkMesh: Nice Classification classes (goods/services taxonomy), Vienna Codification codes (figurative element taxonomy), the catalogue of supported trademark offices, and the jurisdiction registry (country/territory entries used for deadline calculations and office routing). Use these to resolve IDs needed by the rest of the API (e.g. `office_id` for filing import) without hard-coding values into your integration.'
  name: Reference
paths:
  /jurisdictions:
    get:
      deprecated: false
      description: 'List jurisdictions.


        **Filterable attributes**: `code`, `id`, `name`, `office_name`, `office_url`, `region`. See the `Filtering` section under Introduction for the query syntax.


        **Sortable attributes**: `code`, `id`, `name`, `office_name`, `office_url`, `region`. See the `Sorting` section under Introduction for the syntax.'
      parameters: []
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                additionalProperties: false
                properties:
                  data:
                    description: An array of resource objects representing a jurisdiction
                    items:
                      $ref: '#/components/schemas/jurisdiction'
                    type: array
                    uniqueItems: true
                type: object
          description: Success
        '401':
          description: API key or session credential missing, invalid, expired, or revoked
      security:
      - UserJWT: []
      - ApiKey: []
      summary: List jurisdictions
      tags:
      - Reference
      operationId: getJurisdictions
      x-operation-id-source: derived
  /jurisdictions/{id}:
    get:
      deprecated: false
      description: Retrieve a jurisdiction by id. Scoped to the calling actor's organisation.
      parameters:
      - description: Resource UUID.
        in: path
        name: id
        required: true
        schema:
          format: uuid
          type: string
        style: form
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                additionalProperties: false
                properties:
                  data:
                    $ref: '#/components/schemas/jurisdiction'
          description: Success
        '401':
          description: API key or session credential missing, invalid, expired, or revoked
        '404':
          description: Resource not found, or not visible to this actor
      security:
      - UserJWT: []
      - ApiKey: []
      summary: Retrieve a jurisdiction
      tags:
      - Reference
      operationId: getJurisdictionsById
      x-operation-id-source: derived
  /nice-classes:
    get:
      deprecated: false
      description: 'List Nice classes.


        **Filterable attributes**: `category`, `description`, `id`, `ncl_edition`, `number`, `title`, `valid_from`, `valid_to`. See the `Filtering` section under Introduction for the query syntax.


        **Sortable attributes**: `category`, `description`, `id`, `ncl_edition`, `number`, `title`, `valid_from`, `valid_to`. See the `Sorting` section under Introduction for the syntax.'
      parameters: []
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                additionalProperties: false
                properties:
                  data:
                    description: An array of resource objects representing a nice_class
                    items:
                      $ref: '#/components/schemas/nice_class'
                    type: array
                    uniqueItems: true
                type: object
          description: Success
        '401':
          description: API key or session credential missing, invalid, expired, or revoked
      security:
      - UserJWT: []
      - ApiKey: []
      summary: List Nice classes
      tags:
      - Reference
      operationId: getNiceClasses
      x-operation-id-source: derived
  /nice-classes/{id}:
    get:
      deprecated: false
      description: Retrieve a Nice class by id. Scoped to the calling actor's organisation.
      parameters:
      - description: Resource UUID.
        in: path
        name: id
        required: true
        schema:
          format: uuid
          type: string
        style: form
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                additionalProperties: false
                properties:
                  data:
                    $ref: '#/components/schemas/nice_class'
          description: Success
        '401':
          description: API key or session credential missing, invalid, expired, or revoked
        '404':
          description: Resource not found, or not visible to this actor
      security:
      - UserJWT: []
      - ApiKey: []
      summary: Retrieve a Nice class
      tags:
      - Reference
      operationId: getNiceClassesById
      x-operation-id-source: derived
  /offices:
    get:
      deprecated: false
      description: 'List offices.


        **Filterable attributes**: `country_code`, `data_freshness_note`, `detail_url`, `has_bulk`, `has_bulletin`, `has_live_api`, `id`, `logo_url`, `name`, `short_name`, `status`, `website_url`. See the `Filtering` section under Introduction for the query syntax.


        **Sortable attributes**: `country_code`, `data_freshness_note`, `detail_url`, `has_bulk`, `has_bulletin`, `has_live_api`, `id`, `logo_url`, `name`, `short_name`, `status`, `website_url`. See the `Sorting` section under Introduction for the syntax.'
      parameters: []
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                additionalProperties: false
                properties:
                  data:
                    description: An array of resource objects representing a office
                    items:
                      $ref: '#/components/schemas/office'
                    type: array
                    uniqueItems: true
                type: object
          description: Success
        '401':
          description: API key or session credential missing, invalid, expired, or revoked
      security:
      - UserJWT: []
      - ApiKey: []
      summary: List offices
      tags:
      - Reference
      operationId: getOffices
      x-operation-id-source: derived
  /offices/{id}:
    get:
      deprecated: false
      description: Retrieve an office by id. Scoped to the calling actor's organisation.
      parameters:
      - description: Resource UUID.
        in: path
        name: id
        required: true
        schema:
          format: uuid
          type: string
        style: form
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                additionalProperties: false
                properties:
                  data:
                    $ref: '#/components/schemas/office'
          description: Success
        '401':
          description: API key or session credential missing, invalid, expired, or revoked
        '404':
          description: Resource not found, or not visible to this actor
      security:
      - UserJWT: []
      - ApiKey: []
      summary: Retrieve an office
      tags:
      - Reference
      operationId: getOfficesById
      x-operation-id-source: derived
  /vienna-classes:
    get:
      deprecated: false
      description: 'List Vienna classes.


        **Filterable attributes**: `category`, `code`, `description`, `division`, `id`, `kind`, `parent_code`, `section`, `valid_from`, `valid_to`, `vcl_edition`. See the `Filtering` section under Introduction for the query syntax.


        **Sortable attributes**: `category`, `code`, `description`, `division`, `id`, `kind`, `parent_code`, `section`, `valid_from`, `valid_to`, `vcl_edition`. See the `Sorting` section under Introduction for the syntax.'
      parameters: []
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                additionalProperties: false
                properties:
                  data:
                    description: An array of resource objects representing a vienna_class
                    items:
                      $ref: '#/components/schemas/vienna_class'
                    type: array
                    uniqueItems: true
                type: object
          description: Success
        '401':
          description: API key or session credential missing, invalid, expired, or revoked
      security:
      - UserJWT: []
      - ApiKey: []
      summary: List Vienna classes
      tags:
      - Reference
      operationId: getViennaClasses
      x-operation-id-source: derived
  /vienna-classes/{id}:
    get:
      deprecated: false
      description: Retrieve a Vienna class by id. Scoped to the calling actor's organisation.
      parameters:
      - description: Resource UUID.
        in: path
        name: id
        required: true
        schema:
          format: uuid
          type: string
        style: form
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                additionalProperties: false
                properties:
                  data:
                    $ref: '#/components/schemas/vienna_class'
          description: Success
        '401':
          description: API key or session credential missing, invalid, expired, or revoked
        '404':
          description: Resource not found, or not visible to this actor
      security:
      - UserJWT: []
      - ApiKey: []
      summary: Retrieve a Vienna class
      tags:
      - Reference
      operationId: getViennaClassesById
      x-operation-id-source: derived
components:
  schemas:
    vienna_class:
      additionalProperties: false
      properties:
        attributes:
          additionalProperties: false
          description: An attributes object for a vienna_class.
          properties:
            category:
              description: Vienna category (1-29).
              type: integer
            code:
              description: Canonical Vienna code (zero-padded XX, XX.XX, or XX.XX.XX).
              type: string
            description:
              anyOf:
              - type:
                - string
                - 'null'
              - type: 'null'
              description: Plain-text description in English.
            division:
              anyOf:
              - type:
                - integer
                - 'null'
              - type: 'null'
              description: Division within the category (nil for category-level rows).
            kind:
              description: 'Hierarchy level: :category, :division, :section, or :auxiliary (sub-section of a principal section).'
              enum:
              - category
              - division
              - section
              - auxiliary
              type: string
            parent_code:
              anyOf:
              - type:
                - string
                - 'null'
              - type: 'null'
              description: Parent code in the hierarchy ('01.01' for sections, '01' for divisions, nil for categories).
            section:
              anyOf:
              - type:
                - integer
                - 'null'
              - type: 'null'
              description: Principal section within the division (nil for category/division-level rows).
            valid_from:
              description: Date this edition entered into force.
              format: date
              type: string
            valid_to:
              anyOf:
              - format: date
                type:
                - string
                - 'null'
              - type: 'null'
              description: Date this edition was superseded (nil = currently active).
            vcl_edition:
              description: Vienna Classification edition, e.g. '10-2026'.
              type: string
          required:
          - code
          - category
          - kind
          - vcl_edition
          - valid_from
          type: object
        id:
          description: Resource UUID.
          format: uuid
          type: string
        type:
          description: JSON:API resource type. Always `"vienna_class"`.
          enum:
          - vienna_class
          type: string
      required:
      - type
      - id
      type: object
    nice_class:
      additionalProperties: false
      properties:
        attributes:
          additionalProperties: false
          description: An attributes object for a nice_class.
          properties:
            category:
              description: 'Category: goods (classes 1-34) or services (classes 35-45).'
              enum:
              - goods
              - services
              type: string
            description:
              anyOf:
              - type:
                - string
                - 'null'
              - type: 'null'
              description: Detailed description of what goods or services fall within this class.
            example_goods_services:
              anyOf:
              - items:
                  type: string
                type:
                - array
                - 'null'
              - type: 'null'
              description: Example goods or services in this class.
            ncl_edition:
              description: Nice Classification edition, e.g. '13-2026'.
              type: string
            number:
              description: Nice classification number (1-45). Classes 1-34 are goods, 35-45 are services.
              type: integer
            title:
              description: Official title/heading of this Nice class.
              type: string
            valid_from:
              description: Date this edition entered into force.
              format: date
              type: string
            valid_to:
              anyOf:
              - format: date
                type:
                - string
                - 'null'
              - type: 'null'
              description: Date this edition was superseded (nil = currently active).
          required:
          - number
          - title
          - category
          - ncl_edition
          - valid_from
          type: object
        id:
          description: Resource UUID.
          format: uuid
          type: string
        type:
          description: JSON:API resource type. Always `"nice_class"`.
          enum:
          - nice_class
          type: string
      required:
      - type
      - id
      type: object
    office:
      additionalProperties: false
      properties:
        attributes:
          additionalProperties: false
          description: An attributes object for a office.
          properties:
            country_code:
              description: ISO 3166-1 alpha-2, e.g. 'US'. Use 'EU' for EUIPO, 'WO' for WIPO.
              type: string
            data_freshness_note:
              anyOf:
              - type:
                - string
                - 'null'
              - type: 'null'
              description: Optional caveat about data freshness shown next to this office's results in the UI (e.g. 'Data refreshed monthly, may not include filings from the last ~30 days.'). Nil = no caveat shown.
            detail_url:
              anyOf:
              - type:
                - string
                - 'null'
              - type: 'null'
              description: 'Deep link URL template for trademark search. Placeholders: {{application_number}} or {{registration_number}}. Each office picks the placeholder its public search expects (most use application; IPI''s swissreg routes via registration).'
            has_bulk:
              anyOf:
              - type:
                - boolean
                - 'null'
              - type: 'null'
              description: True when at least one :bulk source_type OfficeIntegration is :active.
            has_bulletin:
              anyOf:
              - type:
                - boolean
                - 'null'
              - type: 'null'
              description: True when at least one :bulletin source_type OfficeIntegration is :active.
            has_live_api:
              anyOf:
              - type:
                - boolean
                - 'null'
              - type: 'null'
              description: True when at least one :api source_type OfficeIntegration is :active.
            logo_url:
              anyOf:
              - type:
                - string
                - 'null'
              - type: 'null'
              description: Logo image URL (for future use).
            name:
              description: Full name, e.g. 'United States Patent and Trademark Office'.
              type: string
            short_name:
              description: Abbreviation, e.g. 'USPTO'.
              type: string
            status:
              anyOf:
              - enum:
                - active
                - inactive
                - null
                type:
                - string
                - 'null'
              - type: 'null'
              description: Whether MarkMesh currently routes filings/searches to this office. `inactive` offices may be temporarily disabled (outage, credential rotation) or permanently retired.
            website_url:
              anyOf:
              - type:
                - string
                - 'null'
              - type: 'null'
              description: Official website URL.
          required:
          - name
          - short_name
          - country_code
          type: object
        id:
          description: Resource UUID.
          format: uuid
          type: string
        type:
          description: JSON:API resource type. Always `"office"`.
          enum:
          - office
          type: string
      required:
      - type
      - id
      type: object
    jurisdiction:
      additionalProperties: false
      properties:
        attributes:
          additionalProperties: false
          description: An attributes object for a jurisdiction.
          properties:
            code:
              description: ''
              type: string
            name:
              description: ''
              type: string
            office_name:
              anyOf:
              - type:
                - string
                - 'null'
              - type: 'null'
              description: ''
            office_url:
              anyOf:
              - type:
                - string
                - 'null'
              - type: 'null'
              description: ''
            region:
              anyOf:
              - enum:
                - americas
                - europe
                - asia_pacific
                - africa
                - middle_east
                - international
                - null
                type:
                - string
                - 'null'
              - type: 'null'
              description: ''
          required:
          - code
          - name
          type: object
        id:
          description: Resource UUID.
          format: uuid
          type: string
        type:
          description: JSON:API resource type. Always `"jurisdiction"`.
          enum:
          - jurisdiction
          type: string
      required:
      - type
      - id
      type: object
  securitySchemes:
    ApiKey:
      bearerFormat: Opaque API key (prefix mm_live_ or mm_test_)
      description: Static API key for machine integrations. Issued via the UI at `/account/api-keys`. Prefix `mm_live_*` for production, `mm_test_*` for sandbox. Tokens are shown ONCE at creation — store them immediately.
      scheme: bearer
      type: http
    UserJWT:
      bearerFormat: JWT
      description: Session credential issued when signing in through the MarkMesh dashboard (magic-link or passkey). Used by the dashboard itself; most external integrations should authenticate with an API key instead.
      scheme: bearer
      type: http
    bearerAuth:
      bearerFormat: JWT
      description: JWT for bearer authentication
      scheme: bearer
      type: http