Get your API impact
kg of CO₂ offset through the API, for this key’s mode.
/impactAuthorizationBearer token · headerrequiredAn API key from the developer page: tc_live_… for real purchases, tc_test_… for tests. Keep it on your server.
The totals.
objectstringrequiredlivemodebooleanrequiredFalse for test keys: nothing was charged or retired.
placed_kgintegerrequiredkg of CO₂ offset through the API, retired.
processing_kgintegerrequiredkg paid for and not yet placed.
offsetsintegerrequiredPurchases, not refunded.
Missing, unknown or revoked API key.
errorobjectrequiredShow propertiesHide properties
typestringrequiredauthentication_errorpermission_errorinvalid_request_errorrate_limit_errorapi_errorcodestringrequiredmessagestringrequiredparamstringThe request field that is wrong.
balance_centsintegerWith insufficient_balance: your balance now.
required_centsintegerWith insufficient_balance: what the purchase costs.
api_access_inactive (the account is suspended or not approved) or insufficient_permissions (a read-only key).
errorobjectrequiredShow propertiesHide properties
typestringrequiredauthentication_errorpermission_errorinvalid_request_errorrate_limit_errorapi_errorcodestringrequiredmessagestringrequiredparamstringThe request field that is wrong.
balance_centsintegerWith insufficient_balance: your balance now.
required_centsintegerWith insufficient_balance: what the purchase costs.
rate_limited: wait for the Retry-After seconds.
errorobjectrequiredShow propertiesHide properties
typestringrequiredauthentication_errorpermission_errorinvalid_request_errorrate_limit_errorapi_errorcodestringrequiredmessagestringrequiredparamstringThe request field that is wrong.
balance_centsintegerWith insufficient_balance: your balance now.
required_centsintegerWith insufficient_balance: what the purchase costs.