Integrating computer vision and automotive data APIs shouldn't require writing boilerplate FormData wrappers, guessing multipart field names, or hand-parsing HTTP 503 retry headers across every microservice.
Today we're releasing @vehicore/sdk — the official, open-source (MIT) TypeScript and JavaScript client for all 9 Vehicore APIs.
- npm:
npm install @vehicore/sdk(npmjs.com/package/@vehicore/sdk) - GitHub: github.com/araratmartirossyan/vehicore-sdk
Built for Any JavaScript Runtime
@vehicore/sdk has zero runtime dependencies. It builds exclusively on standard Web APIs (fetch, FormData, Blob, AbortSignal.timeout) and ships dual ESM + CommonJS bundles with full .d.ts TypeScript definitions.
That means the exact same client works in:
- Node.js 18+ backends and ingestion workers
- Edge runtimes (Cloudflare Workers, Vercel Edge, Deno, Bun)
- Browser applications (dealer portals, mobile web inspection flows)
Binary methods accept Buffer, Uint8Array, ArrayBuffer, Blob, File, or { data, filename, contentType } — no manual stream or multipart conversion needed.
Quick Start
npm install @vehicore/sdk
Initialize once with your API key and call any module directly:
import { readFileSync } from 'node:fs'
import { Vehicore } from '@vehicore/sdk'
const vehicore = new Vehicore({
apiKey: process.env.VEHICORE_API_KEY!,
})
// 1. Read a license plate from an uncropped photo
const plate = await vehicore.ocr.plate(readFileSync('./vehicle-front.jpg'))
console.log(plate.result) // "BE 1015-U"
// 2. Detect exterior damage with localized descriptions and bounding boxes
const damage = await vehicore.damage.analyze(readFileSync('./door-dent.jpg'), {
userLanguage: 'de',
format: 'inspection',
})
// 3. Blur plates and faces for GDPR-compliant listings
const blurredImage = await vehicore.anonymize.all(readFileSync('./vehicle-front.jpg'), {
response: 'image',
})
Full Coverage Across All 9 Modules
Every endpoint in the Vehicore platform is available behind a consistent, typed namespace:
| Module | SDK Methods | Use Case |
|---|---|---|
| OCR | vehicore.ocr.plate(), vin() | License plate & VIN extraction |
| Damage Recognition | vehicore.damage.analyze() | Dents, scratches, severity & bounding boxes |
| Car Position | vehicore.carSide.detect() | Exterior angle & viewpoint classification |
| Image Classification | vehicore.classify.fromImage(), fromUrl() | Intake sorting (exterior, cockpit, odometer, docs) |
| GDPR Anonymization | vehicore.anonymize.plates(), faces(), all() | Automated plate & face blurring |
| Data Normalization | vehicore.normalize.text(), selectData() | Canonical make, model, generation & year |
| Market Valuation | vehicore.valuation.priceChangeData() | Historical pricing & market signals |
| Catalog Renders | vehicore.renders.get() | Transparent 3/4 studio PNGs (10,000+ models) |
| Claim Standardization | vehicore.claim.standardize(), process() | Multi-step photo + document claim workflows |
Predictable Error & Backpressure Handling
All non-2xx responses throw a typed VehicoreError containing status, code, retryAfter, and details — making it straightforward to handle rate limits or 503 inference admission retries cleanly:
import { Vehicore, VehicoreError } from '@vehicore/sdk'
try {
await vehicore.ocr.plate(imageBuffer)
} catch (error) {
if (error instanceof VehicoreError && error.status === 503) {
console.warn(`Inference busy, retry after ${error.retryAfter ?? 1}s`)
}
}
Get Started
Sign up for a free sandbox API key (730 free API calls included, no credit card required) or browse the source code on GitHub.
Ready to integrate Vehicore APIs?
Start testing our Damage Recognition, Catalog Renders, OCR, and Anonymization endpoints with free tier credits, or contact our team for partner volume pricing.
Engineering & API Release Notes
Get notified when we ship new automotive vision models, SDK updates, and architecture guides. No spam.