Shipping Carrier APIs: UPS, FedEx, USPS, DHL and More
RocketShipIt connects to the various shipping carrier APIs behind the scenes. Below is some information on some of these:
See also: carrier-authentication
UPS#
Developer site: https://www.ups.com/upsdeveloperkit
Tips#
- The UPS Developer Kit APIs are updated in January and July each year.
- Changelog - https://www.ups.com/us/en/help-center/technology-integration/olt/anc.page
- UPS no longer requires certification to create production shipping labels.
- Your UPS Access Key is the same for dev/test and production
- [email protected] is the UPS developer support email
- Although UPS supports JSON, it is an afterthought and not a first-class citizen. We (unfortunately) recommend integrating with XML/SOAP.
Endpoints#
(All API URIs are case sensitive)
XML/SOAP
Base URL
- https://wwwcie.ups.com/webservices (test)
- https://onlinetools.ups.com/webservices (production)
Services:
/Rate/Ship/Track/FreightRate/Void/TimeInTransit/LBRecoveryLabel Recovery/Pickup/XAVAddress Validation/DangerousGoodsUtility/PreNotification/PaperlessDocumentAPI(production: https://filexfer.ups.com/webservices/PaperlessDocumentAPI)/DeniedParty(TradeAbility)/FreightShip
Quantum View and Locator have a different base URL:
- https://wwwcie.ups.com/ups.app/xml/QVEvents (test)
- https://onlinetools.ups.com/ups.app/xml/QVEvents (production)
Services:
/QVEvents/Locator
JSON:
- https://wwwcie.ups.com/rest/API (test)
- https://onlinetools.ups.com/rest/API (production)
APIs#
Shipping/Rating
- Address Validation - City, State, ZIP Verify the city, state, and ZIP or postal code information is valid.
- Address Validation - Street Level Verify the street address, city, state, and ZIP or postal code information is valid.
- Dangerous Goods - Validate Air, Ground, and International Dangerous Goods (hazardous materials) shipments are acceptable to UPS.
- Locator - Global - Find a UPS location or The UPS Store nearest to you.
- Pickup - Request a pickup for you or for one of your customers.
- Pre-Notification - Notify UPS of Dangerous Goods shipments after shipment processing.
- Rating - Compare delivery services and shipping rates to determine the best option for your customers.
- Shipping - Validate addresses, compare rates, and print labels for your internal business processes.
- Time in Transit - Compare shipping transit times of UPS services.
Visibility#
- Quantum View - Stream Quantum View Data via XML over the Web and into internal applications.
- Tracking - Provide accurate package status information to your customers.
- Tracking - UPS Signature Tracking Automate Proof of Delivery for your shipments.
International Trade#
- Paperless Documents - Upload document images and link to your international shipments.
- UPS TradeAbility - Generate cost estimates for duties, taxes, and transportation for international shipments; locate compliance and licensing information, and identify restricted trading parties.
FedEx#
Developer site: http://www.fedex.com/us/developer/
Tips#
- Changelog - http://www.fedex.com/us/developer/announcements.html
- Support email: [email protected]
- "Can I ship multiple packages with a single request?" No. Each package requires a ship transaction. However you are able to tie packages together with a master tracking number
- Phone support: 1.877.339.2774 (When prompted, please say "FedEx Web Services.")
Endpoints#
Base URL:
- https://wsbeta.fedex.com:443/web-services (test)
- https://ws.fedex.com:443/web-services (production)
Services:
/locs/close/pickup/rate/ship/ValidationAvailabilityAndCommitment/ship(void)/async/cntyCountryService/dgdsDangerous Goods/dgldDangerous Goods/ifssInFlightShipmentService/addressvalidation/locsLocationsService/openshipOpenShip/uploaddocumentUploadDocumentService
APIs#
- Rate
- Service Availability
- Validate Postal Codes
- Track
- Signature Proof of Delivery
- Notification
- Search Locations
- Create Shipment
- Shipment Validation
- Return Tag
- Cancel Return Tag
- ETD/Upload Service
- Pickup
- Cancel Pickup
- Pickup Availability
- Express Tag Availability
- SmartPost Close
- Close Shipment (Ground Only)
- Reprint Close Report
- Create Email Label
- Cancel Email Label
- Add Packages
- Delete Packages
- Create Open Shipment
- Delete Open Shipment
- Modify Open Shipment
- Validate Open Shipment
- Confirm Open Shipment
- Retrieve Open Shipment
- Upload Dangerous Goods Commodity Data (DGDS)
- Retrieve Dangerous Goods Shipments (DGLD)
- Address Validation
- In-Flight Shipment Service
FedEx Freight#
Developer site: https://developer.fedexfreight.com/
FedEx Freight became an independent LTL carrier on June 1, 2026 and publishes
its own REST APIs (LTL Rates, Ship, Pickup and Track) on its own portal, with
its own OAuth server and credentials. The RocketShipIt carrier is
fedex-freight; see FedEx Freight.
Tips#
- Create an integration on the portal to get a Client ID and Client Secret; the portal also lists sandbox test accounts (shipper and bill-to).
- Every API is limited to 5 calls per second per integration.
- OAuth tokens live 60 minutes and cannot be refreshed; a 401 means request a new one.
- Technical support: 1.800.435.7949
Endpoints#
OAuth token (POST /am/oauth2/access_token, scope fxf-api):
- https://auth-qa.fedexfreight.com (sandbox)
- https://auth.fedexfreight.com (production)
API base URL:
- https://api-preprod.ltl.tech (sandbox, gateway path segment
fxfgw-preprod) - https://api.ltl.tech (production, gateway path segment
fxfgw)
Services (production paths):
/fxf-external-rate-auth0/fxfgw/rate/getRateQuote/fxf-external-rate-auth0/fxfgw/rate/specialServiceOptions/fxf-external-ship-auth0/fxfgw/route/freight/shipment/fxf-external-pickup-auth0/fxfgw/pickup/availability/fxf-external-pickup-auth0/fxfgw/pickup/create/fxf-external-pickup-auth0/fxfgw/pickup/cancel/fxf-external-tracking-auth0/fxfgw/route/track/v1/trackingnumbers/fxf-external-tracking-auth0/fxfgw/route/track/v1/referencenumbers/fxf-external-tracking-auth0/fxfgw/route/track/v1/trackingdocument
USPS#
RocketShipIt supports both the legacy USPS webtools API and newer REST base API: https://developer.usps.com
Developer site: https://www.usps.com/business/web-tools-apis/welcome.htm
Tips#
- "We do not currently offer the ability to pay for postage directly to USPS through Web Tools APIs." You must use Stamps.com or other provider to create postage paid labels.
- USPS does offer postage paid labels through eVS and ePostage which RocketShipIt fully supports but there are volume requirements.
- Permissions for creating shipping labels without postage are added separately. To get permission, contact [email protected] and include "Web Tools API Access" in the subject line.
- Changelog: https://www.usps.com/business/web-tools-apis/welcome.htm
APIs#
Address APIs
- Address Validation/Standardization
- City and State Lookup
- Zip Code Lookup
Tracking & Delivery Information APIs
- Tracking
- Tracking by Email
- Proof of Delivery
- Restore Archived Tracking
- Return Receipt Electronic
Price Calculator APIs
- Domestic Price Calculator
- International Price Calculator
Shipping Label APIs: Domestic
- Domestic Shipping Labels (Priority Mail, Standard Post, First Class Package Service)
- Priority Mail Express Labels
- eVS Labels
- Hold For Pickup Labels
- Merchandise Return Service Labels
- Merchandise Return Service Bulk Labels
- Open and Distribute™ Labels
- Scan Form
Shipping Label APIs: International
- Priority Mail Express International
- Priority Mail International
- First-Class Mail International and First-Class Package International Service
- eVS International Labels API
Package Pickup APIs
- Check pickup availability
- Schedule a pickup
- Cancel a pickup request
- Update a pickup request
Service Standards & Commitments APIs
- Domestic Mail Service Standards
- Service Delivery Calculator
DHL#
Developer site: https://xmlportal.dhl.com/login
OnTrac#
Legacy XML API (ontrac) developer site: https://www.ontrac.com/onlineShipAPI.asp
WS V3 JSON API (ontrac-rest) documentation: https://ws.ontrac.com/. OnTrac issues the WSID and WSKey by email; see OnTrac REST.
FlavorCloud#
Developer site: https://docs.flavorcloud.com/. FlavorCloud issues the AppID and RestApiKey in its admin console; see FlavorCloud.
Amazon Buy Shipping#
Developer site: https://developer-docs.shipping.amazon.com/. Register an SP-API application with the Amazon Shipping role in Seller Central (Apps & Services, Develop Apps) and self-authorize it for the refresh token; see Amazon Buy Shipping.
Purolator#
Developer site: https://eship.purolator.com/site/en/default.aspx
Stamps.com#
Developer site: https://developer.stamps.com/
Golden State Overnight#
Developer site: https://www.gls-us.com/solutions/technology