Mockaroo Types API

Discover available built-in field types.

Operations 1

GET /api/types List Field Types #

Documentation

Specifications

Schemas & Data

Other Resources

🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-list-types-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-generate-json-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-generate-csv-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-generate-txt-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-generate-custom-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-generate-sql-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-generate-xml-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-upload-dataset-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-delete-dataset-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-get-download-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-cancel-download-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-field-spec-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-field-type-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-download-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/mockaroo/refs/heads/main/examples/mockaroo-dataset-example.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mockaroo-types-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mockaroo-types-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mockaroo Datasets Types API
  version: '1.0'
  summary: Realistic Mock Data Generation
  description: Mockaroo provides a REST API for generating realistic mock data on demand using over 150 built-in field types. The API supports schema-based and field-spec-based generation, multiple output formats (JSON, CSV, TXT, custom-delimited, SQL, XML), background jobs for large requests, and management of named datasets used as lookup sources during generation.
  contact:
    name: Mockaroo Support
    url: https://www.mockaroo.com/support
  license:
    name: Mockaroo Terms of Service
    url: https://www.mockaroo.com/terms
servers:
- url: https://api.mockaroo.com
  description: Mockaroo production API
security:
- apiKeyQuery: []
- apiKeyHeader: []
tags:
- name: Types
  description: Discover available built-in field types.
paths:
  /api/types:
    get:
      tags:
      - Types
      operationId: listTypes
      summary: List Field Types
      description: Return the catalog of built-in field types Mockaroo can generate, including each type's name, category, and supported parameters.
      responses:
        '200':
          description: List of available field types and their parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypeList'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        code:
          type: string
      description: Standard error envelope.
    FieldType:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        category:
          type: string
        parameters:
          type: array
          items:
            type: object
            additionalProperties: true
      description: Metadata describing a single built-in Mockaroo field type.
    TypeList:
      type: array
      items:
        $ref: '#/components/schemas/FieldType'
      description: Catalog of built-in field types.
  responses:
    RateLimited:
      description: Daily request or record quota exceeded for the API key's plan.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKeyQuery:
      type: apiKey
      in: query
      name: key
      description: Mockaroo API key passed as a query parameter.
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: Mockaroo API key passed as a request header.
externalDocs:
  description: Mockaroo API documentation
  url: https://www.mockaroo.com/docs