Programmatic account transaction data

Is there an API or a programmatic way to access account transactions data similar to what is displayed on the explorer ?

maybe this helps:

Thanks for that. Is there something similar for neurons whereby I can see what other neurons were spawned from a neuron and when rewards were assigned to a neuron?

It looks like Rosetta only works with accounts?

I believe this data is not available, but maybe @wang can help

For arbitrary neurons, this data is not available. Even probabilistically determining those relationships is hard.