Shipping Rate Comparison (USPS, UPS, FedEx) avatar

Shipping Rate Comparison (USPS, UPS, FedEx)

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Shipping Rate Comparison (USPS, UPS, FedEx)

Shipping Rate Comparison (USPS, UPS, FedEx)

Compare Shipping Costs Across All Major Carriers Shipping costs vary wildly between carriers. The same package can cost $8 with USPS or $25 with FedEx — but most people don't have time to check all three. The Shipping Rate Comparison actor queries USPS, UPS, and FedEx APIs simultaneously

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

7

Total users

1

Monthly active users

14 days ago

Last modified

Features

Limited permissions

Share

Compare shipping rates across USPS, UPS, and FedEx. Find the cheapest, fastest, and best value shipping options for any package.

BYOK (Bring Your Own Key) -- you provide your own API credentials.


Before You Start

This actor requires your own API credentials to fetch real data.

Where to get your key: Your USPS Web Tools API User ID (free at usps.com/business/web-tools-apis)

You can test with Demo Mode first (free, no key needed) to see the output format before committing.


Quick Start

Test with Demo Mode (free, no API key needed)

{
"demoMode": true,
"originZip": "78701",
"destinationZip": "90210",
"weight": 2,
"weightUnit": "lb",
"length": 10,
"width": 8,
"height": 6,
"carriers": [
"USPS",
"UPS",
"FedEx"
]
}

Run with real data

{
"demoMode": false,
"originZip": "78701",
"destinationZip": "90210",
"weight": 2,
"weightUnit": "lb",
"length": 10,
"width": 8,
"height": 6,
"carriers": [
"USPS",
"UPS",
"FedEx"
],
"uspsUserId": "YOUR_API_KEY_HERE",
"upsClientId": "YOUR_API_KEY_HERE",
"upsClientSecret": "YOUR_API_KEY_HERE",
"fedexApiKey": "YOUR_API_KEY_HERE",
"fedexSecretKey": "YOUR_API_KEY_HERE",
"fedexAccountNumber": "YOUR_API_KEY_HERE"
}

Input Parameters

ParameterTypeDefaultRequiredDescription
originZipstring-Yes*Sender's ZIP code (US only)
destinationZipstring-Yes*Recipient's ZIP code (US only)
weightnumber2Yes*Weight of the package
weightUnitstring"lb"NoUnit for the package weight
lengthnumber10NoLength of the package in inches
widthnumber8NoWidth of the package in inches
heightnumber6NoHeight of the package in inches
demoModebooleanfalseNoRun with sample rates without API credentials. Perfect for testing.
carriersarray["USPS","UPS","FedEx"]NoSelect which carriers to get rates from
uspsUserIdstring-Yes*Your USPS Web Tools API User ID (free at usps.com/business/web-tools-apis)
upsClientIdstring-Yes*Your UPS API Client ID from developer.ups.com
upsClientSecretstring-Yes*Your UPS API Client Secret
fedexApiKeystring-Yes*Your FedEx Developer API Key from developer.fedex.com
fedexSecretKeystring-Yes*Your FedEx Developer Secret Key
fedexAccountNumberstring-Yes*Your FedEx Account Number (for negotiated rates)

*Required when Demo Mode is off.


Pricing

This actor uses pay-per-event billing:

EventWhen it is chargedPrice
Actor startOnce when the run starts, one event per GB of memory (minimum one). At the default 4 GB of memory a run starts at $0.0002$0.00005 per GB
Rate Comparison QueryCompare shipping rates across all carriers for a single shipment$0.01
ResultEach item written to the default dataset$0.00001

Demo mode is free -- no charges for sample data.


Troubleshooting

"API key is required"

You have Demo Mode turned off but didn't provide an API key. Either:

  • Turn Demo Mode on to test with sample data
  • Add your API key in the input

"API error 403" or "Unauthorized"

Your API key is invalid, expired, or doesn't have access to this specific API endpoint. Double-check your key and account permissions.

"API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

No results or empty dataset

Check the run log for error messages. Common causes:

  • Invalid input format (check the examples above)
  • API key without proper permissions
  • The target data doesn't exist or is too small to track

How do I test without an API key?

Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.


Built by John Rippy | Actor Arsenal