Discover/defacto.com.tr API
live

defacto.com.tr APIdefacto.com.tr

Access DeFacto's Turkish fashion catalog via API. Search products, browse categories, apply filters, and retrieve full product details including prices and sizes.

Endpoints
4
Updated
26d ago
Try it
Page number for pagination.
Search keyword (e.g., 'tişört', 'elbise', 'ayakkabı')
api.parse.bot/scraper/22c0353d-b227-4fb8-b925-2d02c14bab0e/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/22c0353d-b227-4fb8-b925-2d02c14bab0e/search_products?page=1&query=elbise' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalclick to expand

Search for products by keyword on defacto.com.tr. Returns paginated results with product summaries including title, price, color, sizes, and stock information.

Input
ParamTypeDescription
pageintegerPage number for pagination.
queryrequiredstringSearch keyword (e.g., 'tişört', 'elbise', 'ayakkabı')
Response
{
  "type": "object",
  "fields": {
    "page": "integer, current page number",
    "count": "integer, number of products returned on this page",
    "query": "string, the search keyword used",
    "products": "array of product summaries with title, longCode, price, discountedPrice, colorName, sizes, stock, productUrl, imageUrl"
  },
  "sample": {
    "data": {
      "page": 1,
      "count": 24,
      "query": "elbise",
      "products": [
        {
          "price": 1499.99,
          "sizes": [
            {
              "name": "42",
              "barcode": "8684582217944"
            },
            {
              "name": "34",
              "barcode": "8684582598821"
            }
          ],
          "stock": 51,
          "title": "%100 Pamuk Kemerli Kolsuz Midi Elbise",
          "seoName": "regular-fit-hakim-yaka-pamuklu-kisa-kollu-uzun-elbise",
          "imageUrl": "https://dfcdn.defacto.com.tr/406/F7342AX_26SP_BE409_01_02.jpg",
          "isOutlet": false,
          "longCode": "F7342AX26SPBE409",
          "colorName": "Mavi",
          "productUrl": "https://www.defacto.com.tr/regular-fit-hakim-yaka-pamuklu-kisa-kollu-uzun-elbise-3420643",
          "categoryName": "Elbise",
          "discountedPrice": 1499.99,
          "productVariantIndex": 3420643
        }
      ]
    },
    "status": "success"
  }
}

About the defacto.com.tr API

The DeFacto API exposes 4 endpoints for searching and browsing defacto.com.tr's clothing catalog. Use search_products to query items by keyword and get back titles, prices in TL, discount prices, color names, size arrays, and stock status. Category browsing, filter discovery, and full product detail retrieval — including color variants and garment properties — are also covered.

Search and Category Browsing

The search_products endpoint accepts a query string (e.g., tişört, elbise, ayakkabı) and an optional page integer for pagination. Each product in the response includes title, longCode, price, discountedPrice, colorName, sizes, stock, productUrl, and imageUrl. The browse_category endpoint works similarly but takes a category_slug (e.g., erkek-t-shirt, kadin-elbise) and an optional filters string in key:value;key:value format — for example, renk:mavi to narrow to blue items.

Product Details and Filter Discovery

get_product_details accepts either a full URL or a path segment (e.g., /oversize-tisort-3374606) and returns the complete product record: images array, colorVariants (each with colorName, imageUrl, and url), structured properties such as Kalıp (fit), Yaka (collar), and Kol Boyu (sleeve length), categoryPath breadcrumb, and description when available. The get_search_filters endpoint takes a query and returns filter groups — Cinsiyet, Kategori, Beden, Renk, Fiyat, Yaka, Kol Boyu, Kalıp, and more — each with name and count fields so you can build dynamic filter UIs or pre-qualify filter values before calling browse_category.

Response Shape Notes

All filter names and values are in Turkish, matching the DeFacto site's locale. Prices are expressed in Turkish Lira (TL). The longCode field acts as a stable product identifier across search and detail responses, making it practical to cross-reference results. Both search and category endpoints return a count field indicating how many products are on the current page alongside the page number.

