Random User Generator · Example Payload

Randomuser Csv Export Example

Test DataSynthetic DataMock DataOpen SourcePublic APIFree API

Randomuser Csv Export Example is an example object payload from Random User Generator, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponsenotes

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://randomuser.me/api/?results=25&nat=gb,us,es&format=csv&dl"
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "text/csv",
      "Content-Disposition": "attachment; filename=randomusers.csv"
    },
    "body_preview": "gender,name.title,name.first,name.last,location.city,...\nfemale,Ms,Aubrey,Patterson,Manchester,...\n..."
  },
  "notes": "Adding `dl` triggers a file download with the correct extension for the chosen `format`."
}