Click here to download the ID My Pill Recognition Card.

Pill identification, for developers.

With an API that stays out of your way, it's easy to integrate ID My Pill's instant prescription pill identification technology into your own mobile app or website.

Introducing the ID My Pill API

Let's make identifying prescription pills in a snap of a camera the new standard in drug identification. Integrate the ID My Pill API into your mobile app, website, or healthcare solution and allow your users to instantly identify their pills.

ID My Pill in the cloud.

Platform independent.

One of the main goals when creating the ID My Pill API was to make it platform independent with zero libraries or packages to install. Instantly identifying prescription pills is as simple as a call to the ID My Pill cloud. Sign me up »

									$ curl \
    -F api_key=KH8hdoai0wrjB0LyeA3EMu5n4icwyOQo \
    -F image=@example.jpg
									# highly suggested to use the requests package
import requests

# read in the image and construct the payload
image = open("example.jpg").read()
data = {"api_key": "KH8hdoai0wrjB0LyeA3EMu5n4icwyOQo"}
files = {"image": open("example.jpg")}

# fire off the request
r ="",
    data = data,
    files = files)

# contents will be returned as a JSON string
print r.content
// construct the payload
$data = array(
    "api_key" => "KH8hdoai0wrjB0LyeA3EMu5n4icwyOQo",
    "image" => "@" . realpath("example.jpg"));

// fire off the request
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$result = curl_exec($ch);

// contents will be returned as a JSON string
echo $result;

select a language:

An API that stays out of your way.

No libraries to install, no packages to manage. All you need is to make a POST request to our API server and we'll return a JSON response. It's so easy, we've embedded a bunch of examples right here. With examples in cURL, Python, PHP, and more, you can get started in minutes. Sign me up »

The ID My Pill API is built for developers.

We're developers too.

We have worked with many developers and entrepreneurs who have been in the trenches of drug identification and medication adherence and seen the problems firsthand. We're dedicated to building the best and simplest instant pill identification solution for developers. Sign me up »

The ID My Pill API is currently accepting beta users.

Enter your contact info below to be enrolled in the beta.

An ID My Pill API specialist will be in contact with you shortly!

ID My Pill: Recognition Card

Enter your email address below to download Recognition Card. Then, print the card and cut it out.