← BarbrickDesign homeAll projects

SAM.gov API key — guide & test panel

Get a free SAM.gov public API key, understand the real limits, and run a test search against the official Get Opportunities Public API.

Keep your key private. It is tied to your SAM.gov account. On this page it is kept only in sessionStorage for this tab (cleared when you close it) and is sent only to api.sam.gov. Never paste it into pages you don't trust, and never commit it to a public repository.

1. Get your key

  1. Sign in (or create an account) at SAM.gov — sign-in uses Login.gov.
  2. Open your profile's Account Details page (sam.gov/profile/details).
  3. Under Public API Key, re-enter your password to request/view the key. It is shown until you leave the page, so copy it straight away.
  4. Rotate it at least every 90 days, as the SAM.gov Terms of Use require.

2. Test your key

Open request in new tab

No key stored.

3. Daily limits (personal API keys)

Account typeRequests per day
Non-federal user, no role in SAM.gov10
Non-federal user with a role (e.g. entity registration)1,000
Federal user1,000

System accounts have higher limits (1,000 non-federal, 10,000 federal). Limits are set by GSA and may change; see the sources below. With only 10 calls a day, test sparingly.

How this works / sources