Impact
As the name suggests, this endpoint allows you to retrieve your total impact. On this page, we'll dive into how you can retrieve your total impact programmatically. Total impact is the sum of all the impact you have made on behalf of yourself and your customers in terms of trees planted, ocean waste removed, carbon captured and money donated.
GET/v1/impact
Retrieve your impact
This endpoint allows you to query your total impact.
Request
GET
/v1/impactcurl --location 'https://api.1clickimpact.com/v1/impact' \
--header 'x-api-key: {PRODUCTION API KEY}'
Response
{
"user_id": "U123",
"tree_planted": 500,
"waste_removed": 100,
"carbon_captured": 300,
"money_donated": 100000
}