Shippo
APIMulti-carrier shipping API for rates, labels, tracking and address validation
- Fiyat
- Free tier, then paid
- Erişim
- API token
Hakkında
Shipping API for comparing rates and buying labels from 40+ carriers such as USPS, UPS, FedEx and DHL, plus tracking, address validation and customs forms. The first 30 API labels each month are free, and test tokens create labels at no cost.
Neler yapabilirsin
- Compare carrier rates for a parcel and buy the cheapest shipping label
- Track packages across carriers with webhooks for status changes
- Create customs declarations and labels for international shipments
Başlarken
- Sign up for Shippo and copy your test API token
- Send it in the header Authorization: ShippoToken <token>
Örnek kod
curl https://api.goshippo.com/shipments/ \
-H "Authorization: ShippoToken $SHIPPO_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"address_from": {"name": "Mr. Hippo", "street1": "215 Clayton St.", "city": "San Francisco", "state": "CA", "zip": "94117", "country": "US"},
"address_to": {"name": "Mrs. Hippo", "street1": "965 Mission St.", "city": "San Francisco", "state": "CA", "zip": "94105", "country": "US"},
"parcels": [{"length": "5", "width": "5", "height": "5", "distance_unit": "in", "weight": "2", "mass_unit": "lb"}],
"async": false
}'Ayrıntılar
- Barındırma
- Hazır hizmet (bulut)
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- Python, JavaScript/TypeScript, Java, C#, PHP
- MCP sunucusu
- Uzak sunucu