# UEI lookup API A UEI lookup API call returns the SAM.gov registration for a 12-character Unique Entity ID, or finds UEIs by company name, with CAGE code, status, expiration date and NAICS codes in one JSON response. Look up one UEI per call, or search by name and page through the results.Checked on 2026-11-12.Official source: [open.gsa.gov Entity Management API](https://open.gsa.gov/api/entity-api/) | Input | UEI or company name | | --- | --- | | Output | Entity record | | Credits | 1 credit per record looked up by id; 1 credit per 100 rows returned, minimum 1 | ## By UEI ``` curl "https://samgovapi.io/api/v1/entities/ABCDEFGH1234" \ -H "Authorization: Bearer sg_YOUR_KEY" ``` ## By name ``` curl "https://samgovapi.io/api/v1/entities?q=company%20name" \ -H "Authorization: Bearer sg_YOUR_KEY" ``` ## Batching and matching Look up one UEI per call, or search by name and page through the results. A name search matches legal and DBA names and ranks exact names first; when you hold a UEI, use it: it is the key that joins registration, exclusion and award records. ## 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). ## Related - [UEI lookup](https://samgovapi.io/uei-lookup) - [CAGE code API](https://samgovapi.io/cage-code-api) - [Entity API](https://samgovapi.io/sam-gov-entity-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/uei-lookup-api . Markdown: https://samgovapi.io/uei-lookup-api.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
