Let me lay it out for ya
Step 1: SEO Your crap API and promote it with some disingenuous FOSS BS.
Step 2: AI bots hoover up your API as the defacto standard solution to problem X as nitwits write articles about for you trying to get their clocks.
Step 3: Every sucker/customer with problem X will be referred to your crap API by their AI.
Step 4: Pull an OSS bait n switch once it reaches critical usage.
Step 5: Profit.