Places API

Optician API

The Optician API returns about 62,500 mapped opticians and eyewear shops from OpenStreetMap. Records cover countries including the United States, Canada, Spain and Morocco, with coordinates, names and available business details. Use the data to map eyewear locations, assess local coverage and combine store information with neighborhood context.

United States, Canada · 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": "optician",
    "region_id": "143179",
    "limit": 50
  }'

Key facts

  • The Optician API contains about 62,500 records.
  • The United States accounts for 50.2% of records, and Canada accounts for 22.2%.
  • New York City represents 9.4% of records; Toronto represents 7%.
  • Names are present for 98% of records, while opening hours are present for 20%.

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/optician/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
NameBrandAddressCountryCityWebsiteHoursLatitudeLongitude
Sunglass HutSunglass Hut5711 Richmond Road Williamsburg 23188United States———37.32005-76.73836
Sunglass HutSunglass Hut5625 Richmond Road Williamsburg 23188United States———37.31768-76.73539
Óticas CarolÓticas Carol—BrazilRio de Janeiro——-22.98301-43.36433
Oakley VaultOakley5715 Richmond Road Williamsburg VA 23188United States———37.32177-76.73792
Primary Eyecare—265 Merchant Walk Avenue Charlottesville VA 22903United States———38.01039-78.49906
Warby ParkerWarby Parker—United StatesCharlottesville——38.05159-78.50268
VisionworksVisionworks—United StatesCharlottesville——38.05133-78.50121
LensCraftersLensCrafters1951 Swanson Drive Charlottesville VA 22901United States—https://local.lenscrafters.com/va/charlottesville/1951-swanson-drive.htmlMo-Sa 10:00-19:00; Su 12:00-18:0038.06397-78.49216
Gene Shifflett Optician—184 Zan Road Charlottesville VA 22901United StatesCharlottesville——38.06311-78.4888
Foster's Eyewear——United StatesLouisa——38.02417-78.00224

Optician location data from OpenStreetMap

This API provides records for opticians and eyewear shops, including businesses that sell glasses, sunglasses or contact lenses and may offer eye testing. The data comes from OpenStreetMap contributors under the ODbL.

Retail teams, mapping developers and market researchers can use the records to locate eyewear businesses and study their surrounding areas. Store details vary by record.

Coverage across countries and cities

The dataset contains about 62,500 records. The United States accounts for 50.2% of coverage, Canada 22.2%, Spain 17% and Morocco 5.9%.

Prominent city coverage includes New York City at 9.4% and Toronto at 7%. Other represented cities include Mississauga, Fes, Chicago, Sevilla and Casablanca.

Fields in each optician record

Each record includes latitude, longitude, source, OpenStreetMap tags and settlement class. Names are present for 98% of records; street addresses for 51%, brands for 49%, websites for 33% and opening hours for 20%.

Records also include climate group, population within 1 km, tree canopy, flood risk, land-use categories, median household income and median home value. These contextual fields are available for 100%, 100%, 100%, 100%, 90%, 92% and 85% of records, respectively.

  • latLatitude
  • lngLongitude
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • nameName of the place
  • addressStreet address
  • brandBrand or chain
  • websiteWebsite
  • opening_hoursOpening hours (OpenStreetMap format)
  • settlement_classCity, town or countryside
  • climate_groupClimate group
  • ghsl_pop_1km_2020How many people live here (people)
  • nlcd_tree_canopy_pctTree cover (%)
  • flood_zoneFlood risk
  • acs_median_household_income_usdTypical household income (USD (2024 dollars))
  • land_use_categoriesLand use
  • acs_median_home_value_usdTypical home value (USD)

Filter and retrieve optician records

Filter records by region, radius, date or selected fields to focus on a local area or a particular data need. Stream results for live queries, or use bulk download to work with whole datasets.

Available formats are JSON, GeoJSON, CSV and Parquet. An API key is required for access.

What you can build with optician data

Map eyewear shops for consumer search and local discovery; compare optician coverage between cities; identify areas with few mapped eyewear businesses; enrich retail site research with nearby population, income and home-value context; and combine location records with land-use, tree-cover or flood-risk information.

Access and plans

Access the data in JSON, GeoJSON, CSV or Parquet with an API key. A free tier is available for getting started.

Paid plans support higher limits and bulk downloads for working with larger datasets.

Frequently asked questions

Is there an API for opticians in New York City?

Yes. The Optician API includes records for New York City, which represents 9.4% of the dataset. You can filter by region to focus on the city and retrieve available location and business details such as coordinates, name, brand, address, website and opening hours.

How many optician locations does the API cover?

The API covers about 62,500 optician and eyewear shop records. Coverage is strongest in the United States, Canada and Spain, which account for 50.2%, 22.2% and 17% of the records, respectively.

What fields does the Optician API return?

Records include latitude, longitude, OpenStreetMap tags, source and settlement class. Available business details include name, address, brand, website and opening hours. Records also include contextual fields such as local population, climate group, flood risk, land use, tree cover, household income and home value.

Can I filter optician data by city or radius?

Yes. You can filter by region or radius to retrieve locations for a specific area. You can also select fields to limit the returned information, or use date filters when querying.

How often is the optician data updated?

The records are sourced from OpenStreetMap contributors, and the API reflects that source data. The supplied dataset information does not specify a refresh schedule, so check the current data when update timing is important to your application.

Does every optician record include an address or opening hours?

No. A name is present for 98% of records, while a street address is present for 51% and opening hours for 20%. Availability varies because the API uses details mapped in OpenStreetMap.

Can I download the full optician dataset?

Yes. Bulk downloads are available on paid plans for working with whole datasets. Supported formats are JSON, GeoJSON, CSV and Parquet; an API key is required for access.

What geographic context comes with optician locations?

Records include fields for settlement class, climate group, population within 1 km, tree canopy, flood risk and land use. Median household income and median home value are also available, with completion rates of 92% and 85%, respectively.

Start building with the Optician API

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