Skip to main content
Beacon is a supply chain visibility platform that also tracks air waybills and offers order management. If you use only the ocean tracking API, moving to Terminal49 gives you direct terminal integrations (holds, fees, LFD) and 30+ webhook events. This guide covers ocean container and BOL tracking only, not Beacon’s air tracking or order management. There is no compatibility shim. You will change your request code and your response parsing. For most integrations that is an afternoon.

Start in sixty seconds

Signing up and getting a key is self-serve.
1

Create an account

Sign up at app.terminal49.com. The free plan tracks up to 10 active containers.
2

Generate an API key

3

Make your first request

The full API key is shown once, right after you create it. Copy it before you navigate away. After that it is masked and cannot be revealed. If you miss it, create a new key and delete the old one.
The free plan tracks up to 10 active containers. Creating tracking requests through the API works right away; reading tracking data back through the API requires a free 7-day API trial (same 10-container limit) — contact us via in-app chat or support@terminal49.com and we enable it.
If you want to test without a live shipment, use the test tracking numbers, which simulate success and failure outcomes.
Migration offer: sign up now and the Vessels API — vessel schedules, AIS positions, and projected routes — is free for your first month.

The architectural shift

Beacon gives you a container-centric API. You register a container number, poll for current state, and own the schedule, the cache, and the deduplication. Terminal49 splits this in two. You register a tracking request once. We keep it updated and push changes to your webhook.

Before: Beacon

Cron every 2+ hours, call Beacon’s container endpoint, diff against your cache, dedupe events, then write to your database. Every successful call spends contracted usage. Freshness is capped by your polling interval.

After: Terminal49

POST /tracking_requests once. Terminal49 polls carriers, terminals, and rail, then POSTs to your endpoint as things change. No cache layer, no dedupe logic.
You can keep polling if you prefer. Point your existing scheduler at GET /v2/shipments or GET /v2/containers. But webhooks are the reason the API is shaped this way, and terminal data (holds, fees, last free day) changes on a cadence that polling tends to miss.

Quick comparison

Authentication

Beacon issues a short-lived Bearer token from a login call and expects you to refresh it before it expires. Terminal49 uses a single static API key, so this entire flow goes away.
Note the Token prefix. It is not Bearer.
Terminal49’s API key does not expire. Once you switch, delete the login call, the token cache, the 300-second expiry timer, and the refresh logic entirely — there is nothing to replace them with.
Beacon also requires your customer success manager to grant API access per user before you can call the API at all. Terminal49 keys are self-serve from the dashboard.

Request parameter mapping

Beacon’s POST /v1/containers takes an array of container objects in one call. Terminal49’s POST /tracking_requests takes one identifier per request, but that identifier can be a container number, a BOL, or a booking number.
Terminal49 takes one identifier per tracking request. Track by BOL and we return every container on that bill of lading as related container resources. Container-number tracking requests are currently in beta.
Beacon consumes your contracted usage whenever a request succeeds and returns tracking data — even for containers you’ve stopped actively watching. Terminal49’s free plan tracks up to 10 active containers at no cost; beyond that, usage is based on active tracking requests, not per-call lookups.

Response field mapping

Terminal49 is JSON:API compliant, so relationships between shipments, containers, ports, and terminals are explicit rather than something you reassemble from ID references. Use the include parameter to sideload related resources in one call instead of chasing IDs. Beacon’s GET /v1/containers/{containerNumber} response is container-centric — it does not return a separate shipment object. Below, the Beacon column reflects the real field names from that response.

Shipment level

Container level

Beacon’s documented container response does not include an equipment type or size field. If your integration reads container equipment (dry, reefer, size) from Beacon today, confirm with Beacon support where that comes from before you map it — Terminal49 returns it as container.attributes.equipment_type, equipment_length (10, 20, 40, 45), and equipment_height (standard, high cube).

Locations, facilities, and vessels

Milestone and event mapping

Beacon returns each milestone as its own date object with estimated_date and/or actual_date, rather than a single flat events array. Terminal49 exposes the same milestones as normalized transport events and pushes each one to your webhook. Terminal49 also emits milestones Beacon has no equivalent for:
  • Vessel berthed: container.transport.vessel_berthed
  • Available for pickup: container.transport.available and .not_available
  • Transshipment: arrived, discharged, loaded, departed
  • Feeder vessel and barge: arrived, discharged, loaded, departed
  • Rail: loaded, departed, arrived, unloaded, plus arrived_at_inland_destination
See the full event catalog.

Registering a webhook

Payloads are HMAC-signed. See webhook setup for signature verification, and List webhook IPs if your firewall restricts inbound traffic.

What you gain

