# NAICS and PSC The NAICS endpoint returns a NAICS 2022 code with its title, hierarchy and SBA size standard from 13 CFR 121.201; the PSC endpoint returns a product and service code with its category and notes. A size-standard endpoint answers whether given receipts or employees count as small for a code.Checked on 2026-11-12.Official source: [Census NAICS](https://www.census.gov/naics/) | NAICS | /naics/{code} | | --- | --- | | PSC | /psc/{code} | ## Example ``` curl "https://samgovapi.io/api/v1/naics/541512" \ -H "Authorization: Bearer sg_YOUR_KEY" ``` ## Endpoints | Endpoint | Returns | | --- | --- | | /api/v1/naics?q= | NAICS codes matching a code prefix or title words | | /api/v1/naics/{code} | One code with title, description and SBA size standard | | /api/v1/naics/{code}/size-standard | The size standard, and whether revenue_usd or employees you pass count as small | | /api/v1/psc?q= | Product and service codes matching a prefix or words | | /api/v1/psc/{code} | One PSC code | ## Size check example ``` curl "https://samgovapi.io/api/v1/naics/541512/size-standard?revenue_usd=20000000" \ -H "Authorization: Bearer sg_YOUR_KEY" ``` ## Get this as JSON ``` curl "https://samgovapi.io/api/v1/naics/541512" \ -H "Authorization: Bearer sg_YOUR_KEY" ``` MCP tool: `naics_lookup`Keys start free, with no card. [Get a free API key](https://samgovapi.io/sign-up) or read the [docs](https://samgovapi.io/docs). ## Related - [NAICS API](https://samgovapi.io/naics-api)Updated 2026-11-12. Sources checked 2026-11-12.Independent. Not affiliated with, endorsed by or sponsored by GSA, SAM.gov or any U.S. government agency. Registering in SAM.gov is free at sam.gov.

---

HTML version: https://samgovapi.io/docs/naics . Markdown: https://samgovapi.io/docs/naics.md

Independent. Not affiliated with, endorsed by or sponsored by GSA, SAM.gov or any U.S. government agency. Registering in SAM.gov is free at sam.gov.

Get a free API key: https://samgovapi.io/sign-up?ref=ai-claudebot
