Skip to main content
GET
/
v1
/
classifications
/
{class_number}
Get Classification
curl --request GET \
  --url https://api.signa.so/v1/classifications/{class_number} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.signa.so/v1/classifications/{class_number}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.signa.so/v1/classifications/{class_number}', 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.signa.so/v1/classifications/{class_number}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.signa.so/v1/classifications/{class_number}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.signa.so/v1/classifications/{class_number}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.signa.so/v1/classifications/{class_number}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "class_number": 25,
  "object": "classification",
  "title": "Clothing, footwear, headwear",
  "description": "Clothing, footwear, headwear",
  "category": "goods",
  "terms": ["footwear*", "sports shoes", "sandals", "hats"]
}

Overview

Returns a single Nice classification (1-45) with its title, description, category (goods or services), and the canonical list of terms registered to that class.

Path Parameters

class_number
integer
required
Nice class number (1-45).

Response

This endpoint is publicly cacheable, so the response never includes request_id.
class_number
integer
Nice class number.
object
string
Always classification.
title
string
Class title.
description
string
Class description.
category
string
goods or services.
terms
string[]
Canonical term list.
{
  "class_number": 25,
  "object": "classification",
  "title": "Clothing, footwear, headwear",
  "description": "Clothing, footwear, headwear",
  "category": "goods",
  "terms": ["footwear*", "sports shoes", "sandals", "hats"]
}

Code Examples

curl "https://api.signa.so/v1/classifications/25" \
  -H "Authorization: Bearer sig_YOUR_KEY"
import { Signa } from "@signa-so/sdk";

const signa = new Signa({ api_key: process.env.SIGNA_API_KEY });

const cls = await signa.references.classification(25);

Errors

StatusTypeDescription
400validation_errorClass number outside 1-45
401unauthorizedMissing or invalid API key
403forbiddenAPI key lacks trademarks:read scope
404not_foundClass not loaded in reference data