all-about-apikey/climatiq
Muhammad Daffa 9ee885c92a Add 10 informations 2022-08-17 23:10:40 +07:00
..
README.md Add 10 informations 2022-08-17 23:10:40 +07:00

README.md

Climatiq

Description

Calculate the environmental footprint created by a broad range of emission-generating activities

Example Request

  • Curl
curl "https://beta3.api.climatiq.io/search?query=light+duty+trucks&year=2021" -H "Authorization: Bearer {{token}}"
  • Raw
GET /search?query=light+duty+trucks&year=2021 HTTP/1.1
Host: beta3.api.climatiq.io
Authorization: Bearer {{token}}

Response

  • Success
{
    "current_page": 1,
    "last_page": 11,
    "total_results": 218,
    "results": [
        {
        "activity_id": "commercial_vehicle-vehicle_type_truck_light-fuel_source_na-engine_size_na-vehicle_age_na-vehicle_weight_na",
        "uuid": "05d034db-dfe7-462e-9a19-a69ecd65a114",
        "id": "commercial_vehicle-vehicle_type_truck_light-fuel_source_na-engine_size_na-vehicle_age_na-vehicle_weight_na",
        "name": "Light-Duty Truck",
        "category": "Vehicles",
        ...
  • Error
{
    "error": "unauthorized",
    "message": "Your authentication token was not valid"
}

Regex

[A-Z0-9]{28}

Example API key

V9NPRSZ3KF4XN4Q8G50J3Y1DXRVQ