The creating a pharmaceutical composition comprising as an active ingredient the compound and the indole carboxylic acid derivatives having DP receptor antagonist activity and provide allergy agent. The general formula (I): (In the formula, A ring aromatic carbon rings and the like ring B aromatic nitrogen heterocycles and the like formula: 4 -X 1 = X 2 -X 3 = X - is the formula: -C (R 1) = C (R 2) -C (R 3) = C (R 4) -, etc. X 5 is N C, or (R 5) independently each R 5 and 3, R 4 R 1, R 2, R , a hydrogen atom, a halogen atom or the like R 6 is the formula: (wherein the alkylene, etc. Z R 10 is carboxyl, etc.) -Z-R 10 good alkyloxy such as R 7 may be substituted R 8, etc. are each independently a halogen atom or the like R 9 are each independently an alkyl, etc. optionally substituted n is 0 or the like single bond, etc. Y is a compound represented by 0, etc.) is q, the pharmaceutical salt, or a solvate thereof, is above acceptable.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等)で示される化合物、その製薬上許容される塩、又はそれらの溶媒和物。