an api for getting all the links under an url specified