No SQL database · No setup · No hassle

Your mock API
in a single file

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

Three steps, zero complexity

No tables, no models, no migrations. Send a URL and get data.

Step 01

Send your request

Make a GET request to /api?name=count. You choose the parameter name.

Step 02

API generates JSON

Values are generated automatically with sequential keys: name1, name2, etc. Up to 50.

Step 03

Edit values

Use the Editor panel or POST /api/edit to customize values. Data is persisted in bd.json.

Interactive

Test the API right now

Type a parameter name and amount. You will receive the real response from this instance.

GET
http://mockapi.avsoftwares.dev/api? =

The response will appear here

Reference

Simple docs for clients

Main route is /api and it already returns frontend-ready data.

GET /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

/api?users=10
/api?products=5&categories=3
/api?items=50
{
    "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
});
POST /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"
}
POST /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"
  }
}
POST /api/reset

Delete one full group and all values.

{ "group": "users" }

Advantages

Why use MockAPI

No MySQL

Everything is stored in a JSON file. No database setup, no migrations.

Dynamic params

You define parameter name and amount. API adapts to your needs.

Editable values

Every generated value can be edited individually. Values persist between requests.

Abuse protection

Hard limit of 50 items per parameter to avoid oversized requests.

Instant

Read/write in JSON file. No SQL queries, no ORM overhead.

Visual editor

Web panel to view, edit, and delete data without touching JSON manually.

Ready to start

Run a request and get mock data instantly. No signup, no API keys, no waiting.