Yes (or an URL).
> What would the response be?
JSON or CSV with options to allow filtering on certain types of tokens (only numbers or strings for example).
The output could be a tree (with children for a block) or flat.
I'm on freenode (see my profile) if you want to talk about that.