API usage with Joplin Cloud / own server

Operating system

macOS

Joplin version

3.3.13

Sync target

Joplin Cloud

What issue do you have?

I wanted to ask for more details on how to use the Data API. So far, I only saw documentation about the API in the Joplin Desktop Clients. Is the API also available on the Joplin Cloud? How would I set this up? Or do I have to host my own Joplin Server to access my data via a public API?