---
title: "Classify NAICS industries"
method: GET
path: "/web/naics"
tags: ["Web Extraction"]
---

# Classify NAICS industries

`GET /web/naics`

Classify any brand into 2022 NAICS industry codes from its domain or name.

## Query parameters

- `input` string, required — Brand domain or title to retrieve NAICS code for. If a valid domain is provided, it will be used for classification, otherwise, we will search for the brand using the provided title.
- `minResults` integer — Minimum number of NAICS codes to return. Must be at least 1. Defaults to 1.
- `maxResults` integer — Maximum number of NAICS codes to return. Must be between 1 and 10. Defaults to 5.
- `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).
- `tags` string[] — Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.

## Response `200`

Successful response

- object
  - `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.
    - `code` string, required — NAICS code
    - `name` string, required — NAICS title
    - `confidence` 'high' | 'medium' | 'low', required — Confidence level for how well this NAICS code matches the company description
  - `key_metadata` KeyMetadata — Metadata about the API key used for the request. Included in every response whenever a valid API key is provided, even when the response status is not 200.
    - `credits_consumed` integer, required — The number of credits consumed by this request.
    - `credits_remaining` integer, required — The number of credits remaining for your organization after this request.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Brand not found.
- `408` — Request Timeout
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/context/apis/context-dev.md) · [All operations](https://skmtc.net/context/apis/context-dev/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/context/context-dev/versions/3c6a01ba967f/schema)
