SDKs
One install. Fully typed.
The official @repsapi/sdk wraps every endpoint with the exact same shapes as the REST API — tracking, QC and the link converter.
Node / TypeScript
The flagship SDK — available now.
terminal
npm i @repsapi/sdkindex.ts
import { Reps } from "@repsapi/sdk";
const reps = new Reps(process.env.REPS_KEY);
// convert any agent link → every other agent
const { agents } = await reps.convert(
"acbuy.com/product?id=7283641902&source=WD"
);
// track a parcel by number
const parcel = await reps.tracking.get({ num: "YT2530…" });
console.log(parcel.updates[0].status); // "Departed facility"- Fully typed — request & response types match the REST schema
- Auto-retry with idempotency keys
- Built-in pagination helpers
- Webhook signature verification
Python
Coming soonpip install repsapiGo
Coming soongo get repsapi.com/goRead the full endpoint reference to see every method.
API reference