These are the Licence and Enforcement Access Portal (LEAP) Open Data APIs. This information is populated using the EPA’s CRM system and EDEN Authorisation Module.
LEAP, accessed at leap.epa.ie, provides public access to the formal compliance and enforcement correspondence that is exchanged between the EPA and our regulated operators in these activity areas:
- Dumping at Sea
- Major Industry: Industrial Emissions (IE), Integrated Pollution Prevention & Control (IPPC), Integrated Pollution Control (IPC)
- Radiological Protection
- Urban Waste Water Discharge: Waste Water Discharge Authorisations (WWDA) and Certificates of Authorisation (CoA) Waste Management
LEAP covers the following:
– Licence profile
> Site
– Licence
– Licensee return
> Type
– Annual environmental report
– Enforcement categorisation and charges
– Monitoring returns
– Request for approval and site reports
– Site closure and surrender
– Site updates/notifications
> Licensee return RFI
> Licensee return instruction
– Site Visit
> Finding and recommendations (ORP only)
– EDEN message
– Incident
> Corrective / preventative measures
> Emission parameter result
> Update request
– Complaint
– Non compliance
– Compliance investigation
> Likely cause
> Effect
> Outcome
> Action/instruction
– EDEN message
– 3rd party correspondence
– EPA initiated correspondence
– Meeting
Documents are published along with many different record types.
Contents
- 1 OPEN API Documentation (Swagger)
- 2 Licence Profile
- 3 Licence
- 4 Site
- 5 Compliance List
- 6 Compliance Investigation
- 6.1 Compliance investigation by compliance investigation ID
- 6.2 Compliance investigation by related site visit ID
- 6.3 Compliance investigation outcomes by compliance investigation
- 6.4 Compliance investigation effects by compliance investigation
- 6.5 Compliance investigation likely causes by compliance investigation
- 7 Non Compliance
- 8 Incident
- 9 Complaint
- 10 Site Visit
- 11 Licensee Return
- 11.1 Licensee return by licensee return ID
- 11.2 Licensee returns by compliance investigation ID
- 11.3 Licensee returns by site visit ID
- 11.4 Licensee return requests for information by licensee return ID
- 11.5 Licensee return requests for information by Licensee return requests for information ID
- 11.6 Licensee return instructions by licensee return ID
- 11.7 Licensee return instructions by Licensee return requests for instruction ID
- 12 EDEN Message
- 13 Task (Action)
- 14 Meetings
- 15 EPA Initiated Correspondence
- 16 Third Party Correspondence
- 17 Document
- 18 License
OPEN API Documentation (Swagger)
Further information, including filter and search functionality on each API) is provided in Swagger.
https://data.epa.ie/leap/swagger
Licence Profile
APIs to return licence profile information. A licence profile is the level above a licence, e.g. P9999 where as a licence will have a version number e.g. P9999-99. A licence profile can have one or more licences.
Licence profile record by profile number
https://data.epa.ie/leap/api/v1/LicenceProfile/byprofileno?licence_profile_no=P0001
Returns a licence profile record from the licence profile number Includes unique 36 character licence profile ID that can be used in other LEAP APIs.
Licence profile record by licence number
https://data.epa.ie/leap/api/v1/LicenceProfile/byregno?licence_reg_no=P0001-01
Returns a licence profile record from the licence version number Includes unique 36 character licence profile ID that can be used in other LEAP APIs.
Licence profile list
https://data.epa.ie/leap/api/v1/LicenceProfile/list
Returns a list of all licence profiles in LEAP Includes unique 36 character licence profile ID that can be used in other LEAP APIs.
Licence profile search
https://data.epa.ie/leap/api/v1/LicenceProfile/byregno?licence_reg_no=P0001-01
Returns a list of licence profiles based on a search term which matches across licence profile name, licence number, and organisation name. Includes unique 36 character licence profile ID that can be used in other LEAP APIs.
Licence
List of licence records by licence profile ID
Returns a list of licences linked to a licence profile using the unique 36 character licence profile ID that can be accessed in the licence profile APIs Includes unique 36 character licence ID that can be used in other LEAP APIs.
Licence record by ID
https://data.epa.ie/leap/api/v1/Licence/byid?licence_id=2076221c-4bd8-e811-a2db-0050568a66b2
Returns a licence record from the licence using the unique 36 character licence ID that can be accessed in the licence list.
List of licences by meeting ID
Returns a list of licences from the unique 36 character original meeting ID that can be accessed in the meetings APIs. This is because a meeting with a licensee can cover more than one licence.
Site
Site record by licence profile ID
Returns a site record for a specific licence profile using the unique 36 character licence profile ID that can be accessed in the licence profile APIs.
Compliance List
Compliance list by licence profile ID
Returns list of compliance records for a specific licence profile using the unique 36 character licence profile ID. Also has a number of optional filter options including status, dates and licence. A search parameter is also provided along with pagination and items per page. See Swagger for full details.
Compliance list record types
https://data.epa.ie/leap/api/v1/ComplianceList/compliancerecordtypes
Returns list of all compliance record types in LEAP.
Compliance record types by licence profile ID
Returns list of all compliance records types available for a specific licence profile.
Compliance records statuses
https://data.epa.ie/leap/api/v1/ComplianceList/compliancerecordstatus
Returns a list of all compliance record statuses in LEAP.
Compliance Investigation
Compliance investigation by compliance investigation ID
https://data.epa.ie/leap/api/v1/Ci/byid?ci_id=b1f727d4-f561-ea11-a325-0050568a2d1a
Returns a compliance investigation record using the compliance investigation’s unique 36 character compliance record ID that can be accessed via the compliance list APIs.
Returns a list of compliance investigations associated with a site visit using the site visit record’s unique 36 character compliance record ID. This is because one site visit can cover a number of compliance investigations.
Compliance investigation outcomes by compliance investigation
https://data.epa.ie/leap/api/v1/Ci/listcioutcomes?ci_id=b1f727d4-f561-ea11-a325-0050568a2d1a
Returns a list of outcomes associated with a compliance investigation using the compliance investigation’s unique 36 character compliance record ID that can be accessed via the compliance list APIs.
Compliance investigation effects by compliance investigation
https://data.epa.ie/leap/api/v1/Ci/listcieffects?ci_id=b1f727d4-f561-ea11-a325-0050568a2d1a
Returns a list of effects associated with a compliance investigation using the compliance investigation’s unique 36 character compliance record ID that can be accessed via the compliance list APIs.
Compliance investigation likely causes by compliance investigation
https://data.epa.ie/leap/api/v1/Ci/listcilikelycauses?ci_id=b1f727d4-f561-ea11-a325-0050568a2d1a
Returns a list of likely causes associated with a compliance investigation using the compliance investigation’s unique 36 character compliance record ID that can be accessed via the compliance list APIs.
Non Compliance
Non compliance by non compliance ID
https://data.epa.ie/leap/api/v1/NonCompliance/byid?nc_id=3cad4f9b-5712-e811-a2c1-b32bbbf6642f
Returns a non compliance record using the non compliance’s unique 36 character compliance record ID that can be accessed via the compliance list APIs.
Non compliances by incident ID
Returns a list of non compliances associated with an incident using the incident record’s unique 36 character compliance record ID.
Non compliances by compliance investigation ID
Returns a list of non compliances associated with a compliance investigation using the compliance investigation record’s unique 36 character compliance record ID.
Non compliances by complaint ID
Returns a list of non compliances associated with a complaint using the complaint record’s unique 36 character compliance record ID.
Non compliances by licensee return ID
Returns a list of non compliances associated with an licensee return using the licensee return record’s unique 36 character compliance record ID.
Non compliances by site visit ID
https://data.epa.ie/leap/api/v1/NonCompliance/listbysvid?sv_id=74e1ba35-fb61-ea11-a325-0050568a2d1a
Returns a list of non compliances associated with a site visit using the site visit record’s unique 36 character compliance record ID.
Incident
Incident by incident ID
https://data.epa.ie/leap/api/v1/Incident/byid?incident_id=33c39ad4-a615-ee11-a350-0050568a2d1a
Returns an incident record using the incident’s unique 36 character compliance record ID that can be accessed via the compliance list APIs.
Incidents by licence profile
Returns list of incident records for a specific licence profile using the unique 36 character licence profile ID.
Incidents by compliance investigation
Returns a list of incidents associated with a compliance investigation using the compliance investigation record’s unique 36 character compliance record ID.
Incident update requests by incident ID
Returns a list of incident update requests associated with a incident using the incident record’s unique 36 character compliance record ID.
Incident preventative and corrective measures by incident ID
Returns a list of preventative and corrective measures associated with a incident using the incident record’s unique 36 character compliance record ID.
Incident emission parameters by incident ID
Returns a list of incident emission parameters associated with a incident using the incident record’s unique 36 character compliance record ID.
Complaint
Complaint by complaint ID
https://data.epa.ie/leap/api/v1/Complaint/byid?complaint_id=240b051e-62a9-e911-a31a-0050568a2d1a
Returns a complaint record using the complaint’s unique 36 character compliance record ID that can be accessed via the compliance list APIs.
Complaint by compliance investigation ID
Returns a list of complaints associated with a compliance investigation using the compliance investigation record’s unique 36 character compliance record ID.
Site Visit
Site visit by site visit ID
https://data.epa.ie/leap/api/v1/SiteVisit/byid?sv_id=6ddcb180-e0ae-ee11-a318-0050568a66b2
Returns a site visit record using the site visit’s unique 36 character compliance record ID that can be accessed via the compliance list APIs.
Site visits by compliance investigation ID
Returns a list of site visits associated with a compliance investigation using the compliance investigation record’s unique 36 character compliance record ID.
Site visits by non compliance ID
Returns a list of site visits associated with a non compliance using the non compliance record’s unique 36 character compliance record ID.
Site visits by licensee return ID
Returns a list of site visits associated with a licensee return using the licensee return record’s unique 36 character compliance record ID.
Licensee Return
Licensee returns are a collective term for the following compliance record types; annual environmental report, enforcement categorisation and charges monitoring returns, request for approval and site reports, site closure and surrender, site updates/notifications.
Licensee return by licensee return ID
https://data.epa.ie/leap/api/v1/LicenseeReturns/byid?lr_id=a16736d6-ed11-ef11-a365-0050568a2d1a
Returns a licensee return record using the licensee return’s unique 36 character compliance record ID that can be accessed via the compliance list APIs.
Licensee returns by compliance investigation ID
Returns a list of licensee returns associated with a compliance investigation using the compliance investigation record’s unique 36 character compliance record ID.
Licensee returns by site visit ID
Returns a list of licensee returns associated with a site visit using the site visit record’s unique 36 character compliance record ID.
Licensee return requests for information by licensee return ID
Returns a list of licensee return requests for information records associated with a licensee return using the licensee return record’s unique 36 character compliance record ID.
Licensee return requests for information by Licensee return requests for information ID
https://data.epa.ie/leap/api/v1/LicenseeReturns/rfibyid?rfi_id=58d43aa5-b62f-e911-a312-0050568a2d1a
Returns a licensee return request for information record using the licensee return request for information record’s unique 36 character compliance record ID.
Licensee return instructions by licensee return ID
Returns a list of licensee return instructions associated with a licensee return using the licensee return record’s unique 36 character compliance record ID.
Licensee return instructions by Licensee return requests for instruction ID
Returns a licensee return instruction record using the licensee return instruction record’s unique 36 character compliance record ID.
EDEN Message
An EDEN (Environmental Data Exchange Network) message is a message sent by a licensee in response to request for information or action raised by the EPA.
EDEN message by EDEN message ID
Returns an EDEN message record using the EDEN message record’s unique 36 character compliance record ID.
EDEN messages by regarding object ID
Returns a list of EDEN message records associated with a related compliance record using the related compliance record’s unique 36 character ID.
Returns a list of EDEN message records associated with an action using the action record’s unique 36 character ID.
Task (Action)
A task is an action or instruction raised by the EPA for the licensee.
Task by task ID
https://data.epa.ie/leap/api/v1/Task/byid?task_id=90355d1b-9edf-ee11-a363-e787de592e87
Returns a task (action) record using the task record’s unique 36 character compliance record ID.
Task by regarding object ID
Returns a list of task (action) records associated with a related compliance record using the related compliance record’s unique 36 character ID.
Meetings
Meeting by meeting ID
Returns a meeting record using the meeting record’s unique 36 character compliance record ID.
Meetings by licence ID
Returns a list of meeting records associated with a licence record using the licence record’s unique 36 character ID.
EPA Initiated Correspondence
EPA initiated correspondence by EPA initiated correspondence ID
Returns an EPA initiated correspondence record using an EPA initiated correspondence’s unique 36 character compliance record ID that can be accessed via the compliance list APIs.
Third Party Correspondence
Third party correspondence by third party correspondence ID
Returns a third party correspondence record using the third party correspondence’s unique 36 character compliance record ID that can be accessed via the compliance list APIs.
Document
Documents by regarding object ID
Returns a list documents (including URL to access the document) associated with a related compliance record (a licensee return for example) using the related compliance record’s unique 36 character ID.
License
The data provided in the API is licensed under a Creative Commons Attribution 4.0 International License.