{"uid":"cap_d-y4TH_GnZzQx83ljWoGL","slug":"sitecheck-trade-energy-last-mile-courier-identifier-73f97fbe","name":"SiteCheck Trade & Energy – Last Mile Courier Identifier","description":"Identify the courier behind a tracking number (UPS, FedEx, USPS, DHL Express, DPD, Royal Mail and other national posts) from its format, check the check digit where the carrier publishes one, and return the carrier's official tracking link. Several carriers can match the same pattern; each candidate says whether its check digit passed. It does not read live scan events (carriers serve them only through their own sites or keyed APIs).","url":"https://api.tradeenergy-api.workers.dev/api/logistics/last-mile-courier?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["number"],"properties":{"number":{"type":"string","description":"Tracking number as printed (spaces allowed)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"note":"Live scan events are on the carrier tracking page in trackingLink.","number":"1Z999AA10123456784","source":"carrier number formats and check-digit rules","bestMatch":{"carrier":"UPS","service":"1Z tracking number","trackingLink":"https://www.ups.com/track?tracknum=1Z999AA10123456784","checkDigitValid":true},"checkedAt":"2026-10-23T09:37:58.767Z","candidates":[{"carrier":"UPS","service":"1Z tracking number","trackingLink":"https://www.ups.com/track?tracknum=1Z999AA10123456784","checkDigitValid":true}],"recognised":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hqKBFbNSDMBGw8l5_37H8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Identifies which carrier(s) issued a tracking number by parsing its format and validating its check digit, and returns the official carrier tracking link.","exampleAgentPrompt":"Can you figure out which courier issued tracking number 1Z999AA10123456784 and give me the official link to track it?","exampleUseCases":[{"title":"Identify carrier from unknown tracking number","prompt":"I got a tracking number from a supplier — 420221769261290100130736401357 — but they didn't say which carrier it is. Can you figure out which courier this belongs to and give me the tracking link?"},{"title":"Validate a UPS check digit before dispatch","prompt":"Before I send this shipment, can you confirm that 1Z999AA10123456784 is a valid UPS tracking number and that the check digit passes?"},{"title":"Auto-route parcel numbers to correct carrier portals","prompt":"I have a tracking number, 123456789012, and need to know whether it's FedEx, USPS, or another carrier so I can send my customer the right tracking page."}],"resultDescription":"A JSON object containing: the recognised flag (true/false), the bestMatch carrier with name, service description, tracking link, and check digit validity, a candidates array listing all carriers whose format matched along with their check digit results, the normalised tracking number, a checkedAt timestamp, and a note that live scan events must be retrieved from the carrier's own site or API.","failureModes":["Tracking number not recognised by any carrier format — recognised: false with empty candidates array","Ambiguous number matching multiple carriers with no check digit to disambiguate — multiple candidates returned, no single bestMatch","Malformed input (missing number query param) — HTTP 400 or error response","Carrier does not publish check-digit rules — checkDigitValid may be null or absent for that candidate","No live scan events returned — this endpoint only resolves carrier identity, not shipment status"],"whenToPreferThis":"Use this endpoint when you have a raw tracking number and need to identify its carrier without calling each carrier's live tracking API. It is ideal for routing parcels to the correct carrier portal, validating number formats before submission, or enriching order data with carrier identity and tracking links. Prefer it over carrier-specific APIs when the carrier is unknown or when you only need format validation and a direct tracking URL rather than live scan events.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:33:56.950Z","isFirstParty":false,"canonicalSlug":"sitecheck-trade-energy-last-mile-courier-identifier-73f97fbe"}