this is one of my best, and I got the best results from.
What you do, is you build an online tool, it can be free, and then if people want API access they can buy your API.
for example, promoterKit.
And it doesn’t need to be free, maybe you can create multiple tiers as many SAAS Services, like SPyfy, Semrush… and provide API access with a higher membership.