# Display Carbon Footprint
source: https://developer.mastercard.com/consumer-clarity/documentation/tutorials-and-guides/how-to-use-response-data/displaying-carbon-footprint/index.md

## Overview {#overview}

Similar to other [Merchant Details](https://developer.mastercard.com/consumer-clarity/documentation/tutorials-and-guides/how-to-use-response-data/displaying-merchant-details/index.md), you can present the Carbon Footprint response data so that it's more useful for your cardholders. This article shows recommendations for how to implement those customizations.

## Display a Carbon Footprint Score {#display-a-carbon-footprint-score}

If you've signed up for the carbon footprint service, the Consumer Clarity API returns the `carbonEmissionInGrams` and `carbonEmissionInOunces` fields as part of the `carbonFootprint` object. These fields let you share with your cardholders the environmental impact of their purchases.

Here's an example of a response that includes `carbonFootprint` data:

```JSON
{
  "searchResults": [
    {
      "recordId": "0.cef8da17.1669322998.3c08dbe8-01",
      "resultStatus": {
        "code": "OK",
        "message": "OK."
      },
      "merchantResult": {
        "merchantName": "The Shoe Store",
        "address": {
          "line1": "100 Main St",
          "city": "Austin",
          "postalCode": "78701",
          "countryCode": "USA",
          "countryName": "United States",
          "countrySubdivisionCode": "TX"
        },
        "merchantCategory": {
          "code": "5661",
          "description": "SHOE STORES"
        },
        "merchantLocation": {
          "latitude": "30.309558",
          "longitude": "-97.759881"
        },
        "resultStatus": {
          "code": "MERCHANT_FOUND",
          "message": "Merchant results provided."
        }
      },
      "purchaseReceipt": {
        "resultStatus": {
          "code": "RECEIPT_NOT_AVAILABLE",
          "message": "Purchase Receipt not available for this merchant."
        }
      },
      "carbonFootprint": {
        "carbonEmissionInGrams": 77886.54,
        "carbonEmissionInOunces": 2747.37,
        "category": {
          "mainCategory": "Shopping",
          "subCategory": "Department Store",
          "sector": "Specialty Retail & Services",
          "sectorCode": "302"
        }
      }
    }
  ]
}
```

Typically, you'll select either the `carbonEmissionInGrams` or `carbonEmissionInOunces` data and provide it in your banking app, either in **list view** or **detail view** , or both. This image shows one example of how you can display the results in **list view**:

![Display Carbon Calculator results on your banking app.](https://static.developer.mastercard.com/content/consumer-clarity/documentation/img/list-view-with-carbon-calculator.png)
Note: Depending on the transaction amount of a purchase, the `carbonEmissionInGrams` and `carbonEmissionInOunces` response data might return a larger number. In those instances, you might want to convert the value for a better user experience, such as from grams to kilograms."

## Next Steps {#next-steps}

* Understand the policies for [Caching the Response Data](https://developer.mastercard.com/consumer-clarity/documentation/tutorials-and-guides/how-to-use-response-data/caching-response-data/index.md) you receive from the Consumer Clarity API.
* Check out [Display Transaction Details](https://developer.mastercard.com/consumer-clarity/documentation/tutorials-and-guides/how-to-use-response-data/displaying-transaction-details/index.md) for tips on how to display transaction detail response data in your banking app.
* [Display Smart Subscriptions](https://developer.mastercard.com/consumer-clarity/documentation/tutorials-and-guides/how-to-use-response-data/displaying-subscription-controls/index.md) offers tips for how to display Smart Subscriptions response data in your banking app.
* If you haven't read it yet, review the differences between [List View vs. Detail View](https://developer.mastercard.com/consumer-clarity/documentation/tutorials-and-guides/how-to-use-response-data/list-view-detail-view/index.md).
* Review [Tips for Sending Requests](https://developer.mastercard.com/consumer-clarity/documentation/tutorials-and-guides/tips-for-sending-requests/index.md) for suggestions to consider when sending your requests.
