> ## Documentation Index
> Fetch the complete documentation index at: https://developers.beta.dealroom.co/llms.txt
> Use this file to discover all available pages before exploring further.

# List government & NGO patents

> > ⚠ **DATA INCOMPLETE** — Same as `companyPatents`: `title` is enriched only from PatSnap's curated high-value subset, ~1.6% coverage. (ENG-960)

The organization's patents (patent families, from PatSnap). Filter by `status` (granted/pending) and `filing_date`/`publication_date`.



## OpenAPI

````yaml /openapi.yaml get /data/gov-ngo/{id}/patents
openapi: 3.1.0
info:
  title: Dealroom API
  version: '2026-09-01'
  description: >-
    REST API for the Dealroom platform — companies, funds, founders, investors,
    funding rounds, valuations, taxonomy, news, and aggregate analytics across
    all of them. Authentication uses Auth0 (Bearer JWT or OAuth2
    client_credentials). All endpoints are versioned via the `API-Version`
    header (Stripe-style date-based versioning).
  contact:
    name: Dealroom API support
    email: support@dealroom.co
    url: https://dealroom.co
  termsOfService: https://dealroom.co/terms
  license:
    name: Proprietary — Dealroom commercial license
    url: https://dealroom.co/terms
servers:
  - url: https://api.beta.dealroom.app
    description: Beta
security:
  - bearerAuth: []
  - oauth2: []
tags:
  - name: Discovery
    description: API root discovery and functional namespaces.
  - name: Entities
    description: >-
      Companies, investors, people, universities, and other organisations.
      Filter, sort, and paginate the unified entity index. The term `investor`
      refers to the investment firm; `fund` refers to the capital vehicle it
      raises.
  - name: Companies
    description: >-
      Company profiles — the `organization_subtype = company` subset of entities
      (excludes investors, universities, and gov/NGOs). Same response shape as
      the entity index, scoped to companies.
  - name: Universities
    description: >-
      University profiles — the `organization_subtype = university` subset of
      entities. The `university` sub-object carries alumni metrics.
  - name: Government & NGO
    description: >-
      Government bodies and NGOs — the `organization_subtype = gov_ngo` subset
      of entities.
  - name: Transactions
    description: >-
      Funding rounds, equity events, debt, grants, exits, and other
      company-level financial events.
  - name: Valuations
    description: Company valuation history by year and month.
  - name: Investors
    description: >-
      Investor profiles (VCs, corporates, angels, family offices, governments).
      Subset of entities where `is_investor = true`. An investor is the firm
      that makes investments; the capital vehicles it raises are funds available
      via `/investors/{id}/funds`.
  - name: Funds
    description: >-
      Funds — the capital vehicles investor firms raise (e.g. "Fund III", $200M,
      2024). Browse/filter by manager, type, size, and vintage; each fund links
      to its manager (GP). Fund size (`amount`) converts to the requested
      `?currency=` (default USD); `amount_source` carries the original
      native-currency amount.
  - name: People
    description: >-
      Person profiles (founders, executives, angels, and others). Subset of
      entities where `entity_type = 'person'`. Same response shape as founders,
      with company associations, education, and backgrounds.
  - name: Founders
    description: >-
      Founder profiles with company associations and education history. Subset
      of entities where `is_founder = true`.
  - name: News
    description: Curated news articles about companies, funds, deals, sectors, and events.
  - name: Jobs
    description: Active job openings posted by companies, with hiring-trend signals.
  - name: Aggregate
    description: >-
      Composable single- and multi-metric aggregations across companies, funding
      rounds, valuations, founders, investors, entities, and fundings.
  - name: Timeseries
    description: Yearly entity metrics (employees, revenue, valuation).
  - name: Filters
    description: >-
      Filter registry discovery and value lookup. Use `/reference/filters` to
      discover available filters per scope and `/reference/filters/:key/values`
      to look up valid values.
  - name: Health
    description: Liveness probe (public, unauthenticated).
  - name: Search
    description: >-
      Cross-resource fuzzy search across companies, investors, people,
      universities, and government & NGO bodies.
