Exchange market ticker "type" filter not working

Dear,

My goal is to only receive spot market data, by applying the “type” filter as documented in the API documentation:
https://nomics.com/docs/#operation/getExchangesTicker

QUERY PARAMETERS:

Type
Enum: “spot” “derivative”
Type by which to filter exchanges. If not provided, all exchanges are shown.

Example request:
https://api.nomics.com/v1/exchange-markets/ticker?type=spot&exchange=okex&key=xxx

First results:
[
{
“exchange”: “okex”,
“market”: “ETH-USDT-SWAP”,
"type": “derivative”,

Observation:
As you see in the results, derivative types are not filtered out. The filter isn’t applied, this looks to be a bug in the API.

Could you please advise me on how to continue?

Best regards,
Dieter

Hello, you have confused the Exchanges Ticker with the Exchange Markets Ticker.

the Exchanges Ticker has a type filter that will limit the list of Exchanges to those that have spot or derivative markets:
https://nomics.com/docs/#operation/getExchangesTicker

The Exchange Markets Ticker does not yet have this functionality. You will have to filter the results on your own in post-processing:
https://nomics.com/docs/#operation/getExchangeMarketsTicker

webina