Consulta de Códigos HTTP - Buscar y Entender Códigos de Estado

Busca y consulta más de 50 códigos de estado HTTP con descripciones detalladas, casos de uso reales y consejos para solución de problemas. Todo se ejecuta en tu navegador sin enviar datos a ningún servidor.

49 status codes found

100

Continue

The server has received the request headers and the client should proceed to send the request body.

101

Switching Protocols

The server is switching protocols as requested by the client via the Upgrade header.

102

Processing

The server has received and is processing the request, but no response is available yet.

103

Early Hints

Used to return some response headers before the final HTTP message.

200

OK

The request has succeeded. The meaning depends on the HTTP method used.

201

Created

The request has been fulfilled and has resulted in one or more new resources being created.

202

Accepted

The request has been accepted for processing, but the processing has not been completed.

203

Non-Authoritative Information

The returned metadata is not exactly the same as available from the origin server.

204

No Content

The server successfully processed the request and is not returning any content.

205

Reset Content

The server successfully processed the request and asks the client to reset the document view.

206

Partial Content

The server is delivering only part of the resource due to a range header sent by the client.

207

Multi-Status

A Multi-Status response conveys information about multiple resources.

300

Multiple Choices

The request has more than one possible response. The user or user agent should choose one.

301

Moved Permanently

The resource has been permanently moved to a new URL. Search engines transfer SEO value to the new URL.

302

Found

The resource is temporarily located at a different URL. The client should continue to use the original URL.

303

See Other

The response to the request can be found at another URL using a GET method.

304

Not Modified

The resource has not been modified since the last request. The client can use the cached version.

307

Temporary Redirect

The resource is temporarily at a different URL. Unlike 302, the method and body will not be changed.

308

Permanent Redirect

The resource has been permanently moved. Unlike 301, the method and body will not be changed.

400

Bad Request

The server cannot process the request due to malformed syntax or invalid request framing.

401

Unauthorized

The request requires authentication. The client must provide valid credentials.

402

Payment Required

Reserved for future use. Sometimes used for paywall or subscription-based APIs.

403

Forbidden

The server understood the request but refuses to authorize it. Authentication will not help.

404

Not Found

The server cannot find the requested resource. The URL may be incorrect or the resource may have been removed.

405

Method Not Allowed

The HTTP method used is not supported for this resource.

406

Not Acceptable

The server cannot produce a response matching the Accept headers sent by the client.

407

Proxy Authentication Required

The client must authenticate with the proxy before the request can proceed.

408

Request Timeout

The server timed out waiting for the client to send the complete request.

409

Conflict

The request conflicts with the current state of the resource on the server.

410

Gone

The resource has been permanently deleted and will not be available again. Unlike 404, this is intentional.

411

Length Required

The server requires a Content-Length header in the request.

412

Precondition Failed

One or more conditions in the request headers evaluated to false on the server.

413

Content Too Large

The request body is larger than the server is willing to process.

414

URI Too Long

The request URL is longer than the server can interpret.

415

Unsupported Media Type

The server does not support the media type of the request body.

416

Range Not Satisfiable

The range specified in the Range header cannot be fulfilled.

418

I'm a Teapot

The server refuses to brew coffee because it is a teapot (RFC 2324). An April Fools' joke that became a real standard.

422

Unprocessable Entity

The server understands the content type but is unable to process the contained instructions.

429

Too Many Requests

The client has sent too many requests in a given time window (rate limiting).

451

Unavailable For Legal Reasons

The resource is unavailable due to legal demands (censorship, court order).

500

Internal Server Error

A generic error indicating the server encountered an unexpected condition that prevented it from fulfilling the request.

501

Not Implemented

The server does not support the functionality required to fulfill the request.

502

Bad Gateway

The server, acting as a gateway, received an invalid response from the upstream server.

503

Service Unavailable

The server is currently unable to handle the request due to maintenance or overload.

504

Gateway Timeout

The server, acting as a gateway, did not receive a timely response from the upstream server.

505

HTTP Version Not Supported

The server does not support the HTTP protocol version used in the request.

507

Insufficient Storage

The server is unable to store the representation needed to complete the request.

508

Loop Detected

The server detected an infinite loop while processing the request.

511

Network Authentication Required

The client needs to authenticate to gain network access (captive portal).

Learn More

¿Qué son los Códigos de Estado HTTP?

Los códigos de estado HTTP son números de tres dígitos que un servidor web devuelve en respuesta a la solicitud de un cliente. Comunican si una petición fue exitosa, falló o requiere alguna acción adicional.

Se agrupan en cinco categorías: 1xx (Informativos), 2xx (Éxito), 3xx (Redirección), 4xx (Error del Cliente) y 5xx (Error del Servidor). Cada categoría cumple una función específica dentro del protocolo HTTP.

Comprender estos códigos es fundamental para desarrolladores web, ingenieros DevOps y profesionales de SEO. Un 301 transfiere la autoridad de enlace para SEO, un 429 indica limitación de velocidad, y un 503 le dice a los buscadores que reintenten más tarde. Esta herramienta te permite consultar cualquier código y entender su significado en contexto.