paths:
  /data/gov-ngo/{id}/patents:
    get:
      tags:
        - Government & NGO
      summary: List government & NGO patents
      description: >-
        > ⚠ **DATA INCOMPLETE** — Same as `companyPatents`: `title` is enriched
        only from PatSnap's curated high-value subset, ~1.6% coverage. (ENG-960)


        The organization's patents (patent families, from PatSnap). Filter by
        `status` (granted/pending) and `filing_date`/`publication_date`.
      operationId: govNgoPatents
      parameters:
        - schema:
            type: string
            minLength: 1
            format: uuid
            example: 345d1ab6-33df-4759-9e17-0d0c0ec9ab1c
            description: Stable UUID of the entity. Numeric ids are not accepted.
          required: true
          description: Stable UUID of the entity. Numeric ids are not accepted.
          name: id
          in: path
        - schema:
            type: string
            description: >
              Filter expression for patents — status and date filters.


              Examples:

              - Single: status[eq]:granted

              - AND: and(status[eq]:granted,filing_date[gte]:2018-01-01)


              Operators: status (eq, neq, in_any, nin_any),
              filing_date/publication_date (gte, lte)

              Default ref: 'patent'
            example: status[eq]:granted
          required: false
          description: >
            Filter expression for patents — status and date filters.


            Examples:

            - Single: status[eq]:granted

            - AND: and(status[eq]:granted,filing_date[gte]:2018-01-01)


            Operators: status (eq, neq, in_any, nin_any),
            filing_date/publication_date (gte, lte)

            Default ref: 'patent'
          name: filter
          in: query
        - schema:
            type: integer
            format: int32
            minimum: 1
            maximum: 500
            default: 25
            description: Number of results to return (1-500, default 25)
            example: 25
          required: false
          description: Number of results to return (1-500, default 25)
          name: limit
          in: query
        - schema:
            type: integer
            format: int32
            minimum: 0
            default: 0
            description: >-
              Number of results to skip before returning data. Combine with
              `limit` for offset-based pagination.
            example: 0
          required: false
          description: >-
            Number of results to skip before returning data. Combine with
            `limit` for offset-based pagination.
          name: offset
          in: query
        - schema:
            type: string
            pattern: ^-?[\w,]+$
            description: >-
              Sort by one or more keys. Prefix with `-` for descending order;
              comma-separated for multi-key sorts.
            example: filing_date
          required: false
          description: >-
            Sort by one or more keys. Prefix with `-` for descending order;
            comma-separated for multi-key sorts.
          name: sort
          in: query
        - schema:
            type: boolean
            description: >-
              Pass `true` to include `page.total` (the matching record count) in
              the response. Default omits the total to avoid a count query.
            example: true
          required: false
          description: >-
            Pass `true` to include `page.total` (the matching record count) in
            the response. Default omits the total to avoid a count query.
          name: include_total
          in: query
        - schema:
            type: string
            description: >-
              ISO 4217 currency code for monetary field conversion. Defaults to
              USD.
            example: EUR
          required: false
          description: >-
            ISO 4217 currency code for monetary field conversion. Defaults to
            USD.
          name: currency
          in: query
        - $ref: '#/components/parameters/ApiVersion'
      responses:
        '200':
          description: Government & NGO patents
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityPatentsResponse'
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
        '400':
          description: Invalid entity ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: VALIDATION_ERROR
                  message: The request was malformed or failed validation.
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
        '401':
          description: >-
            Authentication required. The `Authorization` header was missing, the
            bearer token was malformed, or the token failed signature / expiry
            validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: UNAUTHORIZED
                  message: Authentication required — provide a valid bearer token.
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
        '403':
          description: >-
            Authentication succeeded but the caller's token does not include the
            permission required for this operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: FORBIDDEN
                  message: You do not have permission to perform this action.
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: FILTER_PARSE_ERROR
                  message: >-
                    The request could not be processed — check the filter syntax
                    and any identifiers.
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
        '429':
          description: Rate limit exceeded.
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Retry-After:
              schema:
                type: string
                description: Seconds to wait before retrying.
                example: '1'
              required: true
              description: Seconds to wait before retrying.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: RATE_LIMITED
                  message: >-
                    Rate limit exceeded — retry after the delay in the
                    `Retry-After` header.
      security:
        - oauth2:
            - read:entities
        - bearerAuth:
            - read:entities
