Skip to content

Trendyol Search Filters API

Filters available for a search or category listing, with ids and product counts, to feed search_products. q: search text ("" to browse by category_ids / brand_ids alone). category_ids / brand_ids: optional comma-separated ids to narrow the context (same as search_products). max_values: maximum values returned per filter group (0 = all). Returns {total, filters:[{title, type, param, attribute_id, values:[{id, name, count, selected}]}]}. `param` names the search_products argument to use: brand_ids, category_ids, gender_ids, color_ids, min_rating, price (use the "min-max" id with min_price/max_price), merchant_badge, tag, toggle, or attributes (pass "attribute_id|value id"). Groups with param "toggle", "tag", "merchant_badge" or "variants" (sizes) are informational only: search_products has no argument for them.

GEThttps://api.maviapi.com/v1/sites/trendyol/get_search_filters5 credits per call

Parameters

NameRequiredExampleDescription
qstring in queryOptionaltelefon
category_idsstring in queryOptionalNone
brand_idsstring in queryOptionalNone
max_valuesinteger in queryOptional50

Response fields

querystringe.g."telefon"
totalintegere.g.100000
filtersobject[]5 fields
titlestringe.g."Avantajlı Ürünler"
typestringe.g."Tag"
paramstringe.g."tag"
attribute_idnull
valuesobject[]4 fields
idstringe.g."kirmizi_kampanya_urunu"
namestringe.g."Süper Avantajlı Ürün"
countintegere.g.63466
selectedbooleane.g.false

Example request

Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/trendyol/get_search_filters' \
  -H "Authorization: Bearer $MAVI_KEY"

Trendyol Search Filters API questions

What you get, what it costs and how to call it.

What does the Trendyol Search Filters API return?

Filters available for a search or category listing, with ids and product counts, to feed search_products. q: search text ("" to browse by category_ids / brand_ids alone). category_ids / brand_ids: optional comma-separated ids to narrow the context (same as search_products). max_values: maximum values returned per filter group (0 = all). Returns {total, filters:[{title, type, param, attribute_id, values:[{id, name, count, selected}]}]}. `param` names the search_products argument to use: brand_ids, category_ids, gender_ids, color_ids, min_rating, price (use the "min-max" id with min_price/max_price), merchant_badge, tag, toggle, or attributes (pass "attribute_id|value id"). Groups with param "toggle", "tag", "merchant_badge" or "variants" (sizes) are informational only: search_products has no argument for them. The response has query, total and filters.

Which parameters does the Trendyol Search Filters API take?

Every parameter of GET /get_search_filters is optional. You can pass q, category_ids, brand_ids and max_values.

How much does one Trendyol Search Filters API call cost?

One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the Trendyol Search Filters API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/trendyol/get_search_filters with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.

Is the Trendyol Search Filters API official?

No. It is an independent, hosted API from maviapi for the public data on trendyol.com, and it is not made, endorsed or supported by Trendyol. Its parameters and response fields are documented on this page.