Given the address of a token, how I can get all the transactions related to that address using JSON RPC or an external api such a api.etherscan.io?

The transactions that gives a Ethereum address are different that the transaction that gives an ERC20 token. Example:

https://etherscan.io/address/0x9f7dd5ea934d188a599567ee104e97fa46cb4496 https://etherscan.io/token/Aragon?a=0x9f7dd5ea934d188a599567ee104e97fa46cb4496

I need to get the two transaction that are registered for Aragon via API.

marked as duplicate by Richard Horrocks, Roman Frolov, atomh33ls, Harry Wright, Ismael Jan 13 '18 at 0:20

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.