Amenities

Find nearby points of interest using OpenStreetMap data. Schools, hospitals, grocery stores, parks, transit, restaurants, and banks.

GET/v1/properties/{property_id}/amenities

Get nearby amenities within a configurable radius.

ParameterTypeDescription
radiusintegerSearch radius in meters (500-5000, default: 2000)
Example
curl -H "X-API-Key: pda_your_key" \
  "https://api.propertypulse.dev/v1/properties/1/amenities?radius=3000"
Response
{
  "data": {
    "radius_meters": 3000,
    "categories": {
      "schools": [
        {
          "name": "Lincoln Elementary",
          "type": "school",
          "distance_miles": 0.3,
          "latitude": 38.900,
          "longitude": -77.036
        }
      ],
      "hospitals": [...],
      "grocery": [...],
      "parks": [...],
      "transit": [...],
      "restaurants": [...],
      "banks": [...]
    },
    "total_count": 42
  }
}

Amenity Categories

  • schools — K-12 schools and universities
  • hospitals — Hospitals and medical clinics
  • grocery — Supermarkets and grocery stores
  • parks — Parks, playgrounds, and recreation areas
  • transit — Bus stops, train stations, light rail
  • restaurants — Restaurants and cafes
  • banks — Banks and ATMs