# SAM.gov entity registration search

Look up entities registered to do business with the US government (public data): legal and DBA names, UEI, CAGE code, registration status and dates, addresses. Takes legal business name, uei, cage code and more, all optional.

Look up entities registered to do business with the US government (public data): legal and DBA names, UEI, CAGE code, registration status and dates, addresses, entity structure, NAICS and business types. Search by name, UEI, CAGE, primary NAICS or state; 10 records per page.

- Tool ID: `sam-gov/entities`
- Provider: [SAM.gov](/providers/sam-gov.md)
- Capability: [B2B data](/tools/b2b-data.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "legal_business_name": {
      "type": "string",
      "minLength": 2,
      "maxLength": 200,
      "description": "Partial or full legal business name, e.g. 'Booz Allen'"
    },
    "uei": {
      "type": "string",
      "pattern": "^[A-Z0-9]{12}$",
      "description": "Unique Entity Identifier (12 characters), e.g. 'JCBMLGPE6Z71'"
    },
    "cage_code": {
      "type": "string",
      "pattern": "^[A-Z0-9]{5}$",
      "description": "CAGE code (5 characters), e.g. '17038'"
    },
    "primary_naics": {
      "type": "string",
      "pattern": "^[0-9]{6}$",
      "description": "Primary NAICS code, e.g. '541512'"
    },
    "state": {
      "type": "string",
      "pattern": "^[A-Z]{2}$",
      "description": "Physical address state code, e.g. 'VA'"
    },
    "registration_status": {
      "type": "string",
      "enum": [
        "A",
        "E"
      ],
      "description": "A active or E expired registration, e.g. 'A'"
    },
    "include_sections": {
      "type": "string",
      "pattern": "^[A-Za-z]+(,[A-Za-z]+)*$",
      "default": "entityRegistration,coreData",
      "description": "Sections to return: entityRegistration, coreData, assertions, pointsOfContact, repsAndCerts or All, e.g. 'entityRegistration,coreData'"
    },
    "page": {
      "type": "integer",
      "minimum": 0,
      "maximum": 999,
      "default": 0,
      "description": "Page index starting at 0 (10 records per page), e.g. 0"
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "sam-gov/entities",
  "input": {
    "uei": "JCBMLGPE6Z71"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Public domain (U.S. Government work).

Attribution: Data from SAM.gov (U.S. General Services Administration).

[Provider documentation](https://open.gsa.gov/api/entity-api/)

[REST inspection](https://api.agentik.cc/v1/tools/sam-gov/entities) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/sam-gov/entities) · [Agent index](/llms.txt)
