A dioxygenase with specificity for the oxidation of the indoleamine ring of tryptophan. It is an extrahepatic enzyme that plays a role in metabolism as the first and rate limiting enzyme in the kynurenine pathway of tryptophan catabolism.