Last Mile Labels
FeaturesCarriersPricingDevelopers
Log inSign up free

Help Center · API and integrations

API quick start: rate, create, buy, track

Updated October 14, 2026

Quick start
  • Quick start: from a new account to a printed label
  • Create your account and verify your email
Orders
  • Create an order by hand
  • Import orders from a CSV
  • Presets and the address book
Rates and labels
  • Add a ship-from address
  • Compare rates and buy a label
  • Ship date, signature confirmation and insured value
  • Print labels and packing slips
Shipments and tracking
  • Track shipments and read the statuses
Wallet and payments
  • Add funds to your wallet
  • Auto top-up: keep the wallet funded without logging in
  • Read the ledger and reconcile with your books
Customer notifications and branding
  • Customer notifications and your tracking page
Account and settings
  • Reset your password or sign out everywhere
  • Notices: policy updates you acknowledge once
  • Get help and contact support
API and integrations
  • API keys and test mode
  • API quick start: rate, create, buy, track
Insurance, voids and claims
  • Insurance and declared value
  • Void a label and get the postage back
  • File a claim for a lost or damaged package
Policies
  • Hazardous materials and prohibited items
Glossary →

The four calls most integrations make, in order, and the mistakes that cost people a day.

Base URL https://lastmilelabels.com/api/v1. Send Authorization: Bearer YOUR_KEY and JSON bodies. Money is returned as both a decimal string and integer cents.

  • GET /account confirms the key works and shows the wallet balance and whether the key is live or test.
  • POST /rates quotes an address and parcel without creating anything. Send a from address or a warehouse_id, the to address and the parcel; optionally ship_date and options.
  • POST /orders creates the order, with validate: true to have the recipient address verified in the same call. Then GET /orders/{id}/rates for the cached rate list.
  • POST /labels with order_id, service and an Idempotency-Key buys the label. The response carries the tracking number and a URL for the 4 × 6 PDF.
  • GET /tracking/{number} or GET /labels/{id} returns the current status and scan events. POST /labels/{id}/void returns the postage.

Errors worth handling

StatusCodeMeaning
401unauthorizedMissing or revoked key.
402insufficient_fundsWallet too low and auto top-up did not cover it. The response says whether auto top-up is on.
403insufficient_scopeThe key lacks the permission for this endpoint.
409duplicate_numberYour order_number already exists in the account.
422validation_failedA field is wrong; fields lists which.
429rate_limitedOver 300 requests a minute; back off.
502carrier_errorThe carrier did not answer; safe to retry.

The full reference with every field is on the Developers page.

PreviousAPI keys and test mode

Did this answer your question?

If not, customers can open Support in the app, and anyone can email support@lastmilelabels.com or call +1 (855) 995-4637.

Last Mile Labels

Ship every order for less, from one screen.

support@lastmilelabels.com
+1 (855) 995-4637

Product

  • Features
  • Carriers
  • Pricing
  • Developers

Resources

  • Blog
  • Help Center
  • Glossary
  • Shipping Calculator
  • Dims Calculator
  • USPS Zone Map

Developers

  • Shipping API
  • Rating
  • Labels
  • Tracking and webhooks
  • Reseller program

Company

  • Contact
  • Privacy
  • Terms

Last Mile Labels is an independent shipping software company. It is not affiliated with, endorsed by or acting for USPS, UPS, FedEx, DHL or any other carrier; their names and logos identify the services you can buy through us and belong to their owners.

© 2016 Last Mile Labels Inc. All rights reserved. 10773 NW 58th St, #500, Miami, FL 33178. Questions about this site: support@lastmilelabels.com · +1 (855) 995-4637.