getModelStatus() is called in fg.htm. It calls a cascade of getModelSizes#() functions [1], 2, 3, 4. ConSurf: fg.htm skips getModelStatus() since the model is clearly in the ConSurf PDB file. ------------------------------------ How to get info from an API URL: SEE ALSO EVERNOTE "MMCIF API" See edmmtd.htm See getModelSizes() in moldoc.js Ajax call to an API URL is handled as follows in control2.js within openEDM(): NEWER api uses RCSB, see getModelSizes(). ccp4CheckRoot = "https://www.ebi.ac.uk/pdbe/api/pdb/entry/files/"; // append PDB ID. ccp4CheckURL = ccp4CheckRoot + validPDBId; const http = new XMLHttpRequest() http.open("GET", ccp4CheckURL); http.send(); http.onload = function() // called only once. responseText is complete. { //alert(http.responseText); // if (!match(http.responseText, "ccp4")) }