Vai al contenuto
GET /v1/search

Search industries by title

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/naics-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/naics-api/v1/search" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/naics-api/v1/search", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/naics-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/naics-api/v1/search",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "count": 5,
        "level": null,
        "limit": 20,
        "query": "software",
        "total": 5,
        "offset": 0,
        "results": [
            {
                "code": "42343",
                "level": "industry",
                "title": "Computer and Computer Peripheral Equipment and Software Merchant Wholesalers",
                "parent": "4234"
            },
            {
                "code": "423430",
                "level": "national_industry",
                "title": "Computer and Computer Peripheral Equipment and Software Merchant Wholesalers",
                "parent": "42343"
            },
            {
                "code": "5132",
                "level": "industry_group",
                "title": "Software Publishers",
                "parent": "513"
            },
            {
                "code": "51321",
                "level": "industry",
                "title": "Software Publishers",
                "parent": "5132"
            },
            {
                "code": "513210",
                "level": "national_industry",
                "title": "Software Publishers",
                "parent": "51321"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-05-31T04:30:16.533Z",
        "request_id": "03a12f86-4d70-4b48-aafb-e82389a95b2c"
    },
    "status": "ok",
    "message": "NAICS codes listed",
    "success": true
}