# US Location Profile — Economy, Labor & Weather (`businessquik/location-profile`) Actor

One address or coordinate in, one complete location record out: county, demographics (Census ACS), unemployment (BLS), economic context (FRED), forecast and active weather alerts (NWS). Built for agents and analysts.

- **URL**: https://apify.com/businessquik/location-profile.md
- **Developed by:** [Carlos Garcia](https://apify.com/businessquik) (community)
- **Categories:** AI, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $80.00 / 1,000 location profileds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## US Location Profile

One address or coordinate in — one complete, structured location record out. This Actor does the tedious work of joining four official US government sources whose geographies don't naturally line up:

- **Census geocoder** → resolves your address/coords to county FIPS (the join key)
- **Census ACS** → population, median age, median household income, home values, education
- **BLS LAUS** → county unemployment rate, latest month + year-ago comparison
- **FRED** → state-level economic context
- **National Weather Service** → 4-period forecast + active weather alerts

Each API alone is trivial. Reconciling their geography codes, formats, and quirks is the part nobody wants to write — an AI agent doing market research currently makes ~11 calls to answer "what is this place like?" This is one call.

### Input

| Field | Description |
|---|---|
| `locations` | Street addresses and/or `"lat,lon"` pairs — one profile per entry |
| `censusApiKey` | Optional, free & instant — without it the demographics section is skipped |
| `fredApiKey` | Optional, free — adds state economic context |
| `blsApiKey` | Optional — raises rate limits for heavy use |
| `includeWeather` | Default true |

The Actor degrades gracefully: sections you don't have keys for come back as `{"skipped": "<reason + where to get a free key>"}` — the record shape is always stable.

### Output

```json
{
  "query": "90 W Broad St, Columbus, OH 43215",
  "status": "OK",
  "location": { "county_name": "Franklin County", "state_fips": "39", "county_fips": "049", "lat": 39.96, "lon": -83.00 },
  "demographics": { "population": 1321820, "median_household_income": 76354, "median_age": 34.2, "...": "..." },
  "labor": { "unemployment_rate_pct": 3.4, "period": "2026-June", "year_ago_rate_pct": 4.6 },
  "state_economy": { "state_unemployment_pct": 4.1, "as_of": "2026-06-01" },
  "weather": { "forecast": [ ... ], "active_alerts": [] }
}
```

### Who this is for

- **Site selection & expansion analysts** — screen candidate locations in batches
- **Real estate underwriters** — market context per property, programmatically
- **Risk & insurance modellers** — active alerts + local economics in one record
- **AI agents** (via MCP) — the "describe this location" tool

### Notes

- US locations only (the underlying sources are US federal agencies).
- All sources are official government APIs — public data, no scraping, no ToS friction.
- ACS figures are 5-year estimates (2023 vintage); BLS county rates are not seasonally adjusted.

### Pricing

| Event | Price |
|---|---|
| Run start | $0.02 |
| Per location profiled | $0.08 |

Batch of 50 candidate sites: **$4.02** — versus an afternoon of copy-pasting from four government websites.

### FAQ

**Which inputs work?**
US street addresses ("90 W Broad St, Columbus, OH 43215") or coordinates ("39.9621,-83.0025"). City names alone don't geocode — include a street address or use coordinates.

**Do I need API keys?**
The county resolution, unemployment (BLS), and weather (NWS) sections work with no keys at all. Add a free Census key for demographics and a free FRED key for state economics — the record tells you exactly where to get each key if a section is skipped.

**Is this US-only?**
Yes — the underlying sources are US federal agencies.

**How current is the data?**
Unemployment is the latest monthly BLS figure (with year-ago comparison). Demographics are Census ACS 5-year estimates. Weather is live. Each section names its source and vintage.

**What's a typical batch cost?**
50 locations: $0.02 + 50 × $0.08 = $4.02.

### Changelog

- **2026-08-22** — Full five-source verification (Census, BLS, FRED, NWS, geocoder); graceful handling of unactivated Census keys; demo location on empty input.
- **2026-08-20** — Launch: one-call county profile joining four federal agencies.

***

### More tools by Businessquik

Verified data tools built on official and public-mandate sources — no logins, no gray areas, no fragile scrapers:

- [Bank Statement Extractor — PDF statements to reconciled CSV/JSON](https://apify.com/businessquik/bank-statement-extractor)
- [Hospital Price File Normalizer — comparable hospital prices from CMS MRFs](https://apify.com/businessquik/hospital-mrf-normalizer)
- [FDA Recall Monitor — new-recalls-only alerts for drugs, devices & food](https://apify.com/businessquik/fda-recall-monitor)
- [Patent Signals — filing velocity, new entrants & expiry intel](https://apify.com/businessquik/patent-signals)

**Support:** open an issue on this Actor's Issues tab — layout/format reports are usually fixed within days. Describe the *shape* of your file or query; never post real bank statements or sensitive data.

# Actor input Schema

## `locations` (type: `array`):

US street addresses ("90 W Broad St, Columbus, OH 43215") and/or "lat,lon" pairs ("39.9621,-83.0025"). One profile per entry.

## `censusApiKey` (type: `string`):

Free instant key from api.census.gov/data/key\_signup.html. Without it, the demographics section is skipped.

## `fredApiKey` (type: `string`):

Free key from fred.stlouisfed.org. Adds state-level economic context (unemployment trend).

## `blsApiKey` (type: `string`):

Free key from data.bls.gov raises daily limits. Keyless works for light use.

## `includeWeather` (type: `boolean`):

Adds a National Weather Service forecast and any active weather alerts to each profile.

## Actor input object example

```json
{
  "locations": [
    "39.9621,-83.0025"
  ],
  "includeWeather": true
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "locations": [
        "39.9621,-83.0025"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("businessquik/location-profile").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "locations": ["39.9621,-83.0025"] }

# Run the Actor and wait for it to finish
run = client.actor("businessquik/location-profile").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "locations": [
    "39.9621,-83.0025"
  ]
}' |
apify call businessquik/location-profile --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,businessquik/location-profile"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/yObC5tI2lHFPMEJxS/builds/RnLgzPgTQpIapZyVD/openapi.json
