Programmatic Access

Machine-readable access to the CnidoSite catalogue metadata. Every endpoint below is read-only, needs no key or registration, and can be returned as JSON or as tab-separated text.

Current release: CnidoSite r1.1 (2026-09-16). See Database Release & Changelog for the version history and the update schedule.

Endpoints

RequestReturns
api.php?resource=release Version number, build date, update schedule and the full changelog
api.php?resource=stats Site-wide totals: species, genomes, modules, download volume
api.php?resource=modules The 15 data modules, their short names and their landing pages
api.php?resource=species Every species in the catalogue with its abbreviation and class
api.php?resource=coverage Species-by-module matrix of record counts
api.php?resource=downloads One row per downloadable file, with size and download URL

Parameters

ParameterValuesMeaning
resourcesee aboveWhich dataset to return. Omitting it shows this page.
formatjson (default), tsvOutput encoding. tsv is sent as a file download.
classe.g. HydrozoaRestrict species, coverage and downloads to one taxonomic class.

Examples

# every species with its class, as tab-separated text
curl -O 'https://cnidosite.org/api.php?resource=species&format=tsv'

# just the Hydrozoa, as JSON
curl 'https://cnidosite.org/api.php?resource=coverage&class=Hydrozoa'

# the full download manifest, then fetch every file it lists
curl 'https://cnidosite.org/api.php?resource=downloads&format=tsv' > manifest.tsv
awk -F'\t' 'NR>1 {print $6}' manifest.tsv | xargs -n1 -P4 curl -O
The downloads endpoint is the machine-readable equivalent of the Download page: it lists every file in the collection together with its size and its direct download URL, so the whole 31 GB collection can be retrieved with a single loop instead of one button press per file. Files are served by download_fun.php, which streams them without loading them into memory; for large transfers wget or curl -C - will resume an interrupted download.
TOP