The bare form was für is used before uncountable nouns and plural nouns. Countable singular nouns take the indefinite article: was für ein(e).
Was für is followed by the syntactically expected case. The component für, though etymologically the same as the preposition, does not have any rection.