# NAICS code lookup by company name Every SAM.gov registrant lists the NAICS codes it works under and marks one as primary. Search a company name, UEI or CAGE code to see its full NAICS list from the SAM.gov public extract, each linked to its size standard and federal activity. Enter its legal name. The result lists the NAICS codes in its SAM.gov registration and links each to the code page.Data as of 2026-11-01, from the SAM.gov public entity extract.Official source: [SAM.gov entity search](https://sam.gov/search/?index=ei) ## Key facts | Source | NAICS codes the entity lists in its SAM.gov registration | | --- | --- | | Primary NAICS | Flagged per entity | | Small business flag | Set per NAICS code | | Coverage | Every entity in the SAM.gov public extract | ## Get this as JSON ``` curl "https://samgovapi.io/api/v1/entities?q=company%20name" \ -H "Authorization: Bearer sg_YOUR_KEY" ``` MCP tool: `search_entities`Keys start free, with no card. [Get a free API key](https://samgovapi.io/sign-up) or read the [docs](https://samgovapi.io/docs). ## Questions How do I find a company's NAICS code by name?Enter its legal name. The result lists the NAICS codes in its SAM.gov registration and links each to the code page.Why do companies list many NAICS codes?Firms list every code they could bid under. The primary code is their main line of business.Can I see a competitor's codes?Yes. NAICS codes are part of the public SAM.gov record. ## Related - [NAICS code lookup](https://samgovapi.io/naics-code-lookup) - [Small business search](https://samgovapi.io/small-business-search) - [Size standard checker](https://samgovapi.io/size-standard-checker)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/naics-code-lookup-by-company-name . Markdown: https://samgovapi.io/naics-code-lookup-by-company-name.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
