Posted the same thing in strategy board, thinking I may have better luck here. ideally I'm looking for something like this: input: AAPL output: (industry/sector/market) electronic equipment/consumer electronics/NASDAQ anyone know any free source for this that I can access using python? I'm thinking about yahoo's yql or quandl, something like that.