Use C2W Package Tracking API to retrieve GOFO shipment information through RapidAPI. The documented endpoint accepts a tracking number and returns JSON for your application. Webhooks are not supported.
How to request GOFO tracking
- Subscribe on RapidAPI and keep your credentials on your server.
- Send your shipment’s tracking number as
trackingNumbertoGET /TrackingPackage. - Check the HTTP response before reading tracking fields. Use the API reference for headers and schema.
curl --get 'https://trackingpackage.p.rapidapi.com/TrackingPackage' \
--data-urlencode 'trackingNumber=YOUR_TRACKING_NUMBER' \
--header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY' \
--header 'X-RapidAPI-Host: trackingpackage.p.rapidapi.com'Add an Authorization header only if it was issued for your integration. This example uses a placeholder; it does not query a real shipment.
Illustrative response, not a live shipment
This synthetic subset illustrates documented field names. It is not a recorded GOFO response or a guarantee that every shipment supplies these values.
{
"TrackingNumber": "YOUR_TRACKING_NUMBER",
"Carrier": "GOFO",
"Delivered": false,
"Status": "In transit"
}See authentication and error handling. Keep credentials server-side and treat network failures separately from shipment status.
Plan polling and cost before subscribing
Webhooks are not supported. Your application schedules requests and customer notifications. Each request retrieves the latest tracking status available from the carrier API. New shipment events appear when the carrier records and provides them.
Example: 25 active shipments checked four times per day use 100 requests, before retries and manual refreshes. The Pro plan includes 150 requests/day at $9.99/month, leaving 50 requests of headroom. This is a workload example, not a recommended polling interval.
The free plan includes 5 requests/day for evaluation. Space requests within the rate limit and stop routine polling when your workflow is complete. Compare plans and request budgets; confirm applicable terms in RapidAPI.
Evaluate GOFO data for your actual shipment routes.
Confirm which event and location fields are available for your own GOFO shipments. A missing event history does not establish that a parcel is lost. Keep the last known shipment state when a refresh fails, and deduplicate customer notifications against stored events.
Separate shipment state from lookup failures
A carrier-reported exception belongs in the shipment timeline; an authentication, quota, or network failure belongs in API error handling. Keep the last known shipment state when a lookup fails, and only update customer-facing progress when the returned status or event history changes.
Check route-specific data before launch
Run representative GOFO tracking numbers from the routes you serve and note which event and location values are present. Handle empty or missing values without labeling the shipment lost, delayed, or delivered unless the response explicitly supports that state.
Read our alternative last-mile carrier overview for carrier-reported network context. Coverage and C2W field availability must be evaluated separately.
Fields to consider in your application
| Field | Application handling |
|---|---|
Status | Preserve the returned status text. |
Delivered | Do not infer delivery from missing data. |
TrackingDetails | Handle absent or empty event history. |
Available values depend on the shipment and carrier data. Empty strings, null values, and absent fields should not break your interface. These are schema notes, not a recorded GOFO production response.
Before going live
Test delivered, in-transit, unavailable-data, and exception cases for your services. Establish your polling schedule, request headroom, and support process. Use our integration guide and request-budget examples.