How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Mockaroo Generate API

Generate mock data records on demand in multiple formats.

Mockaroo Generate API is one of 4 APIs that Mockaroo publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Generate. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, rate-limit docs, and 8 JSON Schemas.

This API exposes 6 operations across 6 paths, and defines 4 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against a single base URL, https://api.mockaroo.com.

6 operations 6 paths 4 schemas 6 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.mockaroo.com
Authentication
API Key, API Key
Resource Areas
1

Authentication & Security 2

Mockaroo Generate API declares 2 security schemes for authenticating requests. An API key is passed in the query as key (apiKeyQuery). An API key is passed in the header as X-API-Key (apiKeyHeader). By default, every request must be authenticated.

  • apiKeyQuery — Mockaroo API key passed as a query parameter.
  • apiKeyHeader — Mockaroo API key passed as a request header.

Paths & Operations 6

Across 6 paths, the API surfaces 6 operations — 6 POST. Each is listed below with its method, path, parameters, and response codes.

Generate 6

Generate mock data records on demand in multiple formats.

POST
/api/generate.json
Generate Records As JSON
generateJson 5 params body → 200202400401429
POST
/api/generate.csv
Generate Records As CSV
generateCsv 5 params body → 200202401429
POST
/api/generate.txt
Generate Records As Tab-Separated Text
generateTxt 5 params → 200401
POST
/api/generate.custom
Generate Records With A Custom Delimiter
generateCustom 6 params → 200401
POST
/api/generate.sql
Generate Records As SQL Inserts
generateSql 4 params → 200401
POST
/api/generate.xml
Generate Records As XML
generateXml 3 params → 200401

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Download (6 properties), FieldSpec (4 properties), Error (3 properties). Each schema is shown below with its type and property counts.

Error
object
Standard error envelope.
3 properties
Download
object
Status of a background generation job.
6 properties
FieldSpec
object
A single field specification used to describe an inline schema.
4 properties 2 required
FieldSpecList
array
An inline list of field specifications used in lieu of a saved schema.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mockaroo-generate-api-openapi.yml Raw ↑

Other APIs Mockaroo publishes across the network.

Mockaroo Datasets API
Mockaroo Downloads API
Mockaroo Types API
Where this information came from

This is an independent, third-party profile of Mockaroo Generate API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.