# 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.

> 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).
> ReefAPI engine `flo` · 3 endpoints · clean JSON, no scraping or browsers to manage.

## How to call
- **Endpoint:** `POST https://api.reefapi.com/flo/v1/<action>` with a JSON body.
- **Auth:** header `x-api-key: <YOUR_REEFAPI_KEY>` — create one free (1,000 credits, no card): https://reefapi.com/signup
- **Response (every call):** `{ ok: boolean, data: ..., meta: { record_count, credits, ... }, error: { code, message } }` — branch on `ok`. Failed calls are free.
- **One key + one shared credit pool** across every ReefAPI API. Per-call credits are listed on each endpoint below.
- **Use it from an AI agent (MCP):** connect `https://api.reefapi.com/mcp` (remote streamable-http). Clients that add connectors by URL, such as ChatGPT and the Claude app, connect with OAuth 2.1 (the user pastes their key once on a ReefAPI page; discovery at `/.well-known/oauth-protected-resource/mcp`). Config files send the key as `Authorization: Bearer <key>`. `?key=<key>` in the URL also works as a last-resort fallback.

## Endpoints

### POST https://api.reefapi.com/flo/v1/search — 1 credit
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).

**Parameters:**
- `query` (string, required) — Search keyword (Turkish or brand name).
- `page` (integer, optional, default 1) — Result page — 1-based, 24 products/page.
- `sort` (string, optional) — Sort order: price_asc (cheapest first) · price_desc · newest. Also accepts a raw FLO sort token (e.g. 'filter_price:asc'). [one of: price_asc, price_desc, newest]
- `max_rotations` (integer, optional, default 8) — Advanced: how many times to retry the fetch (1-16, default 8).

**Returns:** products[]{product_id, title, brand, price, special_price, original_price, discount_rate, currency, in_stock, image, sizes[], colors[], seller_id, seller_type, category}, count, total, page

**Example request body:**
```json
{
  "query": "nike"
}
```

### POST https://api.reefapi.com/flo/v1/category/products — 1 credit
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).

**Parameters:**
- `category` (string, required) — 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` (string, optional) — Gender filter for category browse: erkek · kadin · unisex · erkek-cocuk · kiz-cocuk. [one of: erkek, kadin, unisex, erkek-cocuk, kiz-cocuk]
- `page` (integer, optional, default 1) — Result page — 1-based, 24 products/page.
- `sort` (string, optional) — Sort order: price_asc (cheapest first) · price_desc · newest. Also accepts a raw FLO sort token (e.g. 'filter_price:asc'). [one of: price_asc, price_desc, newest]
- `max_rotations` (integer, optional, default 8) — Advanced: how many times to retry the fetch (1-16, default 8).

**Returns:** products[]{…same card as search}, count, total, page

**Example request body:**
```json
{
  "category": "spor-ayakkabi",
  "cinsiyet": "erkek"
}
```

### POST https://api.reefapi.com/flo/v1/product/detail — 1 credit
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.

**Parameters:**
- `url` (string, required) — 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` (integer, optional, default 8) — Advanced: how many times to retry the fetch (1-16, default 8).

**Returns:** product{product_id, title, brand, model_code, url, price, original_price, discount_percent, currency=TRY, in_stock, stock_message, sizes[], colors[], color, gender, images[], coupons[], badges[], rating, rating_count, description, category, breadcrumb[], seller{}, attributes{}}

**Example request body:**
```json
{
  "url": "https://www.flo.com.tr/urun/nike-court-borough-low-recraft-beyaz-unisex-sneaker-101792825"
}
```

## At scale
- **Volume:** 5M+ requests a day, measured at 60 requests a second across the fleet with no
  central bottleneck. Per-key limits are raised for high-volume accounts; volume pricing on request.
- **Missing a source:** tell us a site we do not cover and it becomes an engine. A customer asked
  for bestprice.gr on 21 Sep 2026 and it was in the catalog on 22 Sep.
- **Support:** 2 minute median time from a question in the live chat to the first answer. Setup
  help included, no support tier to buy.
- **One key, one credit pool** across every API. No per-site plans, no separate subscriptions.

## More
- Try it live, no code: https://reefapi.com/playground?engine=flo
- Human docs page: https://reefapi.com/docs/flo
- Overview page: https://reefapi.com/flo-api
- Every ReefAPI API in one file (for your AI): https://reefapi.com/llms-full.txt
