openapi: 3.0.3 info: title: Faker Addresses Custom API description: "FakerAPI is a free, no-authentication REST API that returns realistic fake\ndata for developers, designers, and QA engineers. It is built on top of the\nPHP Faker library and exposes a single shape of GET endpoints for every\nresource: addresses, books, companies, images, persons, places, products,\ntexts, users, and a fully custom resource builder.\n\nEvery endpoint accepts the same three control parameters:\n * `_quantity` (1-1000, default 10)\n * `_locale` (60+ locales, default `en_US`)\n * `_seed` (any integer, for reproducible payloads)\n\nAll responses share an identical envelope: `status`, `code`, `locale`,\n`seed`, `total`, and a `data` array of resource objects.\n" version: 1.0.0 contact: name: Alessandro Pietrantonio url: https://fakerapi.it/en license: name: Open Source url: https://github.com/pietrantonio91/faker-api servers: - url: https://fakerapi.it/api/v1 description: FakerAPI v1 (stable) tags: - name: Custom description: Generate fake records with a caller-defined field schema. paths: /custom: get: tags: - Custom operationId: listCustom summary: List Fake Custom Records description: 'Generate records using a caller-defined field schema. Each extra query parameter is treated as a field name whose value is a FakerAPI generator identifier (for example `name=name&email=email&phone=phoneNumber`). Supported generators include `name`, `firstName`, `lastName`, `userName`, `email`, `freeEmail`, `phoneNumber`, `password`, `md5`, `sha256`, `uuid`, `address`, `city`, `country`, `companyName`, `text`, `paragraph`, `date`, `dateTime`, `boolean`, `integer`, `randomNumber`, `imageUrl`, `color`, `emoji`, and more. ' parameters: - $ref: '#/components/parameters/Quantity' - $ref: '#/components/parameters/Locale' - $ref: '#/components/parameters/Seed' responses: '200': description: A collection of custom-shaped fake records. content: application/json: schema: allOf: - $ref: '#/components/schemas/Envelope' - type: object properties: data: type: array items: type: object additionalProperties: true components: parameters: Locale: name: _locale in: query required: false description: Locale code controlling language/region of generated data (e.g. `en_US`, `fr_FR`, `it_IT`). Default `en_US`. schema: type: string default: en_US example: en_US Quantity: name: _quantity in: query required: false description: Number of records to return (1-1000). Default 10. schema: type: integer minimum: 1 maximum: 1000 default: 10 Seed: name: _seed in: query required: false description: Integer seed for deterministic, reproducible output. schema: type: integer example: 42 schemas: Envelope: type: object required: - status - code - locale - total - data properties: status: type: string example: OK code: type: integer example: 200 locale: type: string example: en_US seed: type: string nullable: true example: '42' total: type: integer example: 10 data: type: array items: type: object