[SH:1][C:2]1[CH:7]=[C:6]([CH3:8])[N:5]2[N:9]=[CH:10][C:11]([C:12]([O:14]C)=[O:13])=[C:4]2[N:3]=1>[OH-].[Na+]>[SH:1][C:2]1[CH:7]=[C:6]([CH3:8])[N:5]2[N:9]=[CH:10][C:11]([C:12]([OH:14])=[O:13])=[C:4]2[N:3]=17.20 g of methyl 5-mercapto-7-methylpyrazolo[1,5-a]-pyrimidine-3-carboxylate were heated to 100° in 2N sodium hydroxide solution until almost all had dissolved. The solution was cooled, filtered and the filtrate was adjusted to pH 2. The product was filtered off under suction, washed with water and acetone and dried. There was obtained 5-mercapto-7-methylpyrazolo[1,5-a]pyrimidine-3-carboxylic acid of m.p. 225° (dec.).