eBay shipping-rate estimates
through one API.
Send a US origin ZIP, destination ZIP, package weight, and dimensions. Receive USPS, UPS, and FedEx services with eBay discounted estimates, retail comparisons, tracking, and delivery timing as structured JSON. Carrier-packaging and content-restricted options are returned separately so they cannot be mistaken for ordinary custom-package rates.
Separate allowance · same API key · successful quotes only
curl --request POST "https://api.compsniper.com/v1/shipping/rates" \
--header "Authorization: Bearer $COMPSNIPER_API_KEY" \
--header "Content-Type: application/json" \
--header "Idempotency-Key: quote-order-123" \
--data '{
"shipFrom": { "postalCode": "10001" },
"shipTo": { "postalCode": "90210" },
"package": {
"type": "custom",
"weight": { "value": 2, "unit": "lb" },
"dimensions": { "length": 10, "width": 8, "height": 4, "unit": "in" }
},
"contents": { "mediaMailEligible": false }
}'The rate evidence your application needs
Package-aware rates
Price the actual route and package using ZIP codes, pounds or ounces, dimensions, and irregular-package status.
Fresh five-minute quotes
Identical requests reuse a short-lived quote while preserving a current rate window and predictable response time.
Safe quote-only access
No label is purchased and no order, listing, payment method, or seller account is changed.
A separate shipping allowance
Shipping quotes never reduce your sold-comps quota. Every usable response spends one shipping request. Validation errors, upstream failures, and empty results do not.
10,000 quotes / month
- 60 requests / min
- Same CompSniper API key
- Independent shipping quota
50,000 quotes / month
- 120 requests / min
- Same CompSniper API key
- Independent shipping quota
150,000 quotes / month
- 120 requests / min
- Same CompSniper API key
- Independent shipping quota
Does the Shipping Rates API require an eBay login?+
No. Quote requests use your CompSniper API key and do not require an eBay account, OAuth connection, or customer cookies.
Are these retail or eBay discounted rates?+
The response preserves both the retail estimate and the discounted estimate exposed by eBay. When a discounted value is unavailable, effectivePrice uses the retail estimate and priceSource says retail.
Are special packaging and Media Mail options always usable?+
No. Custom-package requests keep ordinary applicable services in rates and place carrier-packaging or content-restricted options in conditionalRates with explicit requirements. Select the matching package.type or confirm Media Mail eligibility to move a conditional option into rates.
Can the endpoint purchase an eBay shipping label?+
No. The endpoint is quote-only. It does not purchase labels, charge postage, update orders, or change an eBay seller account.
Do shipping quotes spend sold-comps requests?+
No. Shipping Rates is a separate subscription with an independent request allowance. Your sold-comps plan and purchased credits remain unchanged.
Already use CompSniper? Review Shipping Rates access in your dashboard.