# UEI number lookup A UEI (Unique Entity ID) is the 12-character alphanumeric identifier SAM.gov assigns to every entity that registers to do business with the federal government. It replaced the DUNS number in April 2022. Enter a company name to find its UEI, or a UEI to see the company behind it. Enter the company's legal name above. The UEI appears with its CAGE code and registration status.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 | Length | 12 characters, letters and digits | | --- | --- | | Assigned by | SAM.gov (General Services Administration) | | Replaced | DUNS number, on 4 April 2022 | | Cost | Free | | Records in the 1 Nov 2026 extract | 911,820 (SAM.gov public extract) | ## Get this as JSON ``` curl "https://samgovapi.io/api/v1/entities/ABCDEFGH1234" \ -H "Authorization: Bearer sg_YOUR_KEY" ``` MCP tool: `get_entity`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 look up a UEI number for free?Enter the company's legal name above. The UEI appears with its CAGE code and registration status. No account is needed.Where do I get a UEI?Request one in SAM.gov. Getting a UEI only (without a full registration) is free and takes minutes at sam.gov.Is the UEI the same as the old DUNS number?No. The UEI is a new identifier generated by SAM.gov. DUNS numbers were retired for federal awards on 4 April 2022.Can a UEI change?A UEI stays with the entity. A merger or a new legal entity can mean a new UEI. ## Related - [CAGE code lookup](https://samgovapi.io/cage-code-lookup) - [What is a UEI number](https://samgovapi.io/glossary/uei-number) - [DUNS to UEI](https://samgovapi.io/guides/duns-to-uei) - [UEI lookup API](https://samgovapi.io/uei-lookup-api)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/uei-lookup . Markdown: https://samgovapi.io/uei-lookup.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