Common use cases
  • Build a price-tracking tool that monitors price and discountedPrice changes for specific longCode products over time.
  • Aggregate size and stock availability across categories using sizes and stock fields from browse_category.
  • Construct a color-filtered catalog view by passing renk:value filters to browse_category after discovering valid color options via get_search_filters.
  • Generate product comparison pages by fetching colorVariants and properties from get_product_details for multiple items.
  • Index DeFacto's category structure by iterating category slugs in browse_category and collecting categoryPath values from detail pages.
  • Power a fashion recommendation feed that surfaces discountedPrice items filtered by gender (Cinsiyet) and size (Beden) from filter discovery results.
  • Sync product image galleries using the images array from get_product_details for use in external merchandising tools.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does DeFacto offer an official developer API?+
DeFacto does not publish an official public developer API or documented REST/GraphQL interface for third-party use. This Parse API provides structured access to the product catalog data available on defacto.com.tr.
What does get_product_details return beyond what search results include?+
get_product_details returns the full images array, structured properties (Kalıp, Yaka, Kol Boyu), all colorVariants with their individual URLs and images, the categoryPath breadcrumb, and a description field. The search and browse endpoints return only summary fields: title, price, discountedPrice, colorName, sizes, stock, productUrl, and imageUrl.
How do filters work with browse_category, and how do I know valid filter values?+
Call get_search_filters with a relevant query to retrieve filter groups and their available values with item counts. Then pass those values as a semicolon-delimited string to the filters parameter of browse_category — for example, renk:mavi;beden:M. All filter keys and values are in Turkish.
Does the API expose customer reviews or ratings for products?+
Not currently. The API covers product details, pricing, size/stock data, color variants, and garment properties. Review and rating data is not included in any endpoint response. You can fork this API on Parse and revise it to add an endpoint targeting product review data.
Is pagination supported across all listing endpoints?+
search_products and browse_category both accept a page integer parameter and return page and count in their responses, allowing you to iterate through result pages. get_product_details and get_search_filters return single-page results by nature and do not use pagination.
Page content last updated . Spec covers 4 endpoints from defacto.com.tr.
Related APIs in EcommerceSee all →
defacto.com API
Search and browse fashion products on DeFacto, view detailed item information including specs, pricing, and available variants, and manage shopping cart operations programmatically. Filter products by category, color, size, price range, and other criteria to find items across their apparel catalog.
adidas.de API
Search and browse Adidas products on adidas.de to find detailed information about items, availability, pricing, and specific categories. Get comprehensive product details including size availability and stock levels across the German Adidas store.
depop.com API
Browse and discover products on Depop by searching inventory, viewing detailed product information, seller profiles, and reviews, while exploring trending items and the complete category structure. Filter listings by various criteria, access seller information including their likes and past sales, and find similar products to items you're interested in.
hepsiburada.com API
Search and browse products on Hepsiburada with access to detailed product information, pricing, customer reviews, categories, and active campaigns. Retrieve comprehensive product data to power shopping, research, or price-comparison applications.
yoox.com API
Search and browse YOOX's fashion catalog to discover products by category, designer, new arrivals, and sale items. Get detailed product information to find exactly what you're looking for across the YOOX marketplace.
migros.com.tr API
Search and browse Migros supermarket products by category, view detailed product information including pricing, and discover current discounts and promotional campaigns. Easily find specific items and explore what's on sale at Migros.com.tr.
vinted.de API
Search and browse secondhand items on Vinted.de with customizable filters to find exactly what you're looking for. Get detailed product information including descriptions, categories, colors, and pricing to make informed purchasing decisions.
folksy.com API
Search and browse handmade products on Folksy by category, subcategory, or shop, and access detailed product information including pricing and availability. Discover sales and special offers while exploring artisan shops and their complete listings.