1{
2 "expand": [
3 "items"
4 ],
5 "carbon_unit": "tonne",
6 "distance_unit": "kilometer",
7 "items": [
8 {
9 "type": "accommodation",
10 "methodology": "SQUAKE",
11 "external_reference": "string",
12 "number_of_nights": 2,
13 "starts_on": "2020-01-01",
14 "ends_on": "2020-01-01",
15 "country": "DE",
16 "number_of_travelers": 1
17 }
18 ]
19}
Made so you can scale and perform. Trusted by leading tech companies, the RESTful API ensures easy integrations.
API Documentation{
"carbon_unit": "kilogram",
"items": [
{
"type": "flight",
"methodology": "TIM",
"origin": "BER",
"destination": "MAD",
"booking_class": "business",
"aircraft_type": "320"
}
]
}
{
"carbon_quantity": 149.403,
"carbon_unit": "kilogram"
}
curl -X GET "https://api.squake.earth/v2/pricing" \
-G \
--data-urlencode "carbon_quantity=149.403" \
--data-urlencode "carbon_unit=kilogram" \
--data-urlencode "product=product_026c41"
{
"id": "eyJhbGciOiJIUzI1.eyJwI...",
"valid_until": "2024-03-06",
"carbon_quantity": 149.403,
"carbon_unit": "kilogram",
"currency": "EUR",
"total": 521,
"price": "price_vDCDxn",
"product": "product_026c41"
}
{
"carbon_unit": "kilogram",
"product": "product_026c41",
"items": [
{
"type": "flight",
"methodology": "TIM",
"origin": "BER",
"destination": "MAD",
"booking_class": "business",
"aircraft_type": "320"
}
]
}
{
"id": "eyJhbGciOiJIUzI1.eyJwI...",
"valid_until": "2024-03-06",
"carbon_quantity": 149.403,
"carbon_unit": "kilogram",
"currency": "EUR",
"total": 521,
"price": "price_vDCDxn",
"product": "product_026c41"
}
{
"pricing": "eyJhbGciOiJIUzI1.eyJwI..."
}
{
"id": "purchase_euc1tLAHy2CVu",
"carbon_quantity": 149403,
"carbon_unit": "gram",
"total": 521,
"currency": "EUR",
"files": [
"file_2658d57c-11cc-4e6-886-23379633",
"file_9bbda4a2-33fd-460-a3f-2311ffb8"
],
"payment_method": "batch_settlement",
"state": "reserved"
}
curl \
-X GET https://api.squake.earth/v2/products
{
"id": "product_05f188",
"title": "Neste Sustainable Aviation Fuel™",
"prices": {
"id": "price_GgJcNx"
}
}
curl -X GET "https://api.squake.earth/v2/files/file_2658d57c-11cc-4e6e-8861-23379633bed6"
{
"id": "file_2658d57c-11cc-4e6-886-23379633",
"filename": "Confirmation-euc1tLAHy2CVu.pdf",
"purpose": "confirmation_document",
"size": 123463,
"type": "pdf",
"download_url": "https://api.squake.earth/downloads?token=eyJhbG..."
}
From transparency over CO₂ emissions to embedding compensation offers the way you want - the SQUAKE API is your wingman.
Embed CO2 compensations as an ancillary for your customers
Track, visualise, and analyse your carbon emissions in self-built dashboards.
Integrate carbon values for client education and easy comparison in your interfaces.
Embed the price for climate projects into your products, so customers can opt-in for them.