API - Application Programming Interface
By using our API you can crypt your links programmatically. Our current limit is
5000 requests per day. Please contact us in case you need more requests.
API usage guide
To crypt an URL you must make a POST request to https://urlcrypt.to/api
Requirements for POST vars:
captcha – on or off – OPTIONAL, defaults to off
password – at least 3 characters long – OPTIONAL, defaults to empty
urlToCrypt – any valid url, up to 2048 characters – REQUIRED
The server will respond with the crypted url, the status code and a message:
"message": "Link crypted successfully"
Possible response status codes:
200 – OK – The request was successfully.
401 – FORBIDDEN – You reached the daily limit,
contact us to lift up your limit.
500 – Internal Server Error – An error occurred on our side, please try again.