Skip to main content

Get a sustainability page

Get the current account's public sustainability summary info.

Path Parameters
typestringrequired

The type of the sustainability page.


slugstringrequired

The slug of the sustainability page.

Returns

The sustainability page title format and info.



logostringrequired

The sustainability page logo URL.


account_namestringrequired

The name of the account for which the sustainability page is generated.


include_certificatesbooleanrequired

Whether to include the certificates section in the sustainability page.


bundlesarray of objectrequired

The sustainability page bundle percentages and details.


un_sdgarray of objectrequired

The list of supported UN Sustainable Development Goals (SDGs).

The array is sorted by the goal number (the un_sdg_number field), ascending.

  • GET /sustainability-pages/public/{type}/{slug}
  • curl 'https://api.lune.co/v1/sustainability-pages/public/live/acme' \
      -H 'Authorization: Bearer <API_KEY>'
  • Response
  • {
      "title": {
        "By value": {
          "format": "by_price",
          "currency": "GBP",
          "value": "3.14"
        }
      },
      "description": {
        "New York to London flights": {
          "format": "by_equivalent",
          "flights_nyc_to_london": 10
        }
      },
      "logo": "https://client-assets.lune.co/XheugMiTUHynItnaYSvCF.png",
      "account_name": "Acme",
      "include_certificates": true,
      "bundles": [
        {
          "percent_of_total": 25,
          "quantity": "667.667",
          "bundle": {
            "name": "Latin America Forestry",
            "background_colour": "#AABBCC",
            "primary_image": "https://assets.lune.co/bundles/latin-america-forestry.png",
            "primary_image_hires": "https://assets.lune.co/bundles/latin-america-hires.jpg",
            "small_thumbnail": "https://assets.lune.co/bundles/latin-america-thumbnail.jpg",
            "description": "A conglomeration of renewable energy projects around the world",
            "offset_type": "emissions_reduction",
            "carbon_permanence": "long_term"
          }
        }
      ],
      "un_sdg": [
        {
          "un_sdg_number": 1,
          "occurrences": 5
        }
      ]
    }