Discover/sokmarket API
live

sokmarket APIsokmarket.com.tr

Access Şok Market's product catalog, pricing, weekly deals, campaigns, and category tree via 7 structured endpoints. Turkish grocery data in JSON.

Endpoint health
verified 4d ago
get_subcategories
get_category_products
get_campaigns
get_checkout_products
search_products
7/7 passing latest checkself-healing
Endpoints
7
Updated
26d ago

What is the sokmarket API?

The Şok Market API gives developers structured access to sokmarket.com.tr's full product catalog across 7 endpoints, covering search, category browsing, product details, weekly deals, active campaigns, and checkout promotions. The get_product_details endpoint returns nutrition facts, ingredients, dimensions, and HTML content for any product identified by its slug. All responses are JSON with consistent product objects carrying price, brand, stock status, and image URLs.

Try it
Search keyword (e.g. 'süt' for milk, 'ekmek' for bread)
api.parse.bot/scraper/0762f52c-d7dc-44fe-8df2-4d89c2ae075d/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/0762f52c-d7dc-44fe-8df2-4d89c2ae075d/search_products?query=s%C3%BCt' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace sokmarket-com-tr-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Şok Market API — browse categories, search products, inspect details."""
from parse_apis.şok_market_api import SokMarket, ProductNotFound

client = SokMarket()

# Search for products by keyword, capped at 5 results.
for product in client.products.search(query="süt", limit=5):
    print(product.name, product.prices.discounted.text, product.brand.name)

# Browse categories and drill into one category's products.
category = client.categories.list(limit=1).first()
if category:
    for item in category.products(limit=3):
        print(item.name, item.has_stock, item.url)

# Get full product details from a search result.
product = client.products.search(query="ekmek", limit=1).first()
if product:
    try:
        detail = product.details()
        print(detail.name, detail.html_content[:80] if detail.html_content else "")
        for fact in detail.nutrition:
            print(fact.label, fact.value)
    except ProductNotFound as exc:
        print(f"Product gone: {exc.slug}")

# Weekly deals — promotional products this week.
for deal in client.products.weekly_deals(limit=3):
    print(deal.name, deal.prices.discounted.value)

print("exercised: products.search / categories.list / category.products / product.details / products.weekly_deals")
All endpoints · 7 totalmissing one? ·

Full-text search over Şok Market products by keyword. Returns matching products with prices, brand, stock status, and images. Paginates as a single page of results per query.

Input
ParamTypeDescription
queryrequiredstringSearch keyword (e.g. 'süt' for milk, 'ekmek' for bread)
Response
{
  "type": "object",
  "fields": {
    "total": "integer total number of products found",
    "products": "array of product objects with id, name, brand, prices, hasStock, images, url"
  },
  "sample": {
    "data": {
      "total": 65,
      "products": [
        {
          "id": "5834",
          "url": "https://www.sokmarket.com.tr/mis-uht-sut-yarim-yagli-1-l-p-5834",
          "name": "Mis Uht Süt Yarım Yağlı 1 L",
          "path": "mis-uht-sut-yarim-yagli-1-l-p-5834",
          "brand": {
            "id": 6,
            "code": "mis",
            "name": "MİS"
          },
          "images": [
            {
              "host": "https://images.ceptesok.com",
              "path": "product-assets/sub-folder/9c33a0ed-7e67-48c7-8a7a-1c7baf32f01f.jpg"
            }
          ],
          "prices": {
            "original": {
              "text": "41,00",
              "value": 41,
              "symbol": "₺",
              "currency": "TRY"
            },
            "discounted": {
              "text": "41,00",
              "value": 41,
              "symbol": "₺",
              "currency": "TRY"
            }
          },
          "hasStock": true
        }
      ]
    },
    "status": "success"
  }
}

About the sokmarket API

Product Search and Details

The search_products endpoint accepts a Turkish keyword (e.g. süt for milk, ekmek for bread) and returns a list of matching products including id, name, brand, prices, hasStock, images, and url. The integer total field tells you how many results matched. Once you have a product's path field, pass it as the slug parameter to get_product_details to retrieve the full record — including attributeMap with sub-keys coreInformation, dimensions, nutritionFacts, and htmlContent — plus a dedicated nutrition array of entries each carrying code, label, value, and order.

Category Browsing

