API Status: OFFLINE. Please tweet us @randomuser if you are seeing this message.

Random User Generator

A free API for generating random user data. Like Lorem Ipsum, but for people.

Follow @randomapi
New

Hi, My name is

...

How to use

You can use AJAX or another method to ask RandomUser for a randomly generated user. If you are using JQuery, you can paste this code in your body to get started.

$.ajax({
  url: 'http://api.randomuser.me/',
  dataType: 'json',
  success: function(data){
    console.log(data);
  }
});
			

Results

The application will provide you with a JSON object that you can parse and apply to your application.

{
  results: [{
    user: {
      gender: "male",
      name: {
        title: "mr",
        first: "patrick",
        last: "coleman"
      },
      location: {
        street: "4046 hickory creek dr",
        city: "stockton",
        state: "minnesota",
        zip: "10532"
      },
      email: "patrick.coleman45@example.com",
      username: "ticklishostrich48",
      password: "darkknight55",
      salt: ">DyBf9aih",
      md5: "5d6bf4508070fba41e2d602c847cdbd9",
      sha1: "19e5b0b59e6c86dbf370c431a7edb2aa4f1420a6",
      sha256: "9434e04d307839d9b6411254007072412c11f7e6b5d8fd848e56fe5f0c660a04",
      registered: "1144410814",
      dob: "122791739",
      phone: "(510)-200-1728",
      cell: "(201)-442-6033",
      SSN: "525-20-3862",
      picture: "http://api.randomuser.me/portraits/men/9.jpg"
    },
    seed: "graywolf"
    version: "0.4"
  }]
}

↑ ↑ ↓ ↓ ← → ← → B A