Web工具API门户

免费电子商务网站送货 & 购物车api

USPS网络工具® API library gives ecommerce website shopping carts and shipping software access to valuable USPS® 资料免费! 您可以查看运费, track packages, and schedule a package pickup all through USPS Web Tools. Get started now or read on to learn more.

Register Now 查看文档 & Updates

新的USPS开发人员门户

New APIs available in the USPS Developer Portal give you more API customization, product offerings, 付款方式. Plus, get increased security via OAuth2 tokens, Webhooks push notifications, and embeddable widgets. Learn More

Get Email Updates

Receive email notifications about Web Tools maintenance updates.

Subscribe Now

Developers

Start making live calls to Web Tools APIs and integrate with USPS Web Tools to make shipping easier for you and your clients. See available API 技术文档 and helpful tips.

Learn More 网投十大娱乐平台开发人员的Web工具

Shippers

Register to get access to the USPS Web Tools support center and documentation. Plus, find experts to help you with Web Tools integration.

Learn More 网投十大娱乐平台托运人的网络工具

Developer Center

Step 1: Sign Up

Complete the online registration form for access. Please note registration is required for Web Tools access and is separate from any other USPS.com credentials.

Register Now

Once registered, you’ll receive an email with your assigned Web Tools User ID. You’ll then have access to our most popular offerings like the price calculator and address validation/standardization APIs. 以访问更安全的api, 如标签印刷, you’ll need to request additional permissions in Step 3.

步骤2:查看文档

Explore API Technical Docs and use the Quick Code provided below to test in your favorite browser.

For developers integrating Web Tools into a custom application, we specifically recommend:

Step 3: Integrate and Request Additional Permissions

Integrate with USPS Web Tools to start making live calls to Web Tools APIs and make shipping easier for you and your clients.

以访问更安全的api, 如标签印刷, you’ll need additional permissions. Contact the Internet Customer Care Center 附下列资料:

  • "Web Tools API Access" in the subject line of the email
  • Which APIs you want to access beyond those provided automatically
  • If you'll be modifying the label image

Need more help? View FAQs

Expand All

查看API技术文档

开始使用价格计算器

Try the Domestic or International Postage Rate APIs first or jump right into the 技术文档 and start developing.

Explore Web Tools Right from Your Browser's Search Bar

Once you have completed registration, explore the most popular Web Tools APIs and make live calls to Web Tools® 直接从浏览器打开. 打现场电话:

  1. Open a new .txt or word .doc and copy and paste the User ID from the email you received from registration@shippingapis.com. Keep it on hand for the following steps.
  2. Insert your Web Tools user ID into the USERID="" value
  3. Insert today's date into the value of the "ShipDate" tag (if applicable)
  4. Select the entire XML code below and paste it into the search bar of your browser
  5. Hit enter to make the call and receive a response in your browser
  6. Experiment with Web Tools and change some of the values of the XML tags

试试国内费率计算器

Calculate postage rates quickly and easily online for domestic and international shipping. Try the Domestic Rate API below or jump into the 技术文档 and start developing.

查看技术文档

Test XML Request

http://secure.shippingapis.com/shippingapi.dll?API=RateV4&XML=

2

PRIORITY
33420
54174
0
2





false


Try the International Price Calculator

The International Rate API calculates international postage rates quickly and easily. Try it out below or jump into the 技术文档 and start developing.

查看技术文档

Test XML Request

http://secure.shippingapis.com/shippingapi.dll?API=IntlRateV2&XML=

2

2
0
TRUE
PACKAGE
20
Guatemala






18701
N

Verify an Address

Save time and money by reducing shipping errors due to incorrect address entry. This tool corrects errors in street addresses, including abbreviations and missing information. 它还提供ZIP+4® Code.

查看技术文档

Test XML Request

地址验证

http://secure.shippingapis.com/ShippingAPI.dll?API=Verify&XML=



6406 IVY LANE
GREENBELT
MD
20770

ZIP Code Lookup

http://secure.shippingapis.com/ShippingAPI.dll?API=ZipCodeLookup&XML=



6406 IVY LANE
GREENBELT
MD

City/State Lookup

http://secure.shippingapis.com/ShippingAPI.dll?API = CityStateLookup&XML=

90210

Track a Package

Get estimated delivery information and track any package shipped via 特快专递®全球快递保底®, or 国际特快专递® services. Check the tracking information for packages shipped with USPS Tracking®、签字确认, Certified Mail®,或挂号邮件® services.

查看技术文档

Test XML Request

http://secure.shippingapis.com/shippingapi.dll?API=TrackV2&XML=


查询交货日期

Get estimated and guaranteed delivery dates with Service Standards and Commitments APIs.

Test XML Request

Priority Mail® Service Standards

http://secure.shippingapis.com/ShippingAPI.dll?API=PriorityMail&XML=

21403
90210

查看技术文档

First-Class Mail® Service Standards

http://secure.shippingapis.com/ShippingAPI.dll?API = FirstClassMail&XML=

