Order API · v1

Your orders, from your own code.

Search and look up every order in your account, with tracking included. Plain JSON over HTTPS, one API key, and read-only: nothing you send can change an order.

Base URL
https://api.ordertracker.app
Auth
Authorization: Bearer <API key>
Requires
An active subscription

Optional. It stays on this page and is never saved or sent. Copy for LLM always uses the placeholder.

cURL
curl -X POST "https://api.ordertracker.app/v1/orders/search" \
  -H "Authorization: Bearer ORDERTRACKER-KEYHERE" \
  -H "Content-Type: application/json" \
  -d '{"limit": 1}'

Your most recent order: the simplest call there is.

Quickstart

  1. 1Open API keys, choose New key and copy it. It starts with ORDERTRACKER- and is shown once.
  2. 2Keep it in an environment variable on the machine that will call the API.
  3. 3Send a search. This one finds shipped orders on one account email placed since 2026-11-01 00:00 UTC.
curl -X POST "https://api.ordertracker.app/v1/orders/search" \
  -H "Authorization: Bearer ORDERTRACKER-KEYHERE" \
  -H "Content-Type: application/json" \
  -d '{"email":"alex.rivera@example.com","ordered_after":1793491200,"status":"shipped","limit":10}'

Authentication

Send your key on every request as Authorization: Bearer ORDERTRACKER-…. A missing, mistyped or revoked key gets 401.

Keys are made on the API page in Order Tracker and shown once. Every key reads every order in your account and can change nothing.

  • Keep keys on a server or in an environment variable, never in a web page. Requests from browsers on other websites are refused.
  • You can have 2 active keys. Rotate a key to replace it with a new one under the same name, or revoke it to turn it off; either takes effect within 30 seconds. Rotating never counts against the limit.

Requests and responses

  • Every endpoint is POST with a JSON body and Content-Type: application/json. Filters stay out of URLs and server logs.
  • Times are Unix seconds (UTC), e.g. 1793491200 is 2026-11-01 00:00 UTC. A value in milliseconds is refused.
  • Money is dollars as a number, e.g. 449.99.
  • A value that is not known is null. Hidden orders and items are never returned.

Pagination

Search takes page (from 1) and limit. It returns total, the number of matching orders, and pages, how many pages they fill at this limit: 37 orders at a limit of 10 are 4 pages. Ask for each page up to pages; one past the end returns no orders.

Rate limits

Up to 60 requests a minute and 10,000 a day per account, across all its keys. Past that you get 429 rate_limited with a Retry-After header: wait that many seconds and retry.

LimitApplies to
60 requests a minutePer account, across all keys
10,000 requests a dayPer account, across all keys
20 invalid keys a minutePer IP address

Tracking data

Each item's packages carry the carrier result Order Tracker has already saved: status, current location, latest scan and expected delivery. The API never contacts a carrier and cannot track a number that is not on one of your orders. last_checked_at says how fresh each result is. scanned_in and scanned_in_at say whether and when you scanned the package in with the Package Scanner.

Request log

Every request made with your keys is logged with its time, key, endpoint, body, status, duration and IP address. They are shown on the API page and deleted after 7 days. Rate-limited requests and requests without a valid key are not logged.

Every page of a search

Ask for page after page until page reaches pages, sleeping through any 429.

Python
import time, requests

def all_orders(filters):
    page = 1
    while True:
        r = requests.post(
            "https://api.ordertracker.app/v1/orders/search",
            headers={"Authorization": "Bearer ORDERTRACKER-KEYHERE"},
            json={**filters, "limit": 100, "page": page},
        )
        if r.status_code == 429:
            time.sleep(int(r.headers["Retry-After"]))
            continue
        r.raise_for_status()
        body = r.json()
        yield from body["orders"]
        if page >= body["pages"]:
            return
        page += 1

# Delivered orders placed since 2026-10-01 00:00 UTC.
for order in all_orders({"ordered_after": 1790812800, "status": "delivered"}):
    print(order["order_number"], order["total"])

Errors

Every failure has the same body, whatever the endpoint. Branch on error, which stays the same; message is for people and may change.

Response 400
{
  "error": "invalid_request",
  "message": "Unknown field emial. Allowed: query, email, order_number, retailer, address, status, ordered_after, ordered_before, limit, page"
}
StatusMeanserror
400The request is invalid. The message says what to fix.invalid_request
401Missing, mistyped or revoked API key.unauthorized
403The account has no active subscription.subscription_required
404Unknown endpoint. A search that finds nothing is a 200 with no orders.not_found
405The endpoint takes POST.method_not_allowed
429Too many requests. Wait Retry-After seconds, then retry.rate_limited
503A temporary problem on our side. Retry shortly.unavailable