# Why does the SAM.gov Opportunities API reject date ranges over one year? The SAM.gov Get Opportunities API requires both postedFrom and postedTo on every search and refuses a range longer than one year, and each page holds at most 1,000 notices. To cover several years you run one query per year; to find open bids you filter by response deadline after you fetch. Many integrations miss solicitations posted 13 months ago and amended last week.Checked on 2026-11-15.Official source: [open.gsa.gov Get Opportunities API](https://open.gsa.gov/api/get-opportunities-public-api/) | postedFrom and postedTo | Required, at most one year apart | | --- | --- | | Notices per page (official) | 1,000 | | Notices loaded here | 74,420 | | Open with a deadline ahead | 13,485 | ## The answer in detail The date window is about posting date, not the deadline, so a search for bids that are still open has to reach back far enough to catch long-running notices and then drop the closed ones itself. Many integrations miss solicitations posted 13 months ago and amended last week.A copy built from the nightly SAM.gov Contract Opportunities file avoids the window. samgovapi.io holds 74,420 notices from that file as of 15 Nov 2026, 13,485 of them with a response deadline still ahead, and the open=true filter returns only notices that are active, not award notices, and not past their deadline.The official API remains the place to see a notice the moment it is posted; a nightly copy can be up to a day behind. ## How the options compare | Option | Price | Access and limits | Coverage and history | Best for | Checked | | --- | --- | --- | --- | --- | --- | | [SAM.gov APIs (official)](https://open.gsa.gov/api/entity-api/) | Free | 10 requests a day with no SAM.gov role, 1,000 with a role or a non-federal system account; keys expire every 90 days | The live, authoritative record: entities, opportunities, exclusions, contract awards, hierarchy, subawards | Anyone who needs the official record itself, at low volume | 2026-11-12 | | [GovCon API (govconapi.com)](https://govconapi.com/pricing) | Developer $19/mo, Pro $39/mo; 14-day trial | 1,000 requests an hour (50 a minute burst); trial 50 a day | 12,265,150 contracts and 758,552 opportunities from FY2025; 904,090 entities, monthly | Developers who want the lowest entry price and FY2025+ history | 2026-11-15 | | [samgovapi.io](https://samgovapi.io/pricing) | Free (100 credits a month, no card); Developer $49/mo, Pro $149/mo, Scale $499/mo | 20 to 180 requests a minute by plan, no daily cap; REST, MCP and keyless MCP search | 881,370 entities (1 Nov 2026 extract), 74,420 notices, 169,191 exclusions, 114,954 awards since 1 Oct 2026 | Developers and AI agents who want entities, bids and exclusions joined in one API | 2026-11-15 | ## Where samgovapi.io is the weaker choice - Opportunities refresh nightly, so a notice posted this morning appears tomorrow; the official API has it at once. - The notice archive here is the 74,420 notices in SAM.gov's current file; GovCon API serves 758,552 notices from FY2025. ## Try it Open bids in one NAICS code, closing soonest first, with no date window. ``` curl "https://samgovapi.io/api/v1/opportunities?naics=541512&open=true&sort=deadline&limit=50" \ -H "Authorization: Bearer $SAMGOVAPI_API_KEY" ``` ## Questions Can I search opportunities by response deadline on SAM.gov's API?The official search filters by posting date; deadline filtering happens after the fetch. Here deadline_from and deadline_to are query parameters.How fresh are opportunities here?They load nightly from the SAM.gov Contract Opportunities file; the dataset date is in every response's meta.as_of. ## Related - [SAM.gov Opportunities API](https://samgovapi.io/sam-gov-opportunities-api) - [Open bids](https://samgovapi.io/opportunities) - [API docs](https://samgovapi.io/docs) - [Pricing](https://samgovapi.io/pricing) - [Answers](https://samgovapi.io/answers)Updated 2026-11-15. Sources checked 2026-11-15.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/answers/sam-gov-api-opportunities-one-year-date-range . Markdown: https://samgovapi.io/answers/sam-gov-api-opportunities-one-year-date-range.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
