跳转到主要内容

更新日志

追踪 Chargetrip API 的变更和升级。

Manage station boosting groups with the Admin API

Admin API

We have added support for managing station boosting groups, including creation, update, deletion, listing, and individual retrieval, through a new Admin API (https://admin.chargetrip.io/graphql). Authenticated clients can define up to five active boosting groups of fast and ultra-fast charging stations to prioritize them in routing.

The dashboard has also been updated to support generating, previewing, and deleting public Admin API access tokens securely. See the Admin API reference for more information.

Real-time station prices in Tile Service

Tile Service (v2) station properties now include real-time ad-hoc charging prices per kWh, allowing you to filter stations based on their active energy price (maximum_energy_price).

  • Prices are converted server-side to the requested ISO-4217 currency, defaulting to EUR;
  • Prices are evaluated dynamically per hour, based on the local time zone of each station;
  • Currently only available for the Eco-Movement database. Other databases will follow. Contact your Customer Success Manager for more information.
Improvements
  • Improved the leg-level warnings with the addition of via_station_not_required_operator, which indicates when a via or destination station does not belong to any of the required or mandatory operators defined in the routing settings.
  • Improved the amenity data structure by automatically populating the continent field on amenity address records based on their country.
  • Improved the validations on destination stations with strict vehicle compatibility validations to prevent incompatible stops.
  • Improved the interpretation of via station stop durations from a hard maximum to a minimum stop duration, allowing the routing engine to optimize overall travel time by extending the stop duration.
  • Improved user-facing error messages by replacing exclamation marks with periods to align with professional copywriting guidelines.
Fixes
  • Fixed an issue where requesting alternative routes could trigger a non-nullable field error on the recommended route’s charges or distance fields.
  • Fixed an issue where filtering by station operator preferences set to null in the getRouteStationsWithAmenities query caused a server error.
  • Fixed an issue where pagination descriptions incorrectly stated that the maximum number of items returned per page was 10 instead of 100 on vehicleMakes and vehicleModels.
  • Fixed an issue where risk_margin_soc_not_possible and final_soc_not_possible warnings were incorrectly returned when values were equal to safe limits or final SoC was unspecified.
  • Fixed an issue where querying multiple routes simultaneously could cause the recommended field of one of the routes to erroneously return null.
  • Fixed an issue where sending an empty coordinates array when calculating an isoline resulted in an internal server error instead of a user-friendly validation error.
  • Fixed an issue where the @ocpi schema directive failed to append the suffix “This property is OCPI-compliant.” to GraphQL field descriptions.

Route matching

Route matching

We have introduced Route Matching operations, allowing you to map-match external GPS traces and run them through our Routing Engine to calculate energy consumption and insert optimal charging stops.

  • Calculate matched routes from coordinate sequences using the new createMatchedRoute mutation;
  • Designate intermediate stopovers using vias defined by coordinate array index (via.index), with support for updating vehicle passenger counts and cargo weight dynamically along the journey;
  • Enable plan_charging_stops: true to evaluate vehicle energy consumption along the pre-determined path and automatically insert compatible charging stops when needed;
  • Query full CO₂ emissions profiles for completed matched routes using getRouteEmissions.
Improvements
  • Updated the operator query to accept an external_id next to the internal id.
Fixes
  • Fixed an issue where signing up to the dashboard with an email address containing uppercase letters prevented pending workspace invitations from being displayed upon login.
  • Fixed a calculation and rounding discrepancy where the sum of leg section driving durations did not match total driving durations (durations.driving) in route details.

Subscriptions v2

Subscriptions

We have launched a new subscription service hosted under a dedicated domain (subscription.chargetrip.io), delivering enhanced reliability, standard subprotocols, and new transport choices.

  • Connect via WebSocket over wss://subscription.chargetrip.io/ws using the modern graphql-transport-ws protocol;
  • Stream subscriptions over HTTP using Server-Sent Events via https://subscription.chargetrip.io/sse;
  • Active subscription connections automatically close when a resource reaches its final state (such as done, error, or not_found for routes/isolines, and finished or error for navigation);
  • Error payloads now follow consistent GraphQL error conventions with structured extensions metadata.

Station boosting groups on station queries

We extended station queries to provide visibility into whether a station belongs to an active boosting group.

  • Added the boosting_group_ids field to the Station type across station, stationList, and stationAround queries;
  • Returns an array of active boosting group IDs configured for your project, returning an empty list ([]) if the station is not currently boosted.
Fixes
  • Fixed an issue where routes with multiple ferry connections could result in routes to arrive at charging stations with a negative State of Charge.
  • Fixed an issue where calculating routes between origin and destination points located very close to each other produced an invalid line string error and failed with a 404 response.

Influence routes with Station Boosting

Station boosting

For businesses looking to maximize network utilization, honor partner agreements, or guide drivers to specific high-margin charging stations, Station Boosting offers a streamlined way to influence routing decisions. Available in Alpha, this feature gives you direct control over how specific charging locations are prioritized without adding unnecessary operational complexity.

  • Targeted Client Groups: Create up to 5 distinct groups per environment (with up to 50 specific stations per group) to run targeted regional or time-based campaigns.

If you would like to test this feature and start steering volume to high-priority hardware, please reach out to your Customer Success Manager to manage your configuration.

Configurable maximum charging SoC & expanded battery limits

Drivers can now configure the maximum State of Charge (SoC) for charging stops between 80% and 100%, and plan trips requiring higher remaining battery levels upon arrival.

  • Pass maximum_state_of_charge (80–100%) in createRoute (RouteVehicleChargingInput). When set, vehicles can charge beyond the default 80% ceiling during planned or unplanned stops across both ALWAYS_TO_MAX_CHARGE and OPTIMIZE_TRAVEL_TIME modes;
  • Configure final_state_of_charge up to 80% of vehicle battery capacity (increased from 60%);
  • Added two new SoC leg warnings: risk_margin_soc_not_possible when expected arrival SoC falls below the safety risk margin, and final_soc_below_risk_margin when the requested final SoC falls below the safe risk margin.
Improvements
  • Added type and region array filters to vehicleMakes (VehicleMakesFilter), allowing clients to filter brands that offer specific vehicle types or operate within designated geographical regions.
  • Added model_count to VehicleMake and vehicle_count to VehicleModel to expose real-time counts of accessible models per make and vehicles per model.
  • Implemented cursor-based pagination arguments (first and after) along with total_count and page_info on the vehicleMakes query.
  • Updated vehicleMakes and vehicle queries to return country-specific brand logos when a country filter is supplied, falling back to global images when localized assets are not configured.
Fixes
  • Fixed an issue in vehicleList where filtering by make name failed after introducing make IDs, restoring backward compatibility so filter.make accepts both make IDs and make names.
  • Fixed an issue where routes starting with an initial State of Charge below the safety risk margin (initialSOC < safeRiskMargin) drove until reaching 0% battery instead of routing to the nearest available charging station.
  • Fixed an issue where the sum of individual leg section durations did not align with total driving durations (durations.driving) in route details.

Truck routing

Truck routing

We have officially launched our dedicated truck routing engine on the backend. Accessible via a brand-new set of queries and mutations, this standalone API feature factors in weight limits, height clearances, and truck-specific energy consumption models to build dependable commercial routes for heavy electric vehicles.

Improvements
  • Improved validation and diagnostic error reporting when specifying via charging stations in createRoute, returning explicit error codes (ROUTE_STATION_OUT_OF_SERVICE, ROUTE_STATION_INVALID_CHARGER, and refined ROUTE_STATION_INVALID_SPEED) when charging is not possible, and introducing the via_station_below_minimum_power leg warning when available connectors fall below the requested minimum_power threshold.
Fixes
  • Fixed an issue where total driving and trip durations (durations.driving and durations.total) on recommended and alternative routes omitted congestion delays when traffic_aware was enabled.
  • Fixed an issue where routes ending at a charging station recorded an erroneous charging duration on the final leg and added an extra charge stop to the route’s total charges count.
  • Fixed an issue where filtering vehicleList by make or model strings containing special characters (such as Lynk&Co, e.GO, ID.7, or N°4 E-Tense) returned empty results.
  • Fixed an issue in amenityList where filtered POI search results did not match the station’s total amenity count.
·此版本包含 Alpha 或 Beta 功能。在此了解更多关于我们的 API 生命周期。

Experimental and deprecation API warnings

Experimental API

We have introduced lifecycle warnings in GraphQL response extensions to inform developers whenever a requested operation or field is in alpha, beta, or scheduled for deprecation. This provides direct visibility into feature maturity and upcoming deprecations without disrupting API responses.

What’s new:

  • Lifecycle notifications: Receive structured alerts under extensions.warnings whenever your request touches schema elements marked with @experimental(stage: "alpha"), @experimental(stage: "beta"), or @chargetripdeprecated;
  • Consistent delivery: Warnings are included across all responses regardless of whether the operation succeeds or returns errors.
Improvements
  • Extended createIsoline to support custom weather conditions (temperature, air_pressure, and solar_irradiance) alongside standard presets (summer, winter, actual) via the new weather input, deprecating the season input.
  • Added station operating status warnings at the route leg level (station_closed, station_closing_soon, and station_unknown_open_hours) and refined station_limited_open_hours to warn drivers when a station on their route may be closed or have limited/unknown operating hours upon arrival.
  • Standardized schema annotations by replacing hardcoded [BETA] text descriptions with the formal @experimental(stage: "beta") directive across the Isoline, Routing V2, and Navigation GraphQL schemas.
Fixes
  • Fixed an issue in getRoute where savings.money returned null instead of 0 on BEV routes when no monetary savings were accrued.

Alternative routes

Route alternatives

You can now request geographically different alternative routes alongside the recommended route during route calculation. This allows drivers and dispatchers to evaluate alternative paths based on their preferences while maintaining the same trip constraints. You can specify up to 2 alternative routes.

Fixes
  • Fixed an issue where providing empty via waypoints without geometry, location, or station IDs in createRoute failed silently with a not_found status instead of returning a ROUTE_VIA_LOCATION_MISSING validation error.
  • Fixed an issue in operatorList where queries using ranking filters returned empty results if the project had no excluded countries configured, ensuring operators matching ranking preferences are returned correctly.

Traffic

Traffic support

Enable traffic-aware routing for global traffic impact when calculating routes. Accounting for traffic and incidents while optimizing for charging has long been seen as the holy grail of EV route optimization. When enabled, the route response includes:

  • Segments of the route affected by traffic;
  • Level of congestion on those segments;
  • Delay added to the total route duration.

This provides a more realistic estimate of travel time when traffic conditions affect the route and allows you to give globally optimized routes to your customers ready for turn-by-turn navigation.

Route warnings

Routing is often a best-effort process. Sometimes the routing engine cannot fully satisfy all requested conditions. Warnings help explain why a route may differ from the original request. Examples include:

  • Unavailable operators: stations with preferred charging operators are not available for this route leg.
  • Constraints: the requested final state of charge could not be achieved.

Warnings allow front-end teams to surface useful feedback to drivers or give engineers deeper insight into routing behavior. This makes it easier to understand routing results and troubleshoot edge cases.

Improvements
  • Relaxed operator ranking validation in createRoute: if operator preferences (preferred or required) are requested without levels provided in the request or configured in project settings, route calculation now succeeds without operator prioritization and returns a non-breaking OPERATOR_PREFERENCES_NOT_FOUND warning in getRoute (also documented via /public/warnings).
Fixes
  • Fixed an issue where searching or filtering the vehicle list (vehicleList) by strings containing parentheses (such as vehicle make or model names) caused query parsing failures and returned an internal server error.

Driving styles

Driving styles

Driving speed directly affects EV energy consumption. To make routes more accurately reflect real-world vehicle behavior and trip duration, we are introducing two new controls: speed factor and driving styles.

Driving styles change estimated arrival time and energy consumption.

  • Eco assumes a more relaxed, efficient pace to save battery;
  • Sport assumes higher speeds and greater consumption for a quicker arrival.

These features allow you to adjust routing calculations based on how a vehicle is actually driven, resulting in more precise consumption estimates and arrival times.

Updated getRouteStationsWithAmenities Schema

We updated the getRouteStationsWithAmenities query to simplify inputs and support multi-amenity filtering.

  • Multi-amenity search: Query multiple amenity categories simultaneously with logical OR filtering;
  • Direct time inputs: Pass time windows directly in seconds from the route origin;
  • External station id: Access external_id on the station nodes.

Highway charging preference

Highway charging

This new option prioritizes chargers located on the highway, even in scenarios where off-highway stations may offer a faster route.

Fixes
  • Fixed an issue where routes that retraced their path could end up with a negative state of charge.
  • Fixed an issue where the charging time at the final stop was calculated incorrectly when using the OPTIMIZE_TRAVEL_TIME charging mode combined with a custom final state of charge.

开发者

Chargetrip ©

管理 Cookie

生效日期:2024 年 3 月 20 日 · 更新日期:2026 年 9 月 1 日

我们使用 Cookie 来帮助改善您在 developers.chargetrip.com 上的体验。本Cookie 政策是隐私政策的一部分,涵盖您的设备与我们网站之间 Cookie 的使用。我们还提供了我们可能使用的第三方服务的基本信息,这些服务也可能在其服务中使用 Cookie,但不在我们的政策涵盖范围内。

如果您不希望接受我们的任何 Cookie,您应当设置浏览器拒绝来自 developers.chargetrip.com 的 Cookie,但请了解,我们可能因此无法向您提供某些您所需要的内容和服务。

Cookie 是网站在您访问时存储在您设备上的一小段数据,通常包含有关网站本身的信息、使网站在您再次访问时能够识别您的网络浏览器的唯一标识符、服务于该 Cookie 目的的其他数据,以及该 Cookie 本身的有效期。

Cookie 用于启用某些功能(例如登录)、跟踪网站使用情况(例如分析)、存储您的用户设置(例如时区、通知偏好),以及个性化您的内容(例如广告、语言)。

由您正在访问的网站设置的 Cookie 通常称为“第一方 Cookie”,通常只跟踪您在该特定网站上的活动。由其他网站和公司(即第三方)设置的 Cookie 可用于在使用相同第三方服务的其他网站上跟踪您。

由您正在访问的网站设置的 Cookie 通常称为“第一方 Cookie”,通常只跟踪您在该特定网站上的活动。由其他网站和公司(即第三方)设置的 Cookie 可用于在使用相同第三方服务的其他网站上跟踪您。

定向/广告 Cookie 用于确定哪些推广内容与您及您的兴趣更相关、更合适。网站可能使用它们来投放定向广告,或限制您看到某则广告的次数。这有助于公司提高其营销活动的效果以及呈现给您的内容的质量。这些 Cookie 可能由您正在访问的网站(第一方)或第三方服务设置。由第三方设置的定向/广告 Cookie 可用于在使用相同第三方服务的其他网站上跟踪您。我们在网站上使用定向/广告 Cookie。

定向/广告 Cookie 用于确定哪些推广内容与您及您的兴趣更相关、更合适。网站可能使用它们来投放定向广告,或限制您看到某则广告的次数。这有助于公司提高其营销活动的效果以及呈现给您的内容的质量。这些 Cookie 可能由您正在访问的网站(第一方)或第三方服务设置。由第三方设置的定向/广告 Cookie 可用于在使用相同第三方服务的其他网站上跟踪您。我们在网站上使用定向/广告 Cookie。

第三方承诺

在启用所有第三方提供商的服务之前,我们会审查其隐私政策,以确保其做法与我们一致。我们绝不会明知故犯地引入损害或违反用户隐私的第三方服务。

Cookie
google-cookie-consent
描述
存储您的 Cookie 偏好,即您接受或拒绝了哪些类别,以便我们在您每次访问时都尊重您的选择,并且只加载您允许的分析或营销工具。
有效期
2 年

如果您不希望接受我们的 Cookie,您可以设置浏览器拒绝来自我们网站的 Cookie。大多数浏览器默认配置为接受 Cookie,但您可以更改这些设置,以完全拒绝 Cookie,或在网站尝试设置 Cookie 时通知您。

如果您使用多台设备浏览网站,可能需要在每台设备上分别更新设置。

虽然阻止某些 Cookie 对网站体验的影响很小,但阻止所有 Cookie 可能意味着您无法访问所浏览网站上的某些功能和内容。

我们可能会不时更新本 Cookie 政策,例如反映我们所使用 Cookie 的变化,或出于其他运营、法律或监管原因。请定期重新查看本 Cookie 政策,以了解我们对 Cookie 及相关技术的使用情况。本 Cookie 政策顶部的日期表示其最近一次更新的时间。