Air background concentration certificates are available under certificates/air, with certificate_type_id=15 and certificate_group_id=5.
Their validity is unknown (is_active, valid_from and valid_to are null). These values describe calculated background concentrations for an address.
parameters_count and links.parameters expose the reusable numeric-parameter collection. GET /api/v1/enterprises/{registry_id}/certificate-parameters/{certificate_id} uses the same owner access and metering section as the certificate and returns paginated items with id, parameter_type_id, name, code, unit, value, notes. Numeric value is a decimal string; missing values are null with a source note, while zero remains numeric zero.
For air certificates, code preserves the original CAS field, including missing, conflicting, nonstandard or multiple identifiers. It is not a verified chemical identity.
Files use the standard internal download and receipt endpoints. Failed upstream downloads retain imported data and use bounded retries.
Unless stated otherwise, this page refers to Ukrainian companies and individual entrepreneurs and uses identifiers from Ukrainian public registries.
This section describes requests used to work with enterprise certificates, attestations, and statements, their validity periods, statuses, and related files. For brevity, the term certificates is used throughout this page.
Certificate list
GET /api/v1/enterprises/{registry_id}/certificates/{domain}
This request returns enterprise certificates within a single domain, including attestations, statements, and similar records. The response includes the main certificate attributes, validity periods, status, and links to related files, if any.
The registry_id and domain parameters in the request path are required. registry_id is the enterprise identifier.
Available domain values can be retrieved from the Data domains request.
Example request
$ ESG_API_TOKEN="your_api_token"
$ curl "https://esg.saveecobot.com/api/v1/enterprises/00178353/certificates/forest?certificate_type_id=1&certificate_group_id=1" \
-H "Authorization: Bearer $ESG_API_TOKEN" \
-H 'Accept: application/json'
Example response
{
"results": {
"enterprise": {
"type": "company",
"registry_id": "00178353"
},
"domain": {
"slug": "forest",
"label": "Ліси"
},
"items": [
{
"id": 1,
"type_id": 1,
"type_name": "Сертифікат про походження лісоматеріалів",
"group_id": 1,
"group_name": "Сертифікати походження лісоматеріалів",
"registry_id": "CERT-001",
"authority_name": "Держлісагентство",
"name": "Сертифікат про походження лісоматеріалів",
"description_lines": [
"Виданий для партії лісоматеріалів"
],
"status": "Видано",
"issued_at": "2025-01-10",
"valid_from": "2025-01-10",
"valid_to": "2025-12-31",
"is_active": true,
"files_count": 2,
"links": {
"details": "https://esg.saveecobot.com/api/v1/enterprises/00178353/certificate-details/1",
"files": "https://esg.saveecobot.com/api/v1/enterprises/00178353/certificate-files/1"
}
}
]
},
"stats": { "..." }
}
Pagination parameters
page: page number.
Filters
year: certificate year.certificate_type_id: certificate type identifier. Available values can be retrieved from the Certificate types request.certificate_group_id: certificate group identifier. Thegroup_idvalues are returned by the Certificate types request.
Response fields
results.items[]
id: certificate identifier.type_id: certificate type identifier.type_name: certificate type name.group_id: certificate type group identifier, when defined.group_name: certificate type group name, when defined.registry_id: certificate number or registration number.authority_name: certificate authority or source.name: certificate name.description_lines[]: short certificate description split into lines.status: certificate status.issued_at: issue date.valid_from: validity start date.valid_to: validity end date.is_active: indicates whether the certificate is active, ornullwhen validity is unknown.parameters_count: number of numeric parameters.files_count: number of related files.links.details: link to certificate details.links.files: link to the separate file list.links.parameters: link to numeric parameters, when present.
Certificate details
GET /api/v1/enterprises/{registry_id}/certificate-details/{certificate_id}
This request returns full data for a specific certificate. The response contains the same fields as the certificate list, plus a links block for navigating to related files.
The registry_id and certificate_id parameters in the request path are required. registry_id is the enterprise identifier. certificate_id is the certificate identifier.
Example request
$ ESG_API_TOKEN="your_api_token"
$ curl "https://esg.saveecobot.com/api/v1/enterprises/00178353/certificate-details/1" \
-H "Authorization: Bearer $ESG_API_TOKEN" \
-H 'Accept: application/json'
Example response
{
"results": {
"enterprise": { "type": "company", "registry_id": "00178353" },
"object": {
"id": 1,
"type_id": 1,
"type_name": "Сертифікат про походження лісоматеріалів",
"group_id": 1,
"group_name": "Сертифікати походження лісоматеріалів",
"registry_id": "CERT-001",
"authority_name": "Держлісагентство",
"name": "Сертифікат про походження лісоматеріалів",
"description_lines": ["Виданий для партії лісоматеріалів"],
"status": "Видано",
"issued_at": "2025-01-10",
"valid_from": "2025-01-10",
"valid_to": "2025-12-31",
"is_active": true,
"files_count": 2,
"links": {
"files": "https://esg.saveecobot.com/api/v1/enterprises/00178353/certificate-files/1"
}
}
},
"stats": { "..." }
}
Response fields
results.object
The object fields are the same as in results.items[] in the certificate list.
results.object.links
files: link to the separate certificate files list, if files exist.
Certificate files
GET /api/v1/enterprises/{registry_id}/certificate-files/{certificate_id}
This request returns files for a specific certificate. Along with the file list, the response also returns an object block with short information about the certificate itself.
The registry_id and certificate_id parameters in the request path are required. registry_id is the enterprise identifier. certificate_id is the certificate identifier.
Example request
$ ESG_API_TOKEN="your_api_token"
$ curl "https://esg.saveecobot.com/api/v1/enterprises/00178353/certificate-files/1" \
-H "Authorization: Bearer $ESG_API_TOKEN" \
-H 'Accept: application/json'
Example response
{
"results": {
"enterprise": { "type": "company", "registry_id": "00178353" },
"object": {
"type": "certificate",
"id": 1,
"registry_id": "CERT-001",
"type_id": 1,
"type_name": "Сертифікат про походження лісоматеріалів",
"name": "Сертифікат про походження лісоматеріалів"
},
"items": [
{
"id": 1,
"type_id": 1,
"type_name": "Скан-копія сертифіката",
"name": "certificate.pdf",
"description": "Сертифікат про походження лісоматеріалів",
"format": "application/pdf",
"size": 65021,
"uploaded_at": "2025-01-10T12:00:00+02:00",
"downloaded_at": "2025-01-11T09:00:00+02:00",
"links": {
"download": "https://esg.saveecobot.com/api/v1/enterprises/00178353/certificate-files/1/download/1",
"receipt": "https://esg.saveecobot.com/api/v1/enterprises/00178353/certificate-files/1/receipt/1"
}
}
]
},
"stats": { "..." }
}
Response fields
results.object
type: object type. For this request, the value iscertificate.id: certificate identifier.registry_id: certificate number or registration number.type_id: certificate type identifier.type_name: certificate type name.name: certificate name.
results.items[]
id: certificate file identifier.type_id: file type identifier.type_name: file type name.name: file name.description: short file description.format: file format.size: file size in bytes.uploaded_at: date when the file was uploaded or published in the source.downloaded_at: date when the file was downloaded into ESG SaveEcoBot.links.download: file download link.links.receipt: PDF receipt link for this file.
Certificate file download
GET /api/v1/enterprises/{registry_id}/certificate-files/{certificate_id}/download/{file_id}
This request returns the binary certificate file for download.
The registry_id, certificate_id, and file_id parameters in the request path are required. registry_id is the enterprise identifier. certificate_id is the certificate identifier. file_id is the certificate file identifier.
Example request
$ ESG_API_TOKEN="your_api_token"
$ curl -L "https://esg.saveecobot.com/api/v1/enterprises/00178353/certificate-files/1/download/1" \
-H "Authorization: Bearer $ESG_API_TOKEN"
Certificate file receipt
GET /api/v1/enterprises/{registry_id}/certificate-files/{certificate_id}/receipt/{file_id}
This request returns a PDF receipt for a certificate file. The original file and its receipt share one billable document identity.
Example request
$ ESG_API_TOKEN="your_api_token"
$ curl -L "https://esg.saveecobot.com/api/v1/enterprises/00178353/certificate-files/1/receipt/1" \
-H "Authorization: Bearer $ESG_API_TOKEN"
Certificate parameters
GET /api/v1/enterprises/{registry_id}/certificate-parameters/{certificate_id}
Returns numeric parameters with page pagination. Air background concentration certificates expose substances and concentrations in mg/m³. Owner access and metering use the certificate’s domain. A certificate belonging to another enterprise, or without a resolved owner, returns 404.
results.object contains the certificate’s type, id, and registry_id. Each results.items[] entry contains:
id: parameter value identifier.parameter_type_id: reusable dictionary definition identifier.name,code,unit: dictionary name, source code, and measurement unit.value: decimal string, ornullfor a missing source value. Zero remains a decimal string.notes: source note, includingне зазначеноwhen no value was supplied.
results.pagination contains current_page, per_page, total, and last_page. Certificate lists and details include parameters_count and, when present, links.parameters.