openapi: 3.0.3 info: title: Faker Addresses 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: Addresses description: Generate fake postal addresses with geo coordinates. paths: /addresses: get: tags: - Addresses operationId: listAddresses summary: List Fake Addresses description: Return a collection of fake postal addresses with city, country, ZIP, and geocoordinates. parameters: - $ref: '#/components/parameters/Quantity' - $ref: '#/components/parameters/Locale' - $ref: '#/components/parameters/Seed' - name: country_code in: query required: false description: Restrict generated addresses to a specific ISO 3166-1 alpha-2 country code. schema: type: string example: US responses: '200': description: A collection of fake addresses. content: application/json: schema: allOf: - $ref: '#/components/schemas/Envelope' - type: object properties: data: type: array items: $ref: '#/components/schemas/Address' 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 Address: type: object properties: id: type: integer example: 1 street: type: string example: 4546 Willms Run streetName: type: string example: Trantow Creek buildingNumber: type: string example: '14316' city: type: string example: South Christina zipcode: type: string example: 08745-4080 country: type: string example: Svalbard & Jan Mayen country_code: type: string example: SJ latitude: type: number format: double example: 45.46427 longitude: type: number format: double example: 9.18951