POST https://test.karbontrail.fr/_components/TrailBilanCarboneEditionChapitreDisplay

HTTP Client

3 Total requests
0 HTTP errors

Clients

http_client 3

Requests

POST https://api-fe.karbontrail.fr/api/factors/by-ids
Request options
[
  "json" => [
    "ids" => [
      12643
      12122
      12123
      5190
      5188
      12594
      4874
      12658
      12634
      12557
      12502
      12559
    ]
  ]
  "headers" => [
    "X-API-KEY" => "fe_8b4cefece25de22a192e60f99f578acc4a9a6d43b8d1890b"
    "Accept" => "application/json"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 184
    "request_size" => 258
    "total_time" => 0.051382
    "namelookup_time" => 0.000236
    "connect_time" => 0.003728
    "pretransfer_time" => 0.013824
    "size_upload" => 78.0
    "size_download" => 6467.0
    "speed_download" => 126803.0
    "speed_upload" => 1529.0
    "upload_content_length" => 78.0
    "starttransfer_time" => 0.013838
    "primary_ip" => "213.186.33.3"
    "primary_port" => 443
    "local_ip" => "10.115.20.5"
    "local_port" => 42550
    "http_version" => 3
    "protocol" => 2
    "scheme" => "HTTPS"
    "appconnect_time_us" => 13708
    "connect_time_us" => 3728
    "namelookup_time_us" => 236
    "pretransfer_time_us" => 13824
    "starttransfer_time_us" => 13838
    "total_time_us" => 51382
    "start_time" => 1795773592.4804
    "original_url" => "https://api-fe.karbontrail.fr/api/factors/by-ids"
    "pause_handler" => Closure(float $duration) {#1670
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#1497 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#1655 …}
        $execCounter: -9223372036854775808
      }
    }
    "debug" => "Due to a bug in curl 7.64.0, the debug log is disabled; use another version to work around the issue."
  ]
  "response_headers" => [
    "HTTP/2 200 "
    "date: Fri, 27 Nov 2026 09:59:52 GMT"
    "content-type: application/json; charset=UTF-8"
    "server: Apache"
    "x-powered-by: PHP/8.3"
    "cache-control: no-store, max-age=0, no-cache"
  ]
  "response_json" => [
    "data" => [
      [
        "id" => 12643
        "code" => "43788"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "Voiture, Motorisation gazole, 2023"
        "value" => 0.19
        "unit" => "kgCO2e/km"
        "unit_id" => 51
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:26:24"
        "current_id" => 12643
      ]
      [
        "id" => 12122
        "code" => "43253"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "Métro, 2022, Ile de France"
        "value" => 0.00444
        "unit" => "kgCO2e/passager.km"
        "unit_id" => 54
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:26:21"
        "current_id" => 12122
      ]
      [
        "id" => 12123
        "code" => "43254"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "RER et transilien, 2022, Ile de France"
        "value" => 0.00978
        "unit" => "kgCO2e/passager.km"
        "unit_id" => 54
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:26:21"
        "current_id" => 12123
      ]
      [
        "id" => 5190
        "code" => "28328"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "Vélo, À assistance électrique"
        "value" => 261
        "unit" => "kgCO2e/unité"
        "unit_id" => 38
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:25:41"
        "current_id" => 5190
      ]
      [
        "id" => 5188
        "code" => "28326"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "Trottinette, Électrique"
        "value" => 92
        "unit" => "kgCO2e/unité"
        "unit_id" => 38
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:25:41"
        "current_id" => 5188
      ]
      [
        "id" => 12594
        "code" => "43739"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "Autobus, Gazole"
        "value" => 0.122
        "unit" => "kgCO2e/passager.km"
        "unit_id" => 54
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:26:24"
        "current_id" => 12594
      ]
      [
        "id" => 4874
        "code" => "28003"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "Autobus, Electrique"
        "value" => 0.0217
        "unit" => "kgCO2e/passager.km"
        "unit_id" => 54
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:25:39"
        "current_id" => 4874
      ]
      [
        "id" => 12658
        "code" => "43803"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "Voiture GNV, Mixte, 2023"
        "value" => 0.155
        "unit" => "kgCO2e/passager.km"
        "unit_id" => 54
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:26:24"
        "current_id" => 12658
      ]
      [
        "id" => 12634
        "code" => "43779"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "Moto =< 250 cm3, Mixte, 2023"
        "value" => 0.087
        "unit" => "kgCO2e/km"
        "unit_id" => 51
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:26:24"
        "current_id" => 12634
      ]
      [
        "id" => 12557
        "code" => "43702"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "Avion passagers, >220 sièges, 2000-5000 kms, 2023, AVEC trainées"
        "value" => 1.69
        "unit" => "kgCO2e/t.km"
        "unit_id" => 84
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:26:24"
        "current_id" => 12557
      ]
      [
        "id" => 12502
        "code" => "43647"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "Articulé, 40 à 44 tonnes, Diesel routier, incorporation 7 % de biodiesel"
        "value" => 0.0755
        "unit" => "kgCO2e/t.km"
        "unit_id" => 84
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:26:23"
        "current_id" => 12502
      ]
      [
        "id" => 12559
        "code" => "43704"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "Avion passagers, >220 sièges, >5000 kms, 2023, AVEC trainées"
        "value" => 1.51
        "unit" => "kgCO2e/t.km"
        "unit_id" => 84
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:26:24"
        "current_id" => 12559
      ]
    ]
    "meta" => [
      "total" => 12
      "not_found" => []
    ]
  ]
]
POST https://api-fe.karbontrail.fr/api/factors/by-ids
Request options
[
  "json" => [
    "ids" => [
      4878
      12124
    ]
  ]
  "headers" => [
    "X-API-KEY" => "fe_8b4cefece25de22a192e60f99f578acc4a9a6d43b8d1890b"
    "Accept" => "application/json"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 184
    "request_size" => 258
    "total_time" => 0.037585
    "namelookup_time" => 2.4E-5
    "connect_time" => 2.4E-5
    "pretransfer_time" => 0.000103
    "size_upload" => 20.0
    "size_download" => 1136.0
    "speed_download" => 30702.0
    "speed_upload" => 540.0
    "upload_content_length" => 20.0
    "starttransfer_time" => 0.000116
    "primary_ip" => "213.186.33.3"
    "primary_port" => 443
    "local_ip" => "10.115.20.5"
    "local_port" => 42550
    "http_version" => 3
    "protocol" => 2
    "scheme" => "HTTPS"
    "appconnect_time_us" => 24
    "connect_time_us" => 24
    "namelookup_time_us" => 24
    "pretransfer_time_us" => 103
    "starttransfer_time_us" => 116
    "total_time_us" => 37585
    "start_time" => 1795773592.5607
    "original_url" => "https://api-fe.karbontrail.fr/api/factors/by-ids"
    "pause_handler" => Closure(float $duration) {#2190
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#2057 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#1655 …}
        $execCounter: -9223372036854775777
      }
    }
    "debug" => "Due to a bug in curl 7.64.0, the debug log is disabled; use another version to work around the issue."
  ]
  "response_headers" => [
    "HTTP/2 200 "
    "date: Fri, 27 Nov 2026 09:59:52 GMT"
    "content-type: application/json; charset=UTF-8"
    "server: Apache"
    "x-powered-by: PHP/8.3"
    "cache-control: no-store, max-age=0, no-cache"
  ]
  "response_json" => [
    "data" => [
      [
        "id" => 4878
        "code" => "28007"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "Voiture particulière, Coeur de gamme - Véhicule compact, Electrique"
        "value" => 0.103
        "unit" => "kgCO2e/km"
        "unit_id" => 51
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:25:39"
        "current_id" => 4878
      ]
      [
        "id" => 12124
        "code" => "43255"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "TER, 2022, Traction moyenne"
        "value" => 0.0277
        "unit" => "kgCO2e/passager.km"
        "unit_id" => 54
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:26:21"
        "current_id" => 12124
      ]
    ]
    "meta" => [
      "total" => 2
      "not_found" => []
    ]
  ]
]
POST https://api-fe.karbontrail.fr/api/factors/by-ids
Request options
[
  "json" => [
    "ids" => [
      12664
    ]
  ]
  "headers" => [
    "X-API-KEY" => "fe_8b4cefece25de22a192e60f99f578acc4a9a6d43b8d1890b"
    "Accept" => "application/json"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 184
    "request_size" => 258
    "total_time" => 0.036209
    "namelookup_time" => 2.2E-5
    "connect_time" => 2.2E-5
    "pretransfer_time" => 9.6E-5
    "size_upload" => 15.0
    "size_download" => 574.0
    "speed_download" => 15944.0
    "speed_upload" => 416.0
    "upload_content_length" => 15.0
    "starttransfer_time" => 0.000108
    "primary_ip" => "213.186.33.3"
    "primary_port" => 443
    "local_ip" => "10.115.20.5"
    "local_port" => 42550
    "http_version" => 3
    "protocol" => 2
    "scheme" => "HTTPS"
    "appconnect_time_us" => 22
    "connect_time_us" => 22
    "namelookup_time_us" => 22
    "pretransfer_time_us" => 96
    "starttransfer_time_us" => 108
    "total_time_us" => 36209
    "start_time" => 1795773592.6215
    "original_url" => "https://api-fe.karbontrail.fr/api/factors/by-ids"
    "pause_handler" => Closure(float $duration) {#2682
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#2535 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#1655 …}
        $execCounter: -9223372036854775773
      }
    }
    "debug" => "Due to a bug in curl 7.64.0, the debug log is disabled; use another version to work around the issue."
  ]
  "response_headers" => [
    "HTTP/2 200 "
    "date: Fri, 27 Nov 2026 09:59:52 GMT"
    "content-type: application/json; charset=UTF-8"
    "server: Apache"
    "x-powered-by: PHP/8.3"
    "cache-control: no-store, max-age=0, no-cache"
  ]
  "response_json" => [
    "data" => [
      [
        "id" => 12664
        "code" => "43809"
        "code_id" => null
        "version" => 1
        "is_current" => true
        "name" => "Voiture moyenne, Mixte, 2023"
        "value" => 0.16
        "unit" => "kgCO2e/passager.km"
        "unit_id" => 54
        "source" => "BaseEmpreinte"
        "source_id" => 4
        "category" => null
        "category_id" => null
        "location" => null
        "sub_location" => null
        "uncertainty" => null
        "co2" => 0
        "ch4" => 0
        "n2o" => 0
        "other_gases" => 0
        "co2b" => 0
        "description" => null
        "validity_years" => 0
        "url" => null
        "status" => "valid"
        "kind" => "factor"
        "parent_code" => null
        "tags" => []
        "created_by" => "import"
        "created_at" => "2026-11-25 14:26:24"
        "current_id" => 12664
      ]
    ]
    "meta" => [
      "total" => 1
      "not_found" => []
    ]
  ]
]