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
14d 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 →
lowes.com API
Search and browse products from Lowe's, including product listings by category, detailed product information, and pricing. Retrieve comprehensive details on specific items to compare options and make informed purchasing decisions.
bilbasen.dk API
Search Denmark's largest car marketplace to find vehicles by make and model, then access detailed pricing and technical specifications including emissions, weight, MSRP, battery size, and equipment details. Get comprehensive car listings and full specs to compare vehicles on Bilbasen.dk.
jula.fi API
Search and browse products from Jula.fi to find hardware items with detailed information including prices (with and without VAT), stock availability, brand details, and product SKUs. Explore products by category or search for specific items to compare pricing and check real-time stock status.
leroymerlin.fr API
Search and browse Leroy Merlin France's complete product catalog to find items by category, view pricing, product details, and compare offerings from Leroy Merlin and their online partners. Access real-time product information including names, IDs, URLs, and seller details to help you discover and evaluate home improvement and DIY products.
industrynet.com API
Find industrial suppliers and browse product categories across a comprehensive marketplace directory. Connect directly with suppliers by viewing detailed listings and submitting contact inquiries programmatically.
carsforsale.com API
Search vehicle listings and browse detailed car inventory by make, model, and trim to find the perfect vehicle on CarsForSale.com. Access comprehensive listing details including pricing, specifications, and availability all in one place.
vivino.com API
Search and discover wines across thousands of options while accessing detailed information like user reviews, pricing, winery profiles, and food pairing recommendations. Explore grape varieties, compare wines side-by-side, and find the perfect bottle based on ratings and availability.
x-kom.pl API
Access product data from x-kom.pl, a major Polish electronics retailer. Search products by keyword or category, retrieve detailed product pages, customer reviews, Q&A, promotions, flash deals, and physical store locations.