This is the part worth reading even if the rest is mechanical. Terminal49 integrates with terminals directly, not only carriers, so the container object carries operational data that has no Beacon equivalent.

Holds

holds_at_pod_terminal is an array of active holds blocking pickup:
Hold names are freight, customs, USDA, VACIS, TMF, and other. Status is hold or pending. When a hold clears, the object is removed from the array. There is no released state.
Hold names are case-sensitive. USDA, VACIS, and TMF are uppercase; freight, customs, and other are lowercase. Match exactly.

Fees

fees_at_pod_terminal carries type, amount, and currency:
Fee types are demurrage, extended_dwell_time, exam, total, and other.
Some terminals report a total line item alongside individual fees. Filter it out before summing or you will double-count.

Last free day

pickup_lfd is a coalesced value that follows a fixed source priority: shipping line, then terminal, then rail. It does not pick the earliest date. The individual sources are available separately on import_deadlines:
  • pickup_lfd_line: the shipping line’s LFD (per diem deadline)
  • pickup_lfd_terminal: the terminal’s LFD (demurrage deadline)
  • pickup_lfd_rail: the rail carrier’s LFD at the inland destination
Each has its own webhook event, so you can alert on whichever source your operation cares about.

Release readiness

Two fields answer “can I pick this up?” available_for_pickup and the holds array:
Full detail in Holds, Fees, and Release Readiness.
Holds, fees, LFD, and availability come back on the container object wherever the terminal is a supported source. They are not a paid add-on and they do not require a sales conversation. See Entitlements for the features that do require account enablement. Routing Data (container map and vessel positions), rail LFD, container refresh, and the embeddable map and widget are the gated ones.

Gotchas that will bite you

Beacon also tracks air waybills (AWBs) and offers order management (creating and updating orders, linking an order to a shipment). Terminal49 does not do either. If your integration uses Beacon for air freight or order management, plan to keep Beacon for those or replace them separately — this guide covers ocean container and BOL tracking only.
Beacon’s access token expires every 300 seconds, so a real integration ends up with a refresh timer, a token cache, and retry logic around 401s from an expired token. Terminal49’s API key is static — delete all of that. There is no login call, no refresh endpoint, and no expiry to track.
Beacon consumes your contracted usage every time a request succeeds and returns tracking data, even for containers you’re no longer actively watching — so idle containers you forgot to stop polling still cost you. Terminal49’s free plan tracks up to 10 active containers; usage is based on active tracking requests, not per-call lookups, so stopping a tracking request stops it counting.
POST /tracking_requests returns immediately with a pending status. The shipment appears once the carrier responds. Subscribe to tracking_request.succeeded and tracking_request.failed rather than expecting shipment data in the creation response. A request may also land in awaiting_manifest if the carrier has not manifested the shipment yet, and we retry automatically. See Tracking Request Lifecycle.
Terminal49 returns JSON:API, not flat JSON. Relationships are ID references into an included array. Use a JSON:API client library, or use include to sideload exactly what you need. Parsing raw JSON works but you will write more code than you expect.
Beacon’s date fields carry a local UTC offset for the event’s location, but fall back to a plain ...Z UTC timestamp if no zone information is available, or a date with no time at all if no time information is available — so parsing has to branch on which shape you got. Terminal49 always stores event timestamps in UTC and returns the matching IANA timezone alongside as a separate field. Convert for display rather than assuming local time. See Event Timestamps.
Beacon recommends polling GET /v1/containers/{containerNumber} no more than once every 2 hours. If your Beacon integration is polling on a cron, you can either keep the same cadence against GET /v2/containers, or drop polling entirely and let Terminal49 push webhook events as they happen — freshness is no longer capped by how often you ask.
holds_at_pod_terminal: [] and fees_at_pod_terminal: [] mean no active holds or fees. This is the common case. Do not treat it as missing data.
Terminal changes (fees, holds, LFD, appointment, availability) arrive on container.updated with a changeset showing old value first, new value second. Use it instead of diffing state yourself.

Error handling

Beacon returns HTTP status codes with an error body containing timestamp, error, and sub_error fields. Terminal49 also uses standard HTTP status codes. Replace any Beacon-specific error parsing with status-code checks. Rough equivalence for the Beacon status codes you are handling today: The TypeScript SDK maps these to typed errors (AuthenticationError, ValidationError, RateLimitError, UpstreamError, FeatureNotEnabledError, AuthorizationError, NotFoundError) and retries rate-limit and server errors automatically with exponential backoff.

Where we are narrower than Beacon

