Places API

Greengrocer API

The Greengrocer API returns locations and available details for shops selling fresh fruits and vegetables, across about 56,000 records. It includes global coverage, with the largest shares in Spain, Portugal and the United States. Records combine coordinates, OpenStreetMap tags and available address, settlement and environmental context.

Spain, Portugal · 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": "greengrocer",
    "region_id": "143179",
    "limit": 50
  }'

Key facts

  • The Greengrocer API contains about 56,000 records worldwide.
  • Spain accounts for 27.6% of records, the largest listed country share.
  • New York City accounts for 4.1% of records.
  • Coordinates are filled for 100% of records.

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/greengrocer/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
NameCountryAddressLatitudeLongitude
FrutasColombia—6.23483-75.54326
Carnifruver JaiverdeColombia—6.17042-75.33495
YOLO Farm & BuggyJapan—24.39893123.87424
Legumbrería La Gran EsquinaColombia—6.17423-75.33403
Mega FruverColombia—6.17365-75.33592
Fernedy Gallego Distribuidor De CítricosColombia—6.25744-75.57367
FrutivanColombia—6.25803-75.57333
Tienda MarianaColombia68A-05 Carrera 30 Comuna 3 - Manrique6.2622-75.5436
Frutas y verdurasColombiaCalle 71A #31-14 Comuna 3 - Manrique6.26626-75.54444
Verduleria y fruteriaColombia—6.26393-75.54413

Overview

The Greengrocer API covers shops selling fresh fruits and vegetables, based on OpenStreetMap data. Records can help developers and data buyers map produce retailers and study local food access.

The source is OpenStreetMap contributors, under the ODbL. Each record includes a location and available place details, with additional geographic context such as settlement class and flood risk.

Coverage

The dataset contains about 56,000 records worldwide. Spain accounts for 27.6% of records, Portugal 16.1%, and the United States 12.9%.

Notable city coverage includes New York City, Toronto, Sevilla and Accra. Andalucía is the leading listed state or region, at 14.9% of records.

Fields

Each record includes latitude, longitude, OpenStreetMap properties, source dataset, settlement class, and estimated population within one kilometre. Name is present in 69% of records and street address in 45%.

Additional fields include flood zone, climate group and land-use categories. Climate group is filled for 99% of records; land-use categories are filled for 56%.

  • latLatitude
  • lngLongitude
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • nameName of the place
  • addressStreet address
  • settlement_classCity, town or countryside
  • ghsl_pop_1km_2020How many people live here (people)
  • flood_zoneFlood risk
  • climate_groupClimate group
  • land_use_categoriesLand use

Queries

Query locations by region or radius and select the fields your application needs. The available fields do not include a date, so date-based filtering is not supported by the listed record schema.

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

Use cases

Map greengrocers in a city or neighbourhood to support local food-access research. Compare shop distribution across regions and countries.

Build produce-retailer directories and location search tools. Combine shop locations with settlement class, nearby population, flood-zone and climate-group fields for planning or geographic analysis.

Pricing

The API supports JSON, GeoJSON, CSV and Parquet. Access uses an API key, with a free tier and paid plans for higher limits and bulk downloads. No prices are stated here.

Frequently asked questions

Is there an API for greengrocer locations?

Yes. The Greengrocer API provides locations and available details for fresh fruit and vegetable shops from OpenStreetMap data. It contains about 56,000 records and supports JSON, GeoJSON, CSV and Parquet.

How many greengrocer records are available?

The dataset contains about 56,000 greengrocer records. Coverage is global, with the largest country shares in Spain, Portugal and the United States.

Does the Greengrocer API include New York City?

Yes. New York City is among the listed cities and accounts for 4.1% of records. The broader United States accounts for 12.9% of records.

What fields does the Greengrocer API return?

Records include latitude, longitude, OpenStreetMap properties, source, name when available, address when available, settlement class, nearby population, flood zone, climate group and land-use categories.

Are addresses available for every greengrocer?

No. Street address is present in 45% of records. Names are present in 69%, while coordinates, properties, source and settlement class are filled for all records.

Can I filter greengrocers by location or radius?

Yes. Query locations by geographic region or radius, and select the fields needed for an application. The listed record fields do not include a date for date-based filtering.

What formats can I use to download greengrocer data?

The available formats are JSON, GeoJSON, CSV and Parquet. Bulk downloads are available on paid plans, alongside API access.

Where does the greengrocer data come from?

The data comes from OpenStreetMap contributors and is provided under the ODbL. OpenStreetMap properties are included in each record.

Start building with the Greengrocer API

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