Skip to content

Last updated

Changelog

Trendyol API

HealthyRead-only

Trendyol product data as JSON: search and browse products by keyword or category, product details with price and seller, customer reviews with ratings, answered questions, and the filters of any listing. Generated from trendyol.com.

Base URL
https://api.maviapi.com/v1/sites/trendyol
6
Endpoints
30 min ago
Last verified
100%
Uptime / 7d
850ms
p50 latency
GET/search_products5 credits per call

Search Products

Search or browse Trendyol products; 36 cards per page (fewer if sponsored ones are dropped). q: search text (Turkish works best, e.g. "telefon", "elbise", "kulaklık"). May be empty ("") when browsing by category_ids / brand_ids / merchant_id alone. page: 1-based page number (check has_next). cursor: for gap-free paging, pass the previous response's next_cursor together with page+1 (as the site's infinite scroll does); without it, deep pages may skip or repeat a few organic results. sort: relevance | price_asc | price_desc | newest | best_seller | most_favourite | most_rated. include_sponsored: keep sponsored (ad) product cards, flagged with sponsored=true. Filters (ids come from get_search_filters): brand_ids: comma-separated brand ids, e.g. "794" (Samsung) or "794,101470". category_ids: comma-separated category ids, e.g. "103498" (Cep Telefonu). min_price / max_price: price range in TL (0 = no bound). min_rating: minimum product rating, one of 3, 4, 4.5. free_shipping: only products with free shipping. merchant_id: only products sold by this seller id (e.g. 968 = Trendyol). gender_ids: comma-separated, 1 = women, 2 = men, 3 = kids. color_ids: comma-separated colour ids (e.g. 3 = white/Beyaz). attributes: "attributeId|valueId", e.g. "523|24664" (RAM = 4 GB); repeat values as "523|24664,24665". Returns {query, title, page, sort, total, total_text, has_next, next_cursor, applied_filters, products:[{id, name, brand, official_seller, category, price, original_price, discount_percent, promotions, currency, rating, rating_count, image, images, url, merchant_id, group_id, free_shipping, attributes, sponsored}]}. total is capped at 100000 by the site. Use a product's id with get_product.

Bearer auth. Pass your key as Authorization: Bearer <key> on every request.
stringOptionalin query
integerOptionalin query
stringOptionalin query
booleanOptionalin query
stringOptionalin query
stringOptionalin query
numberOptionalin query
numberOptionalin query
numberOptionalin query
booleanOptionalin query
integerOptionalin query
stringOptionalin query
stringOptionalin query
stringOptionalin query
stringOptionalin query
querystringe.g."telefon"
titlestringe.g."telefon"
pageintegere.g.1
sortstringe.g."relevance"
totalintegere.g.100000
total_textstringe.g."100.000+"
has_nextbooleane.g.true
next_cursorstringe.g."Product_29,Ads_9,LastAdSlot_7"
applied_filtersstring[]
productsobject[]20 fields
idintegere.g.1175412466
namestringe.g."REDMI A7 Pro 4GB+128GB Mavi (Xiaomi Türkiye Garantili)"
brandstringe.g."Xiaomi"
official_sellerbooleane.g.true
categorystringe.g."Android Cep Telefonu"
priceintegere.g.10999
original_pricenull
discount_percentnull
promotionsstring[]
currencystringe.g."TL"
ratingnumbere.g.4.14
rating_countintegere.g.29
imagestringe.g."https://cdn.dsmcdn.com/mnresize/400/-/ty1939/prod/QC_PREP/20260724/12/b052b8d8-b442-3640-b1b2-95106a5627d6/1_org_zoom.jpg"
imagesstring[]
urlstringe.g."https://www.trendyol.com/xiaomi/redmi-a7-pro-4gb-128gb-mavi-xiaomi-turkiye-garantili-p-1175412466?boutiqueId=689770&merchantId=968"
merchant_idintegere.g.968
group_idintegere.g.902855791
free_shippingbooleane.g.false
attributesobject2 fields
Kamera Çözünürlüğüstringe.g."13 MP"
RAM Kapasitesistringe.g."4 GB"
sponsoredbooleane.g.false
Try itLive
GET
https://api.maviapi.com/v1/sites/trendyol/search_products?q=telefon&page=1&sort=relevance&include_sponsored=true&min_price=0&max_price=0&min_rating=0&free_shipping=false&merchant_id=0
Request
curl "https://api.maviapi.com/v1/sites/trendyol/search_products?q=telefon&page=1&sort=relevance&include_sponsored=true&min_price=0&max_price=0&min_rating=0&free_shipping=false&merchant_id=0" \
-H "Authorization: Bearer $MAVI_KEY"
Example1.3 KB
{
  "query": "telefon",
  "title": "telefon",
  "page": 1,
  "sort": "relevance",
  "total": 100000,
  "total_text": "100.000+",
  "has_next": true,
  "next_cursor": "Product_29,Ads_9,LastAdSlot_7",
  "applied_filters": [
    null
  ],
  "products": [
    {
      "id": 1175412466,
      "name": "REDMI A7 Pro 4GB+128GB Mavi (Xiaomi Türkiye Garantili)",
      "brand": "Xiaomi",
      "official_seller": true,
      "category": "Android Cep Telefonu",
      "price": 10999,
      "original_price": null,
      "discount_percent": null,
      "promotions": [
        null
      ],
      "currency": "TL",
      "rating": 4.14,
      "rating_count": 29,
      "image": "https://cdn.dsmcdn.com/mnresize/400/-/ty1939/prod/QC_PREP/20260724/12/b052b8d8-b442-3640-b1b2-95106a5627d6/1_org_zoom.jpg",
      "images": [
        "https://cdn.dsmcdn.com/mnresize/400/-/ty1939/prod/QC_PREP/20260724/12/b052b8d8-b442-3640-b1b2-95106a5627d6/1_org_zoom.jpg"
      ],
      "url": "https://www.trendyol.com/xiaomi/redmi-a7-pro-4gb-128gb-mavi-xiaomi-turkiye-garantili-p-1175412466?boutiqueId=689770&merchantId=968",
      "merchant_id": 968,
      "group_id": 902855791,
      "free_shipping": false,
      "attributes": {
        "Kamera Çözünürlüğü": "13 MP",
        "RAM Kapasitesi": "4 GB"
      },
      "sponsored": false
    }
  ]
}

