Many of the dynamic features of the CATH web pages are based on calls to a RESTful API. As a result, the CATH API is publicly accessible and well tested, however the documentation needs improvement.
We are still in the process of providing automatically generated docs / tests for the API (via OpenAPI spec). While that project is ongoing - I'll (unofficially) document some of the available REST endpoints here.
Please note: we do not expect these endpoints to change substantially however we do reserve the right to make changes/improvements where necessary
GET
/version/:version_id/api/rest/superfamily
http://www.cathdb.info/version/v4_3_0/api/rest/superfamily
GET
/version/:version_id/api/rest/superfamily/:sfam_id
http://www.cathdb.info/version/v4_3_0/api/rest/superfamily/1.10.8.10
GET
/version/:version_id/api/rest/domain_summary/:domain_id
http://www.cathdb.info/version/v4_3_0/api/rest/domain_summary/1cukA01
GET
/version/:version_id/api/rest/id/:domain_id.pdb
http://www.cathdb.info/version/v4_3_0/api/rest/id/1cukA01.pdb
GET
/version/:version_id/api/rest/id/:domain_id.png?size=[S|M|L]
http://www.cathdb.info/version/v4_3_0/api/rest/id/1cukA01.png?size=L
GET
/version/:version_id/api/rest/superfamily/:sfam_id
http://www.cathdb.info/version/v4_3_0/api/rest/superfamily/1.10.8.10
GET
/version/:version_id/api/rest/superfamily/:sfam_id/funfam
http://www.cathdb.info/version/v4_3_0/api/rest/superfamily/1.10.8.10/funfam
GET
/version/:version_id/api/rest/superfamily/:sfam_id/funfam/:funfam_number
http://www.cathdb.info/version/v4_3_0/api/rest/superfamily/1.10.8.10/funfam/1
GET
/version/:version_id/api/rest/superfamily/:sfam_id/funfam/:funfam_number/files/stockholm
http://www.cathdb.info/version/v4_3_0/superfamily/1.10.8.10/funfam/1/files/stockholm
GET
/version/:version_id/api/rest/uniprot_to_funfam/:uniprot_acc
http://www.cathdb.info/version/v4_3_0/api/rest/uniprot_to_funfam/P00520 (YAML)
GET
/version/:version_id/api/rest/cathtree/from_cath_id_to_depth/:node_id/:depth
http://www.cathdb.info/version/v4_3_0/api/rest/cathtree/from_cath_id_to_depth/1.10.8.10/9
Note: this lists all the domains in the superfamily '1.10.8.10'. There are 9 depths in total that correspond to clusters with increasing levels of similarity: C, A, T, H, S, O, L, I, D (see CATH documentation for more info).
GET
/version/${version}/api/rest/superfamily/${sfam_id}/ec
http://www.cathdb.info/version/v4_3_0/api/rest/superfamily/1.10.8.10/ec