API updated to process input

I have to process the whole list since I can't pipe grep the cat result
:<