When you call the API, you can see, for each result, a type
array, for example :
"types" : [ "route" ]
So, you will have to create your own filter to determine wich result(s) you're interesting in, depending of this types
parameter.
You can find all the possible values of type
here .