Skip to main content
GET
/
brand
/
naics
JavaScript
import BrandDev from 'brand.dev';

const client = new BrandDev({
  apiKey: 'My API Key',
});

const response = await client.brand.retrieveNaics({ input: 'input' });

console.log(response.codes);
{
  "status": "<string>",
  "domain": "<string>",
  "type": "<string>",
  "codes": [
    {
      "code": "<string>",
      "title": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

input
string
required

Brand domain or title to retrieve NAICS code for. If a valid domain is provided in input, it will be used for classification, otherwise, we will search for the brand using the provided title.

timeoutMS
integer

Optional timeout in milliseconds for the request. If the request takes longer than this value, it will be aborted with a 408 status code. Maximum allowed value is 300000ms (5 minutes).

Required range: 1 <= x <= 300000

Response

Successful response

status
string

Status of the response, e.g., 'ok'

domain
string

Domain found for the brand

type
string

Industry classification type, for naics api it will be naics

codes
object[]

Array of NAICS codes and titles.

I