Random User Generator

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

Follow us @randomapi

Hi, My name is

...

How to use

You can use AJAX to call the Random User Generator API and will receive a randomly generated user in return. If you are using jQuery, you can use the $.ajax() function in the code snippet below to get started.

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

Results

The application will provide you with a JSON, SQL, CSV, or YAML object that you can parse and apply to your application.

You can specify the format you want the results in using the format parameter.

{
  "results": [
    {
      "gender": male",
      "name": {
        "title": mr",
        "first": samuel",
        "last": ross"
      },
      "location": {
        "street": 5592 pockrus page rd",
        "city": santa ana",
        "state": oregon",
        "postcode": 69974
      },
      "email": samuel.ross@example.com",
      "login": {
        "username": silverwolf434",
        "password": blackjac",
        "salt": d14iEZQT",
        "md5": 261a57061d35918f5c3ef7f90f4f2a80",
        "sha1": c330ad8c974ab9982622d5d5506cfed4886a79ab",
        "sha256": 8ca4a1ca48975a69bd829de61298cd6a950dede740d4c0e755d07ee4cfc06fa5"
      },
      "registered": 1155461743,
      "dob": 1078494582,
      "phone": (179)-102-8139",
      "cell": (107)-396-0688",
      "id": {
        "name": SSN",
        "value": 476-30-9095"
      },
      "picture": {
        "large": https://randomuser.me/api/portraits/men/80.jpg",
        "medium": https://randomuser.me/api/portraits/med/men/80.jpg",
        "thumbnail": https://randomuser.me/api/portraits/thumb/men/80.jpg"
      },
      "nat": US"
    }
  ],
  "info": {
    "seed": 705567e86a824a27",
    "results": 1,
    "page": 1,
    "version": 1.0"
  }
}

Thank you for helping us help you help us all

Found a bug or have an idea?
Contribute to randomuser.me's database on our Github Repo.

Contact Us

If you have any questions/feedback or would like to get in touch with us, tweet us @randomapi

↑ ↑ ↓ ↓ ← → ← → B A