Send query params and get JSON instantly. Data is stored in an editable JSON file. Maximum 50 results per query.
// Pide 5 usuarios mock
GET /api?users=5
// Respuesta inmediata:
{
"status": "success",
"format": "simple",
"data": {
"users": [
"usuario_1@mockapi",
"usuario_2@mockapi",
"..."
]
}
}
Process
No tables, no models, no migrations. Send a URL and get data.
Make a GET request to /api?name=count. You choose the parameter name.
Values are generated automatically with sequential keys: name1, name2, etc. Up to 50.
Use the Editor panel or POST /api/edit to customize values. Data is persisted in bd.json.
Interactive
Type a parameter name and amount. You will receive the real response from this instance.
The response will appear here
Reference
Main route is /api and it already returns frontend-ready data.
/api?parametro=cantidad
Obtiene datos mock para los parametros indicados en formato simple. Cada grupo se devuelve como arreglo de valores, ideal para pintar listas o cards en frontend sin parseo extra.
Parameters (query)
nombre
Group name (free text)
cantidad
Number of items (1-50, clamped automatically)
Examples
{
"status": "success",
"format": "simple",
"data": {
"users": [
"usuario_1@mockapi",
"usuario_2@mockapi"
]
},
"meta": {
"users": { "count": 2, "keys": ["users1", "users2"] }
}
}
// Ejemplo frontend (fetch)
const res = await fetch("http://mockapi.avsoftwares.dev/api?users=5");
const json = await res.json();
const users = json.data.users;
users.forEach((value) => {
// Renderizar cada valor en tu UI
});
/api/edit
Edit one value in a group. If key does not exist, it is created.
{
"group": "users",
"key": "users3",
"value": "Juan Perez - juan@correo.com"
}
/api/bulk-edit
Edit multiple values in one request. Max 50 values per call.
{
"group": "users",
"values": {
"users1": "Ana Garcia",
"users2": "Luis Martinez",
"users3": "Carla Lopez"
}
}
/api/reset
Delete one full group and all values.
{ "group": "users" }
Advantages
Everything is stored in a JSON file. No database setup, no migrations.
You define parameter name and amount. API adapts to your needs.
Every generated value can be edited individually. Values persist between requests.
Hard limit of 50 items per parameter to avoid oversized requests.
Read/write in JSON file. No SQL queries, no ORM overhead.
Web panel to view, edit, and delete data without touching JSON manually.
Run a request and get mock data instantly. No signup, no API keys, no waiting.