Get all the data, no code

Collect every page of GET /search_products into a dataset, for one request or for a whole list of them, then download it as CSV or JSON. A page costs the same as one call of the endpoint; the download is free.

Use Trendyol API from Claude, ChatGPT and your coding tools

Add this URL as a custom connector and sign in to maviapi. Nothing to install.

How to connect
https://mcp.maviapi.com/mcp

Or run it locally, with each endpoint of Trendyol API as its own tool:

claude mcp add maviapi -e MAVIAPI_TOOLS=trendyol -- npx -y '@maviapi/mcp'

Import Trendyol API into Postman and other tools

How to import

Paste a link into Postman, Insomnia, an agent framework or a no-code tool to get every endpoint with its parameters and response fields. The link always serves the current endpoints, so importing it again picks up new ones.

  • OpenAPI 3.1
    https://api.maviapi.com/v1/apis/trendyol/openapi.json
  • Postman
    https://api.maviapi.com/v1/apis/trendyol/postman.json

The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.

Build with the Trendyol API

Choose a starting endpoint

  • Search Products GET /search_products

    Search or browse Trendyol products; 36 cards per page (fewer if sponsored ones are dropped). q: search text (Turkish works best, e.g. "telefon", "elbise", "kulaklık"). May be empty ("") when browsing by category_ids / brand_ids / merchant_id alone. page: 1-based page number (check has_next). cursor: for gap-free paging, pass the previous response's next_cursor together with page+1 (as the site's infinite scroll does); without it, deep pages may skip or repeat a few organic results. sort: relevance | price_asc | price_desc | newest | best_seller | most_favourite | most_rated. include_sponsored: keep sponsored (ad) product cards, flagged with sponsored=true. Filters (ids come from get_search_filters): brand_ids: comma-separated brand ids, e.g. "794" (Samsung) or "794,101470". category_ids: comma-separated category ids, e.g. "103498" (Cep Telefonu). min_price / max_price: price range in TL (0 = no bound). min_rating: minimum product rating, one of 3, 4, 4.5. free_shipping: only products with free shipping. merchant_id: only products sold by this seller id (e.g. 968 = Trendyol). gender_ids: comma-separated, 1 = women, 2 = men, 3 = kids. color_ids: comma-separated colour ids (e.g. 3 = white/Beyaz). attributes: "attributeId|valueId", e.g. "523|24664" (RAM = 4 GB); repeat values as "523|24664,24665". Returns {query, title, page, sort, total, total_text, has_next, next_cursor, applied_filters, products:[{id, name, brand, official_seller, category, price, original_price, discount_percent, promotions, currency, rating, rating_count, image, images, url, merchant_id, group_id, free_shipping, attributes, sponsored}]}. total is capped at 100000 by the site. Use a product's id with get_product.

    Parameters and response fields for GET /search_products
    Request parameters
    NameType / locationRequiredDescription
    qstring / queryNo
    pageinteger / queryNo
    sortstring / queryNo
    include_sponsoredboolean / queryNo
    brand_idsstring / queryNo
    category_idsstring / queryNo
    min_pricenumber / queryNo
    max_pricenumber / queryNo
    min_ratingnumber / queryNo
    free_shippingboolean / queryNo
    merchant_idinteger / queryNo
    gender_idsstring / queryNo
    color_idsstring / queryNo
    attributesstring / queryNo
    cursorstring / queryNo
    Response fields
    FieldTypeDescription
    querystring
    titlestring
    pageinteger
    sortstring
    totalinteger
    total_textstring
    has_nextboolean
    next_cursorstring
    applied_filtersstring[]
    productsobject[]
    products[].idinteger
    products[].namestring
    products[].brandstring
    products[].official_sellerboolean
    products[].categorystring
    products[].priceinteger
    products[].original_pricenull
    products[].discount_percentnull
    products[].promotionsstring[]
    products[].currencystring
    products[].ratingnumber
    products[].rating_countinteger
    products[].imagestring
    products[].imagesstring[]
    products[].urlstring
    products[].merchant_idinteger
    products[].group_idinteger
    products[].free_shippingboolean
    products[].attributesobject
    products[].attributes.Kamera Çözünürlüğüstring
    products[].attributes.RAM Kapasitesistring
    products[].sponsoredboolean
  • Get Product GET /get_product

    Full details of one Trendyol product. product_id: the product (content) id, as returned in `id` by search_products / list_products, or the number after "-p-" in a trendyol.com product URL. merchant_id: optional seller id to show that seller's offer; 0 = the default (buy-box) seller. include_description: also return the seller's rich description as plain text plus its images. Returns {id, name, url, brand, category, category_path, web_category_path, images, rating, rating_count, review_count, favorite_count, in_stock, price, selling_price, original_price, discount_percent, currency, seller:{id, name, official_name, city, score}, free_shipping, variants:[{item_number, value, in_stock, price, barcode}], slicing_attributes, attributes{name: value}, other_sellers:[{id, name, score, price, free_shipping}], promotions, product_group_id, product_code, description, description_images}. description is null when the product has none (or it could not be loaded).

    Parameters and response fields for GET /get_product
    Request parameters
    NameType / locationRequiredDescription
    product_idinteger / queryNo
    merchant_idinteger / queryNo
    include_descriptionboolean / queryNo
    Response fields
    FieldTypeDescription
    idinteger
    namestring
    urlstring
    product_codestring
    product_group_idinteger
    brandstring
    brand_idinteger
    categorystring
    category_idinteger
    category_pathstring
    web_category_pathobject[]
    web_category_path[].idinteger
    web_category_path[].namestring
    imagesstring[]
    ratingnumber
    rating_countinteger
    review_countinteger
    favorite_countinteger
    in_stockboolean
    priceinteger
    selling_priceinteger
    original_priceinteger
    discount_percentinteger
    currencystring
    sellerobject
    seller.idinteger
    seller.namestring
    seller.official_namestring
    seller.citystring
    seller.scorenumber
    free_shippingboolean
    variantsobject[]
    variants[].item_numberinteger
    variants[].valuestring
    variants[].in_stockboolean
    variants[].priceinteger
    variants[].barcodestring
    slicing_attributesobject
    slicing_attributes.DsmColorstring
    slicing_attributes.Internal Memorystring
    attributesobject
    attributes.Ön Kamera Çözünürlüğüstring
    attributes.Dahili Hafızastring
    attributes.Garanti Tipistring
    attributes.Kamera Çözünürlüğüstring
    attributes.RAM Kapasitesistring
    attributes.Mobil Bağlantı Hızıstring
    attributes.Suya/Toza Dayanıklılıkstring
    attributes.Yüz Tanımastring
    attributes.Kulaklık Girişistring
    attributes.Ana Kamera Flaşstring
    attributes.Batarya Kapasitesi Aralığıstring
    attributes.Dokunmatik Ekranstring
    attributes.Ön Kamera Flaşstring
    attributes.Şarj Hızıstring
    attributes.Ekran Boyutustring
    attributes.Ekran Cinsistring
    attributes.Ekran Boyut Aralığıstring
    attributes.Ekran Yenileme Hızıstring
    attributes.Pil Gücü (mAh)string
    attributes.Cep Telefonu Modelistring
    attributes.Ön Kamera Sayısıstring
    attributes.Ön Kamera Çözünürlük Aralığıstring
    attributes.Görüntü Teknolojisistring
    attributes.Arka Kamera Sayısıstring
    attributes.İşletim Sistemistring
    attributes.Çift Hatstring
    attributes.Kablosuz Şarjstring
    attributes.Garanti Süresistring
    attributes.Ana Kamera Çözünürlük Aralığıstring
    attributes.Renkstring
    attributes.NFCstring
    attributes.Parmak İzi Okuyucustring
    attributes.Yapay Zekastring
    attributes.Menşeistring
    attributes.Tamir Edilebilirlikstring
    other_sellersobject[]
    other_sellers[].idinteger
    other_sellers[].namestring
    other_sellers[].scorenumber
    other_sellers[].priceinteger
    other_sellers[].free_shippingboolean
    promotionsstring[]
    descriptionnull
    description_imagesstring[]
  • Get Product Questions GET /get_product_questions

    Answered customer questions about a Trendyol product (questions buyers asked and the seller's answers). product_id: product id from search_products / get_product. page: 1-based page number; page_size: questions per page (1-50). seller_id: only questions answered by this seller; 0 = all sellers. Returns {product_id, page, total_pages, total, questions:[{id, question, asked_by, asked_at (ISO UTC), answer, seller, seller_id, answered_in}]}.

    Parameters and response fields for GET /get_product_questions
    Request parameters
    NameType / locationRequiredDescription
    product_idinteger / queryNo
    pageinteger / queryNo
    page_sizeinteger / queryNo
    seller_idinteger / queryNo
    Response fields
    FieldTypeDescription
    product_idinteger
    pageinteger
    total_pagesinteger
    totalinteger
    questionsobject[]
    questions[].idinteger
    questions[].questionstring
    questions[].asked_bystring
    questions[].asked_atstring
    questions[].answerstring
    questions[].sellerstring
    questions[].seller_idinteger
    questions[].answered_instring
  • Get Categories GET /get_categories

    Trendyol product categories, for browsing with search_products(category_ids=...). parent_id: 0 = the main departments; otherwise a category id, whose sub-categories are returned with their current product counts. q: optional search text; with parent_id=0 it returns the categories that match this search instead. Returns {parent_id, categories:[{id, name, product_count}]} (product_count is null for main departments).

    Parameters and response fields for GET /get_categories
    Request parameters
    NameType / locationRequiredDescription
    parent_idinteger / queryNo
    qstring / queryNo
    Response fields
    FieldTypeDescription
    parent_idinteger
    categoriesobject[]
    categories[].idinteger
    categories[].namestring
    categories[].product_countnull
  • Get Product Reviews GET /get_product_reviews

    Customer reviews of one Trendyol product, with the rating summary. product_id: product id from search_products / get_product. page: 1-based page number; page_size: reviews per page (1-50). sort: recommended (site default) | newest | oldest. rating: only reviews with this star rating (1-5); 0 = all. with_media: only reviews that have photos/videos. Returns {product_id, page, total_pages, average_rating, rating_count, review_count, rating_counts{star: n}, topics:[{name, count}], reviews:[{id, rating, comment, author, created_at (ISO UTC), likes, seller, media:[url], trusted}]}.

    Parameters and response fields for GET /get_product_reviews
    Request parameters
    NameType / locationRequiredDescription
    product_idinteger / queryNo
    pageinteger / queryNo
    page_sizeinteger / queryNo
    sortstring / queryNo
    ratinginteger / queryNo
    with_mediaboolean / queryNo
    Response fields
    FieldTypeDescription
    product_idinteger
    pageinteger
    total_pagesinteger
    average_ratingnumber
    rating_countinteger
    review_countinteger
    rating_countsobject
    rating_counts.1integer
    rating_counts.2integer
    rating_counts.3integer
    rating_counts.4integer
    rating_counts.5integer
    topicsobject[]
    topics[].namestring
    topics[].countinteger
    reviewsobject[]
    reviews[].idinteger
    reviews[].ratinginteger
    reviews[].commentstring
    reviews[].authorstring
    reviews[].created_atstring
    reviews[].likesinteger
    reviews[].sellerstring
    reviews[].mediastring[]
    reviews[].trustedboolean
  • Get Search Filters GET /get_search_filters

    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.

    Parameters and response fields for GET /get_search_filters
    Request parameters
    NameType / locationRequiredDescription
    qstring / queryNo
    category_idsstring / queryNo
    brand_idsstring / queryNo
    max_valuesinteger / queryNo
    Response fields
    FieldTypeDescription
    querystring
    totalinteger
    filtersobject[]
    filters[].titlestring
    filters[].typestring
    filters[].paramstring
    filters[].attribute_idnull
    filters[].valuesobject[]
    filters[].values[].idstring
    filters[].values[].namestring
    filters[].values[].countinteger
    filters[].values[].selectedboolean

Export Trendyol data to CSV

Each list below downloads as a CSV file with one row per record. Collect it into a dataset with "Get all the data, no code" under the console above. The dataset reads the list page by page, and you download it as CSV, JSON or JSONL.

ListCSV columns
Search ProductsGET /search_productsid, name, brand, official_seller, category, price, original_price, discount_percent, promotions, currency, rating, rating_count, image, images, url, merchant_id, group_id, free_shipping, attributes, sponsored
Get Product QuestionsGET /get_product_questionsid, question, asked_by, asked_at, answer, seller, seller_id, answered_in
Get Search FiltersGET /get_search_filterstitle, type, param, attribute_id, values

A nested value (a list or an object) is written as JSON in one cell. How datasets and exports work

Trendyol API questions

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

Is there an official Trendyol API?

Yes. Trendyol offers an API for companies in its Partner Program (Marketplace) to manage their own stores: products, stock, prices and orders. Source: Trendyol Marketplace API (checked 2026-11-25). This Trendyol API is a separate, unofficial one: an independent, hosted API from maviapi for the public data on trendyol.com. It is not made, endorsed or supported by Trendyol.

What data can I get from the Trendyol API?

The Trendyol API has 6 endpoints. Each returns JSON with the parameters and fields documented above:

  • GET /search_products: Search or browse Trendyol products; 36 cards per page (fewer if sponsored ones are dropped).
  • GET /get_product: Full details of one Trendyol product.
  • GET /get_product_questions: Answered customer questions about a Trendyol product (questions buyers asked and the seller's answers).
  • GET /get_categories: Trendyol product categories, for browsing with search_products(category_ids=...).
  • GET /get_product_reviews: Customer reviews of one Trendyol product, with the rating summary.
  • GET /get_search_filters: Filters available for a search or category listing, with ids and product counts, to feed search_products.

How much does the Trendyol API cost?

Calls are paid in credits from your maviapi plan, and only successful calls are charged. Every endpoint of this API costs 5 credits per call. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. Failed calls are free. 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 API?

Send an HTTPS request to the endpoint with your API key in the Authorization header. For example, GET /search_products:

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

Create a key on your API keys page, or try any endpoint first in the console above with the free test key.

What are the ways to get Trendyol data as JSON?

Each way to get Trendyol data as JSON fits a different need:

  • Trendyol Marketplace API: Trendyol offers an API for companies in its Partner Program (Marketplace) to manage their own stores: products, stock, prices and orders. Better when you need write access, account data or an agreement with Trendyol.
  • Your own scraper: Full control and no vendor, but the parsing, the blocked requests and the repairs after every change on trendyol.com are yours. Better for a one-off pull from a page that rarely changes.
  • Apify: A marketplace of Actors you run, where input, output and price are set by each Actor. Better when an Actor already returns what you need, or you want to host your own code. See maviapi vs Apify.
  • RapidAPI: A hub of APIs added by many providers, called with one RapidAPI key and priced per API. Better when you already use the hub and one of its APIs covers what you need. Source: RapidAPI docs.
  • maviapi: The Trendyol API on this page: 6 documented endpoints, a published response schema and one key for the whole catalog. Better when this data is part of your product and you do not want to maintain a scraper.

What happens when trendyol.com changes its layout?

Your code does not change. maviapi keeps the Trendyol API working when trendyol.com changes its pages, so you keep calling the same endpoints and get JSON in the shape documented here. See its current health on the status page and what changed in its changelog.

Will an update break my Trendyol API integration?

No. An endpoint you use never changes shape: new fields, optional parameters and endpoints are added beside it, and a change that would break a call ships as a new endpoint. Ignore response fields you do not know, and follow the changelog for what is new.

  • Amazon Türkiye API

    Search, browse best sellers and fetch product details (price, availability, ratings, specs) and customer reviews from…

  • Hepsiburada API

    Product search listings from Hepsiburada (hepsiburada.com), product name, brand, price, rating, and seller (merchant)…

  • A101 API

    Grocery products from A101 Kapıda (A101 online grocery): names, store prices, discount labels and stock, browsable by…

  • Tripadvisor API

    Trip-planning data from Tripadvisor: geo search plus attractions, restaurants and hotels by location (geo_id), with…