# Script Master Labs x402 Data API — Federal Firms Lookup

> Script Master Labs x402 Data API — Federal Firms Lookup is a paid API for AI agents from mcp-x402.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns U.S. federal contractor/firm data filtered by NAICS code, state, and set-aside type, paid per-call in USDC via x402.

## Facts

- Endpoint: GET https://mcp-x402.onrender.com/x402/firms
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/script-master-labs-x402-data-api-federal-firms-lookup-7d5e9ba6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fvns4pJZOaHGk6kvv6NfA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability script-master-labs-x402-data-api-federal-firms-lookup-7d5e9ba6
```

Example prompt: Find me up to 20 federal contractor firms in the IT consulting space — NAICS code 541512 — located in California, and filter for 8a set-aside eligible companies.

## When to prefer this

Use this endpoint when you need to discover U.S. federal contractor firms by industry (NAICS code) and optionally narrow by state or set-aside program type (e.g., 8a, HUBZone, WOSB). Prefer this over general web search when you need structured, filterable procurement data with micropayment-based access.

## Known failure modes

- Missing required 'naics' parameter returns a 400 or validation error
- Invalid NAICS code returns empty results or an error
- Payment not settled via x402 returns a 402 Payment Required response
- Invalid state abbreviation may return empty results
- Set-aside value not recognized may return empty or unfiltered results
- Service unavailable on Render free tier cold start may cause timeout

## How this service works

Pay-per-call crypto, RWA, federal, SEC, Section 8/HUD housing, and compliance APIs via x402. Primary: USDC on Base (eip155:8453). Also accepts Global Dollar (USDG) on Robinhood Chain (eip155:4663) via sovereign X-PAYMENT-TX. Hyphen routes only (e.g. /x402/gas-tracker, /x402/pha-lookup, /x402/sec-8k). MARKETPLACE REVIEW: use free /x402/playground/* (no key, no payment). Production /x402/* returns 402 unless paid via x402 or X-Api-Market-Key / X-API-Key from seller dashboard.

## Output

A list of U.S. federal contractor firms matching the given NAICS code, optionally filtered by state and set-aside type, including firm names and relevant procurement data, with results capped at the requested row count.

## Request schema (JSON Schema)

```json
{
 "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": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "naics"
     ],
     "properties": {
      "rows": {
       "type": "integer",
       "default": 10,
       "maximum": 25,
       "minimum": 1
      },
      "naics": {
       "type": "string",
       "description": "6-digit NAICS code (required)."
      },
      "state": {
       "type": "string",
       "description": "2-letter state code (optional)."
      },
      "set_aside": {
       "enum": [
        "SDVOSB",
        "WOSB",
        "SDB",
        "MINORITY"
       ],
       "type": "string",
       "default": "SDVOSB"
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/script-master-labs-x402-data-api-federal-firms-lookup-7d5e9ba6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-x402.onrender.com](https://www.zero.xyz/host/mcp-x402.onrender.com/llms.txt)
