Skip to content
GET /v1/package

Package detail (caption, version, license, authors, topics)

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/ctan-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/ctan-api/v1/package" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ctan-api/v1/package", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ctan-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/ctan-api/v1/package",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "package": {
            "id": "pgf",
            "home": null,
            "name": "pgf",
            "topics": [
                "graphics-in-tex",
                "graphics",
                "pgf-tikz",
                "tagged-pdf-partially"
            ],
            "aliases": [
                {
                    "id": "tikz",
                    "name": "TikZ"
                }
            ],
            "authors": [
                {
                    "id": "pgf",
                    "name": "The PGF/TikZ Team",
                    "active": true
                },
                {
                    "id": "feuersaenger",
                    "name": "Christian Feuersänger",
                    "active": true
                },
                {
                    "id": "tantau",
                    "name": "Till Tantau",
                    "active": true
                },
                {
                    "id": "menke",
                    "name": "Henri Menke",
                    "active": true
                }
            ],
            "caption": "Create PostScript and PDF graphics in TeX",
            "license": [
                "gpl2",
                "fdl",
                "lppl1.3c"
            ],
            "version": {
                "date": "2025-08-29",
                "number": "3.1.11a"
            },
            "ctan_url": "https://ctan.org/pkg/pgf",
            "ctan_path": "/graphics/pgf/base",
            "on_miktex": true,
            "on_texlive": true,
            "repository": "https://github.com/pgf-tikz/pgf",
            "description": "PGF is a macro package for creating graphics. It is platform- and format-independent and works together with the most important TeX backend drivers, including pdfTeX and dvips. It comes with a user-friendly syntax layer called TikZ. Its usage is similar to pstricks and the standard picture environment. PGF works with plain (pdf-)TeX, (pdf-)LaTeX, and ConTeXt. Unlike pstricks , it can produce either PostScript or PDF output."
        }
    },
    "meta": {
        "timestamp": "2026-05-31T13:03:59.309Z",
        "request_id": "154be03e-9407-47dd-a55f-fd9f0eeb8a8e"
    },
    "status": "ok",
    "message": "Package retrieved",
    "success": true
}