> ## 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

# Search unspsc

> To turn a product or service keyword (`solar`, `vaccines`, `consulting`) into UNSPSC node ids before filtering search_notices. Only rows with `selectable: true` (family level and below) can be used as filters.

## Request contract

* **Method and path:** POST /apis/v1/ungm-org/public-tenders/search-unspsc
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/ungm-org.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "ungm-org.public-tenders.search-unspsc",
  "method": "POST",
  "path": "/apis/v1/ungm-org/public-tenders/search-unspsc",
  "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": {
              "query": "solar"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "query": {
              "description": "Keyword matched against UNSPSC category titles and codes.",
              "type": "string"
            }
          },
          "required": [
            "query"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "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/ungm-org.json POST /apis/v1/ungm-org/public-tenders/search-unspsc
openapi: 3.1.0
info:
  description: ''
  title: UN Global Marketplace
  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:
    ungm-org:
      description: ''
      title: UN Global Marketplace
      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: 98bbcaab4fdce579b80e78035aa67e886766c267ad90bfc88b527743b8359c03
        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/ungm-org/public-tenders/get-contract-award
    - /apis/v1/ungm-org/public-tenders/get-notice
    - /apis/v1/ungm-org/public-tenders/search-contract-awards
    - /apis/v1/ungm-org/public-tenders/search-notices
    - /apis/v1/ungm-org/public-tenders/search-unspsc
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:276809650bbe2b8ba36162f7e0911a304091c9ef5d9d8f1b242f3a63f701f8fc
    facts_hash: 98bbcaab4fdce579b80e78035aa67e886766c267ad90bfc88b527743b8359c03
    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: ungm-org
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/ungm-org/public-tenders/search-unspsc:
    post:
      tags:
        - UN Global Marketplace
      summary: Search unspsc
      description: >-
        To turn a product or service keyword (`solar`, `vaccines`, `consulting`)
        into UNSPSC node ids before filtering search_notices. Only rows with
        `selectable: true` (family level and below) can be used as filters.
      operationId: ungm-org.public-tenders.search-unspsc
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  query: solar
            schema:
              additionalProperties: true
              properties:
                query:
                  description: Keyword matched against UNSPSC category titles and codes.
                  type: string
              required:
                - query
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-04.
                  summary: Official provider example
                  value:
                    count: 42
                    match_count: 12
                    observed_at_ms: 1791150244993
                    query: solar
                    records:
                      - code: B
                        depth: 0
                        is_match: false
                        node_id: 101
                        selectable: false
                        title: Industrial Equipment & Tools
                      - code: '26000000'
                        depth: 1
                        is_match: false
                        node_id: 101741
                        selectable: false
                        title: >-
                          Power Generation and Distribution Machinery and
                          Accessories
                      - code: '26110000'
                        depth: 2
                        is_match: false
                        node_id: 101768
                        selectable: true
                        title: >-
                          Batteries and generators and kinetic power
                          transmission
                      - code: '26111600'
                        depth: 3
                        is_match: false
                        node_id: 101783
                        selectable: true
                        title: Power generators
                      - code: '26111607'
                        depth: 4
                        is_match: true
                        node_id: 101790
                        selectable: true
                        title: Solar generators
                      - code: '26130000'
                        depth: 2
                        is_match: false
                        node_id: 101844
                        selectable: true
                        title: Power generation
                      - code: '26131500'
                        depth: 3
                        is_match: false
                        node_id: 101845
                        selectable: true
                        title: Power plants
                      - code: '26131507'
                        depth: 4
                        is_match: true
                        node_id: 101852
                        selectable: true
                        title: Solar power plants
                      - code: '26131900'
                        depth: 3
                        is_match: true
                        node_id: 160500001
                        selectable: true
                        title: Solar power equipment*
                      - code: C
                        depth: 0
                        is_match: false
                        node_id: 102
                        selectable: false
                        title: Components & Supplies
                      - code: '39000000'
                        depth: 1
                        is_match: false
                        node_id: 103416
                        selectable: false
                        title: >-
                          Electrical Systems and Lighting and Components and
                          Accessories and Supplies
                      - code: '39100000'
                        depth: 2
                        is_match: false
                        node_id: 103417
                        selectable: true
                        title: Lamps and lightbulbs and lamp components
                      - code: '39101600'
                        depth: 3
                        is_match: false
                        node_id: 103430
                        selectable: true
                        title: Lamps and lightbulbs
                      - code: '39101603'
                        depth: 4
                        is_match: true
                        node_id: 103433
                        selectable: true
                        title: Solar lamps
                      - code: '39110000'
                        depth: 2
                        is_match: false
                        node_id: 103441
                        selectable: true
                        title: Lighting Fixtures and Accessories
                      - code: '39111500'
                        depth: 3
                        is_match: false
                        node_id: 103442
                        selectable: true
                        title: Interior lighting fixtures and accessories
                      - code: '39111527'
                        depth: 4
                        is_match: true
                        node_id: 144927
                        selectable: true
                        title: Solar lighting fixture
                      - code: D
                        depth: 0
                        is_match: false
                        node_id: 103
                        selectable: false
                        title: >-
                          Construction, Transportation & Facility Equipment &
                          Supplies
                      - code: '40000000'
                        depth: 1
                        is_match: false
                        node_id: 103484
                        selectable: false
                        title: >-
                          Distribution and Conditioning Systems and Equipment
                          and Components
                      - code: '40100000'
                        depth: 2
                        is_match: false
                        node_id: 103485
                        selectable: true
                        title: Heating and ventilation and air circulation
                      - code: '40101800'
                        depth: 3
                        is_match: false
                        node_id: 103505
                        selectable: true
                        title: Heating equipment and parts and accessories
                      - code: '40101807'
                        depth: 4
                        is_match: true
                        node_id: 103513
                        selectable: true
                        title: Solar heating units
                      - code: E
                        depth: 0
                        is_match: false
                        node_id: 104
                        selectable: false
                        title: >-
                          Medical, Laboratory & Test Equipment & Supplies &
                          Pharmaceuticals
                      - code: '41000000'
                        depth: 1
                        is_match: false
                        node_id: 103631
                        selectable: false
                        title: >-
                          Laboratory and Measuring and Observing and Testing
                          Equipment
                      - code: '41110000'
                        depth: 2
                        is_match: false
                        node_id: 103902
                        selectable: true
                        title: Measuring and observing and testing instruments
                      - code: '41111900'
                        depth: 3
                        is_match: false
                        node_id: 103950
                        selectable: true
                        title: Indicating and recording instruments
                      - code: '41111955'
                        depth: 4
                        is_match: true
                        node_id: 164819
                        selectable: true
                        title: Solar sensor
                      - code: '41114400'
                        depth: 3
                        is_match: false
                        node_id: 104203
                        selectable: true
                        title: Meteorological instruments
                      - code: '41114407'
                        depth: 4
                        is_match: true
                        node_id: 104210
                        selectable: true
                        title: Solar radiation surface observing apparatus
                      - code: I
                        depth: 0
                        is_match: false
                        node_id: 108
                        selectable: false
                        title: Personal, Domestic & Consumer Equipment & Supplies
                      - code: '60000000'
                        depth: 1
                        is_match: false
                        node_id: 133448
                        selectable: false
                        title: >-
                          Musical Instruments and Games and Toys and Arts and
                          Crafts and Educational Equipment and Materials and
                          Accessories and Supplies
                      - code: '60100000'
                        depth: 2
                        is_match: false
                        node_id: 133449
                        selectable: true
                        title: >-
                          Developmental and professional teaching aids and
                          materials and accessories and supplies
                      - code: '60104700'
                        depth: 3
                        is_match: false
                        node_id: 134167
                        selectable: true
                        title: Energy and power physics materials
                      - code: '60104701'
                        depth: 4
                        is_match: true
                        node_id: 134168
                        selectable: true
                        title: Solar collecting devices
                      - code: '60104702'
                        depth: 4
                        is_match: true
                        node_id: 134169
                        selectable: true
                        title: Solar kits
                      - code: J
                        depth: 0
                        is_match: false
                        node_id: 109
                        selectable: false
                        title: Services
                      - code: '72000000'
                        depth: 1
                        is_match: false
                        node_id: 107328
                        selectable: false
                        title: >-
                          Building and Facility Construction and Maintenance
                          Services
                      - code: '72150000'
                        depth: 2
                        is_match: false
                        node_id: 165212
                        selectable: true
                        title: >-
                          Specialized trade construction and maintenance
                          services
                      - code: '72151200'
                        depth: 3
                        is_match: false
                        node_id: 165222
                        selectable: true
                        title: >-
                          Heating and cooling and air conditioning HVAC
                          construction and maintenance services
                      - code: '72151203'
                        depth: 4
                        is_match: true
                        node_id: 165225
                        selectable: true
                        title: HVAC solar energy construction service
                      - code: '72152100'
                        depth: 3
                        is_match: false
                        node_id: 165282
                        selectable: true
                        title: Acoustical and insulation services
                      - code: '72152104'
                        depth: 4
                        is_match: true
                        node_id: 165286
                        selectable: true
                        title: Solar reflecting insulation film service
                    source_url: https://www.ungm.org/UNSPSC/Search
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Search the UNSPSC category taxonomy UNGM uses to classify notices
            and awards, by keyword. Returns the matching categories with their
            UNGM node ids (the value search_notices takes in `unspsc_ids`),
            UNSPSC codes, titles, depth and whether each row is a match or an
            ancestor shown for context.


            The response contains the tool result directly.


            The provider identifies `records` as the primary payload key.


            | Documented field | Provider type | Description |

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

            | `code` | string | UNSPSC code (`26111607`) or segment letter (`B`)
            at the top level. |

            | `depth` | number | 0 = segment letter, 1 = segment code, 2 =
            family, 3 = class, 4 = commodity. |

            | `is_match` | boolean | `true` for the categories matching the
            query; `false` for ancestors returned for context. |

            | `node_id` | number | UNGM UNSPSC node id (`data-nodeid`), the
            filter value for search_notices. |

            | `selectable` | boolean | Whether the site offers this node as a
            search filter (family level and below). |

            | `title` | string |  |



            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.