Skip to main content

Request Format

Submit a POST request to https://api.mockd.info/ with the following JSON format:

POST Body
{
"fields": {
"firstName": "male-first-name"
}
}

The JSON field name you provide will be the same JSON field name that is returned to you. In the above example, the JSON field name is firstName. Provide the type you would like as the value to the JSON field. The value male-first-name specifies that you would like to mock the first name of a man.

Refer to the "Types Supported" section for a comprehensive list of the types that Mockd currently supports.

Be Advised

Current service limits enforce a maximum of 100 fields per request.

Multiple Fields Example

The following is an example of a Mockd request with several fields:

POST Body
{
"fields": {
"name": "male-full-name",
"lastLogin": "utc",
"isSubscribed": "bool-true",
"email": "email",
"phone": "phone-str",
"feedPosts": "array-[uuidv4(4)]",
"notifications": "int-const-[5]"
}
}
Response Body
{
"lastLogin": "2026-01-08T12:43:33.847708Z",
"isSubscribed": true,
"phone": "(800)-555-2526",
"feedPosts": [
"07fb573d-14b0-4893-bab5-dc5b17ad9845",
"67aa8fa2-c360-486d-a5e0-cccc19f88bee",
"ae381771-d5c3-4e8e-90d5-95db23744f47",
"7f0c12fe-4c91-4480-a73f-a14702b507ba"
],
"name": "Julian Crawford",
"email": "88f0f11bb448d5a6764371afe5a46439@mockd.info",
"notifications": 5
}