🧪 Fake Data API

Generate dynamic, realistic data for your development and testing needs.

API Documentation

Available Endpoints

Data Persistence

This API does not use any database. All generated data is stored in FastAPI's application state on first request. Once cached, the same data is reused on subsequent requests unless explicitly regenerated.

To force a data refresh, use the /regenerate/ endpoint on the corresponding resource (e.g., POST /users/regenerate?length=100). You may optionally specify a length query parameter to define how many records to generate.

Locale Support (Limited)

You can attempt to specify a locale using ?locale=fr_FR or the Accept-Language header. However, due to limitations in the Faker library, multi-locale support is partially broken. Some methods may raise errors if the selected locale is not fully compatible. So I've put it on hold for now. Feel free to suggest any improvements.