Site History
Find planning history around an address, eircode, or coordinates.
Use this request to find planning application history around a site using address text, eircode, or map coordinates.
#Request
GET /ext/v1/precedents/site-history
#Valid Query Combinations
- Address search:
addresscan be passed once or repeated (for example,address=...&address=...). - Eircode search: pass
eircodewhen you have a known postal code. - Coordinate search: pass
latandlontogether, with optionalradius_m.
You can include limit with any of the combinations above.
Defaults:
radius_mdefaults to5.limitdefaults to100.
#Query Parameters
| Parameter | Type | Required | Description | Example(s) |
|---|---|---|---|---|
address | string | No | Site address text. Supports single or repeated query params. | address=15%20Example%20Street, repeated address keys |
eircode | string | No | Irish eircode for the site. | D02 X285 |
lat | number | No | Latitude for coordinate-based search. Use with lon. | 53.3498 |
lon | number | No | Longitude for coordinate-based search. Use with lat. | -6.2603 |
radius_m | integer | No | Radius in meters for coordinate search. Must be greater than 0. Default is 5. | 25 |
limit | integer | No | Maximum records returned. Must be greater than 0. Default is 100. | 50 |
#Example Request
curl "https://api.eireplan.ie/ext/v1/precedents/site-history?address=15%20Example%20Street&address=15%20Example%20St%2C%20Dublin%202&eircode=D02%20X285&lat=53.3498&lon=-6.2603&radius_m=25&limit=20" \
-H "Authorization: Bearer ek_your_api_key_here"#Response Shape
{ "result": { query_* fields, query_radius_m, used_fallbacks, summary, precedents, source } }
#Response Structure
| Field | Type | Description |
|---|---|---|
result.query_address | string | Primary normalized address used for lookup, when available. |
result.query_addresses | array | Normalized address candidates used in the request. |
result.query_eircode | string | Normalized eircode used for lookup, when available. |
result.query_lat | number | Effective latitude used for the query, when available. |
result.query_lon | number | Effective longitude used for the query, when available. |
result.query_radius_m | integer | Applied search radius in meters. |
result.used_fallbacks | array | Any fallback strategies used to complete the lookup. |
result.summary.total_applications | integer | Total matched applications in this result set. |
result.summary.decision_counts | object | Counts by normalized decision. |
result.summary.type_counts | object | Counts by normalized application type. |
result.precedents | array | Matching precedent records near or matching the site input. |
result.source | string | Data source strategy used for the search. |
#Example Response
{
"result": {
"query_address": "15 Example Street",
"query_addresses": ["15 Example Street", "15 Example St, Dublin 2"],
"query_eircode": "D02 X285",
"query_lat": 53.3498,
"query_lon": -6.2603,
"query_radius_m": 25,
"used_fallbacks": ["address_normalization"],
"summary": {
"total_applications": 2,
"decision_counts": {
"granted": 1,
"refused": 1
},
"type_counts": {
"permission": 2
}
},
"precedents": [
{
"id": "5f8fcb68-2be1-4ce7-8ef4-6a29c2fb4aa8",
"planning_ref": "DCC-1234-25",
"address": "15 Example Street, Dublin 2",
"decision_norm": "granted"
},
{
"id": "f40db59f-91f5-478c-a5ab-5c1b6086f7cd",
"planning_ref": "DCC-9981-24",
"address": "18 Example Street, Dublin 2",
"decision_norm": "refused"
}
],
"source": "db_bbox"
}
}#Where It Fits
Use Site History after Search Precedents when you need neighborhood context around a known site before drilling into one precedent by id.