Endpoints
The base API URL, how requests are routed by region, and expected response times.
When you interact with Thrust Carbon's API, you should always attempt to use the correct base URL for your environment:
| Environment | Base URL |
|---|---|
| Production | https://api.thrustcarbon.com/2 |
| Staging | https://staging.thrustcarbon.com/api/2 |
Request geo-location
Whenever you make a request, we will route your request to a region based on: (1) whether the request concerns client data, (2) the location of originating request:
-
Requests that do not concern client data:
- Requests include:
/emission,/emission/batchand offset project requests. - These will be routed to the closest available data-center to resolve with the lowest available latency.
- Requests include:
-
Requests that concern client data:
- All other requests, including
/engage/suggestions/journey(this API can return carbon budget information, which is client specific). - The request will be routed to the datacentre housing your client data. At the moment this will be an EU server.
- All other requests, including
Response times
Response times vary, but if a request does not concern client data, you should expect a P95 response time of 300ms or lower.