How to get the project details using Gitlab API

Currently i have the below url for my gitlab and i would like to fetch all the projects details of MRs which are open. I know if we provide the project id in the url i could fetch. But it involves lot of manual task to go through all 45 projects and provide the id and retrive the details using postman. So could you please help if any other alternative. Thanks for your inputs in advance.

Project id 123 in below url



Have you checked the API endpoints of Merge requests? Looks like something there could be useful for you if you want to get info about MRs from all projects you’re involved.

Worst case scenario, you can always write a small Python script to loop through different projects or to get info from multiple API endpoints :slight_smile: Normally it doesn’t take more then 15-ish mins to do that :wink: