Build with Go on CarsXE
Idiomatic Go client for high-throughput vehicle data pipelines.
- Package
- github.com/carsxe/carsxe-go-package
- Registry
- pkg.go.dev
- Published
Single binary
Compile vehicle data directly into your service.
go get ready
Standard module, no extra build steps.
Context aware
All requests respect context cancellation.
01
Overview
the Go package is the official, supported way to call the full CarsXE vehicle data API from Go. You get the same low-latency endpoints that power the CarsXE dashboard, packaged for the way you already work.
Under the hood, every request hits our globally-distributed API. That means you can decode VINs, look up license plates, pull market value, vehicle history, recalls, OBD codes, images and OCR results — without writing the HTTP, auth or retry plumbing yourself.
the Go package is open source, free to use, and ready for production traffic on day one.
02
What you can build with Go
Once the Go package is installed, every CarsXE endpoint is a single method call away. Here are the ones developers reach for first.
Decode any 17-digit VIN. Return year, make, model, trim, engine, transmission, OEM options and dozens of other spec fields with one call.
License plate to VIN. Convert a US, Canadian or international license plate into a decoded VIN with full vehicle specs.
Vehicle history. Pull title, accident, ownership and odometer history events for any VIN in seconds.
Market value. Get wholesale, trade-in and retail value bands plus historical pricing for accurate appraisals.
Open recalls. Surface every open and historical NHTSA recall affecting a vehicle in one request.
Images and OCR. Fetch high-quality vehicle images, recognise plates from photos and OCR VIN stamps from images.
For installation instructions, authentication, and working code examples, visit the full Go documentation in our developer docs.
View Go docs03
Next steps
Ready to take Go further? These are the best places to head next: