Does Moneda have an API and a command-line tool?

Yes. For developers and power users, Moneda offers a REST API and a command-line interface (CLI). They expose the same core capabilities as the app, reading your data and starting actions, under the same security model. Anything that moves money still needs your approval. They're meant for building integrations and automations on top of your own account.