STAC is not recommended for Shapefiles and GeoJSON datasets (see explanation), better to use OGCAPIF.
If that is not possible then the appropriate way to handle Collection-level search is with the OGC API - Records standard, which is a 'brother' specification of STAC API.