I am working on showing the shipping rates on the product pages, like in Amazon and eBay.
However, because I'll be calling the API a lot more then the usual cart page, I am wondering if there are any limits to USPS API that can prevent me from using the API on product pages?
Do you think I should use some kind of offline processing?
Customers who have registered for a USPS Web Tools® account and agreed to the terms and conditions of use can access USPS APIs for free.
The USPS API is actually a collection of public address validation API and address lookup APIs provided by the United States Postal Service. The USPS address validation API gives software developers access to data on over 160 million US postal delivery points as well as ZIP Code and city information.
To use the USPS APIs you must be a registered user. If you have not registered, go to http://www.usps.com/webtools/ and follow the instructions to register for the APIs. Upon completion of the registration process, your user ID will be sent via e-mail to the address specified in the registration.
No - there are no general limits in USPS web-services specification. Although they have a right to limit you if there is a high-load from your side. Anyway if you will have limit problems they solved either by describing business need for that to USPS or by caching.
I think offline processing will be not an easy thing if you don't know how to do it obviously.
So - avoid offline processing as long as you can.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With