XML 12 R1.htm IDEA: XBRL DOCUMENT v3.5.0.2
Document And Entity Information - shares
6 Months Ended
Jun. 30, 2016
Jul. 28, 2016
Document Information [Line Items]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Jun. 30, 2016  
Document Fiscal Year Focus 2016  
Document Fiscal Period Focus Q2  
Entity Registrant Name ANI PHARMACEUTICALS INC  
Entity Central Index Key 0001023024  
Current Fiscal Year End Date --12-31  
Entity Filer Category Accelerated Filer  
Trading Symbol ANIP  
Common Stock [Member]    
Document Information [Line Items]    
Entity Common Stock, Shares Outstanding   11,514,495
Class C Special Stock [Member]    
Document Information [Line Items]    
Entity Common Stock, Shares Outstanding   10,864