Random Nickname Generator

Generate funny and unique usernames full of personality for your site or game with thousands of combinations, several themes, having control over the size of the generated name and take your user experience to another level.
Use it to replace unnamed users, because they are boring or usernames that contain swear words because they are inappropriate.

Try it for free

Documentation

Using the Random Nickname Generator API in your site or game is completely free and you can use it client or server side! To use the API, send a POST request to https://api.codetunnel.net/random-nick, the response will either be:

{
 "success": false,
 "error": {
  "code": "error_code",
  "message": "Error message"
 },
 "time": 0.001
}

or:

{
 "success": true,
 "nickname": "Generated nickname",
 "time": 0.001
}

Your POST data can be an empty JSON object ({}) or you can set theme and/or sizeLimit, theme can be default, game, halloween or agario, the default theme is default.sizeLimit can be between 6 and 512, the default sizeLimit is 21.

Here are some examples (use them in the terminal):

curl -X POST \
   -d '{}' \
   'https://api.codetunnel.net/random-nick'

curl -X POST \
   -d '{"sizeLimit": 28}' \
   'https://api.codetunnel.net/random-nick'

curl -X POST \
   -d '{"theme": "agario"}' \
   'https://api.codetunnel.net/random-nick'

curl -X POST \
   -d '{"theme": "halloween", "sizeLimit": 28}' \
   'https://api.codetunnel.net/random-nick'

Some javascript examples (use them with jQuery):

$.ajax({
   type: 'POST',
   url: 'https://api.codetunnel.net/random-nick',
   dataType: 'json',
   data: JSON.stringify({})
}).done(function(r){
   alert(r.nickname);
});

$.ajax({
   type: 'POST',
   url: 'https://api.codetunnel.net/random-nick',
   dataType: 'json',
   data: JSON.stringify({theme: "agario", sizeLimit: 21})
}).done(function(r){
   alert(r.nickname);
});

GET IN TOUCH

To suggest a new theme or nickname, email us:
 [email protected]

Copyright © CodeTunnel