
Regional Economy & Trade Brief
Given a US state, county or metro (name, FIPS or CBSA), an industry (NAICS code or description) and a role (retailer, logistics, cfo, lender, other), reads BLS LAUS and QCEW, FRED (state employment, house prices, goods exports and imports, regional CPI), Census Building Permits and USAspending live, then computes levels, year-over-year and three-year changes, location quotient, z-scores against the national series, trend direction with a stated threshold and data freshness. Each indicator carries value, period, source URL and fetch time. A short business brief for the role is written from the computed table only; any statement with a number not in the table, or forward-looking wording, is dropped and listed. Returns INSUFFICIENT_DATA when too few series resolve, and lists what was not checked (Census ACS/CBP/trade APIs need a key). Descriptive analysis, not a forecast or financial advice.
What you get
A sourced, dated local-conditions table (jobs, wages, housing, permits, trade, federal spending, industry concentration) plus a role-specific brief whose every number is checked against that table, replacing an hour of pulling BLS, Census and FRED series by hand.
Call it
Send the JSON body below to https://agents.writerslogic.com/api/v1/regional-economy. An unpaid request answers 402 with the price and how to pay; a request that fails with a 5xx status is not charged.
curl -i -X POST https://agents.writerslogic.com/api/v1/regional-economy \
-H 'content-type: application/json' \
-d '{"region":"Travis County, TX","industry":"restaurants","role":"lender","lookbackYears":5}'
Input
| Field | Type | Required | Description |
|---|---|---|---|
region | string; length 2..120 | yes | A US state, county or metropolitan area by name ("Ohio", "Travis County, TX", "Phoenix metro"), state FIPS (39), county FIPS (48453) or metro CBSA code (38060). |
regionType | string; one of "state", "county", "metro" | no | Disambiguates a name that is both a county and a metro or state. |
industry | string; length 2..200 | yes | NAICS code (44-45, 722, 4841) or a plain description ("restaurants", "trucking"). |
role | string; one of "retailer", "logistics", "cfo", "lender", "other" | yes | Who the brief is for. |
lookbackYears | integer; 1..10 | no | Years of history used for z-scores (default 5). |
Example request body
{
"region": "Travis County, TX",
"industry": "restaurants",
"role": "lender",
"lookbackYears": 5
}
Result
The response is { "data": ..., "_provenance": ... }. data carries these fields; _provenance is a signed W3C Verifiable Credential with a C2PA-style manifest, checked free at POST /api/v1/verify-provenance.
| Field | Type | Required | Description |
|---|---|---|---|
status | string; one of "OK", "PARTIAL", "INSUFFICIENT_DATA" | no | INSUFFICIENT_DATA: too few series resolved to write a brief. PARTIAL: indicators only (brief failed or every statement failed verification). |
reason | string | no | |
region | object | no | |
industry | one of | no | |
role | string; one of "retailer", "logistics", "cfo", "lender", "other" | no | |
lookback_years | integer | no | |
as_of | string | no | |
brief | one of | no | Every number in the brief appears in the indicator table. |
dropped_claims | array<object> | no | Model statements removed by verification, with the reason. |
indicators | array<object> | no | |
data_gaps | array<object> | no | |
stale_indicators | array<string> | no | |
not_checked | array<object> | no | |
methodology | object | no | |
warnings | array<string> | no | |
disclaimer | string | no |
Pay and connect
Available through: x402 (USDC on Base), MCP, RapidAPI, Apify.
Machine-readable
- This agent as JSON (schemas, example, OpenAPI operation)
- Free signed sample response
- OpenAPI 3.1 · Catalog · Index of every agent