imup.cc v1 REST API & Native MCP

API REST para desarrolladores y límites

Integre acortamiento de URLs, análisis de seguridad de desencriptado, encuestas en vivo, formularios reactivos y generación de QR directamente en sus aplicaciones y agentes de IA.

Límite de tasa de ventana deslizante Bearer / X-API-Key JSON-RPC 2.0 MCP Protegido contra SSRF

Política de cuotas y límites de tasa

Para garantizar una alta disponibilidad y un uso justo, todos los endpoints REST y MCP están protegidos por limitación de tasa de ventana deslizante con precisión de milisegundos.

60s Window
Membresía y clave de API requeridas Obligatorio

Para utilizar los endpoints de la API REST, es obligatorio ser miembro y enviar una clave de API válida (Bearer o X-API-Key). Las solicitudes no autenticadas se rechazan con HTTP 401.

Límites de tasa y cuotas (Ventana deslizante) 120 - 300 req / min

Las claves de API verificadas y las cuentas de miembros disfrutan de una cuota de 120 a 300 solicitudes por ventana deslizante de 1 minuto.

Encabezados estándar de límite de tasa HTTP

Encabezado Descripción Valor de ejemplo
X-RateLimit-Limit Total de solicitudes permitidas en la ventana actual 120
X-RateLimit-Remaining Cupo restante hasta que se reinicie la ventana 119
X-RateLimit-Reset Marca de tiempo Unix cuando se reinicia la ventana (segundos) 1760618400
Retry-After Segundos a esperar antes de reintentar tras un HTTP 429 42
Respuesta REST API HTTP 401 (Clave requerida)
{
  "success": false,
  "error": "API key or membership is required to access the REST API. Please sign in or pass an API key.",
  "code": "API_KEY_REQUIRED"
}
Respuesta HTTP 429 de la API REST
{
  "success": false,
  "error": "Rate limit exceeded. Try again in 42 seconds.",
  "retryAfter": 42,
  "limit": 120
}
Respuesta HTTP 429 de MCP (JSON-RPC 2.0)
{
  "jsonrpc": "2.0",
  "id": "req-1",
  "error": {
    "code": -32000,
    "message": "Rate limit exceeded. Try again in 42 seconds."
  }
}

Autenticación

Se requiere membresía y una clave de API válida para acceder a todos los endpoints de la API REST. Puede enviar su clave de API en las solicitudes HTTP en cualquiera de los dos formatos siguientes:

Format 1: Bearer Token
Authorization: Bearer imup_live_xxxxxxxxxxxxxxxx
Format 2: X-API-Key Header
X-API-Key: imup_live_xxxxxxxxxxxxxxxx
Puede generar su clave de API al instante desde el Panel de gestión o a través de la integración MCP Hub .

Endpoints de la API REST v1

Todos los endpoints aceptan y devuelven datos JSON.

15 Endpoints activos
GET /api/v1
Cost: 1 120 - 300/min (Key/Member)

API Discovery & Rate Limit Status

Returns API version, client IP / authentication state, and current sliding window rate limit quotas.

Ejemplo de llamada cURL
curl -X GET "https://imup.cc/api/v1" \
  -H "Authorization: Bearer YOUR_API_KEY"
POST /api/v1/links
Cost: 1 120 - 300/min (Key/Member)

Create Short Link

Shortens a long target URL with optional custom slug, password, title, and expiration.

Ejemplo de llamada cURL
curl -X POST "https://imup.cc/api/v1/links" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target_url": "https://example.com/very-long-url", "title": "My Link"}'
GET /api/v1/links/:id
Cost: 1 120 - 300/min (Key/Member)

Get Link Details & Stats

Retrieves link details, destination URL, active status, creation date, and total click counter.

Ejemplo de llamada cURL
curl -X GET "https://imup.cc/api/v1/links/LINK_ID" \
  -H "Authorization: Bearer YOUR_API_KEY"
PATCH /api/v1/links/:id
Cost: 1 120 - 300/min (Key/Member)

Update Short Link

Updates destination target URL, status (active/inactive), and title.

Ejemplo de llamada cURL
curl -X PATCH "https://imup.cc/api/v1/links/LINK_ID" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target_url": "https://example.com/updated-url"}'
DELETE /api/v1/links/:id
Cost: 1 120 - 300/min (Key/Member)

