The api does not report whether a certain trophy is secret or not. It also doesn't report if it is hidden.
To overcome this issue I currently use a local list of secret/hidden trophies to test against, of course it would be much more convenient if the api call just tells me if a trophy is secret/hidden or not.