Civic records API

Public Urination API

The Public Urination API returns civic service requests about public urination, with about 802 records from the United States. Records cover New York City, Oakland, and San Francisco, and include dates, locations, descriptions, categories, and statuses. Use the data to study reported incidents and their geographic and community 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 urination",
    "region_id": "143179",
    "limit": 50
  }'

Key facts

  • The Public Urination API contains about 802 records from the United States.
  • New York City accounts for 88.1% of coverage.
  • Oakland accounts for 11.4% and San Francisco for 0.5% of coverage.
  • The API offers JSON, GeoJSON, CSV, and Parquet formats.

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-urination/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-25Urinating in PublicClosedN/A40.606-73.752
New York City2026-11-25Urinating in PublicClosedN/A40.763-73.969
New York City2026-11-25Urinating in PublicClosedN/A40.831-73.936
New York City2026-11-24Urinating in PublicClosedN/A40.606-73.752
New York City2026-11-23Urinating in PublicClosedN/A40.712-73.774
New York City2026-11-23Urinating in PublicClosedN/A40.799-73.952
New York City2026-11-23Urinating in PublicIn ProgressN/A40.678-73.952
New York City2026-11-23Urinating in PublicClosedN/A40.694-73.989
New York City2026-11-23Urinating in PublicClosedN/A40.578-73.962
New York City2026-11-23Urinating in PublicIn ProgressN/A40.624-74.137

Overview

This API provides service request records about public urination, sourced from city and county open-data portals. The records represent reports and their service-request details, not a complete count of all incidents.

Researchers, civic data teams, journalists, and location-based service developers can use the data to examine reported requests, their status, and their locations.

Coverage

Coverage is in the United States, with about 802 records. New York accounts for 88.1% of coverage and California for 11.9%.

Records are from New York City, Oakland, and San Francisco. New York City accounts for 88.1%, Oakland 11.4%, and San Francisco 0.5%.

Fields

Each record can include its source dataset, date, year, latitude, longitude, description, category, status, city, department, subtype, agency, and closure date. The core fields are fully populated; subtype and agency are present for 99% of records, and closed_at for 98%.

Additional context fields include nearby population, elevation, tree canopy, flood zone, median household income, median home value, settlement class, and climate group. Coverage varies: for example, elevation is present for 99% of records, while settlement class and climate group are present for 37%.

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

Queries

Filter records by region, radius, date, or selected fields to focus on a city, area, or time period. Stream data for live queries or use a bulk download for a whole dataset.

Available formats are JSON, GeoJSON, CSV, and Parquet. Access requires an API key; a free tier is available, with paid plans for higher limits and bulk downloads.

Use cases

Map reported public urination service requests across New York City, Oakland, and San Francisco, or compare request locations between the three cities.

Track request dates and statuses to study reporting patterns and service-request outcomes. Combine locations with population, tree canopy, flood, elevation, or income context for civic analysis.

Pricing

The API is available in JSON, GeoJSON, CSV, and Parquet. An API key is required, and a free tier is available.

Paid plans provide higher limits and bulk downloads for whole datasets. No plan prices are stated here.

Frequently asked questions

Is there an API for public urination reports in New York City?

Yes. The Public Urination API includes service requests from New York City, which accounts for 88.1% of its coverage. Records include dates, locations, categories, descriptions, and statuses.

Which cities are covered by the Public Urination API?

The API covers New York City, Oakland, and San Francisco. New York City represents 88.1% of coverage, Oakland 11.4%, and San Francisco 0.5%.

How often is the public urination data updated?

The available facts do not specify an update schedule. The records come from city and county open-data portals, and include record dates and statuses that can help users interpret the data they retrieve.

What fields does the Public Urination API return?

Records can include source, date, year, latitude, longitude, description, category, status, city, department, subtype, agency, and closure date. Additional fields provide geographic and community context, such as elevation, nearby population, flood zone, and income.

Can I filter public urination records by location or date?

Yes. You can filter by region, radius, date, or selected fields. These filters can help narrow records to a city or area and a specific time period.

Does the API include locations for reported incidents?

Yes. Records include latitude and longitude, and both location fields are populated for all records. The coordinates support geographic analysis of reported service requests.

What formats are available for public urination data?

The data is available in JSON, GeoJSON, CSV, and Parquet. The API also supports streaming for live queries and bulk downloads for whole datasets.

Is there a free tier for the Public Urination API?

Yes. A free tier is available, and an API key is required. Paid plans offer higher limits and bulk downloads; prices are not stated here.

Start building with the Public Urination API

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