Licence and Enforcement Access Portal (LEAP) Open Data

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

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

https://data.epa.ie/leap/api/v1/Licence/listbyprofileid?licence_profile_id=977ef377-1a33-4a13-8c64-0bc46f9944c8

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

https://data.epa.ie/leap/api/v1/Licence/listbymeetingid?meeting_id=94bc860f-ad72-eb11-a332-0050568a2d1a

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

https://data.epa.ie/leap/api/v1/Site/byprofileid?licence_profile_id=977ef377-1a33-4a13-8c64-0bc46f9944c8

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

https://data.epa.ie/leap/api/v1/ComplianceList/compliancelist?licence_profile_id=977ef377-1a33-4a13-8c64-0bc46f9944c8&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/ComplianceList/compliancerecordtypesbyprofile?licence_profile_id=977ef377-1a33-4a13-8c64-0bc46f9944c8

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.

Compliance investigation by related site visit ID

https://data.epa.ie/leap/api/v1/Ci/listbysvid?sv_id=74e1ba35-fb61-ea11-a325-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/NonCompliance/listbyincidentid?incident_id=33c39ad4-a615-ee11-a350-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/NonCompliance/listbyciid?ci_id=a3c3df93-adfa-e711-a2c0-b32bbbf6642f&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/NonCompliance/listbycomplaintid?complaint_id=9f9162b1-8e44-e711-91cb-0050568a69e2&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/NonCompliance/listbylrid?lr_id=96425358-2415-ee11-a350-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/Incident/incidentlistbyprofile?licence_profile_id=977ef377-1a33-4a13-8c64-0bc46f9944c8&page=1&per_page=50

Returns list of incident records for a specific licence profile using the unique 36 character licence profile ID.

Incidents by compliance investigation

https://data.epa.ie/leap/api/v1/Incident/incidentlistbyci?ci_id=8f4d007a-9b78-e911-a317-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/Incident/incidentupdaterequestlist?incident_id=7910a06e-4e37-e811-a2cd-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/Incident/incidentcorrectivemeasureslist?incident_id=7910a06e-4e37-e811-a2cd-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/Incident/incidentemissionparameterslist?incident_id=7910a06e-4e37-e811-a2cd-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/Complaint/listbyciid?ci_id=b1f727d4-f561-ea11-a325-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/SiteVisit/listbyciid?ci_id=b1f727d4-f561-ea11-a325-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/SiteVisit/listbyncid?nc_id=8f0eeb6b-7180-e911-a317-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/SiteVisit/listbylrid?lr_id=73bca7f2-2702-ef11-a364-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/LicenseeReturns/listbyciid?ci_id=b1f727d4-f561-ea11-a325-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/LicenseeReturns/listbysvid?sv_id=74e1ba35-fb61-ea11-a325-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/LicenseeReturns/rfilistbylrid?lr_id=fb28c063-0b02-e911-a310-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/LicenseeReturns/lrintructionlistbylrid?lr_id=1e638675-3091-ea11-a325-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/LicenseeReturns/lrintructionbyid?lrintruction_id=9541fc15-7393-ea11-a326-0050568a2d1a

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

https://data.epa.ie/leap/api/v1/EdenMessage/byid?eden_message_id=BA9C69E5-4B96-ED11-A34D-0050568A2D1A

Returns an EDEN message record using the EDEN message record’s unique 36 character compliance record ID.

EDEN messages by regarding object ID

https://data.epa.ie/leap/api/v1/EdenMessage/listbyregardingid?regarding_id=CB145101-CE65-ED11-A34C-0050568A2D1A&page=1&per_page=50

Returns a list of EDEN message records associated with a related compliance record using the related compliance record’s unique 36 character ID.

EDEN messages by related task (action) ID

https://data.epa.ie/leap/api/v1/EdenMessage/listbytaskid?task_id=%7BA489DC10-D465-ED11-A34C-0050568A2D1A%7D&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/Task/listbyregardingobjectid?regardingobject_id=1bd5b20b-65ca-ed11-a34e-0050568a2d1a&page=1&per_page=50

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

https://data.epa.ie/leap/api/v1/MeetingCorrespondence/meetingbyid?meeting_id=ed3d1aba-1b8f-4ff3-bd87-640e89594722

Returns a meeting record using the meeting record’s unique 36 character compliance record ID.

Meetings by licence ID

https://data.epa.ie/leap/api/v1/MeetingCorrespondence/meetinglistbylicenceid?licence_id=bf626626-d3ae-4b7f-a954-bd84116d536d

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

https://data.epa.ie/leap/api/v1/MeetingCorrespondence/epainiciatedcorrespondencebyid?epainitiatedcorrespondence_id=e4dc9362-88b3-ee11-a355-0050568a2d1a

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

https://data.epa.ie/leap/api/v1/MeetingCorrespondence/thirdpartycorrespondencebyid?thirdpartycorrespondence_id=6bf73cd2-1285-ec11-a33f-0050568a2d1a

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

https://data.epa.ie/leap/api/v1/Document/listbyregardingobjectid?regardingobject_id=a16736d6-ed11-ef11-a365-0050568a2d1a&page=1&per_page=50

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.

Creative Commons License

 

data.epa.ie