Here is a simple request to BitBucket which I am using to exctract pull-requests
https://HOST/rest/api/1.0/projects/PROJECT/repos/REPO/pull-requests?state=MERGED&