curl --request POST \
--url https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "solar"
}
'import requests
url = "https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc"
payload = { "query": "solar" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'solar'})
};
fetch('https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'solar'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc"
payload := strings.NewReader("{\n \"query\": \"solar\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"solar\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"solar\"\n}"
response = http.request(request)
puts response.read_body{
"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"
}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.
curl --request POST \
--url https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "solar"
}
'import requests
url = "https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc"
payload = { "query": "solar" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'solar'})
};
fetch('https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'solar'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc"
payload := strings.NewReader("{\n \"query\": \"solar\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"solar\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/ungm-org/public-tenders/search-unspsc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"solar\"\n}"
response = http.request(request)
puts response.read_body{
"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"
}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
{
"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.Authorizations
Response
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.