Added API target input with next-level validation