Ir al contenido
GET /v1/package

Package metadata + downloads + recent releases

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/hex-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/hex-api/v1/package" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hex-api/v1/package", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hex-api/v1/package");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/hex-api/v1/package",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "package": {
            "name": "phoenix",
            "links": {
                "GitHub": "https://github.com/phoenixframework/phoenix",
                "Changelog": "https://hexdocs.pm/phoenix/changelog.html"
            },
            "owners": [
                {
                    "url": "https://hex.pm/api/users/chrismccord",
                    "username": "chrismccord"
                },
                {
                    "url": "https://hex.pm/api/users/josevalim",
                    "username": "josevalim"
                },
                {
                    "url": "https://hex.pm/api/users/gazler",
                    "username": "gazler"
                },
                {
                    "url": "https://hex.pm/api/users/jeregrine",
                    "username": "jeregrine"
                },
                {
                    "url": "https://hex.pm/api/users/steffend",
                    "username": "steffend"
                }
            ],
            "html_url": "https://hex.pm/packages/phoenix",
            "licenses": [
                "MIT"
            ],
            "downloads": {
                "all": 150117848,
                "day": 17151,
                "week": 279074,
                "recent": 3166740
            },
            "updated_at": "2026-05-06T07:30:27.416322Z",
            "description": "Peace of mind from prototype to production",
            "inserted_at": "2014-04-21T22:38:32.000000Z",
            "docs_html_url": "https://phoenix.hexdocs.pm/",
            "version_count": 171,
            "latest_version": "1.8.7",
            "recent_releases": [
                {
                    "version": "1.8.7",
                    "has_docs": true,
                    "inserted_at": "2026-05-06T07:30:24.053937Z"
                },
                {
                    "version": "1.8.6",
                    "has_docs": true,
                    "inserted_at": "2026-05-05T14:57:20.174540Z"
                },
                {
                    "version": "1.8.5",
                    "has_docs": true,
                    "inserted_at": "2026-03-05T15:22:23.915693Z"
                },
                {
                    "version": "1.8.4",
                    "has_docs": true,
                    "inserted_at": "2026-02-23T17:02:40.126848Z"
                },
                {
                    "version": "1.8.3",
                    "has_docs": true,
                    "inserted_at": "2025-12-08T19:30:23.251869Z"
                },
                {
                    "version": "1.8.2",
                    "has_docs": true,
                    "inserted_at": "2025-11-26T18:35:41.021547Z"
                },
                {
                    "version": "1.8.1",
                    "has_docs": true,
                    "inserted_at": "2025-08-29T02:06:56.448705Z"
                },
                {
                    "version": "1.8.0",
                  
…