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 (https://loremapi.io).

Do you have feedback? Please, contact me via twitter: https://twitter.com/dimaslz.

DM's 💬 are open, just ping me 🏓.

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 100 users with name, age and image.
  • List of 100 users with name, age and image, paginate by query string param page by page.
  • List of 100 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

U2FsdGVkX1/Oh2TGqZI+KK+8AWJFjqc8BTNYLECVZRg=
GET example
$.ajax({
    url: "https://randomdata-api.loremapi.io",
    dataType: 'json',
    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json',
      'schema': "U2FsdGVkX1/Oh2TGqZI+KK+8AWJFjqc8BTNYLECVZRg="
    },
    success: (data) => {
      console.log(data);
    }
  });
POST example
$.ajax({
    type: "POST",
    url: "https://randomdata-api.loremapi.io",
    data: {
      schema: "U2FsdGVkX1/Oh2TGqZI+KK+8AWJFjqc8BTNYLECVZRg="
    },
    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.