Entities get
curl --request POST \
--url https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"uei_sam": [
"WM1KQNQGV7M9"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get"
payload = { "uei_sam": ["WM1KQNQGV7M9"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({uei_sam: ['WM1KQNQGV7M9']})
};
fetch('https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'uei_sam' => [
'WM1KQNQGV7M9'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get"
payload := strings.NewReader("{\n \"uei_sam\": [\n \"WM1KQNQGV7M9\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"uei_sam\": [\n \"WM1KQNQGV7M9\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"uei_sam\": [\n \"WM1KQNQGV7M9\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"by": "uei_sam",
"count": 1,
"not_found": [],
"publication_id": "entity-information/v4:2026-10-18",
"records": [
{
"activation_date": "2026-01-09",
"business_types": [
{
"code": "27",
"description": "Self Certified Small Disadvantaged Business"
},
{
"code": "2X",
"description": "For Profit Organization"
},
{
"code": "8W",
"description": "Women-Owned Small Business"
},
{
"code": "A2",
"description": "Women-Owned Business"
},
{
"code": "F",
"description": "Business or Organization"
}
],
"cage_code": "115S3",
"congressional_district": "07",
"country_of_incorporation_code": "USA",
"dba_name": null,
"electronic_business_poc": {
"address_line1": "10921 36TH AVE NE",
"address_line2": null,
"city": "SEATTLE",
"country_code": "USA",
"first_name": "Mary",
"last_name": "Moser",
"middle_initial": null,
"state_or_province_code": "WA",
"title": null,
"zip_code": "98125",
"zip_code_plus4": null
},
"entity_division_name": null,
"entity_start_date": "2021-04-01",
"entity_structure_code": "2J",
"entity_structure_desc": "Sole Proprietorship",
"entity_type_desc": "Business or Organization",
"entity_url": null,
"exclusion_status_flag": "N",
"exclusion_url": null,
"fiscal_year_end_close_date": "12/31",
"government_business_poc": {
"address_line1": "10921 36TH AVE NE",
"address_line2": null,
"city": "SEATTLE",
"country_code": "USA",
"first_name": "Mary",
"last_name": "Moser",
"middle_initial": null,
"state_or_province_code": "WA",
"title": null,
"zip_code": "98125",
"zip_code_plus4": null
},
"last_update_date": "2026-01-09",
"legal_business_name": "MOSERWORKS LLC",
"mailing_address": {
"address_line1": "10921 36TH AVE NE",
"address_line2": null,
"city": "SEATTLE",
"country_code": "USA",
"state_or_province_code": "WA",
"zip_code": "98125",
"zip_code_plus4": "7905"
},
"naics_list": [
{
"code": "541990",
"description": "All Other Professional, Scientific, and Technical Services",
"naics_exception": null,
"sba_small_business": "Y"
}
],
"organization_structure_desc": null,
"physical_address": {
"address_line1": "10921 36TH AVE NE",
"address_line2": null,
"city": "SEATTLE",
"country_code": "USA",
"state_or_province_code": "WA",
"zip_code": "98125",
"zip_code_plus4": "7905"
},
"primary_naics": "541990",
"profit_structure_desc": "For Profit Organization",
"psc_list": [],
"publication_id": "entity-information/v4:2026-10-18",
"purpose_of_registration_code": "Z2",
"purpose_of_registration_desc": "All Awards",
"registration_date": "2025-01-20",
"registration_expiration_date": "2027-01-07",
"registration_status": "Active",
"retrieved_at": "2026-10-18T22:34:45Z",
"sba_business_types": [],
"sections_present": {
"assertions": true,
"core_data": true,
"points_of_contact": true
},
"source_record_id": "WM1KQNQGV7M9",
"source_url": "https://sam.gov/api/prod/entity-information/v4/entities?ueiSAM=WM1KQNQGV7M9",
"state_of_incorporation_code": "WA",
"submission_date": "2026-01-07",
"uei_sam": "WM1KQNQGV7M9",
"uei_status": "Active"
}
],
"requested": [
"WM1KQNQGV7M9"
],
"retrieved_at": "2026-10-18T22:34:45Z",
"source_url": "https://sam.gov/api/prod/entity-information/v4/entities?ueiSAM=WM1KQNQGV7M9&includeSections=entityRegistration,coreData,assertions,pointsOfContact&page=0&size=10",
"total_records": 1
}SAM.gov
Entities get
You have UEIs or CAGE codes and want the registration records.
POST
https://api.aisa.one
/
apis
/
v1
/
sam-gov
/
opportunities
/
entities-get
Entities get
curl --request POST \
--url https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"uei_sam": [
"WM1KQNQGV7M9"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get"
payload = { "uei_sam": ["WM1KQNQGV7M9"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({uei_sam: ['WM1KQNQGV7M9']})
};
fetch('https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'uei_sam' => [
'WM1KQNQGV7M9'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get"
payload := strings.NewReader("{\n \"uei_sam\": [\n \"WM1KQNQGV7M9\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"uei_sam\": [\n \"WM1KQNQGV7M9\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"uei_sam\": [\n \"WM1KQNQGV7M9\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"by": "uei_sam",
"count": 1,
"not_found": [],
"publication_id": "entity-information/v4:2026-10-18",
"records": [
{
"activation_date": "2026-01-09",
"business_types": [
{
"code": "27",
"description": "Self Certified Small Disadvantaged Business"
},
{
"code": "2X",
"description": "For Profit Organization"
},
{
"code": "8W",
"description": "Women-Owned Small Business"
},
{
"code": "A2",
"description": "Women-Owned Business"
},
{
"code": "F",
"description": "Business or Organization"
}
],
"cage_code": "115S3",
"congressional_district": "07",
"country_of_incorporation_code": "USA",
"dba_name": null,
"electronic_business_poc": {
"address_line1": "10921 36TH AVE NE",
"address_line2": null,
"city": "SEATTLE",
"country_code": "USA",
"first_name": "Mary",
"last_name": "Moser",
"middle_initial": null,
"state_or_province_code": "WA",
"title": null,
"zip_code": "98125",
"zip_code_plus4": null
},
"entity_division_name": null,
"entity_start_date": "2021-04-01",
"entity_structure_code": "2J",
"entity_structure_desc": "Sole Proprietorship",
"entity_type_desc": "Business or Organization",
"entity_url": null,
"exclusion_status_flag": "N",
"exclusion_url": null,
"fiscal_year_end_close_date": "12/31",
"government_business_poc": {
"address_line1": "10921 36TH AVE NE",
"address_line2": null,
"city": "SEATTLE",
"country_code": "USA",
"first_name": "Mary",
"last_name": "Moser",
"middle_initial": null,
"state_or_province_code": "WA",
"title": null,
"zip_code": "98125",
"zip_code_plus4": null
},
"last_update_date": "2026-01-09",
"legal_business_name": "MOSERWORKS LLC",
"mailing_address": {
"address_line1": "10921 36TH AVE NE",
"address_line2": null,
"city": "SEATTLE",
"country_code": "USA",
"state_or_province_code": "WA",
"zip_code": "98125",
"zip_code_plus4": "7905"
},
"naics_list": [
{
"code": "541990",
"description": "All Other Professional, Scientific, and Technical Services",
"naics_exception": null,
"sba_small_business": "Y"
}
],
"organization_structure_desc": null,
"physical_address": {
"address_line1": "10921 36TH AVE NE",
"address_line2": null,
"city": "SEATTLE",
"country_code": "USA",
"state_or_province_code": "WA",
"zip_code": "98125",
"zip_code_plus4": "7905"
},
"primary_naics": "541990",
"profit_structure_desc": "For Profit Organization",
"psc_list": [],
"publication_id": "entity-information/v4:2026-10-18",
"purpose_of_registration_code": "Z2",
"purpose_of_registration_desc": "All Awards",
"registration_date": "2025-01-20",
"registration_expiration_date": "2027-01-07",
"registration_status": "Active",
"retrieved_at": "2026-10-18T22:34:45Z",
"sba_business_types": [],
"sections_present": {
"assertions": true,
"core_data": true,
"points_of_contact": true
},
"source_record_id": "WM1KQNQGV7M9",
"source_url": "https://sam.gov/api/prod/entity-information/v4/entities?ueiSAM=WM1KQNQGV7M9",
"state_of_incorporation_code": "WA",
"submission_date": "2026-01-07",
"uei_sam": "WM1KQNQGV7M9",
"uei_status": "Active"
}
],
"requested": [
"WM1KQNQGV7M9"
],
"retrieved_at": "2026-10-18T22:34:45Z",
"source_url": "https://sam.gov/api/prod/entity-information/v4/entities?ueiSAM=WM1KQNQGV7M9&includeSections=entityRegistration,coreData,assertions,pointsOfContact&page=0&size=10",
"total_records": 1
}Request contract
- Method and path: POST /apis/v1/sam-gov/opportunities/entities-get
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/sam-gov/opportunities/entities-get
{
"operationId": "sam-gov.opportunities.entities-get",
"method": "POST",
"path": "/apis/v1/sam-gov/opportunities/entities-get",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"uei_sam": [
"WM1KQNQGV7M9"
]
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"cage_code": {
"description": "One to ten CAGE codes.",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"uei_sam": {
"description": "One to ten UEIs.",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Response
One to ten SAM.gov entity registrations by UEI or by CAGE code (the public Entity Management API, sections entityRegistration, coreData, assertions and pointsOfContact). Identifiers with no public registration are listed in not_found; when none is found the call fails with not_found.
The response contains the tool result directly.
The provider identifies records as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
activation_date | string | |
business_types | object[] | |
cage_code | string | |
congressional_district | string | |
country_of_incorporation_code | string | |
dba_name | string | |
electronic_business_poc | object | Public tier: name, title and address only; SAM.gov publishes no POC email or phone. |
entity_division_name | string | |
entity_start_date | string | |
entity_structure_code | string | |
entity_structure_desc | string | |
entity_type_desc | string | |
entity_url | string | |
exclusion_status_flag | string | Y when an active exclusion exists, else N. |
exclusion_url | string | |
fiscal_year_end_close_date | string | |
government_business_poc | object | Public tier: name, title and address only; SAM.gov publishes no POC email or phone. |
last_update_date | string | |
legal_business_name | string | |
mailing_address | object | Null when the coreData section is not public for this registration. |
naics_list | object[] | |
organization_structure_desc | string | |
physical_address | object | Null when the coreData section is not public for this registration. |
primary_naics | string | |
profit_structure_desc | string | |
psc_list | object[] | |
publication_id | string | entity-information/v4:<retrieval date>: the live API has no publication version. |
purpose_of_registration_code | string | |
purpose_of_registration_desc | string | |
registration_date | string | YYYY-MM-DD as SAM.gov states it. |
registration_expiration_date | string | |
registration_status | string | Active or Expired, as SAM.gov states it. |
retrieved_at | string | |
sba_business_types | object[] | |
sections_present | object | |
source_record_id | string | The UEI. |
source_url | string | |
state_of_incorporation_code | string | |
submission_date | string | |
uei_sam | string | |
uei_status | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.