{"uid":"cap_99i08qM0YxgeRPQtoJPiX","slug":"us-government-contracts-search-x402-1b5f356a","name":"US Government Contracts Search (x402)","description":"Pay-per-call search of public US government data. Unofficial; verify at source. Provided AS IS with no warranty of any kind, express or implied, including accuracy, completeness, timeliness, merchantability or fitness for a particular purpose. Not affiliated with or endorsed by any U.S. government agency.","url":"https://test5-x402-gov.stackstats.workers.dev/contracts/search?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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"Search keywords (max 200 chars)"},"page":{"type":"integer","default":1,"maximum":5,"minimum":1,"description":"Page number 1-5"},"limit":{"type":"integer","default":10,"maximum":25,"minimum":1,"description":"Rows per page (max 25)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["label","disclaimer","source_url","data"],"properties":{"data":{"type":"object","required":[],"properties":{"hasNext":{"type":"boolean"},"results":{"type":"array","items":{"type":"object","required":[],"properties":{"Award ID":{"type":"string"},"Start Date":{"type":["string","null"]},"Description":{"type":["string","null"]},"Award Amount":{"type":"number"},"Recipient Name":{"type":"string"},"Awarding Agency":{"type":"string"}}}}}},"note":{"type":"string"},"cache":{"enum":["hit","miss"],"type":"string"},"label":{"type":"string","const":"Unofficial; verify at source"},"disclaimer":{"type":"string"},"source_url":{"type":"string","format":"uri"},"source_terms":{"type":"string","format":"uri"},"dnb_attribution":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"hasNext":true,"results":[{"Award ID":"W91ZLK24F0181","Start Date":"2024-09-25","Description":"MICROSOFT AZURE CLOUD","Award Amount":55000,"Recipient Name":"DELL MARKETING L.P.","Awarding Agency":"Department of Defense"}]},"note":"Awarded contracts, not open solicitations","cache":"miss","label":"Unofficial; verify at source","disclaimer":"Unofficial; verify at source. Provided AS IS with no warranty of any kind, express or implied, including accuracy, completeness, timeliness, merchantability or fitness for a particular purpose. Not affiliated with or endorsed by any U.S. government agency.","source_url":"https://api.usaspending.gov/api/v2/search/spending_by_award/","source_terms":"https://www.usaspending.gov/about","dnb_attribution":"Recipient names may be supplied by Dun & Bradstreet, Inc. (D&B); see https://www.usaspending.gov/db_info"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D6LgpiKeN9qJcyi7sxBth","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pay-per-call keyword search of US federal awarded contract records sourced from USASpending.gov","exampleAgentPrompt":"Search US government awarded contracts for 'Microsoft Azure cloud' and show me the first 10 results — I want to see who the recipients are, which agencies awarded them, and the amounts.","exampleUseCases":[{"title":"Vendor federal contract history lookup","prompt":"Can you search US government contracts for 'Palantir' and show me who awarded them contracts, how much they received, and when the contracts started?"},{"title":"Topic-based government spending research","prompt":"I'm researching federal spending on AI and machine learning — can you search awarded government contracts for 'artificial intelligence' and show me the top results including agency and award amount?"},{"title":"Competitive intelligence on government awards","prompt":"Search US government contract records for 'cybersecurity services' and give me up to 25 results so I can see which companies are winning federal contracts in that space."}],"resultDescription":"Returns a paginated list of awarded US federal contracts matching the search query. Each result includes Award ID, Recipient Name, Awarding Agency, Award Amount (in USD), Start Date, and a brief Description. Also includes a hasNext flag for pagination, cache status (hit/miss), source URL pointing to USASpending.gov, and a mandatory disclaimer that data is unofficial and should be verified at source.","failureModes":["Missing required 'q' query parameter returns validation error","Search query exceeding 200 characters may be rejected","Page number outside 1-5 range returns validation error","Limit value outside 1-25 range returns validation error","Payment failure (402) if USDC balance is insufficient","Upstream USASpending.gov API downtime may cause failures","No results found for obscure or misspelled keywords returns empty results array"],"whenToPreferThis":"Choose this endpoint when you need programmatic, pay-per-call access to US federal awarded contract records and want to search by keyword across recipient names, descriptions, and agencies. Ideal for competitive intelligence, government spending research, vendor lookup, or any use case requiring quick keyword-based contract discovery without needing a full USASpending.gov API integration. Best when you need results immediately and can tolerate the unofficial/unwarranted nature of the data wrapper.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:38:11.560Z","isFirstParty":false,"canonicalSlug":"us-government-contracts-search-x402-1b5f356a"}