The present invention creates a pharmaceutical composition containing, as the active component, an indole carbonic acid derivatives exhibiting DP receptor antagonism and provides a therapeutic agent for the allergic diseases, which contains as the active component, a compound of the following formula (I) :(wherein, ring A represents an aromatic carbon ring etc.; ring B represents a nitrogen containing non-aromatic heterocycle etc.; the group of the formula:-X1=X2-X3=X4- represents the group of the formula:-C(R1)=C(R2)- C(R3)-C (R4) - etc.; X5represents C(R5) or N ; each of R1, R2, R3, R4and R5independently represents a hydrogen atom, a halogen atom etc.; R6represents the group of the formula : -Z-R6(wherein, Z represents an alkylene group etc. ; R10represents a carboxy group etc.) etc.; R7represents an optionally substituted C1-C6 alkoxy group etc.; each of R8independently represents a halogen atom etc.; each of R9independently represents an optionally substituted alkyl group etc.; Y represents a single bond etc.; n represents 0 etc.; q represents 0 etc.), or the pharmaceutically acceptable salt or the hydrate thereof.創製具有DP受體拮抗活性之吲哚羧酸衍生物及以該化合物為有效成分含有之醫藥組成物其,提供過敏性疾病治療劑。一種如下式(I)化合物、其製藥容許鹽、或這些之溶劑合物:(式中環A為芳香族碳環等;環B為含非芳香族氮雜環等;式:-X1=X2-X3=X4-為式:-C(R1)=C(R2)-C(R3)=C(R4)-等;X5為C(R5)或N;R1、R2、R3、R4及R5各自獨立為氫原子、鹵素原子等;R6為式:-Z-R10(式中Z為伸烷基等;R10為羧基等)等;R7為可有取代之烷氧基等;R8各自獨立為鹵素原子等;R9各自獨立為可有取代之烷基等;Y為單鍵等;n為0等;q為0等)。