---
title: "Semantic match: free text → NAICS codes with match ratings"
method: POST
path: "/naics/match"
tags: ["NAICS"]
---

# Semantic match: free text → NAICS codes with match ratings

`POST /naics/match`

## Request

- Base URL: `https://abundanceapis.com`
- URL: `https://abundanceapis.com/naics/match`
- Auth: none declared

Paste a company description, capabilities statement, services list, or website copy and get ranked NAICS codes with a 0–100 match rating, strength band (excellent/strong/moderate/weak), the full sector→industry hierarchy for each hit, the official Census index activity that matched best, and matched index terms for explainability. Hybrid scoring (MiniLM sentence embeddings + IDF keyword overlap) over all 2,125 official 2022 NAICS codes and ~20k Census index activities, typical latency 30–80ms after warmup, and `level` picks the code granularity (6 = national industry, default).

## Request body

- object
  - `text` string, required
  - `limit` integer
  - `level` 2 | 3 | 4 | 5 | 6

## Other responses

- `400`: Bad request
- `404`: Not found

---

[API](https://skmtc.dev/abundanceapis/apis/web-toolbox.md) · [All operations](https://skmtc.dev/abundanceapis/apis/web-toolbox/llms.txt) · [OpenAPI document](https://skmtc.dev/abundanceapis/apis/web-toolbox/revisions/ada2893fef43?raw)
