> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Get database stats

> For the size of the database and the distribution of records by office or country.

## Request contract

* **Method and path:** POST /apis/v1/branddb-wipo-int/intellectual-property/get-database-stats
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/branddb-wipo-int/intellectual-property/get-database-stats`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/branddb-wipo-int.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "branddb-wipo-int.intellectual-property.get-database-stats",
  "method": "POST",
  "path": "/apis/v1/branddb-wipo-int/intellectual-property/get-database-stats",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "limit": 5
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "limit": {
              "default": 25,
              "description": "Buckets kept per facet, largest first.\n\nProvider reference: minimum 1; maximum 500; default 25.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 500,
                "min": 1
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/branddb-wipo-int.json POST /apis/v1/branddb-wipo-int/intellectual-property/get-database-stats
openapi: 3.1.0
info:
  description: ''
  title: WIPO Global Brand Database
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    branddb-wipo-int:
      description: ''
      title: WIPO Global Brand Database
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: b4d8a83124c34bda26e212bb7699eda4e6d66d4f0854858f29e9aa36183fdfb1
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/branddb-wipo-int/intellectual-property/get-coverage
    - /apis/v1/branddb-wipo-int/intellectual-property/get-database-stats
    - /apis/v1/branddb-wipo-int/intellectual-property/get-trademark
    - /apis/v1/branddb-wipo-int/intellectual-property/search-trademarks
    - /apis/v1/branddb-wipo-int/intellectual-property/suggest-terms
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:1248b501c648ccd09d13dc8d40371e3a098968eb576d0befb664484ce1bc66ef
    facts_hash: b4d8a83124c34bda26e212bb7699eda4e6d66d4f0854858f29e9aa36183fdfb1
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: branddb-wipo-int
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/branddb-wipo-int/intellectual-property/get-database-stats:
    post:
      tags:
        - WIPO Global Brand Database
      summary: Get database stats
      description: >-
        For the size of the database and the distribution of records by office
        or country.
      operationId: branddb-wipo-int.intellectual-property.get-database-stats
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  limit: 5
            schema:
              additionalProperties: true
              properties:
                limit:
                  default: 25
                  description: |-
                    Buckets kept per facet, largest first.

                    Provider reference: minimum 1; maximum 500; default 25.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 500
                    min: 1
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-03.
                  summary: Official provider example
                  value:
                    applicant_country_code:
                      bucket_count: 371
                      buckets:
                        - count: 14313740
                          value: US
                        - count: 5635187
                          value: BR
                        - count: 4863066
                          value: KR
                        - count: 4407540
                          value: FR
                        - count: 4323677
                          value: DE
                    designation:
                      bucket_count: 142
                      buckets:
                        - count: 13315713
                          value: US
                        - count: 7039088
                          value: FR
                        - count: 6821631
                          value: JP
                        - count: 6523892
                          value: BR
                        - count: 6205923
                          value: DE
                    observed_at_ms: 1791012775390
                    office:
                      bucket_count: 89
                      buckets:
                        - count: 12909599
                          value: US
                        - count: 6507765
                          value: JP
                        - count: 6449540
                          value: BR
                        - count: 5243415
                          value: KR
                        - count: 3813116
                          value: GB
                    total_records: 76891139
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Database-wide counts (GET /dbinfo): total records and the top
            buckets by designated territory, IP office and applicant country.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `applicant_country_code` | object |  |

            | `designation` | object |  |

            | `observed_at_ms` | number |  |

            | `office` | object |  |

            | `total_records` | number |  |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.