The get_subcategories endpoint returns the full category tree as a content array. Each entry carries title, images, order, url, skuIds, and contentType. The url value serves directly as the slug parameter for get_category_products, which lists products page-by-page using the optional page integer. Both endpoints return the same product shape (id, name, brand, prices, hasStock, images, url) as search_products, so you can treat results uniformly.

Deals, Campaigns, and Checkout Promotions

get_weekly_deals returns this week's promoted products with a total count and the standard product array — no parameters required. get_campaigns returns active promotional campaigns with richer metadata: campaignId, campaignUrl, title, description, images, and an skuIds array linking campaigns to specific product SKUs. It also includes a page object with totalElements, totalPages, size, and number for pagination. get_checkout_products surfaces the impulse-buy items shown at checkout (Kasa Arkası Ürünler), again using the standard product object shape.

Reliability & maintenanceVerified

The sokmarket API is a managed, monitored endpoint for sokmarket.com.tr — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when sokmarket.com.tr changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official sokmarket.com.tr API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
7/7 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track real-time price changes on Şok Market products by polling search_products or get_category_products daily
  • Build a Turkish grocery price comparison tool using prices and brand fields from product search results
  • Monitor weekly promotions with get_weekly_deals to alert users when specific categories go on discount
  • Extract nutrition facts and ingredient lists from get_product_details for a dietary tracking or allergen-screening app
  • Map the full category hierarchy using get_subcategories to power a faceted browsing interface
  • Aggregate active campaign banners and their linked SKUs via get_campaigns for promotional analysis or ad monitoring
  • Identify checkout impulse-buy products with get_checkout_products to study discount merchandising patterns
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 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 Şok Market have an official public developer API?+
No. sokmarket.com.tr does not publish a documented public API for third-party developers. This Parse API is the available structured option for accessing their product and campaign data.
What does `get_product_details` return beyond what appears in search results?+
get_product_details returns the full attributeMap object with coreInformation, dimensions, nutritionFacts, and htmlContent fields, plus a separate nutrition array with per-nutrient code, label, value, and order entries. Search and category endpoints return only the summary product object (id, name, brand, prices, hasStock, images, url) without this extended data.
Does `get_category_products` support filtering by price range or brand within a category?+
Not currently. The endpoint accepts only slug and an optional page integer; it returns all products for that category page without server-side filtering. You can fork this API on Parse and revise it to add a filtering endpoint if your use case requires narrowing results by price or brand.
Are product reviews or user ratings included in any endpoint?+
Not currently. The API covers product attributes, pricing, nutrition, categories, deals, and campaign data. Reviews or rating scores are not part of any response object. You can fork it on Parse and revise to add the missing endpoint if review data becomes a priority.
How does pagination work across endpoints?+
get_category_products accepts a page integer and returns a total count for that page. get_campaigns returns a page object with totalElements, totalPages, size, and number. search_products, get_weekly_deals, and get_checkout_products return a flat total integer but do not expose paginated navigation — all matching results are returned in a single products array.
Page content last updated . Spec covers 7 endpoints from sokmarket.com.tr.
Related APIs in Food DiningSee all →
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.
a101.com.tr API
Browse and search products from A101's grocery delivery service (Kapıda) and marketplace (Ekstra), including category exploration and detailed product information. Find what you need across both platforms with search functionality and organized category browsing.
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.
coop.it API
Search and browse Coop Italy's product catalog across categories and subcategories to find detailed information about items, prices, and current offers. Discover product recommendations and get comprehensive details including availability and promotional deals to help you shop more efficiently.
megamarket.ru API
Search and browse products across MegaMarket.ru's catalog, view detailed product information with customer reviews, and explore catalog categories to discover items available on Sber's Russian marketplace. Get real-time search suggestions and product recommendations to help you find exactly what you're looking for.
ocado.com API
Search and browse Ocado UK's grocery catalog, view detailed product information including nutritional data, and discover related items to add to your cart. Get instant search suggestions and manage your shopping cart contents all in one place.
soriana.com API
Search and browse Soriana's product catalog to find items, compare prices, explore departments, and discover available coupons. Get detailed product information and calculate your basket totals to plan your shopping efficiently.
products.checkers.co.za API
Search and browse products from Checkers South Africa's online store, compare prices, and discover current specials and deals. Explore the complete product catalog by category to find items and get detailed product information all in one place.