components:
  parameters:
    ApiVersion:
      name: API-Version
      in: header
      required: false
      schema:
        type: string
        format: date
        example: '2026-09-01'
      description: >-
        Pin a Stripe-style date-based API version (`YYYY-MM-DD`). Omit to use
        the latest version (`2026-09-01`). A pinned version is supported for 30
        days after it is superseded, after which it returns `400`.
  schemas:
    EntityPatentsResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/EntityPatentItem'
        page:
          type: object
          properties:
            total:
              type: number
            limit:
              type: number
            offset:
              type: number
            next_cursor:
              type:
                - string
                - 'null'
              description: >-
                Opaque cursor for the next page. Null when no further pages
                exist.
            prev_cursor:
              type:
                - string
                - 'null'
              description: >-
                Opaque cursor for the previous page. Null when on the first
                page.
            capped:
              type: boolean
              description: >-
                True when the requested page size was reduced to the
                per-tier/ecosystem row cap.
            tier:
              type: string
              enum:
                - anonymous
                - free
                - premium
              description: >-
                The access tier applied to this request (anonymous, free,
                premium).
            ecosystem:
              type:
                - string
                - 'null'
              description: >-
                Slug of the active ecosystem subdomain, or null when none is in
                scope.
          required:
            - limit
            - offset
            - next_cursor
            - prev_cursor
      required:
        - data
        - page
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - VALIDATION_ERROR
                - NOT_FOUND
                - UNAUTHORIZED
                - DATABASE_ERROR
                - UNKNOWN_FILTER
                - FILTER_VALIDATION_ERROR
                - UNSUPPORTED_OPERATOR
                - FILTER_PARSE_ERROR
                - QUERY_TIMEOUT
                - INTERNAL_SERVER_ERROR
                - INVALID_ENTITY_ID
                - PAGINATION_DEPTH_EXCEEDED
                - SCHEMA_ERROR
                - FORBIDDEN
                - EXTERNAL_SERVICE_ERROR
                - ACCOUNT_REQUIRED
                - SERVICE_UNAVAILABLE
                - RATE_LIMITED
                - LIST_LOCKED
                - PATH_RENAMED
                - ENDPOINT_REMOVED
              description: Stable machine-readable error code.
            message:
              type: string
            details:
              anyOf:
                - type: array
                  items:
                    type: object
                    properties:
                      path:
                        type: string
                      message:
                        type: string
                    required:
                      - path
                      - message
                - type: object
                  additionalProperties:
                    anyOf:
                      - type: string
                      - type: number
                      - type: boolean
          required:
            - code
            - message
      required:
        - error
    EntityPatentItem:
      type: object
      properties:
        family_id:
          type: string
          description: >-
            PatSnap patent family id — groups jurisdictional publications of the
            same invention.
          example: '38907123'
        title:
          type:
            - string
            - 'null'
          description: >-
            Patent title. Sparsely populated (~1.6% of families) — only titled
            when PatSnap flagged one of the family's publications as high-value.
        status:
          type: string
          enum:
            - granted
            - pending
          description: >-
            Family-level status. PatSnap exposes only granted/not-granted, not
            legacy's finer per-territory legal status.
          example: granted
        representative_pn:
          type:
            - string
            - 'null'
          description: PatSnap's representative publication number for the family.
          example: CN-101079896-B
        countries:
          type: array
          items:
            type: string
          description: Territories (ISO 2-letter codes) this family has publications in.
          example:
            - CN
        publication_count:
          type:
            - number
            - 'null'
          description: Number of jurisdictional publications in this family.
          example: 1
        filing_date:
          type:
            - string
            - 'null'
          description: Earliest recorded filing date across the family's publications.
          example: '2007-06-22'
        publication_date:
          type:
            - string
            - 'null'
          description: Latest recorded publication date across the family's publications.
          example: '2010-05-19'
      required:
        - family_id
        - title
        - status
        - representative_pn
        - countries
        - publication_count
        - filing_date
        - publication_date
  headers:
    Deprecation:
      description: >-
        Present when the request pinned a superseded version: the date that
        version was deprecated (`YYYY-MM-DD`).
      schema:
        type: string
        format: date
    Sunset:
      description: >-
        Present when the request pinned a superseded version: the date the
        version stops working and requests begin returning `400` (`YYYY-MM-DD`).
      schema:
        type: string
        format: date
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Auth0 JWT access token. Paste a token obtained from your preferred
        OAuth2 flow. For machine-to-machine use, the OAuth2 client_credentials
        scheme below can mint a token directly from your `client_id` /
        `client_secret` inside the Swagger UI Authorize dialog.
    oauth2:
      type: oauth2
      description: >-
        OAuth2 client-credentials flow against the Dealroom Auth0 tenant. Use
        the `client_id` / `client_secret` from a Programmatic API key. Tokens
        are valid for 24h — Swagger UI will reuse the same token across
        operations. Revoking or deactivating a key rejects it on the next
        request (within a ≤5-minute server-side cache window), not at token
        expiry.
      flows:
        clientCredentials:
          tokenUrl: https://accounts.dealroom.co/oauth/token
          scopes:
            read:entities: Grant the read:entities permission
            read:transactions: Grant the read:transactions permission
            read:valuations: Grant the read:valuations permission
            read:investors: Grant the read:investors permission
            read:founders: Grant the read:founders permission
            read:dimensions: Grant the read:dimensions permission
            read:timeseries: Grant the read:timeseries permission
            read:aggregate: Grant the read:aggregate permission
            read:news: Grant the read:news permission
            read:jobs: Grant the read:jobs permission
            read:people: Grant the read:people permission
            read:search: Grant the read:search permission

````