Worth knowing before you commit. Carrier count. Terminal49 integrates directly with 36 ocean carriers, plus 2 more enabled on request, as of 14 August 2026. Beacon advertises coverage across 160+ ocean and air carriers combined. Ours are direct integrations covering the lines that move volume into North America, and each is normalized into one schema. Check your carrier mix against the ocean carrier list before cutover, and read the known issues section there. We publish the per-carrier field gaps. Terminal data is North America. Holds, fees, LFD, and availability come from direct terminal integrations concentrated in the US and Canada, with European ports expanding. Ocean milestones work globally; terminal-level operational data does not yet. No air tracking. Beacon also tracks air waybills (AWBs). Terminal49 tracks ocean only. If your integration covers air freight, keep it on Beacon or move it elsewhere — this migration handles only the ocean portion. No order management. Beacon lets you create and update orders and link an order to a shipment. Terminal49 does not model orders — it tracks shipments and containers. If your Beacon integration uses order management, keep Beacon for that or replace it separately. Some fields are source-dependent. Seal number, container weight, and departure or arrival events vary by carrier. The field availability reference says which fields are always present and which depend on the carrier, terminal, or journey.

Migration checklist

Everyone does the base path. Then pick a branch.

Base path

1

Get a key

Self-serve at app.terminal49.com/developers/api-keys. Copy it immediately, it is shown once.
2

Switch authentication

Move the key to Authorization: Token. Note the Token prefix. Set Content-Type: application/vnd.api+json.
3

Check your carrier mix

Compare your Beacon carrier values against the carrier list. Flag anything missing before you cut over.
4

Create tracking requests

One POST /tracking_requests per BOL, booking, or container, replacing the per-request lookup.
5

Handle the async lifecycle

Tracking requests start pending. Handle succeeded, failed, and awaiting_manifest rather than expecting data on creation.
6

Update response parsing

JSON:API structure, split equipment fields, UTC timestamps with a separate timezone.
7

Update error handling

Replace Beacon-specific error parsing with HTTP status codes.
8

Backfill active shipments

Submit tracking requests for everything currently in transit. Send us the list if it is large and we will load it.
9

Add the terminal fields

Holds, fees, and LFD are the reason to do this properly rather than porting like for like.

Then pick one

1

Expose an HTTPS endpoint

Accept our POST payloads at a public URL.
2

Register a webhook

Subscribe only to events you act on.
3

Verify HMAC signatures

Reject any payload whose signature does not match.
4

Whitelist our IPs

Only needed if your firewall restricts inbound traffic.
5

Trigger a test delivery

Confirm end-to-end before going live.
6

Retire your polling job

Remove your dedupe layer along with it.
See webhook best practices for retries and idempotency.

Migrate with an AI coding agent

If you use Cursor, Claude Code, Windsurf, Copilot, or another AI coding assistant, hand it the prompt below. It is written to run a side-by-side migration: the agent stands up a Terminal49 client next to your existing Beacon code, shadows every Beacon call with a Terminal49 call, diffs the responses, and only cuts over once parity is proven.
Point your agent at this page as context (paste the URL or add it as a doc source). The prompt references the mappings above, so the more of this page the agent can see, the better it does.
  1. Open your repo in your AI coding tool.
  2. Add this page as a documentation source, or paste its URL into the chat.
  3. Copy the prompt below into a new chat and send it.
  4. Answer the agent’s discovery questions (Beacon client location, env var names, carrier mix).
  5. Review each PR the agent opens. It should ship in small, reviewable steps: client, shadow, parity harness, cutover, cleanup.
  • A Terminal49Client alongside your existing BeaconClient, sharing the same interface where possible.
  • A shadow-mode wrapper that calls both providers and logs response diffs without changing behavior.
  • A parity report per shipment: matched fields, diverged fields, and Terminal49-only fields (holds, fees, LFD).
  • A feature-flagged cutover: route reads to Terminal49, keep Beacon as fallback until you flip the flag off.
  • A webhook receiver with HMAC verification, or a polling scheduler, depending on which path you pick.
  • A cleanup PR that removes Beacon code, its login/token-refresh flow, env vars, dependencies, and dedupe logic.

The prompt

Copy this into your agent. Replace the bracketed placeholders in the Repo context block before sending.
Terminal49 migration agent prompt
The prompt is deliberately opinionated on side-by-side migration and small PRs. If your team prefers a big-bang cutover or a different branching model, edit the Plan section before sending it to your agent.

Getting help

Send us your list of active container and bill of lading numbers and we will load them rather than making you script the backfill. If something in this mapping is wrong or incomplete, tell us. We would rather fix the page than have you work around it.

API reference

Every endpoint, with request and response schemas

TypeScript SDK

Typed client with retries and pagination built in

Coverage

Carriers, terminals, rail, and field availability

Test numbers

Simulate success and failure outcomes