api.yourls.org

The YOURLS APIs

This service outputs JSON responses from a set of APIs defined below.

JSONP support: add a JSONP callback with a jsonp parameter (eg query string ?jsonp=my_callback)

Issues: bugs, questions and feature requests can be filed on Github.

Documentation

core/credits

Get list of people who contributed to YOURLS

Current version: 1.0

API URL: https://api.yourls.org/core/credits/1.0/

Parameters

none

Example

GET https://api.yourls.org/core/credits/1.0/

core/version

Return latest YOURLS stable version

Current version: 1.0

API URL: https://api.yourls.org/core/version/1.0/

Parameters

none

Example

GET https://api.yourls.org/core/version/1.0/

services/cookiekey

Return a random string that will be used to encrypt cookies

Current version: 1.0

API URL: https://api.yourls.org/services/cookiekey/1.0/

Parameters

none

Example

GET https://api.yourls.org/services/cookiekey/1.0/

services/md5

Encrypt a password for YOURLS with a salted md5 hash

Current version: 1.0

API URL: https://api.yourls.org/services/md5/1.0/

Parameters

Example