Skip to main content
GET
/
insights
/
carriers
/
transit-times
Retrieve carrier transit times
curl --request GET \
  --url https://panel.sendcloud.sc/api/v2/insights/carriers/transit-times \
  --header 'Authorization: Basic <encoded-value>'
{
  "transit_times": [
    {
      "user_id": "1234",
      "carrier_code": "postnl",
      "from_country": "NL",
      "to_country": "DE",
      "start_date": "2022-12-31",
      "end_date": "2023-11-17",
      "total_parcels": 2406,
      "transit_time": 82
    },
    {
      "user_id": "1234",
      "carrier_code": "dhl",
      "from_country": "DE",
      "to_country": "AT",
      "start_date": "2021-12-31",
      "end_date": "2022-12-31",
      "total_parcels": 75422,
      "transit_time": 51
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic Authentication using API key and secrets is currently the main authentication mechanism.

Query Parameters

carrier_code
string[]
required

selection of carriers

from_country
string

origin country

Example:

"DE"

to_country
string

destination country

Example:

"NL"

start_date
string<date>

first delivery start date

Example:

"2020-12-31"

end_date
string<date>

first delivery end date

Example:

"2022-12-31"

Response

OK

transit_times
object[]
required

array of transit time objects