Garda APIgarda.ie ↗
Search and retrieve Irish Garda station data including addresses, phone numbers, GPS coordinates, and opening hours across all Garda divisions.
What is the Garda API?
The garda.ie API exposes 3 endpoints to query the Irish Garda Síochána station directory, returning fields including station name, address, county, phone number, GPS coordinates, opening hours, and division. Use search_stations to find stations by free-text query or division filter, get_station to retrieve full detail for a specific station by ID, and list_divisions to enumerate all Garda divisions available for filtering.
curl -X POST 'https://api.parse.bot/scraper/e0167ea2-ae76-4fe3-9d2c-ebd782679f69/search_stations' \
-H 'X-API-Key: $PARSE_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"query": "Dublin",
"division_id": "5"
}'Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace garda-ie-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""Walkthrough: GardaStations SDK — find Irish police stations by name, division, or ID."""
from parse_apis.garda_ie_api import GardaStations, DivisionCode, StationNotFound
client = GardaStations()
# List available Garda divisions
for div in client.divisions.list(limit=5):
print(div.id, div.name)
# Search stations by name across all of Ireland
for station in client.stations.search(query="Galway", limit=3):
print(station.name, station.county, station.phone)
# Search within a specific division using the enum
for station in client.stations.search(division_id=DivisionCode.CORK_CITY, limit=3):
print(station.name, station.address, station.opening_hours.mon_fri)
# Typed error handling: attempt to fetch a station that may not exist
try:
detail = client.stations.get(station_id="4201")
print(detail.name, detail.latitude, detail.longitude)
except StationNotFound as exc:
print(f"Station not found: {exc.station_id}")
print("exercised: divisions.list / stations.search (by query, by division) / stations.get / error handling")
Search Garda stations by name, location, or division. The query matches against station names as well as address and county text. Both query and division_id filters can be combined. Results are returned in a single page containing all matches.
| Param | Type | Description |
|---|---|---|
| query | string | Free-text search term matched against station name, address, and county (case-insensitive). Omitting returns all stations (or all within the specified division). |
| division_id | string | Filter by Garda division ID. Use list_divisions to get valid IDs. |
{
"type": "object",
"fields": {
"total": "integer",
"stations": "array of station objects with id, name, latitude, longitude, division_id, division_name, address, county, phone, station_id, opening_hours, url"
},
"sample": {
"data": {
"total": 50,
"stations": [
{
"id": 4523,
"url": "https://www.garda.ie/garda/en/contact-us/station-directory/balbriggan.html",
"name": "Balbriggan",
"phone": "(01) 6664500",
"county": "Co. Dublin",
"address": "Drogheda Road",
"latitude": "53.61433",
"longitude": "-6.191172",
"station_id": "2200D",
"division_id": "5",
"division_name": "Dublin Metropolitan Region",
"opening_hours": {
"sat": "24/7",
"sun": "24/7",
"mon_fri": "24/7"
}
}
]
},
"status": "success"
}
}About the Garda API
Endpoints and Data Coverage
The API covers three operations. list_divisions returns a flat list of all Garda divisions, each with an id and name, along with a total count. These division IDs are the correct input for the division_id filter on search_stations. search_stations accepts a free-text query matched case-insensitively against station name, address, and county fields, an optional division_id to scope results to one division, or both together. Results include an array of station objects with fields: id, name, latitude, longitude, division_id, division_name, address, county, phone, station_id, and opening hours.
Station Detail
get_station accepts a numeric station_id (obtained from search_stations results) and returns the full station record. Response fields include id, url, name, phone, county, address, latitude, longitude, station_id, and division_id. The url field points to the station's page on garda.ie. GPS coordinates are returned as strings and can be parsed to floats for mapping use.
Filtering and Pagination
search_stations returns all matching results in a single response — there is no cursor or page parameter. Omitting both query and division_id returns all stations. The division_id filter expects a value from list_divisions; passing an arbitrary string that does not correspond to a known division will return zero results. get_station requires a valid numeric station ID; IDs are available in search_stations response objects.
The Garda API is a managed, monitored endpoint for garda.ie — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when garda.ie changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official garda.ie API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Build a station locator map by plotting
latitudeandlongitudefields fromsearch_stationsresults - Construct a county-level directory by filtering
search_stationswith a county name as thequery - Display contact pages using
phoneandurlfields returned byget_station - Scope searches to a specific policing region by combining
division_idfromlist_divisionswithsearch_stations - Populate a mobile app with opening hours from station detail records returned by
get_station - Cross-reference Garda station coverage against crime or incident datasets using station GPS coordinates
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does garda.ie provide an official developer API for station data?+
What does `get_station` return that `search_stations` does not?+
get_station returns a url field pointing to the station's page on garda.ie, and exposes full opening hours for the station. The search_stations endpoint includes opening hours in the station objects as well, but get_station is the canonical single-record lookup when you already have a numeric station ID.Does the API return historical or archived station records, such as stations that have closed?+
Can I retrieve a list of stations sorted by distance from a given coordinate?+
latitude and longitude fields for each station, but there is no built-in proximity sort or bounding-box filter. You can fork this API on Parse and revise it to add a geo-distance endpoint using the coordinate fields already in the response.Are all results returned at once, or does `search_stations` paginate?+
search_stations returns all matching stations in a single response. There are no pagination parameters such as page number or cursor. For large result sets — for example, omitting both query and division_id — the full station list is returned in one call.