there's no API endpoint. i just built a UI that queries the nostr.band relay. i wasn't satisfied with the nostr.band search UI, so i made my own. https://github.com/SamSamskies/advancednostrsearch