# Local Economy Intelligence

> Local Economy Intelligence is a paid API for AI agents from agent-vending-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Returns a comprehensive U.S. county or state economic profile sourced from BLS, BEA, and Census data, covering jobs, unemployment, wages, GDP, income, employer establishments, and growth metrics with percentile rankings.

## Facts

- Endpoint: POST https://agent-vending-production.up.railway.app/v1/local-economy?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/local-economy-intelligence-9691f5b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ADGoKsmXiUW3g8oHiGP_M

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 local-economy-intelligence-9691f5b9 -d '<json body>'
```

Example prompt: Pull the full economic profile for Travis County, TX — I want labor, wages, GDP, income, and business activity metrics with growth trends included, using the latest available data.

## When to prefer this

Use this endpoint when you need official, authoritative economic data for a specific U.S. county or state from government sources (BLS, BEA, Census), especially when you need a broad multi-dimensional profile in a single call rather than querying individual metrics. Prefer this over demographic-only endpoints when the focus is economic conditions — employment, wages, GDP, income, and employer activity — rather than population demographics. It is ideal for site selection, investment research, economic development analysis, and policy evaluation.

## Known failure modes

- Unknown or misspelled county/state name returns a geography resolution error
- 5-digit FIPS not recognized returns a not-found error
- Data for very small counties may be suppressed by BLS/BEA confidentiality rules, returning partial results
- Requesting unsupported metric_groups enum values returns a validation error
- Stale or unavailable source data for a specific period may result in missing individual metrics

## How this service works

Pay-per-call machine utilities for autonomous agents.

## Output

A structured JSON economic profile containing metric groups such as labor (unemployment rate, labor force size), jobs and wages (total jobs, average weekly wage), economic output (GDP, growth), income (personal income per capita), and business activity (employer establishment count). Each metric includes its value, time period, data source (BLS/BEA/Census), and where available a national or state percentile rank. Growth rates are included when requested.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "geography": {
   "oneOf": [
    {
     "type": "object",
     "properties": {
      "fips": {
       "type": "string",
       "description": "5-digit county FIPS (or 2-digit state FIPS)"
      },
      "name": {
       "type": "string",
       "description": "e.g. \"Ventura County\" or \"California\""
      },
      "type": {
       "enum": [
        "county",
        "state"
       ],
       "type": "string"
      },
      "state": {
       "type": "string",
       "description": "State name, postal code or FIPS (for county names)"
      }
     },
     "description": "A U.S. county (by name + state, or 5-digit FIPS) or a state (Local Economy Intelligence only).",
     "additionalProperties": false
    },
    {
     "type": "string",
     "description": "\"County Name, ST\" (e.g. \"Ventura County, CA\") or 5-digit county FIPS"
    }
   ]
  },
  "vintage_mode": {
   "enum": [
    "latest_available",
    "aligned_2023"
   ],
   "type": "string",
   "description": "Default latest_available (each metric at its latest validated period, shown per metric)"
  },
  "metric_groups": {
   "type": "array",
   "items": {
    "enum": [
     "labor",
     "jobs_wages",
     "economic_output",
     "income",
     "business_activity",
     "industry_structure"
    ],
    "type": "string"
   }
  },
  "include_growth": {
   "type": "boolean",
   "description": "Default true"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "OK",
  "metrics": {
   "jobs_wages": {
    "average_annual_pay": {
     "rank": 265,
     "unit": "USD per year (nominal)",
     "value": 72148,
     "source": "BLS QCEW",
     "status": "OK",
     "percentile": 91.79,
     "peer_universe": "US_COUNTIES",
     "reference_period": "2025",
     "peer_universe_size": 3221
    }
   }
  },
  "product": "local_economy",
  "summary": [
   "Average annual pay (BLS QCEW), 2025: $72,148, at the 91.8th percentile among 3,221 U.S. counties with data."
  ],
  "geography": {
   "fips": "06111",
   "name": "Ventura County, California",
   "type": "county"
  },
  "provenance": {
   "release": "le-1.0.0+20260926T213544Z"
  },
  "vintage_mode": "latest_available",
  "reference_periods_by_source": {
   "bea": 2024,
   "cbp": 2023,
   "laus": 2025,
   "qcew": 2025
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/local-economy-intelligence-9691f5b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-vending-production.up.railway.app](https://www.zero.xyz/host/agent-vending-production.up.railway.app/llms.txt)
