EmiMineThe carbon ledger for mining home page
Developers

EmiMine API

JSON over HTTPS. National data endpoints are open (CC BY 4.0); organisation endpoints need an API key created by an administrator.

Authentication

Send your key as a bearer token. Keys are shown once when created and stored only as a hash. Version 3.1.0-dev.

curl -H "Authorization: Bearer emk_live_xxxxxxxx_..." https://emimine.ncelknust.org/api/v1/sites
curl https://emimine.ncelknust.org/api/v1/national/summary

National data

MethodPathWhat it doesAccess
GET/api/v1/national/summaryHeadline figures for Ghana
Footprint, label shares, NID1 comparison and levers (profile ghamem-1.1), with bundle provenance.
None
GET/api/v1/national/seriesAnnual series by component
Median and 95% range per component and year. profile: ghamem-1.1 (footprint) or land-0.2 (inventory-pool land).
None
GET/api/v1/national/categoriesInventory categories and label statusNone
GET/api/v1/national/landMining land clearance 2001-2024 (land-0.2)None
GET/api/v1/factorsCalculator factor libraryNone

Open

MethodPathWhat it doesAccess
GET/api/v1/schema/disclosureTen-field disclosure JSON SchemaNone
GET/api/v1/disclosures/publishedPublished mine disclosuresNone

Organisation data

MethodPathWhat it doesAccess
GET/api/v1/orgThe organisation this key belongs toKey
GET/api/v1/sitesSitesKey
GET/api/v1/sites/{site_id}/inventoriesInventories of a siteKey
POST/api/v1/sites/{site_id}/inventoriesCreate or update a draft inventory
Creates the year's inventory, or replaces the activity data of a draft one, and returns the calculated results.
Key
GET/api/v1/inventories/{inventory_id}One inventory with every lineKey
GET/api/v1/scenariosDecarbonisation scenariosKey
GET/api/v1/disclosures/ownThe organisation's disclosuresKey