90210
26505

查看技术文档

特快专递® 十大网堵平台承诺

http://secure.shippingapis.com/ShippingAPI.dll?API = ExpressmailCommitment&XML=

20862
11210


查看技术文档

十大网堵平台提供计算器

http://secure.shippingapis.com/ShippingAPI.dll?API = SDCGetLocations&XML=

0
70601
21817
6-August-2019
0900
True

查看技术文档

打开或关闭下面的内容 USPS api是免费的吗?

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.

打开或关闭下面的内容 How do I get access to USPS APIs and receive my user ID?

Get access to USPS APIs when you register for a Web Tools user account.

Register Now

Once registered, you will automatically receive an email containing your assigned Web Tools User ID. After you receive this email, you can use the following APIs:

  • Price Calculators
  • Service Standards & Commitments
  • 地址信息
  • Package Pickup

打开或关闭下面的内容 The labels I am able to print contain a “SAMPLE-DO NOT MAIL” watermark. 如何打印实际的标签?

The API containing "Certify" is our testing API and will print labels with the sample watermark. 来生成实际的标签, you must remove "Certify" from all of your Web Tools XML requests.

打开或关闭下面的内容 Does USPS have an EDDM API available?

We currently only offer 每户直销函件® (EDDM®) services through our online application.

Go to EDDM

打开或关闭下面的内容 Have there been any recent or upcoming changes to Web Tools API?

To provide the very best API offering, we periodically update our systems which may require current customers to update their software. To determine if these changes/updates apply to you, refer to our most recent Release Notes. This document contains all new changes and steps to resolve if you are affected. Please remember to first contact your software provider for any integration-related questions.

托运人支持中心

USPS Web Tools are ecommerce application program interfaces (APIs) that can be used for online stores or customer service centers—free of charge.

电子商务网站支持

Get access to our Web Tools through a simple registration process. View FAQs

Register Now

Once registered, you’ll receive an email with your assigned Web Tools User ID. You’ll then have access to the most popular APIs. 以访问更安全的api, 如标签印刷, you’ll need additional permissions. Contact the Internet Customer Care Center 附下列资料:

  • "Web Tools API Access" in the subject line of the email
  • 您正在使用的软件供应商
  • Which APIs you want to access beyond those provided automatically

想要雇佣专业人士?

To assist companies that need help integrating USPS Web Tools into their sites, the Postal Service publishes contact information for some companies willing to provide services that meet our criteria. These lists are not exhaustive and being listed is not an endorsement by USPS.

USPS网络工具集成商

Some companies that may be able to assist with the integration of USPS Web Tools or help you build a customer solution using Web Tools ecommerce APIs.
查看集成商列表(PDF)

USPS网络工具产品提供商

Some companies that sell products with Web Tools already integrated.
View List of Product Providers (PDF)

打开或关闭下面的内容 Why are my Web Tools credentials not working when I try to login on USPS.com?

USPS的登录页面.com® 与api无关. There is no "log in" functionality for your Web Tools credentials. Your username and password will allow you to gain access to the Web Tools servers.

使用您的证书:

  • Log into the interface of your third-party software
  • Add authentication to your back-end programming in the API, XML

usps上显示的登录页面.com website is not associated to APIs. Please review the 技术文档 if you need more information about integration.

打开或关闭下面的内容 Why are the production server URLs I received not working when I click on them?

The production URLs included in the email confirming your registration with Web Tools are not links to a viewable website. These URLs must be included in the XML Request used to connect to our APIs (please refer to our 技术文档)查阅更多资料. If you are using a third party ecommerce software, it’s possible that these URLs are not required, and therefore, do not apply to all customers using our APIs. Please contact your software provider for more specific details concerning integration requirements.

打开或关闭下面的内容 I am using a third-party ecommerce software to connect to USPS APIs, and I am having issues retrieving prices or services from USPS.

Since USPS® does not know every specific integration requirements of all the possible software options available, we recommend that customers first contact their provider to troubleshoot integration-specific questions.

打开或关闭下面的内容 I have contacted my software provider, and I still have questions for USPS. How do I proceed?

We will be happy to assist all customers provided the following information is included when you contact the Internet Customer Care Center.

客户必须提供:

  • Copy of a sample XML request resulting in the issue or error, pasted into the body of the email
  • Complete description of exact issue you are experiencing
  • Name of API
  • Name of third party software provider

Please note that without the above information, our USPS® agents will not have sufficient information to investigate Web Tools API issues properly.

Contact Us

If you have technical questions or need more information, contact the Internet Customer Care Center (ICCC).

营业时间

周一至周五:东部时间上午8点至晚上8点30分
星期六:东部时间上午8点到下午6点
休息时间:星期日及邮政假期
开放假期:上午9点至下午6点

  • 马丁·路德·金. Day
  • Presidents' Day
  • Columbus Day
  • Veterans Day

十大网堵平台信息

电子邮件互联网客户十大网堵平台中心
电话:1-800-344-7779