GET /api/discover
Filter locations by score thresholds across all metros.
Query parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
metro | string | Metro slug filter. | ||
compositeMin | int | Minimum composite score. | ||
businessMin | int | Minimum Business Vitality. | ||
safetyMin | int | Minimum Safety score. | ||
limit | int | 50 | Max results. |
| Field | Type | Description |
|---|---|---|
total | number | Number of matching locations |
results[].composite | number | Composite score 0-100 |
results[].location_name | string | Neighborhood name |
GET /api/nearby
Everything we know near a location — permits, POIs, schools, clinical trials, FDA events, zoning.
Query parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
lat | float | ✓ | Latitude. | |
lng | float | ✓ | Longitude. |
| Field | Type | Description |
|---|---|---|
summary | object | Count of records per data type within ~1km |
recent | object | Recent records from each data type |
GET /api/score-trends
Historical score trends for a metro or specific location.
Query parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
metro | string | Metro slug for aggregate trends. | ||
h3_index | string | Specific H3 cell for detailed trends. | ||
days | int | 90 | Lookback period. |
| Field | Type | Description |
|---|---|---|
trend[].date | string | Snapshot date |
trend[].avg_composite | number | Average composite score for that date |
GET /api/schools
Nearby school quality ratings (1-10 scale).
Query parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
lat | float | ✓ | Latitude. | |
lng | float | ✓ | Longitude. | |
radius | float | 2 | Radius in miles. | |
limit | int | 10 | Max results. |
| Field | Type | Description |
|---|---|---|
schools[].rating | number | Quality score 1-10 |
schools[].enrollment | number | Student enrollment |
GET /api/life-sciences
Clinical trials and FDA enforcement data by state or sponsor.
Query parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
state | string | US state name. | ||
sponsor | string | Sponsor name (partial match). | ||
type | string | all | Filter: trials, fda, or all. | |
limit | int | 50 | Max results. |
| Field | Type | Description |
|---|---|---|
trials.data[].nct_id | string | ClinicalTrials.gov trial ID |
trials.data[].sponsor | string | Lead sponsor organization |
GET /api/zoning
Zoning district rules — allowed uses, height limits, FAR, setbacks.
Query parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
metro | string | ✓ | Metro slug. | |
code | string | Specific district code. | ||
category | string | Filter: residential, commercial, industrial, mixed_use. |
| Field | Type | Description |
|---|---|---|
districts[].district_code | string | Zoning designation code |
districts[].max_height_ft | number | Maximum building height in feet |
districts[].max_far | number | Floor area ratio |
GET /api/export
Requires Bearer token.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
metro | string | Metro slug filter. | ||
format | string | csv | csv or json. | |
limit | int | 1000 | Max rows (5000 max). |