Closest green spaces

UK
gethttps://crystalroof.co.uk/customer-api/environment/closest-green-spaces/v1/{location}

Description

This method returns the closest green spaces based on the specified criteria.

The dataset is updated twice a year in April and October.

Parameters

NameDescription
location
path
string
Postcode, coordinates in the lat,long format or UPRN in the uprn12345678 format.
type
query
array

Allotments or Community Growing Spaces - Areas of land for growing fruit, vegetables and other plants, either in individual allotments or as a community activity. Produce is for the grower's own consumption and not primarily for commercial activity.

  • Bowling Green - A specially prepared area intended for playing bowls.
  • Cemetery - Areas of land associated with burial areas.
  • Religious Grounds - Areas of land associated with churches and other places of worship. Only included where there are significant areas of green space (over 500m2 of natural space – identified as surfaces that are not manmade, such as grass, woodland and bare earth).
  • Golf Course - A specially prepared area intended for playing golf.
  • Other Sports Facility - Land used for sports not specifically described by other categories. Includes those facilities where participation in sport is the primary use of the area.
  • Play Space - A specially prepared area intended for children’s play, usually linked to housing areas or parks, and containing purpose-built equipment. Not captured if within schools or paid-for tourist attractions.
  • Playing Field - Large, flat areas of grass or specially designed surfaces, generally with marked pitches, used primarily for outdoor sports, i.e. football, rugby, or cricket.
  • Public Park or Garden - Areas of land designed, constructed, managed, and maintained as a public park or garden. These normally have a defined perimeter and free public access, and generally sit within or close to urban areas. Access is granted for a wide range of uses and not usually restricted to paths or tracks within the area. May include areas with managed facilities, such as benches and flowerbeds, and more natural areas.
  • Tennis Court - A specially prepared area intended for playing tennis.
limit
query
enum

Number of elements to be returned by the method.

The returned number of elements may be less than the requested amount if fewer elements are found based on your criteria (in very rare cases). The maximum value is 10. To retrieve only the metadata, use the value 0.

api_key
query
enum

Your API key.

DEMO key allows you to test the method in the W6 0 postcode sector, or in the [[51.492, -0.25], [51.502, -0.225]] rectangle.

Request URL:
https://crystalroof.co.uk/customer-api/environment/closest-green-spaces/v1/{location}?api_key=DEMO
Possible responses with examples
Code
Description
200
Success
401
Unauthorized
402
Payment Required
403
Forbidden
429
Too Many Requests
500
Internal Server Error