NEW Zealand's intelligence-gathering operations are "100 per cent legal" and there are valid reasons for what they do, Prime Minister John Key says.

HE was responding to revelations, published on Thursday, that New Zealand is spying on some of its closest Pacific neighbours and passing information to the United States.

Originally published as NZ's spying 100 per cent legal: Key