Mission Integers


The Mission Integers API helps you get the numbers you need, where and when you want them. We choose REST, a time-honored tradition of moving pieces of data around on the web.

New Integers

To get a new integer, just send a POST request to /next-int, with a format parameter:

curl -v -X POST -d format=text http://www.missionintegers.com/next-int

Look for your integer in the response body:

HTTP/1.1 201 Created
Location: /integer/2031838?format=text
Content-Length: 8
Content-Type: text/plain


Acceptable values for format include json and text.

Batch Orders

Try sending a count if you want more than one!

curl -v -X POST -d format=json -d count=5 http://www.missionintegers.com/next-int
HTTP/1.1 201 Created
Content-Length: 42
Content-Type: application/json


Try One

Let us mint one of your very own.