> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Research a retail site

> Business openings and closings near a site, store-level sales, taxable retail sales by city and quarter, retail sales per resident and foot traffic, with the calls that answer each.

This guide answers the questions a retail broker asks about a site and its market: what opened and closed nearby, what the stores around it sell, how much a city sells in taxable retail, and how much retail a place supports per resident. Each answer keeps its publisher, its period and its measure. Where a place doesn't publish something, the answer says so: unavailable is never zero.

| You want to know | Call |
| - | - |
| Businesses that opened or closed near a site | [find establishments](/docs/api/establishments.md#openings-and-closings) with `kind = sales_tax_permit` and an `opened_on` or `closed_on` range |
| What nearby stores sell | [find establishments](/docs/api/establishments.md#store-sales) for lottery retailers, liquor stores, video gaming locations and casinos, with their monthly sales in `details` |
| A city's or county's taxable retail sales over time | [find market\_series](/docs/api/find.md#taxable-sales) with a sales-tax metric and `industry=retail` |
| Retail sales per resident, income, and business births and deaths | the [demographics report](/docs/api/reports.md#demographics-report) with `sections=retail` |
| Foot and bike traffic near a site | the property's [`activity`](/docs/api/properties#activity) part: pedestrian and bike counters and bike-share docks |

Find rows cost $1 per 1,000 and a demographics report $0.05. Search is free.

**1. Openings near an address in the last 90 days**

Turn the address into a property ID with [search](/docs/api/search.md), which is free:

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/search" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "q=6801 Hollywood Blvd, Los Angeles, CA"
```

Then ask for retail businesses that registered within half a mile since a date, newest first. Set `opened_on` to 90 days before today:

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/find/establishments" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "near=property:c05ff33d-cee8-8c67-8d1a-fe0f8c5ca168" \
  --data-urlencode "radius_m=800" \
  --data-urlencode "where=kind = sales_tax_permit" \
  --data-urlencode "where=category = retail" \
  --data-urlencode "where=opened_on >= 2026-09-05" \
  --data-urlencode "sort=-opened_on"
```

```python Python theme={null}
import os, requests

res = requests.get(
    "https://api.westkite.com/v1/find/establishments",
    params=[
        ("near", "property:c05ff33d-cee8-8c67-8d1a-fe0f8c5ca168"),
        ("radius_m", 800),
        ("where", "kind = sales_tax_permit"),
        ("where", "category = retail"),
        ("where", "opened_on >= 2026-09-05"),
        ("sort", "-opened_on"),
    ],
    headers={"Authorization": f"Bearer {os.environ['WESTKITE_API_KEY']}"},
)
for row in res.json()["data"]["establishments"]:
    print(row["opened_on"], row["name"], row["address"], row["details"].get("naics_description"))
```

```typescript TypeScript theme={null}
const params = new URLSearchParams([
  ["near", "property:c05ff33d-cee8-8c67-8d1a-fe0f8c5ca168"],
  ["radius_m", "800"],
  ["where", "kind = sales_tax_permit"],
  ["where", "category = retail"],
  ["where", "opened_on >= 2026-09-05"],
  ["sort", "-opened_on"],
]);
const res = await fetch(`https://api.westkite.com/v1/find/establishments?${params}`, {
  headers: { Authorization: `Bearer ${process.env.WESTKITE_API_KEY}` },
});
const { data } = await res.json();
```

Each row is a business registration from the city's own register. In Los Angeles, `details` also gives its NAICS industry. Drop the `category` clause to see every new business, not only retail. For closings, ask with `closed_on` instead and sort by `-closed_on`. Two clauses on one date make a range:

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/find/establishments" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "in=Washington, DC" \
  --data-urlencode "where=kind = sales_tax_permit" \
  --data-urlencode "where=closed_on >= 2026-06-01" \
  --data-urlencode "where=closed_on <= 2026-11-30" \
  --data-urlencode "sort=-closed_on"
```

Openings and closings come from city registers in a few cities, so check `coverage` in the answer before you read an empty list as nothing happening. [Openings and closings](/docs/api/establishments.md#openings-and-closings) lists the cities and what each one's dates mean.

**2. Lottery sales at the stores near a site**

Stores that sell lottery tickets in New York carry their monthly sales from the state Gaming Commission. List them near a point:

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/find/establishments" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "lat=40.7580" \
  --data-urlencode "lng=-73.9855" \
  --data-urlencode "radius_m=400" \
  --data-urlencode "where=kind = lottery_retailer"
```

Read `details.last_12_months_ticket_sales_usd` for a year of draw-game sales, `details.monthly` for the last 24 months and `details.yearly` for calendar years. `details.measure` says exactly what the figures count. Liquor stores in Iowa and Oregon, video gaming locations in Illinois and casinos in Missouri work the same way; see [store sales](/docs/api/establishments.md#store-sales).

**3. Taxable retail sales for a city, by quarter**

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/find/market_series" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "in=Austin, TX" \
  --data-urlencode "metric=taxable-sales-and-purchases,gross-sales" \
  --data-urlencode "industry=retail" \
  --data-urlencode "range=3y"
```

Austin's retail trade (NAICS 44-45), quarter by quarter, as the Texas Comptroller reports it. Each state keeps its own measure, so compare places within one state. Add `area=Round Rock, TX` to put a second city beside it. Texas, Colorado and New York are available; other states are not yet available. See [taxable sales](/docs/api/find.md#taxable-sales).

**4. Retail sales per resident for a city**

The demographics report's `retail` section has the 2022 Economic Census sales of a city's stores and restaurants, and those sales per resident. Name the city by its Census place ID, which the taxable sales answer above gives as `area_id`:

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/reports/demographics" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "in=place-4805000" \
  --data-urlencode "sections=retail"
```

```json Response 200 theme={null}
{
  "data": {
    "area": { "id": "place-4805000", "kind": "place", "label": "Austin, TX" },
    "retail": {
      "sales": {
        "year": 2022,
        "geography": { "kind": "place", "ids": ["4805000"] },
        "retail": { "naics": "44-45", "label": "Retail trade", "sales": 30377619000, "establishments": 3422, "employees": 79723 },
        "per_resident": { "retail_sales": 31703, "food_services_sales": 5759, "population": 958202 }
      }
    }
  }
}
```

Trimmed to a few fields. `per_resident` is derived: sales made at stores in the city, to residents and visitors alike, over its population. `in=Austin, TX` reads the metro around it instead. The same section has IRS income by ZIP code, businesses without employees, business births and deaths, and quarterly retail jobs; see the [demographics report](/docs/api/reports.md#demographics-report).

**5. Foot and bike traffic**

Read a property with `parts=activity`. Its `counters` section lists the pedestrian and bike counters and bike-share docks within a mile, with their average daily counts:

```bash cURL theme={null}
curl "https://api.westkite.com/v1/properties/property:c05ff33d-cee8-8c67-8d1a-fe0f8c5ca168?parts=activity" \
  -H "Authorization: Bearer $WESTKITE_API_KEY"
```

The same part has daytime workers, frontage-road traffic and transit departures. Counters exist in some cities only; see [activity](/docs/api/properties.md#activity).

## From an AI assistant

With West Kite [connected to your assistant](/docs/connect.md), ask in plain words:

* What retail businesses opened within half a mile of 6801 Hollywood Blvd in Los Angeles in the last 90 days?
* Which stores near Times Square sold the most lottery tickets in the last 12 months?
* Chart Austin's taxable retail sales by quarter for the last three years.
* What are retail sales per resident in Austin, and how does that compare with the metro?


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.