It actually isn’t though. Using an API doesn’t meet the requirements for a contract.

That determination is rooted in contract law.

Right. Things like consideration are missing.