Twinkle HubTwinkle Hub
Sign in

📌 2026-08-17 added: ⚖️ Taiwan statute time machine — historical article text · revision history · full-text search · citation graph (935 datasets · 35,454+ rows)

View full changelog →

US federal awards by NAICS industry code

us_search_by_naics

TW-specificMIT

**關鍵字 / Keywords**: 美國聯邦標案 NAICS 產業碼 industry code aircraft manufacturing computer programming construction healthcare defense semiconductor USASpending federal spending awards by industry

Scope: US federal awards filtered to one NAICS industry code —
thin convenience over `us_search_awards` with `naics_codes` pre-set.

Endpoint (same as us_search_awards):
    POST https://api.usaspending.gov/api/v2/search/spending_by_award/

Args:
    naics_code: 6-digit NAICS code. Frequent hits:
                `"336411"` Aircraft Manufacturing ·
                `"541511"` Custom Computer Programming Services ·
                `"541330"` Engineering Services ·
                `"336414"` Guided Missile & Space Vehicle Mfg ·
                `"622110"` General Medical & Surgical Hospitals ·
                `"334220"` Radio / TV Broadcasting Equipment.
    date_from / date_to: YYYY-MM-DD `action_date` bounds
                         (default = federal FY25).
    award_group: `"contracts"` (default) · `"grants"` · `"loans"` ·
                 `"direct_payments"` · `"other"` · `"idvs"`.
    page, limit, sort, order: pagination + sort (see
                              `us_search_awards`).

Returns the same shape as `us_search_awards`. License:
"Creative Commons Zero v1.0 Universal (CC0-1.0)". Rate-limited
to ~5 req/sec.

Input schema

{
  "properties": {
    "naics_code": {
      "title": "Naics Code",
      "type": "string"
    },
    "date_from": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Date From"
    },
    "date_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Date To"
    },
    "award_group": {
      "default": "contracts",
      "title": "Award Group",
      "type": "string"
    },
    "page": {
      "default": 1,
      "title": "Page",
      "type": "integer"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    },
    "sort": {
      "default": "Award Amount",
      "title": "Sort",
      "type": "string"
    },
    "order": {
      "default": "desc",
      "title": "Order",
      "type": "string"
    }
  },
  "required": [
    "naics_code"
  ],
  "title": "us_search_by_naicsArguments",
  "type": "object"
}

How to call

Once your Twinkle Hub MCP client is configured, your agent will see us_search_by_naics. Just ask it to call — example:

# Ask Claude / any MCP client:
請用 us_search_by_naics 處理 "…"。

# It will call:
us_search_by_naics(input="…")

Haven't set up a client yet?

Claude Desktop in 3 minutes — download the .mcpb and double-click, or see docs for other clients.

See user docs