Mock Your API Responses with Random Key

Random Key releases a new API to help devs mock API calls

A sample request and response generated with Random Key’s Mock Data API
Watch our overview of the Mock Data API on YouTube!
{
"customer": {
"@cust_id": {
"type": "number",
"digits": 5
},
"@name": {
"type": "name",
"portion": "full",
"gender": "0",
"region": "us"
},
"@address": {
"type": "location",
"region": "us"
}
}
}
{
"customer": {
"cust_id": "80628",
"name": "Terry Reed",
"address": [
"Greenfield",
"Wisconsin",
"53129"
],
}
}
{
"customer": {
"cust_id": "07761",
"name": "Lilith Thao",
"address": [
"Honeyville",
"Utah",
"84302"
],
}
}
{
"customer": {
"@cust_id": {
"type": "number",
"digits": 5
},
"@name": {
"type": "name",
"portion": "full",
"gender": "0",
"region": "us"
},
"@address": {
"type": "location",
"region": "us"
},
"@dep_codes": {
"type": "regex",
"regex": "\\d\\d[A-Z]",
"records": 3
}
}
}
{
"customer": {
"cust_id": "56621",
"name": "Carsten Rupp",
"address": [
"St. Louis",
"Missouri",
"63103"
],
"dep_codes": [
"77R",
"18J",
"12P"
]
}
}
{
"customer": {
"@cust_id": {
"type": "number",
"digits": 5
},
"@fname": {
"type": "name",
"portion": "first",
"gender": "0",
"region": "us"
},
"@lname": {
"type": "name",
"portion": "last",
"gender": "0",
"region": "us"
},
"@billing_address": {
"type": "location",
"region": "us"
},
"@ccn": {
"type": "ccn",
"portion": "number"
},
"@ssn": {
"type": "ssn"
},
"@last_purchase": {
"type": "datetime",
"format": "%b-%d-%Y %H:%M",
"min": "Jan-01-2019 00:00",
"max": "Jan-01-2020 00:00"
},
"@start_date": {
"type": "datetime",
"format": "%b-%d-%Y %H:%M",
"min": "Jan-01-2010 00:00",
"max": "Jan-01-2019 00:00"
},
"@total_spending": {
"type": "double",
"min": "10",
"max": "10000"
}
}
}
{
"customer": {
"cust_id": "56621",
"fname": "Latoya",
"fname": "Kennedy",
"billing_address": [
"Houston",
"Texas",
"77396"
],
"ccn": "5189852041736493",
"ssn": "332233353",
"last_purchase": "Dec-11-2019 03:11",
"start_date": "Sep-05-2016 20:46",
"total_spending": "8496.89"
}
}

We are the team behind Randomkey, a developer’s toolkit for data privacy.