{"uid":"cap_PcW7oXG5nsdQOi6LVb2oz","slug":"2s-government-contract-opportunities-search-7604cd22","name":"2s Government Contract Opportunities Search","description":"The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.","url":"https://2s.io/api/gov/contract-opportunities?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":["postedFrom","postedTo"],"properties":{"limit":{"type":"integer","default":10,"maximum":100,"minimum":1},"naics":{"type":"string"},"ptype":{"type":"string","maxLength":2,"minLength":1},"state":{"type":"string","maxLength":2,"minLength":2},"title":{"type":"string","maxLength":200,"minLength":2},"offset":{"type":"integer","default":0,"maximum":10000,"minimum":0},"postedTo":{"type":"string"},"setAside":{"type":"string","maxLength":12,"minLength":2},"postedFrom":{"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0018","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LvxoDu9nJsRBF9du68akC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0045","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search and retrieve U.S. federal government contract opportunities from SAM.gov by date range, NAICS code, state, set-aside type, and keyword","exampleAgentPrompt":"Find me federal government contract opportunities posted between 01/01/2025 and 01/31/2025 in the IT sector — NAICS code 541512 — in Texas, limited to small business set-asides, and show me the first 20 results.","exampleUseCases":null,"resultDescription":"Returns a paginated list of federal contract opportunity notices matching the query, each including notice ID, title, solicitation number, type, issuing department, posted date, response deadline, NAICS code, classification code, set-aside designation, active status, organization type, office location details, and a direct link to the SAM.gov listing. Also returns the total count of matching records and the echoed query parameters.","failureModes":["Missing required postedFrom or postedTo parameters returns a validation error","Invalid date format (not MM/DD/YYYY) causes a schema validation failure","NAICS code not matching \\d{2,6} pattern rejected","State code not exactly 2 characters rejected","Offset exceeding 10000 returns an error","No matching opportunities returns empty items array with total of 0","Upstream SAM.gov API unavailability may cause timeouts or errors"],"whenToPreferThis":"Use this endpoint when you need structured, machine-readable federal government contract opportunity data with flexible filtering by date, industry (NAICS), geography, and set-aside type. Prefer this over manual SAM.gov browsing or scraping when an AI agent needs to programmatically discover contracting opportunities, especially with pay-per-call access requiring no API key or signup. Best when the agent needs to monitor new solicitations, qualify opportunities by set-aside, or feed procurement intelligence into a workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:50:58.400Z","isFirstParty":false,"canonicalSlug":"2s-government-contract-opportunities-search-7604cd22"}