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.

stable
terminal
npm i @repsapi/sdk
index.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 soon
pip install repsapi

Go

Coming soon
go get repsapi.com/go

Read the full endpoint reference to see every method.

API reference