In the title compound, C18H17N3O3, the dihedral angle between the planes of the indazole ring system [maximum deviation = 0.012 (1) Å] and the pyran-2,4-dione ring is 54.03 (6)°. An intra-molecular N-H⋯O hydrogen bond closes an S(6) ring. The same H atom also participates in an inter-molecular N-H⋯O hydrogen bond, which generates an inversion dimer. The dimers are linked by weak C-H⋯O contacts, thereby forming a three-dimensional network.
Keywords: crystal structure; indazole derivatives; pharmacological activity; pyran-2,4-dione.