Count
US federal award counts — how many contracts, grants, loans, IDVs, direct payments and other awards match a keyword and filters, by fiscal year, agency, recipient, NAICS, PSC or state. Use to size a market or an agency's activity before paging through awards.
GET https://us-spending.use.x402atlas.com/count
0.005 USDC on Base · payTo 0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"fiscal_year": "2026",
"query": "wildfire"
}{
"agency": "",
"as_of": "2026-11-01T12:00:00Z",
"caveat": "Amounts are obligations recorded to date, not payments; outlays are payments where reported. Fiscal-year filters match transaction action dates, so an older award with a recent modification appears in a recent year. Descriptions are as filed. DoD contract actions publish after a 90-day delay.",
"counts": {
"contracts": 535,
"direct_payments": 3,
"grants": 1404,
"idvs": 159,
"loans": 1,
"other": 233
},
"data_as_of": "2026-10-31",
"fiscal_year": [
2026
],
"modified": true,
"naics": [],
"program": [],
"psc": [],
"query": "wildfire",
"recipient": "",
"source": {
"citation": "Source: USAspending.gov, api.usaspending.gov. U.S. Government work, public domain (CC0). Normalized by x402 Atlas.",
"name": "USAspending.gov (Bureau of the Fiscal Service, U.S. Treasury)",
"url": "https://www.usaspending.gov"
},
"state": "",
"total": 2335,
"type": ""
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 73 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 984 ms |
| Paid calls (30d, on-chain) | 21 calls · 8 buyers · shared price cohort of 55 |
| Facilitator-reported (30d) | 1 calls · 1 payers (CDP Bazaar) |
How to call
GET https://us-spending.use.x402atlas.com/count · input in query · spec from live-challenge
Input schema
{
"additionalProperties": false,
"properties": {
"agency": {
"description": "Awarding toptier agency name, abbreviation (DOD, NASA) or code (097)",
"maxLength": 100,
"type": "string"
},
"fiscal_year": {
"description": "Comma-separated federal fiscal years (Oct–Sep), up to 5, 2008 onward; default the current and previous year",
"maxLength": 30,
"type": "string"
},
"max_amount": {
"description": "Obligated at most, USD",
"maximum": 1000000000000,
"minimum": 0,
"type": "integer"
},
"min_amount": {
"description": "Obligated at least, USD",
"maximum": 1000000000000,
"minimum": 0,
"type": "integer"
},
"naics": {
"description": "Comma-separated NAICS codes (2–6 digits), up to 5; prefixes match",
"maxLength": 40,
"type": "string"
},
"program": {
"description": "Comma-separated assistance listing numbers, up to 5, e.g. 81.254",
"maxLength": 40,
"type": "string"
},
"psc": {
"description": "Comma-separated product/service codes (4 chars), up to 5",
"maxLength": 30,
"type": "string"
},
"query": {
"description": "Words matched as one phrase in descriptions, recipient names and codes. Empty or omitted: returns a billed sample response; no live lookup.",
"maxLength": 200,
"type": "string"
},
"recipient": {
"description": "Recipient name, UEI or DUNS",
"maxLength": 100,
"type": "string"
},
"state": {
"description": "Place-of-performance US state code",
"maxLength": 2,
"type": "string"
},
"type": {
"description": "Award type group; omitted = all types",
"enum": [
"contracts",
"grants",
"loans",
"idvs",
"direct_payments",
"other"
],
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"agency": {
"description": "Resolved venue agency name; empty when none",
"type": "string"
},
"as_of": {
"description": "Retrieval time, UTC",
"format": "date-time",
"type": "string"
},
"caveat": {
"description": "Fixed interpretation note",
"type": "string"
},
"counts": {
"additionalProperties": false,
"properties": {
"contracts": {
"type": "integer"
},
"direct_payments": {
"type": "integer"
},
"grants": {
"type": "integer"
},
"idvs": {
"type": "integer"
},
"loans": {
"type": "integer"
},
"other": {
"type": "integer"
}
},
"required": [
"contracts",
"grants",
"loans",
"idvs",
"direct_payments",
"other"
],
"type": "object"
},
"data_as_of": {
"description": "Venue data date, YYYY-MM-DD; omitted when its status call failed",
"type": "string"
},
"fiscal_year": {
"description": "Applied window",
"items": {
"type": "integer"
},
"type": "array"
},
"max_amount": {
"description": "Present when applied",
"type": "integer"
},
"min_amount": {
"description": "Present when applied",
"type": "integer"
},
"modified": {
"description": "Always true: normalized, not the raw record",
"type": "boolean"
},
"naics": {
"description": "Applied filter",
"items": {
"type": "string"
},
"type": "array"
},
"note": {
"description": "Present only on a sample or empty response",
"type": "string"
},
"program": {
"description": "Applied filter",
"items": {
"type": "string"
},
"type": "array"
},
"psc": {
"description": "Applied filter",
"items": {
"type": "string"
},
"type": "array"
},
"query": {
"type": "string"
},
"recipient": {
"description": "Applied; empty when none",
"type": "string"
},
"source": {
"additionalProperties": false,
"properties": {
"citation": {
"type": "string"
},
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url",
"citation"
],
"type": "object"
},
"state": {
"description": "Applied; empty when none",
"type": "string"
},
"total": {
"description": "Sum over groups",
"type": "integer"
},
"type": {
"description": "Applied group; empty = all",
"type": "string"
}
},
"required": [
"as_of",
"source",
"caveat",
"modified",
"query",
"type",
"fiscal_year",
"agency",
"recipient",
"naics",
"psc",
"program",
"state",
"counts",
"total"
],
"type": "object"
}curl -i -X GET 'https://us-spending.use.x402atlas.com/count?fiscal_year=2026&query=wildfire'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs