EasyPost REST API - Source Code
EasyPost is a postage and shipping service for applications. The EasyPost API allows developers to access and integrate the functionality of EasyPost with other applications and to create new applications. Some example API methods include retrieving shipping rates for UPS, USPS, FedEx, DHL, and others, comparing rates, tracking packages, and buying postage.

- Summary
- SDKs (15)
- Articles (1)
- How To(0)
- Source Code(14)
- Libraries(0)
- Developers (0)
- Followers (13)
- Changelog (0)
Sample Source Code (14)
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
Title | Description | |
---|---|---|
![]() | EasyPost Trackers Curl Sample Code | The EasyPost Trackers Curl Sample Code demonstrates how to implement a tracker object that contains all of the tracking information for a package. A Tracker is created automatically when a user buys a Shipment through EasyPost and third parties. |
![]() | EasyPost Shipments Curl Sample Code | The EasyPost Shipments Curl Sample Code demonstrates how to access shipment features that include a "to" and "from" address, the parcel to ship, and any customs forms required for international deliveries. |
![]() | EasyPost Insurance Curl Sample Code | The EasyPost Insurance Curl Sample Code demonstrates how to access insurance objects that represent insurance for packages purchased both via the EasyPost API and shipments purchased through third parties and later registered with EasyPost. |
![]() | EasyPost Parcels Curl Sample Code | The EasyPost Parcels Curl Sample Code demonstrates how to access parcels' data that represent the physical container being shipped. Dimensions can be supplied either as length, width, and height dimensions, or a predefined package string. |
![]() | EasyPost Addresses Curl Sample Code | The EasyPost Addresses Curl Sample Code demonstrates how to access addresses that are objects used to represent people, places, and organizations in a number of contexts. |
![]() | EasyPost .NET Sample Code | The EasyPost .NET Sample Code demonstrates how to verify an address, rate a shipment, label postages, and process a batch asynchronously. |
![]() | EasyPost Shipment Ruby Sample Code | The EasyPost Shipment Ruby Sample Code demonstrates how to create a shipment with recipient and sender, address, parcel, and customs info. |
![]() | EasyPost Parcel Ruby Sample Code | The EasyPost Parcel Ruby Sample Code demonstrates how to create a parcel with width, length, height, and weight. |
![]() | EasyPost Address Ruby Sample Code | The EasyPost Address Ruby Sample Code demonstrates how to create an address with recipient and sender, including name, street, city, state, zip, country, and phone. |
![]() | EasyPost PHP Sample Code by EasyPost | The EasyPost PHP Sample Code by EasyPost demonstrates API interaction, providing code to verify addresses, manage accounts, and create international shipments. |
![]() | EasyPost C# Sample Code by EasyPost | The EasyPost C# Sample Code by EasyPost demonstrates API interaction. It provides tests for carrier account, client configuration, parcel, scan form, users, and shipment. |
![]() | EasyPost Node.js Sample Code by EasyPost | The EasyPost Node.js Sample Code by EasyPost presents API interaction. It provides code to set addresses, verify addresses, set parcel, and create shipments, and customize international shipping. |
![]() | EasyPost Java Sample Code by EasyPost | The EasyPost Java Sample Code by EasyPost demonstrates API interaction, providing tests for users, threads, and models. It includes examples to create and buy shipments. |
![]() | EasyPost Python Sample Code by EasyPost | The EasyPost Python Sample Code by EasyPost demonstrates how to communicate with the API. As resources, it includes address verification, carrier account, shipment, and tracker. |