<!-- LLM_VERSION_INFO
FORMAT: text/markdown
CONTENT_TYPE: article
ORIGINAL_URL: https://www.easypost.com/blog/2013-04-16-buy-stamps-from-the-command-line
ALTERNATE_VERSION: blog/2013-04-16-buy-stamps-from-the-command-line/index.html (text/html)
EXTRACTION_DATE: 2026-04-18T23:07:25.030Z

This is the markdown version with text-only content (images converted to alt-text).
For rich formatting with images, request the HTML version at: blog/2013-04-16-buy-stamps-from-the-command-line/index.html
-->

# Buy Stamps from the Command Line!

Jarrett Streebin

April 16, 2013

Did you know you can buy stamps from your command line? Just open your Terminal and paste the following (on Mac):

```bash

```

Boom! There’s your 46 cent stamp minus the trip to the post office. Just copy the URL in the response.

Now, try updating the addresses to real ones. Is that the postage you were looking for?

Want to try it for real now? [Sign up](/content/signup/index.html) for an account, load it with credit, then use your real API key.

Need to ship a box? Just remove `-d 'parcel[predefined_package]=Letter'` and [add dimensions](/content/docs/api/index.html). It’s always a good idea to do it with a Test API key first, to make sure you’re getting the postage you want.

If you really want to get fancy, check out the awesome [CLI one of our users wrote](/content/blog/2013-04-05-node-wrapper-and-cli/index.html)!

[Let us know if you have any questions](mailto:support@easypost.com?subject=Stamps%20from%20the%20Command%20Line)!
