API key confusion for GSA/SAM rest api

345 views
Skip to first unread message

Corey Foulds

unread,
Sep 23, 2021, 2:57:15 PM9/23/21
to US Government APIs
I have just received an API key from api.data.gov and it is not working for the following endpoints https://open.gsa.gov/api/entity-api/

I have also tried registering for an api key directly via https://api.sam.gov/signup/ and that page is blank.

I have creates a GSA account and a SAM account and nothing seems to work. Help on this matter would be much appreciated. 

To be clear, I need an api key that will work for endpoints like: https://api.sam.gov/entity-information/v1/entities?api_key= < value >

Kalyana Krishna Kondapalli

unread,
Jan 15, 2026, 3:21:23 PM (8 days ago) Jan 15
to US Government APIs
Hai,

According to my research

The key issue is that API keys from api.data.gov do not work with SAM.gov APIs. Although both are managed by GSA, they are separate systems with separate authentication mechanisms. The SAM.gov Entity Information API requires a SAM.gov–issued Public API Key, not an api.data.gov key.

Here’s how to obtain the correct key:

  1. Log in to SAM.gov

  2. Navigate to Profile → Account Details

  3. Locate the section labeled Public API Key

  4. Click the eye icon and complete the one-time verification to reveal the key

This is the only API key that will work with endpoints such as:

https://api.sam.gov/entity-information/v1/entities

Can you try this solution?

Thanks
Kalyana Krishna Kondapalli

Reply all
Reply to author
Forward
0 new messages