81trust / 100

Local Economy

by Local Economy Intelligence in Markets & finance

x402 APIPassing, checked 2 h ago

Get a U.S. county economic profile from official BLS, BEA and Census data, including jobs, unemployment, wages, GDP, income, employer establishments, growth, percentiles and provenance.

POST https://agent-vending-production.up.railway.app/v1/local-economy

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
253 ms typical, 253 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent-vending-production.up.railway.app/v1/local-economy" \
  -H "content-type: application/json" \
  -d '{"geography":{"name":"Ventura County","state":"CA","type":"county"},"vintage_mode":"latest_available"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent-vending-production.up.railway.app%2Fv1%2Flocal-economy
const res = await pay("https://agent-vending-production.up.railway.app/v1/local-economy", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"geography":{"name":"Ventura County","state":"CA","type":"county"},"vintage_mode":"latest_available"}),
});
console.log(await res.json());

Example input

{
  "geography": {
    "name": "Ventura County",
    "state": "CA",
    "type": "county"
  },
  "vintage_mode": "latest_available"
}

Example output

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

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402367 ms$0.01
7 h agoPassed402253 ms$0.01