> Providing access to other services is what APIs are for.
Yeah, and databases expose extensive APIs with extremely battle-tested security and permissions models for multiple consumers.
That’s why your bank lets you connect directly to their database to see your transaction history.