# SAM.gov API key A SAM.gov API key is generated in your SAM.gov account under Account Details, and it must be replaced every 90 days. A personal key with no SAM.gov role allows 10 requests a day; a role or a non-federal system account raises that to 1,000. Create a SAM.gov account (it signs in through login.gov). Open your profile, then Account Details.Checked on 2026-11-12.Official source: [SAM.gov Terms of Use](https://sam.gov/about/terms-of-use) | Where | SAM.gov, Account Details, Public API Key | | --- | --- | | Expiry | Every 90 days | | Sharing | Personal keys may not be shared | | Limit without a role | 10 requests a day | | Limit with a role | 1,000 requests a day | ## How do I get a SAM.gov API key? - Create a SAM.gov account (it signs in through login.gov). - Open your profile, then Account Details. - Enter your password under Public API Key and request the key. - Copy the key. SAM.gov asks for your password again whenever you retrieve it. ## Why does my SAM.gov API key stop working? SAM.gov's terms require updating API keys and system account passwords every 90 days. After that the key is rejected and a new one has to be generated. A 429 response means the daily limit was reached, not that the key expired. ## How do I get more than 10 requests a day? Get a role in a SAM.gov entity registration (for example as a user of your own company's registration) or request a non-federal system account. Both raise the limit to 1,000 a day. System accounts also need an IP allowlist. | Who | Key type | Daily limit | | --- | --- | --- | | Non-federal user, no SAM.gov role | Personal | 10 | | Non-federal user with a SAM.gov role | Personal | 1,000 | | Federal user | Personal | 1,000 | | Non-federal system account | System account | 1,000 | | Federal system account | System account | 10,000 | ## A key with no expiry SAM Gov API keys start with sg_, do not expire on a 90-day clock, and can be revoked from the dashboard. Free plan: 100 credits a month and 20 requests a minute, no card. Paid: Developer $49/mo (10,000 credits), Pro $149/mo (50,000 credits), Scale $499/mo (250,000 credits). ## Get this as JSON ``` curl "https://samgovapi.io/api/v1/entities?q=lockheed" \ -H "Authorization: Bearer sg_YOUR_KEY" ``` MCP tool: `search_entities`Keys start free, with no card. [Get a free API key](https://samgovapi.io/sign-up) or read the [docs](https://samgovapi.io/docs). ## Questions How long does a SAM.gov API key last?90 days. Then it must be replaced in SAM.gov.Can I share my SAM.gov API key with my team?No for personal keys. System account keys may be shared only inside the organization that owns the system account. ## Related - [SAM.gov API](https://samgovapi.io/sam-gov-api) - [SAM.gov API rate limits](https://samgovapi.io/sam-gov-api-rate-limits) - [Quickstart](https://samgovapi.io/docs/quickstart) - [SAM.gov API vs samgovapi.io](https://samgovapi.io/compare/sam-gov-api-vs-samgovapi)Updated 2026-11-12. Sources checked 2026-11-12.Independent. Not affiliated with, endorsed by or sponsored by GSA, SAM.gov or any U.S. government agency. Registering in SAM.gov is free at sam.gov.

---

HTML version: https://samgovapi.io/sam-gov-api-key . Markdown: https://samgovapi.io/sam-gov-api-key.md

Independent. Not affiliated with, endorsed by or sponsored by GSA, SAM.gov or any U.S. government agency. Registering in SAM.gov is free at sam.gov.

Get a free API key: https://samgovapi.io/sign-up?ref=ai-claudebot
