API
POST to https://scr.im/api/ with a form field email, and optionally scrim for a custom link:
{
"ok": true,
"result": "Success",
"email": "joe@email.com",
"scrim": "15kj",
"url": "https://scr.im/15kj"
}
The original XML endpoint still answers at https://scr.im/xml/, unchanged, for anything written against it before:
<?xml version="1.0" encoding="UTF-8"?> <scrim> <result>Success</result> <email>joe@email.com</email> <scrim>15kj</scrim> <url>https://scr.im/15kj</url> </scrim>
Both endpoints are rate limited per address. Posting an address that is already registered returns the link it already has, rather than creating a second one. There is no API for revealing an address — that is the whole point of the service.