Civic records API

Public Drinking API

The Public Drinking API returns about 1,500 service-request records concerning alcohol consumption in public places. Records include dates, coordinates, categories, status and source agency, with nearly all coverage in New York City. Use the data to map reports, study geographic patterns and connect incidents with local demographic and environmental context.

United States · JSON, GeoJSON, CSV, Parquet

POSThttps://api.outerview.ai/v1/stream
curl https://api.outerview.ai/v1/stream \
  -X POST \
  -H "Authorization: Bearer $OUTERVIEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "public drinking",
    "region_id": "143179",
    "limit": 50
  }'

Key facts

  • The dataset contains about 1,500 public drinking service-request records.
  • Nearly all records are from New York City, New York.
  • A small share of records comes from San Francisco, California.
  • Records can include latitude, longitude, date and current status.

Quick start

  1. 1. Create an account and generate an API key on the developer platform.
  2. 2. Send it as a Bearer token in the Authorization header.
  3. 3. Query by place, radius or date (the example searches New York City).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/public-drinking/download?format=geojson

Add &region_slug=… to limit to one place. Formats: csv, geojson, parquet.

Sample records

Real records from the data, trimmed to the main fields.

10 records
CityDateTypeStatusSubtypeLatitudeLongitude
New York City2026-11-25DrinkingClosedIn Public40.618-73.932
New York City2026-11-25DrinkingClosedIn Public40.76-73.963
New York City2026-11-25DrinkingClosedIn Public40.662-73.883
New York City2026-11-25DrinkingClosedIn Public40.831-73.929
New York City2026-11-24DrinkingClosedIn Public40.694-73.998
New York City2026-11-24DrinkingClosedIn Public40.758-73.918
New York City2026-11-24DrinkingClosedIn Public40.625-74.144
New York City2026-11-24DrinkingClosedIn Public40.803-73.939
New York City2026-11-24DrinkingClosedIn Public40.699-73.99
New York City2026-11-24DrinkingClosedIn Public40.82-73.94

Overview

This API brings together public service requests about drinking alcohol in public places, typically described as consumption outdoors with an open bottle, can or cup. The records come from city and county open-data portals.

Civic researchers, analysts and developers can use the data to explore where requests are reported, review their status and combine locations with contextual measures.

Coverage

The dataset contains about 1,500 records from the United States. Nearly all are from New York State and New York City; a small share comes from California and San Francisco.

Coverage is based on the available records, not a complete count of all public drinking incidents. The records represent service requests in contributing open-data sources.

Fields

Each record can include its source dataset, date, year, latitude, longitude, category, subtype, current status, city, agency and department. A source description is available for nearly all records, as is the date a record was closed.

Additional contextual fields include estimated population within 1 km, elevation, median household income, tree-canopy percentage, flood zone, settlement class, climate group and median home value. Field availability varies: source, date, year, coordinates, category, subtype, status, city, agency and department are present in all records.

  • sourceSource dataset
  • dateDate of the record
  • yearYear
  • latitudeLatitude
  • longitudeLongitude
  • categoryRecord category
  • subtypeRecord subtype
  • statusCurrent status
  • cityCity
  • agencyAgency
  • departmentDepartment
  • descriptionDescription from the source
  • closed_atDate closed
  • ghsl_pop_1km_2020How many people live here (people)
  • elevation_mHeight above sea level (m)
  • acs_median_household_income_usdTypical household income (USD (2024 dollars))
  • nlcd_tree_canopy_pctTree cover (%)
  • flood_zoneFlood risk
  • settlement_classCity, town or countryside
  • climate_groupClimate group
  • acs_median_home_value_usdTypical home value (USD)

Queries

Filter records by region, radius, date range or selected fields to focus an analysis on a place or period. Location coordinates support mapping and proximity-based analysis.

Use streaming for live queries or bulk download when you need a whole dataset. Available formats are JSON, GeoJSON, CSV and Parquet.

Use cases

Map public drinking service requests across New York City and compare patterns between areas.

Track request dates and current status to study how reports are handled over time.

Build civic dashboards that show request locations alongside city, agency and department.

Compare reported locations with population, income, home-value, tree-cover or flood-zone context.

Create geographic summaries for research into public-space concerns and service-request patterns.

Pricing

The data is available in JSON, GeoJSON, CSV and Parquet. Access requires an API key.

A free tier is available. Paid plans provide higher limits and bulk downloads; pricing is not specified here.

Frequently asked questions

Is there an API for public drinking service requests in New York City?

Yes. The Public Drinking API includes about 1,500 records, with nearly all coverage in New York City. Records describe service requests concerning alcohol consumption in public places and can include dates, locations, categories and status.

What does the Public Drinking API return?

It returns service-request records about drinking alcohol in public places. Records can contain the date, year, coordinates, category, subtype, status, city, source, agency, department and source description, along with location-based context such as population and flood zone.

How often is the public drinking data updated?

An update frequency is not specified for this dataset. The records are sourced from city and county open-data portals, so check the source and record dates when you need to assess how current a particular entry is.

Can I filter public drinking records by neighborhood or location?

You can filter by region or radius and use the latitude and longitude fields to work with specific locations. The coverage is concentrated in New York City, with a small share of records from San Francisco.

What formats are available for public drinking data?

The available formats are JSON, GeoJSON, CSV and Parquet. GeoJSON is suitable for geospatial workflows, while CSV and Parquet can support tabular analysis and JSON can be used in application workflows.

What does the status field mean?

The status field gives the record's current status as provided by the source data. Sample records show a status of Closed, and records can also include a closed date when that field is available.

Does the API include demographic or environmental context?

Yes. Records can include estimated population within 1 km, median household income, median home value, elevation, tree-canopy percentage, flood zone, settlement class and climate group. Availability differs by field.

Can I download the whole public drinking dataset?

Bulk downloads are available on paid plans, and the dataset is offered in JSON, GeoJSON, CSV and Parquet. An API key is required for access; paid plans also provide higher limits.

Start building with the Public Drinking API

Free to try. Paid plans raise limits and unlock bulk downloads.