SAM.gov Entities Scraper
Pricing
from $19.00 / 1,000 results
SAM.gov Entities Scraper
Scrapes federal entity registrations from SAM.gov including UEI, CAGE code, and address. Filter by legal business name or state. Export to CSV, JSON, Excel, or XML.
Pricing
from $19.00 / 1,000 results
Rating
0.0
(0)
Developer
ParseForge
Maintained by CommunityActor stats
1
Bookmarked
2
Total users
0
Monthly active users
5 days ago
Last modified
Categories
Share
SAM.gov Entities Scraper
Scrape federal entity registrations from SAM.gov by legal business name or state, up to a million per run. Each entity record includes its UEI, CAGE code, registration status, and physical address. Export to CSV, JSON, Excel, or XML.
The SAM.gov entity registry lists every contractor, grantee, and organization that does business with the U.S. federal government. Manually searching the public website by state or name gives you screenfuls of paginated results you cannot export in bulk. This actor reads the entity search pages directly, applies the filters you choose, and returns every match in one flat dataset.
| Who uses it | What they scrape SAM.gov for |
|---|---|
| Government business development teams | Build a prospecting list of registered vendors by state for outreach. |
| Compliance analysts | Verify an entity's active registration status and UEI in bulk. |
| Market researchers | Map the density of federal contractors in a particular industry by location. |
What it does
This Actor collects SAM.gov entity registrations by legal business name or state and returns each entity as a flat row.
- π’ Legal business name filter: supply a substring such as 'microsoft' to find exact or partial matches.
- π State filter: restrict the run to a single US state using its two-letter postal code.
- π¦ Flat dataset output: every match returns as one consistent row ready for CSV, JSON, Excel, or XML export.
Results export to CSV, JSON, Excel, or XML, or straight from the API.
What you can do with SAM.gov data
π Build a state vendor list.
A small-business liaison enters a state code like 'VA' to collect every registered vendor in Virginia for a targeted outreach campaign.
π Verify entity status in bulk.
A compliance officer runs a list of suspected company names through the legal business name filter to check which ones still hold an active SAM.gov registration.
πΊοΈ Analyze contractor density.
A market researcher pulls all entities in a state, then groups them by ZIP code in a spreadsheet to identify clusters of federal contractors.
π Enrich internal CRM records.
A data analyst runs nightly searches by name to pull fresh UEIs and CAGE codes and update the company's internal supplier database.
Why choose this scraper
| What you get | |
|---|---|
| No API key or login | Uses the public SAM.gov search. Start a run immediately with no account registration. |
| Bulk export ready | Download up to a million entities per run in CSV, JSON, Excel, or XML for your CRM or database. |
| Targeted filtering | Pinpoint entities by name fragment or state without scrolling through unrelated results. |
How it compares
This actor focuses exclusively on entity registration data, while the competitors below also offer federal contract opportunity scraping.
| Feature | ParseForge | Government Contract Data & Federal Bids - SAM.gov Scraper | SAM.gov Scraper - Federal Contracts & RFP Monitor (No API Key) | SAM.gov Contracts Scraper |
|---|---|---|---|---|
| Entity registration scraping (UEI, CAGE, status) | Yes | Yes | Not listed | Yes |
| Filter by legal business name | Yes | Not listed | Not listed | Not listed |
| Filter by US state | Yes | Not listed | Yes | Not listed |
| No API key required | Yes | Not listed | Yes | Not listed |
| Federal contract opportunities scraping | Not listed | Yes | Yes | Yes |
Configure the run
Drive the Actor from a legal business name substring and a two-letter US state code, alone or together, and filters run as each entity is read so only matches reach your dataset. The Input tab lists every parameter.
A first run with the defaults:
{"maxItems": 10}
A larger pull:
{"maxItems": 200}
Pricing
Pay-per-result: $0.021 per result collected. You pay only for the results written to your dataset.
| Results collected | Approximate cost |
|---|---|
| 100 results | $2.10 |
| 1,000 results | $21.00 |
| 10,000 results | $210.00 |
New Apify accounts start with $5 in free credit.
Free users
Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.
Run it
- Create a free Apify account with $5 in credit.
- Open the SAM.gov Entities Scraper.
- Set your inputs and any filters, then click Start.
- Export the results as CSV, Excel, JSON, or XML from the Dataset tab.
Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.
Use with AI agents (MCP)
Give an AI agent live access to SAM.gov through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:
$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/sam-gov-entities-scraper"
Then prompt it in plain language to run the scraper and read back the results.
Troubleshooting
Why am I getting no results?
Try broadening your legal business name substring (e.g., use 'tech' instead of a full company name) or remove the state filter. The SAM.gov search requires an exact substring match.
The state filter is not working. What format should I use?
Use the two-letter USPS state code with no periods or spaces, such as 'NY', 'CA', or 'DC'. Full state names like 'California' will not work.
I got fewer results than I expected.
Check that your legal business name filter is spelled correctly and does not include extra spaces. Also, SAM.gov only shows active registrations by default, so expired entities will not appear.
The run timed out or took very long.
Lower the 'Maximum entities' value. A large unbounded search can take time. Start with a small number (e.g., 100) to verify your filters work, then scale up.
Are the exported UEI numbers always correct?
The UEI comes directly from the SAM.gov page for each entity. If you suspect an error, spot-check a few UEIs against the official SAM.gov entity lookup tool.
FAQ
| Question | Answer |
|---|---|
| What exactly is SAM.gov? | SAM.gov is the official U.S. government System for Award Management. Entities must register here to bid on federal contracts or receive grants. |
| What data does this Actor return for each entity? | It returns the entity's legal business name, UEI (Unique Entity ID), CAGE code, registration status, physical address, and other fields available in the public search results. |
| Do I need a SAM.gov API key? | No. This Actor reads the public HTML search interface. You do not need to register an app, obtain an API key, or log in. |
| Can I scrape contract opportunities as well? | This Actor is focused solely on entity registrations. If you need contract opportunities, bids, or awards, you would use a different SAM.gov scraper or actor. |
| How many entities can I fetch in one run? | You can set the maximum up to one million entities per run. The run stops when it hits your cap or there are no more results matching your filters. |
| What is a UEI? | The Unique Entity ID is a 12-character alphanumeric identifier assigned to each entity registered in SAM.gov. It replaced the DUNS number as the primary federal identifier. |
| What does the 'legalBusinessName' filter do? | It searches for entities whose legal business name contains the substring you provide. For example, entering 'micro' would match both 'Microsoft Corporation' and 'MicroTech LLC'. |
| How do I filter by state? | Enter the two-letter US state or territory abbreviation in the 'State' field, such as 'CA' for California or 'TX' for Texas. Leave it blank to search all states. |
| Will this return historical or inactive registrations? | It returns whatever the live SAM.gov search result shows for your query, which typically includes active registrations. Expired or inactive entities may not appear. |
| Is this a government contract monitor? | No, this Actor only extracts entity registration data. For monitoring federal contracts, RFPs, or bids, look for a dedicated SAM.gov opportunity scraper. |
Related actors
- sam-gov-contracts-scraper: Use this if you require contract awards and opportunity search with the official SAM.gov API, which this entity scraper does not use.
Browse the full ParseForge collection for more scrapers.
π Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.
β οΈ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by General Services Administration. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.
