{"uid":"cap_REbZRtaLC9UtQQAAyEdK-","slug":"riley-craig-x402-agent-store-government-contracts-search-b675c23c","name":"Riley Craig x402 Agent Store — Government Contracts Search","description":"Machine-payable data APIs for AI agents — 35 endpoints across web search, on-chain reads, trading data, and AI-visibility. Pay per call in USDC via x402 on Base. No API keys, no signup.","url":"https://x402-agent-store.rileycraig14.workers.dev/gov/contracts","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":"Keyword / sector, e.g. 'cybersecurity', 'AI', 'cloud migration'"},"months":{"type":"number","description":"Lookback window in months, 1-36 (default 12)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"top_awards":{"type":"array"},"activity_score":{"type":"number"},"total_awarded_usd":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"query":"cybersecurity","top_awards":[{"date":"2026-02-11","agency":"DoD","amount":95000000,"recipient":"Booz Allen Hamilton"}],"award_count":1840,"window_months":12,"activity_score":88,"total_awarded_usd":4200000000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.09","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.09/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xebgqGPTEu8yj1kjPJkT9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns US government contract awards matching a keyword or sector, including top awards, total awarded USD, and an activity score, for a configurable lookback window.","exampleAgentPrompt":"Search US government contract awards for 'cybersecurity' over the last 12 months — I want to see the top awards, total spending, and an activity score showing how active that sector is right now.","exampleUseCases":[{"title":"Identify federal tech vendor competitors","prompt":"Look up government contract awards for cloud infrastructure over the past year. Show me who's winning the biggest deals and how much total spend is going to that sector — I need to understand the competitive landscape for our BD team."},{"title":"Track DoD spending on emerging tech","prompt":"Search for US government contracts awarded to companies building AI and machine learning solutions in the last 6 months. Give me the total dollars spent, top award amounts, and an activity score so I can see if demand is ramping up."},{"title":"Find growth opportunities in federal markets","prompt":"Show me recent government contract awards in renewable energy and green infrastructure. I want to see total spending, the top recipients, and activity intensity — this could be a new market segment for us to target."}],"resultDescription":"A JSON object containing the query term, a list of top awards (each with date, agency, recipient, and dollar amount), total number of matching awards, total USD awarded, the lookback window in months, and a numeric activity score (0–100) indicating sector procurement intensity.","failureModes":["Missing required query parameter 'q' returns a 400 error","Invalid or out-of-range 'months' value (outside 1–36) may return a 400 or default to 12","Payment not completed via x402/USDC returns a 402 Payment Required response","No matching contracts found returns an empty top_awards array with zero totals","Keyword too broad or too vague may return low-signal results with inflated counts"],"whenToPreferThis":"Use this endpoint when you need structured US government contract award data for a specific sector or keyword, including spend totals and competitive intelligence on winning vendors — especially when you want to avoid scraping SAM.gov or USASpending.gov manually. Ideal for market research, competitive analysis, and BD targeting for federal markets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:37.183Z","isFirstParty":false}