Public

Gets a summary of a myCC account's stats for a given timerange

Used for tickers on customer websites. Ideally, we should restrict this endpoint to customers who have opted to use such a ticker, so that the info isn't publicly accessible if they don't want it to be.

get/Public/Counter/Account/{accountId}

Request

  • Base URL: https://api.carboncure.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.carboncure.com/Public/Counter/Account/{accountId}
  • Auth: one of:
    • none
    • none
    • none

Path parameters

accountIdinteger required

The ID of the myCC account to get data for

Query parameters

range'AllTime' | 'LastYear'

The range of data to include

Response

OK

totalConcreteM3number double nullable
cO2AvoidedTonnesnumber double nullable
ticketCountinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.