Delete Short Link

Permanently removes a short link from the registry.

Ejemplo de llamada cURL
curl -X DELETE "https://imup.cc/api/v1/links/LINK_ID" \
  -H "Authorization: Bearer YOUR_API_KEY"
POST /api/v1/links/unshorten
Cost: 1 120 - 300/min (Key/Member)

Unshorten & Security Analysis

Resolves redirect chains for any shortened URL, validates safety, and strips UTM/tracking params.

Ejemplo de llamada cURL
curl -X POST "https://imup.cc/api/v1/links/unshorten" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://bit.ly/3xyz?utm_source=test"}'
POST /api/v1/links/bulk
Cost: N (1 per URL) 120 - 300/min (Key/Member)

Bulk Shorten Links

Creates up to 50 short links in a single atomic transaction. Rate limit cost equals number of URLs.

Ejemplo de llamada cURL
curl -X POST "https://imup.cc/api/v1/links/bulk" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://site1.com", "https://site2.com"]}'
POST /api/v1/polls
Cost: 1 120 - 300/min (Key/Member)

Create Live Poll

Creates a real-time polling widget with custom question and up to 10 choices.

Ejemplo de llamada cURL
curl -X POST "https://imup.cc/api/v1/polls" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title": "Favorite stack?", "options": ["Node.js", "Next.js", "Django"]}'
GET /api/v1/polls/:uuid
Cost: 1 120 - 300/min (Key/Member)

Get Poll & Live Results

Retrieves poll questions, option vote counts, and calculated percentage distribution.

Ejemplo de llamada cURL
curl -X GET "https://imup.cc/api/v1/polls/POLL_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY"
POST /api/v1/polls/:uuid/vote
Cost: 1 120 - 300/min (Key/Member)

Cast Poll Vote

Submits a vote for a specific option ID with anti-ballot stuffing validation.

Ejemplo de llamada cURL
curl -X POST "https://imup.cc/api/v1/polls/POLL_UUID/vote" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"option_ids": [1]}'
POST /api/v1/forms
Cost: 1 120 - 300/min (Key/Member)

Create Reactive Form

Creates a custom form with flexible fields (text, email, select, rating, textarea).

Ejemplo de llamada cURL
curl -X POST "https://imup.cc/api/v1/forms" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title": "Customer Feedback", "description": "Quick survey"}'
GET /api/v1/forms/:uuid
Cost: 1 120 - 300/min (Key/Member)

Get Form Schema & Stats

Fetches form fields, configuration, status, and response counts.

Ejemplo de llamada cURL
curl -X GET "https://imup.cc/api/v1/forms/FORM_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY"
POST /api/v1/forms/:uuid/submit
Cost: 1 120 - 300/min (Key/Member)

Submit Form Response

Submits validated answers for form fields with optional idempotency key.

Ejemplo de llamada cURL
curl -X POST "https://imup.cc/api/v1/forms/FORM_UUID/submit" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"answers": {"FIELD_ID_1": "Ahmet", "FIELD_ID_2": "user@example.com"}}'
GET /api/v1/qr
Cost: 1 120 - 300/min (Key/Member)

Generate QR Code

Generates high-resolution QR codes in PNG (binary), SVG (vector), or JSON (base64 data URL).

Ejemplo de llamada cURL
curl -X GET "https://imup.cc/api/v1/qr?text=https://imup.cc&format=png&size=300" \
  -H "Authorization: Bearer YOUR_API_KEY" --output qr.png
POST / GET /api/mcp
Cost: 1 60/min (IP), 300/min (Key)

Model Context Protocol (MCP) Endpoint

JSON-RPC 2.0 endpoint for AI assistants (Claude Desktop, Cursor, Windsurf) featuring 14 native tools. Governed by identical sliding window rate limits.

Ejemplo de llamada cURL
curl -X POST "https://imup.cc/api/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "id": "1", "method": "tools/list"}'
Model Context Protocol

Servidor MCP para agentes de IA

Administre enlaces, encuestas y formularios directamente desde Cursor, Claude Desktop o Windsurf. Sujeto a los mismos límites de tasa de ventana deslizante.

Explorar MCP Hub