Build on Trackberry
A JSON API for shipments, tracking, documents, free time, alerts and checks. Read everything your team sees in the app, and change it with a “Read and write” token.
Get started in 5 minutes
-
Get a sandbox token
Build against an ERP sandbox, a separate organization of sample shipments, so nothing touches real data. An admin creates it under Organization settings → API & webhooks, with a “Read and write” token inside it.
How the sandbox works -
Make your first call
Call the organization endpoint with your token. The answer names the organization and confirms it is a sandbox.
Run it below -
Pick an SDK or plain HTTP
The official C# and Java libraries handle retries, idempotency keys, paging and webhook signatures. Any other language works over plain HTTP, from the OpenAPI file.
Client libraries
Building an ERP integration? The ERP quick start runs the whole flow by hand in 15 minutes.
Guides
One guide for each part of an integration.
- The Trackberry API Read shipments, tracking, documents and free time from your systems, and with a read and write token start tracking, upload documents and update data.
- Client Libraries for C# and Java The official .NET and Java libraries for the Trackberry API, with retries, idempotency keys, paging, typed errors and webhook checks built in.
- Webhooks Have Trackberry call your system when a shipment’s status or ETA changes, its checks finish, an alert opens, a document is read or it’s Ready for ERP.
- Building an ERP Integration For ERP vendors and integrators. Read confirmed shipments from the Trackberry API, import them into the ERP, and report the result back.
- Going Live with an ERP Integration Finish the go-live checklist in the sandbox, then move to the customer’s real shipments without importing anything twice.
- Troubleshooting by Error Code Every error code the Trackberry API answers with, what causes it, what to do, and whether to retry. The ERP integration codes come first.
- API Changelog What changed in the Trackberry API since version 2026-10-01, by date, with what each addition means for an integration.
- Connect Trackberry to your AI assistant Ask Claude, ChatGPT, Copilot or Cursor about your shipments, free time, alerts and documents. Read-only unless you allow changes.
- Produce Terms for ERP Developers The fruit trade words an ERP integration meets in Trackberry’s data, each with a short meaning and the API field where you see it.
Your first call
Paste a sandbox token in the bar and press Run, or copy the call into a terminal and replace tb_your_token. The tabs show the same call in other languages.
Run these samples in your sandbox
Paste a sandbox API token and every sample on this page uses it, with your sandbox’s own shipment ids. It stays in this browser tab and only goes to the API.
Or create a docs token for this page: it lasts 12 hours, and you can revoke it in Settings → API.
curl https://trackberry.com/api/v1/organization \
-H "Authorization: Bearer tb_your_token"
using System.Net.Http.Headers;
using var request = new HttpRequestMessage(HttpMethod.Get, "https://trackberry.com/api/v1/organization");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", "tb_your_token");
using var response = await TrackberryApi.Client.SendAsync(request);
var body = await response.Content.ReadAsStringAsync();
if (!response.IsSuccessStatusCode)
{
// The body is a JSON error: branch on error.code, show error.message.
Console.Error.WriteLine($"HTTP {(int)response.StatusCode}: {body}");
return;
}
Console.WriteLine(body);
// One HttpClient for the whole program: reuse it for every call.
static class TrackberryApi
{
public static readonly HttpClient Client = new();
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder(URI.create("https://trackberry.com/api/v1/organization"))
.header("Authorization", "Bearer tb_your_token")
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}
import requests
response = requests.get(
"https://trackberry.com/api/v1/organization",
headers={"Authorization": "Bearer tb_your_token"},
)
response.raise_for_status()
print(response.json())
Latest API changes
Full changelogLibraries and source code
Both libraries are open source under the MIT license, and generated from the OpenAPI file.
-
C# / .NET
- Package
Trackberry(NuGet)- Source
- Trackberry/trackberry-dotnet
-
Java
- Package
com.trackberry:trackberry-java(Maven Central)- Source
- Trackberry/trackberry-java
Everything else Trackberry publishes is on the open source page.