this thread is relevant but this is for Github: See the size of a github repo before cloning it?
            Asked
            
        
        
            Active
            
        
            Viewed 6,018 times
        
    2 Answers
2
            
            
        In Bitbucket Cloud, a repository admin can see the size under "Repository Details" under Settings.
In Bitbucket Server too, you can view it under Settings > Repository Details after clicking on "Retrieve Size Details".
 
    
    
        pcampana
        
- 2,413
- 2
- 21
- 39
- 
                    
- 
                    If you are owner, you are able to see it. Check if you are owner or you have admin permisions. Then, as I have said: 1. Enter into the repository 2. Click settings (in the left menu) 3. See repository details after clicking on "Retrieve Size Details". – pcampana May 10 '19 at 14:32
2
            It's easiest to get this info from the admin panel. However, if you are not an admin, and you're using Bitbucket Cloud, then you can still query the API for it: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D
 
    
    
        Jim Redmond
        
- 4,139
- 1
- 14
- 18
 
    