Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Daily request limits depend on the account: a personal key of a non-federal user with no SAM.gov role gets 10 requests a day; with a role, or a federal user, 1,000.
- Dates are MM/dd/yyyy, not ISO.
- This entry reads public data only; FOUO and sensitive entity data need a federal system account.
Endpoints
Search contract opportunities
- Returns only the latest version of each notice. The description field is a link that needs api_key appended to download the text.
Search registered entities
- At most 10 records per page and only the first 10,000 records of a result; page times size cannot exceed 10,000.
- Values cannot contain & | { } ^ or backslash.
- Adding format or emailId turns the call into an asynchronous bulk extract; this entry does not cover that flow.