Only 1 parameter needed to build the link. For example:
https://transparentgov.net/json2tree/.....html?url=your-arcgis-server-URL

Example your-arcgis-server-URL (ended with ... .../rest/service):
https://maps.lacity.org/lahub/rest/services

Search Layers API


Folder structure API


Check each layer availability API