temsor API
← Whole catalogue

Shipping

Part of the catalogue. The same key, envelope and billing cover every other endpoint too.

Tracking Number Identification

  • No account needed to try any endpoint on this page.
  • Deterministic endpoints answer from cache in single-digit milliseconds.
  • Every response carries a receipt: credits charged, cache status, duration.
POST/v1/shipping/identify
{
  "trackingNumber": "RR123456785TR"
}
no request sent yet
Press Run to call the live API from your browser.
1endpoints
data points banked
time series
median response

Why this exists

Built for hostile input

A Turkish address arrives as "Cd." or "Cad." or "Caddesi", with the flat number glued to the building number. Generic parsers drop half of it silently. This one tells you what it could not place.

History cannot be backfilled

The exchange-rate archive grows every business day and each point keeps its source URL and content hash. A competitor can read today’s bulletin too — nobody can produce last quarter’s.

You only pay for work

Repeated inputs come from cache and cost zero credits. If a response ever fails its own schema, the call is refunded automatically.

Endpointsexpand any row to see the parameters and call it live

Shipping1

/v1/shipping/identify Tracking Number Identification deterministic 1 credit

Identifies which carrier a tracking number belongs to, validates it where a checksum exists, and returns the canonical tracking link.

Built for order systems that receive numbers from many carriers and have to route the customer to the right tracking page. Turkish carriers mostly use plain numeric ranges that overlap, so a single confident answer is often impossible — this returns a ranked candidate list instead of inventing certainty, because sending a customer to the wrong carrier's page makes them think the parcel is lost. Universal Postal Union (S10) numbers are fully verified: the mod-11 check digit is computed, the service type and origin country are decoded. For formats whose checksum we have not verified against the standard, the result says `not-verified` rather than guessing — a wrong rejection is worse than an honest unknown. Delivery status is deliberately out of scope: Turkish carriers require merchant credentials for that, and scraping their sites would be fragile and against their terms.

Parameters

trackingNumber* string Tracking number, with or without spaces and dashes.
country string Destination or origin country hint, e.g. "TR". Narrows the candidates.
POST/v1/shipping/identify
{
  "trackingNumber": "RR123456785TR"
}
no request sent yet
Press Run to call the live API from your browser.

Pricingone key covers every endpoint

Free
Free
credits
2,000
Rate limit
2/s
Try it now
Starter
$19/mo
credits
50,000
Rate limit
10/s
most picked
Pro
$79/mo
credits
300,000
Rate limit
30/s
Scale
$299/mo
credits
2,000,000
Rate limit
100/s

Credits are consumed per call and cache hits are free. Requests without a key run on a narrow per-IP demo quota so you can evaluate before signing up.

The API key is e-mailed the moment payment clears. Upgrades keep the same key, so your integration is never broken.

Use it from an AI assistantthe same catalogue, exposed as MCP tools

Every endpoint is also published over the Model Context Protocol, so Claude, ChatGPT or your own agent can call it directly — no glue code, no wrapper functions. The assistant sees the same input schemas and the same metering.

Currently 12 tools. New endpoints appear automatically; nothing to update on your side.

claude_desktop_config.json

{
  "mcpServers": {
    "temsor": {
      "url": "https://api.temsor.com/mcp",
      "headers": { "x-api-key": "fk_live_…" }
    }
  }
}

Quickstart

Official client: npm install temsor-api · npmjs.com/package/temsor-api

Node.js

import Client from "temsor-api";

const api = new Client({ apiKey: KEY });
const r = await api.${(() => {
  const first = apis[0];
  return first.slug.split(/[/-]/).map((p, i) => (i === 0 ? p : p[0].toUpperCase() + p.slice(1))).join('');
})()}(${esc(JSON.stringify(apis[0].examples[0]?.input ?? {}))});
console.log(r, r.$meta);

cURL

curl -s https://api.temsor.com/v1/shipping/identify \
  -H "content-type: application/json" \
  -H "x-api-key: fk_live_…" \
  -d '{"trackingNumber":"RR123456785TR"}'

JavaScript

const res = await fetch("https://api.temsor.com/v1/shipping/identify", {
  method: "POST",
  headers: { "content-type": "application/json", "x-api-key": KEY },
  body: JSON.stringify({"trackingNumber":"RR123456785TR"})
});
const { data } = await res.json();

Python

import httpx
r = httpx.post("https://api.temsor.com/v1/shipping/identify",
    headers={"x-api-key": KEY},
    json={"trackingNumber":"RR123456785TR"})
data = r.json()["data"]