How to Choose a Shipment Tracking API for Cross-Border Ecommerce in Brazil
Choose a shipment tracking API for cross-border ecommerce in Brazil by testing your actual shipping routes, international-to-domestic handoffs, customs-related events, and delivery exceptions—not by comparing headline carrier counts. The right API should preserve useful shipment detail, integrate reliably with your systems, and support accurate Portuguese customer messages without turning incomplete tracking data into delivery promises.
For an ecommerce operations lead and an engineering team, the buying decision is ultimately operational: can this integration explain where an order is, identify who should act next, and keep customer support from working with outdated or misleading information? Use the following framework to turn those requirements into a practical shortlist and proof of concept.
Start with your Brazil shipping routes, not a provider’s carrier directory
A carrier listing is a starting point, not proof that an API will track every service you purchase from that carrier. Cross-border shipments can involve an origin carrier, an international logistics partner, and a domestic delivery operator. Tracking continuity depends on which events and identifiers are available across that specific chain.
Before contacting providers, build a route inventory using recent shipments. Record the origin country, shipping service, international logistics provider, Brazilian delivery operator when known, and the tracking numbers available at each stage. Include both your main routes and lower-volume routes that regularly generate support tickets.
- Separate postal and express routes. Do not assume that success on one proves readiness for the other.
- Record identifier changes. Determine whether a shipment keeps one tracking number or receives another after a handoff.
- Include difficult destinations and outcomes. Test delayed shipments, failed delivery attempts, returns, and incomplete tracking histories, not just successful deliveries.
- Identify the business owner. Operations should validate event usefulness, engineering should validate integration behavior, and support should validate customer explanations.
Your first selection rule should be simple: a provider must demonstrate useful tracking on your important routes. Broad coverage elsewhere cannot compensate for a missing handoff on the routes your customers use.
Define what a usable tracking event must contain
A standardized status such as “in transit” helps reporting, but it is rarely enough for cross-border support. Ask for sample responses and inspect how the API represents the underlying event. You need to distinguish a genuinely new movement from a translated description, a repeated event, or a late-arriving update.
| Information to evaluate | Why it matters | What to test |
|---|---|---|
| Original event description | Preserves details that a broad status may omit. | Can support retrieve the carrier’s wording alongside the normalized status? |
| Event time and time-zone handling | Helps prevent incorrect timelines and misleading delay calculations. | How are missing offsets, late events, and events from different countries represented? |
| Carrier and tracking identifiers | Connects international movement with domestic delivery. | Can related numbers be linked without creating duplicate customer shipments? |
| Location information | Provides context when the source makes it available. | Does the integration distinguish a reported location from missing or inferred information? |
| Exception detail | Supports the right operational response. | Can your application distinguish an attempted delivery from a customs-related issue? |
Do not require every event to contain every field. Upstream sources may omit information. Instead, require a clear distinction between reported facts, provider interpretations, and unavailable data.
Treat customs visibility as information, not clearance authority
For Brazil-bound shipments, customs-related tracking deserves its own acceptance test. A generic exception can leave support unable to tell whether a shipment is being processed, whether information is missing, or whether a recipient action has been reported.
Evaluate what the API actually receives from the carrier or logistics partner. Do not assume that a tracking integration can calculate import charges, submit clearance documents, confirm payment, or release a parcel. Those are separate capabilities and responsibilities that require separate verification.
- Check whether customs-related events retain their original descriptions.
- Determine whether “action required” is explicitly reported or inferred from a broad status.
- Identify which official carrier or logistics channel should confirm the next step.
- Prevent automated messages from inventing a payment amount, deadline, or required document.
For shipments handled by Correios, use its official website as the starting point for checking recipient-facing procedures. For other delivery arrangements, confirm the appropriate official channel with the contracted logistics provider. A tracking notification should explain the reported situation and direct the customer safely, not present an unverified instruction as an official requirement.
Test integration reliability beyond the happy path
A successful API request does not prove that a shipment will remain synchronized throughout its journey. Ask providers to explain registration, update retrieval, event delivery, tracking expiration, and recovery after an outage. Verify the answers against documentation and test behavior before committing.
Webhook delivery and recovery
If the provider offers webhooks, confirm authentication, retry behavior, timeout expectations, and any replay or recovery mechanism. Design your receiver to handle repeated deliveries and events arriving out of order unless the provider explicitly guarantees otherwise. Acknowledge receipt promptly, queue processing, and avoid sending customer messages directly from an unvalidated incoming payload.
Ask what happens when your endpoint is unavailable. Your team needs a documented way to reconcile missing updates, whether through a retrieval endpoint, replay process, or another supported recovery method. Confirm that the chosen method fits your expected outage scenarios.
Carrier identification and shipment registration
Test ambiguous tracking numbers rather than assuming automatic detection always identifies the intended carrier. Where supported, supplying a known carrier identifier may reduce ambiguity. Also test duplicate registrations, invalid numbers, delayed first scans, and a shipment that gains a second identifier.
Freshness and observability
Separate the time of the carrier event from the time your system receives it. Measure the gap against a documented reference, recognizing that a carrier’s public tracking page may itself update late or differ from another data channel. Ask how the provider handles stalled tracking and temporary source failures; do not interpret every quiet period as a lost parcel.
Build Portuguese messages around the next useful action
Portuguese localization is more than translating status names. A customer needs to know what happened, whether action is necessary, and where to get reliable help. Support agents may also need the original carrier description to investigate an unusual event.
Keep three layers separate: the source event, your internal operational category, and the customer-facing message. For example, an ambiguous customs event should not automatically become a demand for payment. An arrival scan should not become an “out for delivery” notification.
Establish notification suppression rules for duplicates, older events, and low-value intermediate scans. If you display delivery estimates, verify their source and meaning. A merchant promise, a carrier estimate, and a provider-generated prediction are different things and should not be presented interchangeably.
Check privacy, security, and commercial terms together
Map the data your integration will transmit before evaluating contract terms. Tracking records can be linked to customer orders, so minimize unnecessary personal information and restrict access to shipment data. Do not send customer tax identifiers, addresses, or phone numbers simply because a payload permits extra fields.
For Brazil-related personal-data processing, involve your privacy or legal team in assessing obligations under the LGPD. The Brazilian data protection authority, ANPD, is an official reference point. Review processing roles, retention, deletion, subprocessors, international transfers, and incident procedures as applicable to your arrangement. A vendor’s general security statement is not a substitute for that assessment.
Request a written commercial scenario based on your own shipment volume and lifecycle. Confirm what is billable: registration, a tracked shipment, an API request, an update, or another unit. Ask how duplicates, long-running shipments, retracking, overages, support, and historical access affect the quote. These are questions to verify, not assumptions about any provider’s pricing.
Compare total operating cost, including engineering maintenance and manual exception handling. A lower quoted unit price is not necessarily a lower-cost solution if the integration leaves your busiest routes dependent on manual checks.
Where 17TRACK fits in the evaluation
For teams evaluating a tracking integration, the relevant 17TRACK product to examine is its Tracking API. Use the official API documentation to assess the proposed implementation, and request confirmation of your specific Brazil-bound carriers, services, and handoff scenarios.
Apply the same acceptance tests described here. Do not treat a consumer tracking result as proof of API delivery behavior, contractual availability, or a particular data field. Confirm the API response, integration requirements, commercial terms, and support arrangements directly.
A multi-carrier integration is worth evaluating when your routes involve several logistics providers and your team wants a common interface. A direct carrier integration may be sufficient when one contracted service dominates and meets your data requirements. Neither architecture removes the need to test actual shipment histories.
Run a proof of concept with explicit purchase gates
Use historical shipments to inspect completed journeys and live shipments to test update delivery. Historical tracking alone cannot demonstrate how quickly new events will reach your system. Obtain permission where needed and avoid sharing unnecessary customer data.
- Choose a representative sample. Cover your important origins, services, domestic delivery arrangements, and exception types.
- Define a reference for each shipment. Record the relevant carrier history and any known identifier changes. Document disagreements rather than silently selecting the more favorable result.
- Measure route-level results. Evaluate registration success, relevant-event availability, handoff continuity, and observed update delay. Keep the denominator and missing cases visible.
- Exercise failure handling. Interrupt your webhook receiver, submit duplicates, and test recovery without producing duplicate customer notifications.
- Review messages with support. Ask agents whether the output explains the shipment and identifies a defensible next action.
- Approve ownership and cost. Assign responsibility for integration failures, carrier escalations, customer messages, and invoice review.
Set acceptance thresholds before reviewing results, based on your business needs rather than an arbitrary universal benchmark. Treat required-route coverage, secure integration, and recovery from missed updates as purchase gates. Use secondary features to distinguish providers only after those gates are met.
Choose the API that makes your important Brazil-bound journeys understandable and recoverable in practice. If a critical handoff or exception remains unverified, resolve it through additional testing or a written implementation commitment before expanding the rollout.
FAQ
Is support for Correios enough for shipments entering Brazil?
Not necessarily. It depends on your contracted route and final delivery arrangement. Test the international leg, any identifier change, and the domestic leg together. A listing for one operator does not establish visibility across the full journey.
Can a tracking API resolve a customs delay?
Tracking can help surface reported events and route an issue to the right person. It does not, by itself, establish authority to submit documents, collect import payments, or release goods. Verify those functions separately if your workflow requires them.
Should we use webhooks or polling?
When supported, webhooks can reduce the need for repeated requests. They still require authentication, duplicate handling, and recovery planning. Polling may serve as the main retrieval method or a reconciliation mechanism, depending on the provider’s supported design and limits.
What should happen when tracking stops updating?
Separate an integration problem from a shipment with no new reported movement. Check ingestion health and the official source, then apply a route-specific escalation policy. Do not automatically label the shipment lost or promise a new delivery date.
Does a tracking API replace our order management system?
No. Treat tracking as a shipment-information input. Your order management and support workflows should retain responsibility for order identity, customer communication rules, refunds, replacements, and escalation decisions.
Sources
- 17TRACK Tracking API — official product reference for evaluating an API integration.
- 17TRACK API documentation — technical reference for checking implementation requirements and supported behavior.
- Correios — official starting point for carrier information and recipient-facing services.
- Autoridade Nacional de Proteção de Dados — official Brazilian data protection authority reference for privacy review.


