{"openapi":"3.0.3","info":{"title":"FLO API (ReefAPI)","version":"0.1.0","description":"FLO API scraper — search, category browse & product detail for FLO (flo.com.tr), Turkey's largest footwear retailer. Sizes, colors, prices (TRY), discounts, coupons & stock. No account, no browser. Call POST /flo/v1/{action} with an x-api-key header; every response is the { ok, data, meta, error } envelope.","contact":{"name":"ReefAPI","url":"https://reefapi.com/flo-api","email":"support@reefapi.com"},"license":{"name":"ReefAPI Terms","url":"https://reefapi.com/terms"},"termsOfService":"https://reefapi.com/terms"},"externalDocs":{"description":"FLO API documentation","url":"https://reefapi.com/docs/flo"},"servers":[{"url":"https://api.reefapi.com"}],"security":[{"ApiKeyAuth":[]}],"tags":[{"name":"flo","description":"FLO API scraper — search, category browse & product detail for FLO (flo.com.tr), Turkey's largest footwear retailer. Sizes, colors, prices (TRY), discounts, coupons & stock. No account, no browser."}],"paths":{"/flo/v1/search":{"post":{"operationId":"flo_search","summary":"Search FLO by keyword (`query`), paginated","description":"Search FLO by keyword (`query`), paginated. Every card carries product_id, title, brand, price, special_price (discount), sizes[] (with per-size stock), colors[], image, url, seller_type (flo|marketplace).","tags":["flo"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","example":"nike spor ayakkabı","description":"Search keyword (Turkish or brand name)."},"page":{"type":"integer","minimum":1,"default":1,"example":1,"description":"Result page — 1-based, 24 products/page."},"sort":{"type":"string","enum":["price_asc","price_desc","newest"],"example":"price_asc","description":"Sort order: price_asc (cheapest first) · price_desc · newest. Also accepts a raw FLO sort token (e.g. 'filter_price:asc')."},"max_rotations":{"type":"integer","minimum":1,"maximum":16,"default":8,"description":"Advanced: how many times to retry the fetch (1-16, default 8)."}},"required":["query"]},"example":{"query":"nike"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}},"/flo/v1/category/products":{"post":{"operationId":"flo_category_products","summary":"Browse a FLO category (`category` slug + optional `cinsiyet` gender), paginated — the deep shoe-enumeration workhorse","description":"Browse a FLO category (`category` slug + optional `cinsiyet` gender), paginated — the deep shoe-enumeration workhorse. Same rich card shape as search (sizes, colors, discount, stock).","tags":["flo"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"category":{"type":"string","example":"spor-ayakkabi","description":"FLO category slug, e.g. spor-ayakkabi · kosu-ayakkabisi · yuruyus-ayakkabisi · gunluk-ayakkabi · bot · sandalet · terlik · sneaker · hali-saha-ayakkabisi. May also be a full category URL."},"cinsiyet":{"type":"string","enum":["erkek","kadin","unisex","erkek-cocuk","kiz-cocuk"],"example":"erkek","description":"Gender filter for category browse: erkek · kadin · unisex · erkek-cocuk · kiz-cocuk."},"page":{"type":"integer","minimum":1,"default":1,"example":1,"description":"Result page — 1-based, 24 products/page."},"sort":{"type":"string","enum":["price_asc","price_desc","newest"],"example":"price_asc","description":"Sort order: price_asc (cheapest first) · price_desc · newest. Also accepts a raw FLO sort token (e.g. 'filter_price:asc')."},"max_rotations":{"type":"integer","minimum":1,"maximum":16,"default":8,"description":"Advanced: how many times to retry the fetch (1-16, default 8)."}},"required":["category"]},"example":{"category":"spor-ayakkabi","cinsiyet":"erkek"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}},"/flo/v1/product/detail":{"post":{"operationId":"flo_product_detail","summary":"Full FLO product by its page `url`: title, brand, price, original_price, discount_percent, currency=TRY, images[] (full gallery), sizes[] (per-size stock with a unit count and a barcode on every size)","description":"Full FLO product by its page `url`: title, brand, price, original_price, discount_percent, currency=TRY, images[] (full gallery), sizes[] (per-size stock with a unit count and a barcode on every size), colors[], coupons[], badges (free-shipping/campaign), rating, seller, description, stock. Pass the url — FLO has no route that takes the product id by itself, and search and category rows already carry the url for exactly this call.","tags":["flo"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","example":"https://www.flo.com.tr/urun/nike-revolution-7-erkek-siyah-kosu-ayakkabisi-101465072","description":"Full FLO product URL (…/urun/<slug>-<sku>). This is the only address FLO answers to: the trailing digits are not a route on their own, so the id alone cannot open a product. Every row `search` and `category/products` return carries this url."},"max_rotations":{"type":"integer","minimum":1,"maximum":16,"default":8,"description":"Advanced: how many times to retry the fetch (1-16, default 8)."}},"required":["url"]},"example":{"url":"https://www.flo.com.tr/urun/nike-court-borough-low-recraft-beyaz-unisex-sneaker-101792825"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"Envelope":{"type":"object","required":["ok"],"properties":{"ok":{"type":"boolean"},"data":{"description":"Action result (shape varies per action)"},"meta":{"type":"object","description":"api, endpoint, mode, latency_ms, record_count, completeness_pct"},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"}}}}}}}}