You can try
http://jenkins_url:8080/queue/api/json?tree=items[url]
From the JSON response, extract the url value and use it in the following format(replace xxxxxxxx with appropriate id):
http://jenkins_url:8080/queue/item/xxxxxxxx/api/json?depth=1&tree=task[url]