How do I get the broadcaster_id for a user via helix?

You can use the Get Users endpoint, and if you provide either an OAuth token from the user you’re wanting details on, or their login (username), it will return among other things their id.