FIELD: medicine, pharmaceutics.SUBSTANCE: invention relates to novel spirocyclic azaindole derivatives of formula I: , where: one of A stands for N, and the other ones stand for CR7-10; W stands for NR4; X stands for O, S; R1 and R2, independently on each other stand for H; C1-5-alkyl each time saturated, branched or unbranched, non-substituted or monosubstituted with -OC1-6alkyl; phenyl, thienyl, morpholinyl, benzothiophenyl or benzodioxilyl, each time non-substituted or monosubstituted with F, C1-6alkyl; or 5-membered heteroaryl, containing three nitrogen atoms as heteroatoms, substituted with C1-3alkyl; bound with C1-3-alkyl group phenyl non-substituted or monosubstituted with F or C1-6alkyl; R4 stands for H; R5 stands for H; R6 stands for H; R7, R8, R9 and R10 stand for H or CP3; in form of siastereomers, mixtures of diastereomers or separate diastereomer; bases and/or salts of physiologically compatible acids. Compounds are suitable for treatment of a number of diseases, for instance, pain, stress, depressions, etc. Described is method of their obtaining.EFFECT: compounds are suitable for treatment of a number of diseases, for instance, pain, stress, depressions.11 cl; 1 tbl; 34 exИзобретение относится к новым спироциклическим азаиндольным производным формулы I:где один из А означает N, а другие означают CR7-10; W означает NR4; Х означает О, S; R1 и R2 независимо друг от друга означают Н; С1-5-алкил, каждый раз насыщенный, разветвленный или неразветвленный, или остатки R1 и R2 вместе означают CH2CH2OCH2CH2, (CH2)3-6; R3 означает C1-8-алкил, каждый раз насыщенный, разветвленный или неразветвленный, незамещенный или монозамещенный -ОС1-6-алкилом; фенил, тиенил, морфолинил, бензотиофенил или бензодиоксолил, каждый раз незамещенный или монозамещенный F, C1-6-алкилом; или 5-членный гетероарил, содержащий три атома азота в качестве гетероатомов, замещенный С1-3-алкилом; связанный C1-3-алкильной группой фенил, незамещенный или монозамещенный F или C1-6-алкилом; R4 о