randomdata

RandomData

Hello developer! 🙋‍♂️, welcome to RandomData. Simulate a data structure as you want just defining the schema using different kind of fake data as names, texts, images, phone numbers, etc.

We are releasing some small tools like this while is developing the main API design platform (Loremapi.io).

Do you have feedback? Please, contact us via twitter: https://twitter.com/loremapiio.

Do you want to keep up to date about this tool?, follow us in our twitter account!

NOTE: This tools doesn't make sense use from mobile or tablets, for that we are not wasting time on this resolutions for now, just conforable to read the information.

Examples predefined

  • List of 10 users with name, age and image.
  • List of 10 users with name, age and image, paginate by query string param page by page.
  • List of 10 users with name, age and image, paginate defining offset and limit.

Check this examples in a codesandbox project: https://ssily.codesandbox.io

Random data editor

How to retrieve this data?

Here, we give you some examples base in Javascript.

Schema token

U2FsdGVkX19peLp+Abeix8oyoOYVPbw04vb0ZQHtuCY=
GET example
$.ajax({
  url: "https://randomdata.loremapi.io/api",
  dataType: 'json',
  headers: {
    'Accept': 'application/json',
    'Content-Type': 'application/json',
    'schema': "U2FsdGVkX19peLp+Abeix8oyoOYVPbw04vb0ZQHtuCY="
  },
  success: (data) => {
    console.log(data);
  }
});
POST example
$.ajax({
  type: "POST",
  url: "https://randomdata.loremapi.io/api",
  data: {
    schema: "U2FsdGVkX19peLp+Abeix8oyoOYVPbw04vb0ZQHtuCY="
  },
  dataType: 'json',
  success: (data) => {
    console.log(data);
  },
});

Copy and paste this piece of code in your Javascript application and enjoy!. If you want to consume this data in other language, just make a request to the same endpoint with the same configuration.

Do you like it?

We are pending to release some reatures as:

  • Download CSV
  • Return more than 1000 rows
  • Data paginated
  • Save schema to enjoy later
  • Unlimit requests per day
  • Cache data on demand
  • Download OpenApi schema
  • Field iban fake number
  • Field credit card fake number (visa, mastarcard, ...)
  • Field as email
  • Field ad date
  • etc...

For free until have ready the premium features. Go to /pricing section for more information.