{
  "openapi": "3.0.1",
  "info": {
    "title": "Fake Data Generator - People, Emails, UUIDs",
    "description": "Generate realistic fake data for testing and development. Supports names, emails, addresses, phone numbers, UUIDs, and custom schemas. Perfect for populating databases, testing forms, and API development. REST API with MCP integration.",
    "version": "1.0",
    "x-build-id": "8N2S0casd0z5aXalW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lazymac~fake-data-generator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lazymac-fake-data-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/lazymac~fake-data-generator/runs": {
      "post": {
        "operationId": "runs-sync-lazymac-fake-data-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/lazymac~fake-data-generator/run-sync": {
      "post": {
        "operationId": "run-sync-lazymac-fake-data-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "dataType": {
            "title": "Data Type",
            "enum": [
              "person",
              "email",
              "phone",
              "address",
              "company",
              "text",
              "number",
              "date",
              "uuid",
              "color",
              "password",
              "creditCard",
              "ip",
              "url",
              "custom"
            ],
            "type": "string",
            "description": "Type of fake data to generate. 'person' creates full profiles with name, email, phone, address, company, avatar, and dates. 'custom' lets you define your own schema using spec strings.",
            "default": "person"
          },
          "count": {
            "title": "Number of Records",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many records to generate (1-1000). Values outside this range are clamped automatically.",
            "default": 10
          },
          "locale": {
            "title": "Locale",
            "enum": [
              "en",
              "kr"
            ],
            "type": "string",
            "description": "Language/region for generated data. 'en' produces English names, US addresses, and US phone numbers (+1-xxx-xxx-xxxx). 'kr' produces Korean names, Korean addresses, and Korean phone numbers (010-xxxx-xxxx).",
            "default": "en"
          },
          "textType": {
            "title": "Text Type",
            "enum": [
              "words",
              "sentence",
              "paragraph"
            ],
            "type": "string",
            "description": "Type of text to generate (only used when dataType is 'text'). 'words' produces 5 random lorem ipsum words. 'sentence' produces a single sentence (6-14 words). 'paragraph' produces 4-8 sentences.",
            "default": "sentence"
          },
          "numberType": {
            "title": "Number Type",
            "enum": [
              "int",
              "float"
            ],
            "type": "string",
            "description": "Type of number to generate (only used when dataType is 'number'). 'int' for whole numbers, 'float' for decimal numbers with 2 decimal places.",
            "default": "int"
          },
          "numberMin": {
            "title": "Number Minimum",
            "type": "integer",
            "description": "Minimum value for number generation (only used when dataType is 'number').",
            "default": 0
          },
          "numberMax": {
            "title": "Number Maximum",
            "type": "integer",
            "description": "Maximum value for number generation (only used when dataType is 'number').",
            "default": 100
          },
          "dateType": {
            "title": "Date Type",
            "enum": [
              "past",
              "future",
              "between"
            ],
            "type": "string",
            "description": "Type of date to generate (only used when dataType is 'date'). 'past' generates dates within the last year. 'future' generates dates within the next year. 'between' generates dates between dateFrom and dateTo.",
            "default": "past"
          },
          "dateFrom": {
            "title": "Date From",
            "type": "string",
            "description": "Start date for 'between' date type. ISO 8601 format (e.g., 2024-01-01). Only used when dateType is 'between'."
          },
          "dateTo": {
            "title": "Date To",
            "type": "string",
            "description": "End date for 'between' date type. ISO 8601 format (e.g., 2025-12-31). Only used when dateType is 'between'."
          },
          "colorFormat": {
            "title": "Color Format",
            "enum": [
              "hex",
              "rgb",
              "hsl"
            ],
            "type": "string",
            "description": "Output format for colors (only used when dataType is 'color'). 'hex' returns '#aabbcc' string. 'rgb' returns {r, g, b} object. 'hsl' returns {h, s, l} object.",
            "default": "hex"
          },
          "passwordLength": {
            "title": "Password Length",
            "minimum": 4,
            "maximum": 128,
            "type": "integer",
            "description": "Length of generated passwords (only used when dataType is 'password'). Range: 4 to 128 characters.",
            "default": 16
          },
          "passwordComplexity": {
            "title": "Password Complexity",
            "enum": [
              "low",
              "medium",
              "high"
            ],
            "type": "string",
            "description": "Complexity of generated passwords. 'low' uses lowercase letters only. 'medium' adds uppercase and digits. 'high' adds symbols (!@#$%^&* etc.).",
            "default": "high"
          },
          "ipVersion": {
            "title": "IP Version",
            "enum": [
              "v4",
              "v6"
            ],
            "type": "string",
            "description": "IP address version (only used when dataType is 'ip'). 'v4' generates standard IPv4 (x.x.x.x). 'v6' generates IPv6 (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).",
            "default": "v4"
          },
          "customSchema": {
            "title": "Custom Schema",
            "type": "object",
            "description": "Custom schema definition (only used when dataType is 'custom'). Each key becomes a field name, each value is a spec string. Supported specs: person.firstName, person.lastName, person.fullName, person.fullNameKr, person.email, person.phone, person.phoneKr, person.profile, address, address.us, address.kr, company, text.word, text.sentence, text.paragraph, uuid, date, date.past, date.future, color.hex, color.rgb, password, creditCard, ip, ip.v6, url, boolean, number:MIN-MAX, float:MIN-MAX."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}