Cómo Usar

  1. 1Navega por todos los códigos o usa las pestañas de categoría para filtrar por 1xx, 2xx, 3xx, 4xx o 5xx.
  2. 2Escribe un número de código, nombre o palabra clave en el buscador para filtrar al instante.
  3. 3Haz clic en cualquier tarjeta de código para expandir y ver los casos de uso comunes.
  4. 4Usa las descripciones de categoría para entender qué representa cada grupo.
  5. 5Consulta esta página cada vez que encuentres un código de respuesta HTTP desconocido.

Cuándo lo Necesitas

Depurando respuestas de API

Cuando tu API devuelve un código inesperado, consúltalo aquí para entender qué comunica el servidor y cómo manejarlo en tu código cliente.

Configurando redirecciones para SEO

Elige entre 301 (permanente) y 302 (temporal) según si quieres que los buscadores transfieran la autoridad de página a la nueva URL.

Implementando manejo de errores

Decide qué códigos HTTP debe devolver tu API para distintas condiciones de error: 400 para entrada inválida, 401 para autenticación faltante, 403 para acceso prohibido, 422 para fallos de validación.

Leyendo logs del servidor

Al monitorear logs de acceso o errores, decodifica rápidamente los códigos para identificar patrones como limitación de bots (429) o rutas internas rotas (500).

Consejos

1

Usa códigos específicos en lugar de genéricos

Devuelve 404 para recursos inexistentes, 409 para conflictos y 422 para errores de validación, en vez de abusar del 400 Bad Request para todo.

2

Incluye cuerpos de error útiles

El código de estado indica la categoría del problema; el cuerpo de la respuesta debe explicar el error específico y cómo solucionarlo.

3

Respeta la semántica para SEO

Usa 301 para movimientos permanentes, 410 para contenido eliminado intencionalmente, y 503 con cabecera Retry-After durante mantenimiento.

4

Maneja el 429 con retroceso exponencial

Cuando recibas respuestas de límite de velocidad, aplica retroceso exponencial en lugar de reintentar de inmediato para evitar ser bloqueado.

Ejemplos

Respuesta exitosa de API

Una petición GET que devuelve datos normalmente.

Input

GET /api/usuarios/123

Output

200 OK — La solicitud fue exitosa y el servidor devolvió los datos del usuario.

Recurso no encontrado

Solicitando una página que no existe.

Input

GET /api/usuarios/99999

Output

404 Not Found — El servidor no puede encontrar el recurso solicitado.

Límite de velocidad excedido

Demasiadas solicitudes en un período corto.

Input

GET /api/buscar (solicitud número 100 en 1 minuto)

Output

429 Too Many Requests — Espera y reintenta con retroceso exponencial.

Limitaciones

  • Esta referencia cubre códigos estándar HTTP/1.1 y extensiones comunes. No incluye códigos propietarios o específicos de aplicación (p. ej., Cloudflare 520-527).
  • La semántica de los códigos puede variar entre implementaciones: algunas APIs usan códigos de forma no convencional.
  • Esta herramienta es una referencia de consulta y no puede diagnosticar por qué tu servidor específico devuelve un código determinado.

Características

  • Referencia completa de más de 50 códigos de estado HTTP estándar
  • Búsqueda instantánea por número de código, nombre o palabra clave
  • Filtrado por categoría: Informativos, Éxito, Redirección, Error del Cliente, Error del Servidor
  • Tarjetas expandibles con casos de uso reales para cada código
  • Categorías codificadas por color para identificación visual rápida
  • Códigos relevantes para SEO destacados con implicaciones de redirección y rastreo
  • 100% del lado del cliente — sin carga de datos, funciona sin conexión una vez cargado

Preguntas Frecuentes

¿Cuál es la diferencia entre 401 y 403?

401 Unauthorized significa que la solicitud carece de credenciales de autenticación válidas — el cliente debe autenticarse y reintentar. 403 Forbidden significa que el servidor entendió la solicitud pero se niega a autorizarla, incluso con credenciales válidas. La autenticación no ayuda con un 403.

¿Debo usar 301 o 302 para redirecciones?

Usa 301 Moved Permanently cuando la URL ha cambiado definitivamente y quieres que los buscadores transfieran el valor SEO. Usa 302 Found para redirecciones temporales donde la URL original debe seguir siendo la canónica.

¿Qué significa 418 I'm a Teapot?

Es un código de estado HTTP real del RFC 2324 (Hyper Text Coffee Pot Control Protocol), originalmente una broma del Día de los Inocentes. Algunas APIs lo usan como easter egg o para indicar que el servidor no procesará ciertas solicitudes intencionalmente.

¿Cuándo debo devolver 422 en vez de 400?

400 Bad Request es para solicitudes mal formadas (sintaxis JSON inválida, cabeceras faltantes). 422 Unprocessable Entity es para solicitudes bien formadas con contenido semánticamente inválido (JSON válido pero un campo no pasa la validación).

¿Cómo afectan los códigos de estado al SEO?

301 transfiere aproximadamente el 95% de la autoridad de enlace a la nueva URL. Las páginas 404 eventualmente se eliminan del índice. 503 con Retry-After indica a los rastreadores que vuelvan más tarde sin penalización. 410 les dice que el contenido se eliminó intencionalmente.

Last reviewed:

Tu Privacidad

Esta es una herramienta de referencia pura. No se envía ningún dato a ningún servidor. Toda la búsqueda y filtrado se realiza completamente en tu navegador.

Consejos y Flujos Relacionados