Skip to content
Live

Trendyol API

Trendyol data, as structured JSON.

Three ready-made Trendyol scrapers: search results by keyword or barcode, every listing of a store, and one product with the price of every seller that offers it.

Scripts:trendyol_searchtrendyol_store_productstrendyol_product_detail

Bu sayfanın Türkçesi

Example

One request, one response.

Every scraper runs through POST /v1/run with your key in the x-api-key header.

In the response, values in <angle brackets> stand for real data and arrays are shortened to one item.

curl -X POST https://api.datafor.dev/v1/run \
  -H "Content-Type: application/json" \
  -H "x-api-key: $DATAFOR_API_KEY" \
  -d '{
  "script_name": "trendyol_search",
  "params": {
    "query": "kahve makinesi",
    "pages": 1,
    "sort": "BEST_SELLER"
  }
}'

Capabilities

What it does today.

  • Search by keyword or barcode

    Live

    Up to 3 result pages per run with rank, title, brand, price, original price, rating and merchant id.

  • Seven sort orders

    Live

    Relevance, price up or down, newest, best seller, most favourited or most rated.

  • Store listings

    Live

    Every listing of a store by merchant id or store URL, up to 3 pages per run.

  • Per-seller prices

    Live

    One product with the buybox price, stock and free-shipping flag of every seller that offers it.

  • Price summary

    Live

    Cheapest and most expensive price across the listings, and the winning and lowest offer for a product.

  • Category pages and price alerts

    Coming soon

    Category URLs and built-in monitoring are planned. Today, call the API from your own scheduler.

Credits

How credits work.

1 credit per run for each of the three scripts.

Each run is charged when it starts. If the worker fails or times out, the credit is refunded automatically and the run is marked as refunded. Every response shows the cost and your remaining balance.

At one credit per run, 1,000 runs cost from $0.38 on a paid plan. Price per 1,000 runs by plan

See pricing

FAQ

Questions about Trendyol API.

Does it work with Trendyol product URLs?

Yes. trendyol_product_detail takes a product id or a full product URL; trendyol_store_products takes a merchant id or a store URL.

Which currency are prices in?

Turkish lira (TRY), as shown on trendyol.com.

Is there a Turkish page?

Yes: datafor.dev/tr/trendyol-api explains the same API in Turkish.

Related

Live

Amazon TR API

Amazon.com.tr search results with Amazon vs third-party seller offers.
View product
Live

E-Commerce

Amazon.com.tr and Trendyol search, store listings and product detail.
View product
Live

SERP API

Google organic results plus shopping cards, by country and language.
View product

Run your first Trendyol API call.

50 free credits to start, after email verification. No credit card.