Postal Business plan

USPS PLANET Barcode Generator API

Legacy USPS tracking barcode

Sample PLANET barcode

40100000000

Generated live by the BarGen API from 40100000000

PLANET, the Postal Alpha Numeric Encoding Technique, was the USPS barcode used for Confirm service tracking before it was retired alongside POSTNET in January 2013 when the Intelligent Mail Barcode consolidated tracking and routing into a single symbol. Visually similar to POSTNET, PLANET encoded an 11 or 13 digit tracking identifier as tall and short bars with a checksum, letting USPS scan mailpieces at key points in transit.

The BarGen API generates a PLANET symbol from an 11 or 13 digit numeric string, returning SVG or PNG output for reproducing legacy Confirm-service mailpieces or reference documentation.

PLANET (Postal Alpha Numeric Encoding Technique) was a barcode used by the United States Postal Service for mail tracking and confirmation services. Like POSTNET, it has been superseded by the Intelligent Mail Barcode.

The barcode encodes either 11 or 13 digits: a 2-digit service code followed by a 9 or 11-digit tracking number and a check digit. The service code identifies the type of service (Delivery Confirmation, Signature Confirmation, etc.).

PLANET uses the same two-height bar encoding as POSTNET but with the bar heights inverted—the patterns are essentially the "negative" of POSTNET. This allowed USPS equipment to distinguish between the two barcode types.

While PLANET is no longer used for new mailings, it remains important for legacy systems and historical mail tracking. Some USPS services may still process PLANET codes for backward compatibility.

Common use cases

Legacy tracking system reproduction

Systems replicating pre-2013 USPS Confirm service mailpieces generate PLANET barcodes for historical accuracy.

Postal standards documentation

Training and reference material covering the transition from POSTNET and PLANET to the Intelligent Mail Barcode uses PLANET examples for comparison.

Archival mail processing

Document archives that preserve original mailpiece imagery sometimes need to regenerate a matching PLANET code for verification.

Generate PLANET via the REST API

curl "https://api.bargen.pro/v1/barcode/planet?data=40100000000&format=svg" \
  -H "X-API-Key: YOUR_API_KEY"

Returns the barcode as SVG; PNG, PDF and EPS are available on higher plans. See the API documentation for all options.

Frequently asked questions

What was PLANET used for?

PLANET carried tracking codes for USPS Confirm services such as Delivery Confirmation and Signature Confirmation before those functions were merged into the Intelligent Mail Barcode.

How is PLANET different from POSTNET?

Both use the same four-bar height encoding technique, but POSTNET carried ZIP routing codes while PLANET carried tracking identifiers for Confirm services; they served separate purposes on the same mailpiece.

What digit lengths does PLANET support?

PLANET encodes either an 11-digit or 13-digit tracking code, each ending with a calculated checksum digit for read verification.

Specifications

Digits
11 or 13
Structure
Service code + Tracking number + Check
Bar Heights
2 (inverted from POSTNET)

Availability

Available from the Business plan.

See pricing

Start generating PLANET barcodes

Free tier with 1,000 API calls per month. No credit card required.