{"openapi":"3.1.0","info":{"title":"CTAN API","version":"1.0.0","description":"The TeX and LaTeX package ecosystem — CTAN, the Comprehensive TeX Archive Network — as an API. Look up any of CTAN's ~6,900 packages for its caption and description, latest version and date, license, authors (with resolved names), aliases, topics, home and repository links, and whether it ships with MiKTeX and TeX Live; search the whole registry by name and caption; and resolve any CTAN author id to a name. Covers the TeX/LaTeX world from PGF/TikZ, Beamer and KOMA-Script to amsmath, biblatex and listings. Live from the official CTAN JSON API. Ideal for LaTeX editors and tooling, package dashboards, academic-publishing pipelines and TeX ecosystem analytics. Open data from CTAN.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/ctan-api","description":"oanor gateway"}],"tags":[{"name":"CTAN"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/author":{"get":{"operationId":"get_v1_author","tags":["CTAN"],"summary":"Resolve a CTAN author id to a name","description":"","parameters":[{"name":"id","in":"query","required":true,"description":"CTAN author id, e.g. knuth","schema":{"type":"string"},"example":"knuth"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"author":{"id":"knuth","name":"Donald E. Knuth","ctan_url":"https://ctan.org/author/knuth"}},"meta":{"timestamp":"2026-05-31T13:03:59.179Z","request_id":"8a7df902-cf6c-48b3-8db4-800f160f26cc"},"status":"ok","message":"Author retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/package":{"get":{"operationId":"get_v1_package","tags":["CTAN"],"summary":"Package detail (caption, version, license, authors, topics)","description":"","parameters":[{"name":"name","in":"query","required":true,"description":"CTAN package name, e.g. pgf","schema":{"type":"string"},"example":"pgf"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"package":{"id":"pgf","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}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/search":{"get":{"operationId":"get_v1_search","tags":["CTAN"],"summary":"Search the CTAN registry","description":"","parameters":[{"name":"q","in":"query","required":true,"description":"Search term (name or caption)","schema":{"type":"string"},"example":"graphics"},{"name":"limit","in":"query","required":false,"description":"Results (1-100, default 20)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":20,"query":"graphics","total":74,"results":[{"key":"graphics","name":"graphics","caption":"Standard LaTeX graphics","ctan_url":"https://ctan.org/pkg/graphics"},{"key":"graphics-cfg","name":"graphics-cfg","caption":"Sample configuration files for LaTeX color and graphics","ctan_url":"https://ctan.org/pkg/graphics-cfg"},{"key":"graphics-def","name":"graphics-def","caption":"Colour and graphics option files","ctan_url":"https://ctan.org/pkg/graphics-def"},{"key":"graphics-pln","name":"graphics-pln","caption":"LaTeX-style graphics for Plain TeX users","ctan_url":"https://ctan.org/pkg/graphics-pln"},{"key":"graphicscache","name":"graphicscache","caption":"Cache includegraphics calls","ctan_url":"https://ctan.org/pkg/graphicscache"},{"key":"combinedgraphics","name":"combinedgraphics","caption":"Include graphic (EPS or PDF)/LaTeX combinations","ctan_url":"https://ctan.org/pkg/combinedgraphics"},{"key":"latex-graphics","name":"latex-graphics","caption":"The LaTeX standard graphics bundle","ctan_url":"https://ctan.org/pkg/latex-graphics"},{"key":"latex-graphics-dev","name":"latex-graphics-dev","caption":"Development pre-release of the LaTeX graphics bundle","ctan_url":"https://ctan.org/pkg/latex-graphics-dev"},{"key":"mpgraphics","name":"mpgraphics","caption":"Process and display MetaPost figures inline","ctan_url":"https://ctan.org/pkg/mpgraphics"},{"key":"reflectgraphics","name":"reflectgraphics","caption":"Techniques for reflecting graphics","ctan_url":"https://ctan.org/pkg/reflectgraphics"},{"key":"adjustbox","name":"adjustbox","caption":"Graphics package-alike macros for “general” boxes","ctan_url":"https://ctan.org/pkg/adjustbox"},{"key":"animate","name":"animate","caption":"Create PDF and SVG animations from graphics files and inline graphics","ctan_url":"https://ctan.org/pkg/animate"},{"key":"asy-overview","name":"asy-overview","caption":"A brief overview of the Asymptote language for drawing mathematical graphics","ctan_url":"https://ctan.org/pkg/asy-overview"},{"key":"asymptote","name":"asymptote","caption":"2D and 3D TeX-Aware Vector Graphics Language","ctan_url":"https://ctan.org/pkg/asymptote"},{"key":"autopdf","name":"autopdf","caption":"Conversion of graphics to pdfLaTeX-compatible formats","ctan_url":"https://ctan.org/pkg/autopdf"},{"key":"boxedart4mac","name":"boxedart4mac","caption":"Import graphics into Macintosh TeX","ctan_url":"https://ctan.org/pkg/boxedart4mac"},{"key":"cachepic","name":"cachepic","caption":"Convert document fragments into graphics","ctan_url":"https://ctan.org/pkg/cachepic"},{"key":"dogma","name":"dogma","caption":"Metrics and LaTeX support for Dogma Font From Emigre Graphics","ctan_url":"https://ctan.org/pkg/dogma"},{"key":"drawmgr","name":"drawmgr","caption":"Macros for centralized management of graphics scripts","ctan_url":"https://ctan.org/pkg/drawmgr"},{"key":"dvipdfmx-def","name":"dvipdfmx-def","caption":"Configuration file for dvipdfmx graphics","ctan_url":"https://ctan.org/pkg/dvipdfmx-def"}]},"meta":{"timestamp":"2026-05-31T13:03:59.394Z","request_id":"969a6fe4-855d-48c7-8bac-269ab52cf380"},"status":"ok","message":"Packages searched","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Source & counts","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"TeX/LaTeX packages from CTAN. /v1/package = live detail (caption, description, version, license, resolved authors, topics, MiKTeX/TeX Live availability); /v1/search = search the bundled index by name and caption; /v1/author = resolve a CTAN author id to a name.","source":"CTAN — the Comprehensive TeX Archive Network (the TeX / LaTeX package registry)","endpoints":["/v1/package","/v1/search","/v1/author","/v1/meta"],"total_authors":3152,"total_packages":6969},"meta":{"timestamp":"2026-05-31T13:03:59.470Z","request_id":"f0b2e68c-3da0-49f0-a60a-a97f05d80ef8"},"status":"ok","message":"Meta retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":3500,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":415,"monthly_call_quota":47500,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1255,"monthly_call_quota":234000,"rps_limit":20,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":3345,"monthly_call_quota":1185000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/ctan-api"}