We’ve said it once, we’ll say it again: there are a LOT of cool APIs out there. That’s why we’re starting a series this holiday season dedicated to exploring some of our favorite APIs. We’re calling it….12 days of APIs!
To kick things off, we’re profiling delivery service, Postmates. We spoke to Postmates’ Partner Engineer Andrew Mager and Head of Content and Social Strategy Madeline Englis to go behind the scenes on this door-to-door delivery app.
The Postmates API allows you to integrate on-demand local delivery into your app. Delivery of what exactly? It’s not just food! With Postmates, any local business can add delivery functions to its app. Postmates allows dry cleaners, record stores and yes, even underwear vendors, to deliver their goods on demand within the hour. Pretty wild, right?
We’re not the only ones who love this API. Postmates does 1.5M deliveries per month and thousands of deliveries a day with the API.
One of the reasons we love the Postmates API is the fact that the code results in real world deliveries. As Andrew Mager says,
“It’s one of the only APIs where you can write code and a human will move in the physical world, drive somewhere and pick something up.”
While visiting the Postmates office, we built our own API call. Check it out!
We called the API using Postmates RapidAPI package (filling in our account information and the parameters). Then, we got a sneak peak of how the API call looks from Postmates’ side. You can actually watch the driver on her delivery route in real time.
A real Postmates’ API call obviously involves a real driver and costs money (varying by city). However, to test the API, you can use a test API key. This test mode uses a virtual driver named Robo to delivery imaginary goods online.
We’ll test the API using the Postmates RapidAPI package so that we can export code snippets in multiple languages and start making calls right away.
Here’s how to get started:
customerId
, apiKey
, and the test API Key.customerId
and apiKey
. Use the testAPIKey value in the apiKey
field to make test calls.If you log in to RapidAPI, we will save your customerId
and apiKey
information for you. That way, you don’t have to recopy and paste it later on.
Uber also has a delivery API (you can test calls on it here), so we wanted to learn more about how the two companies were different. Here’s what we learned from talking with Postmates:
Bottom line? While the two APIs have somewhat similar delivery functionalities, they have different business approaches and philosophies.
Postmates’ primary users are merchants (storefronts or restaurants) that want to add a one hour delivery option into their website or app. Here are some of our favorite integrations:
Shopify: eCommerce platform for small businesses
Shopify is an eCommerce platform that helps over 20,000 smaller businesses with everything from marketing to payments and, with help from the Postmates API, delivery. We thought this collaboration was cool from the sheer number of businesses it helps.
Spoil.io: Send goodies to a special someone
Whose day wouldn’t be made better with macaroons? Or a surprise cupcake? This iOS app uses the Postmates API to delivery local treats to spoil someone special during the day.
MeUndies: When you need underwear ASAP
It’s one of those things: you don’t need it until you really need it. With the Postmates API, you can get underwear delivered to you within the hour. We never thought of building an instant underwear delivery service, but it was definitely interesting to read about. Check out the developer case study here.
That’s the first API of our 12 days of APIs. Enjoy the next few days, test the Postmates API for yourself and think how much easier Santa’s job would be if he had the Postmates API.
We're thrilled to announce the latest update to the Rapid Enterprise API Hub (version 2024.3)!…
Are you curious about what your API consumers are searching for? Is your Hub effectively…
The RapidAPI team is excited to announce the February 2024 update (version 2024.2) for the…
This January's release brings exciting features and improvements designed to empower you and your developers.…
Rapid API is committed to providing its users with the best possible experience, and the…
In today's fast-paced digital world, APIs (Application Programming Interfaces) have become the backbone of modern…