Comprehensive TeX Archive Network

Query­ing the CTAN Database with JSON – Topic

The in­for­ma­tion about a sin­gle topic can be ob­tained un­der the URL like


The last el­e­ment in the URl is the key of the topic as used by CTAN. Those keys are also listed in the list of top­ics.

The re­sult is a JSON ob­ject as in the fol­low­ing list­ing:

{"key":"cv","details":"curriculum vitae/Resumé"}  

The en­try has sev­eral at­tributes:

This at­tribute con­tains the key of the au­thor. This at­tribute is manda­tory.
This at­tribute con­tains a short de­scrip­tion of the topic.


You can re­quest that more in­for­ma­tion about the top­ics is pro­vided. This in­for­ma­tion is the list of pack­ages in which the topic is men­tioned. This is ac­com­plished with the pa­ram­e­ter ref. It can be set to true as in the fol­low­ing ex­am­ple:


This re­sults in a JSON ob­ject like in the fol­low­ing list­ing;

 "details":"curriculum vitae/Resumé",

In this case the at­tribute packages con­tains a list of pack­age names.

Guest Book Sitemap Contact Contact Author