# Trony API — search trony.it (Trony Italy) and read price incl. IVA, manufacturer recommended price, EAN, manufacturer part number and stock, list its ≈185 stores, and check each store's own price and stock for store pickup

> Search trony.it by keyword, EAN or Trony code (the shop's own search, same ranking and count as the site), up to 50 products per page, with brand / category / price / in-stock filters and the site's sorts. Each row: product id, Trony code, title, brand, EAN, manufacturer part number, category, URL, image, price incl. IVA, 'Prima era' when struck, 'Consigliato dal produttore', online availability.
> ReefAPI engine `trony` · 5 endpoints · clean JSON, no scraping or browsers to manage.

## How to call
- **Endpoint:** `POST https://api.reefapi.com/trony/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/trony/v1/search — 2 credits
Search trony.it by keyword, EAN or Trony code (the shop's own search, same ranking and count as the site), up to 50 products per page, with brand / category / price / in-stock filters and the site's sorts. Each row: product id, Trony code, title, brand, EAN, manufacturer part number, category, URL, image, price incl. IVA, 'Prima era' when struck, 'Consigliato dal produttore', online availability.

**Parameters:**
- `query` (string, required) — Search words (Italian works best), an EAN, a model code or a Trony code.
- `page` (integer, optional, default 1) — Result page, 1-based. Deep pages are reached by walking the site's cursors; for long walks pass `cursor` (next_cursor of the previous answer) instead.
- `page_size` (integer, optional, default 24) — Products per page, 1-50.
- `cursor` (string, optional) — Continue after this cursor (next_cursor of a previous answer with the same filters).
- `sort` (enum, optional, default "relevance") — Result order (the site's 'Ordina per' options). [one of: relevance, price_asc, price_desc, newest, best_selling, best_reviewed, a_to_z, z_to_a, featured]
- `brand` (string, optional) — Keep one brand by name, as `facets` prints it (resolved to the site's brand id).
- `brand_id` (integer, optional) — Keep one brand by the site's brand id (facets[].brand_id).
- `category_id` (integer, optional) — Keep one category by the site's category id (facets[].category_id or a row's category_id).
- `price_min` (number, optional) — Lowest price in EUR (incl. IVA).
- `price_max` (number, optional) — Highest price in EUR (incl. IVA).
- `in_stock_only` (boolean, optional, default false) — Hide products that are out of stock online.

**Returns:** results[]{product_id (BigCommerce id), trony_code (the 9-10 digit code in titles/URLs), title, brand, ean, mpn, category, category_id, url, image, currency, price (incl. IVA, what the page charges), prior_price ('Prima era', struck; only when the page strikes one), discount_percent, recommended_retail_price ('Consigliato dal produttore'), online_available, availability_status, availability_text, in_stock, condition, seller, position} + total_results (the site's count), page, page_size, has_more, next_cursor, facets[]{filter (brand | category), values[]{value, brand_id | category_id, count}}

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

### POST https://api.reefapi.com/trony/v1/category — 2 credits
List one trony.it category by its category id (e.g. 160 = Grandi Elettrodomestici; ids in search facets and rows), with the same filters, sorts, count and row fields as search.

**Parameters:**
- `page` (integer, optional, default 1) — Result page, 1-based. Deep pages are reached by walking the site's cursors; for long walks pass `cursor` (next_cursor of the previous answer) instead.
- `page_size` (integer, optional, default 24) — Products per page, 1-50.
- `cursor` (string, optional) — Continue after this cursor (next_cursor of a previous answer with the same filters).
- `sort` (enum, optional, default "relevance") — Result order (the site's 'Ordina per' options). [one of: relevance, price_asc, price_desc, newest, best_selling, best_reviewed, a_to_z, z_to_a, featured]
- `brand` (string, optional) — Keep one brand by name, as `facets` prints it (resolved to the site's brand id).
- `brand_id` (integer, optional) — Keep one brand by the site's brand id (facets[].brand_id).
- `category_id` (integer, required) — Keep one category by the site's category id (facets[].category_id or a row's category_id).
- `price_min` (number, optional) — Lowest price in EUR (incl. IVA).
- `price_max` (number, optional) — Highest price in EUR (incl. IVA).
- `in_stock_only` (boolean, optional, default false) — Hide products that are out of stock online.

**Returns:** results[]{product_id (BigCommerce id), trony_code (the 9-10 digit code in titles/URLs), title, brand, ean, mpn, category, category_id, url, image, currency, price (incl. IVA, what the page charges), prior_price ('Prima era', struck; only when the page strikes one), discount_percent, recommended_retail_price ('Consigliato dal produttore'), online_available, availability_status, availability_text, in_stock, condition, seller, position} + total_results, page, page_size, has_more, next_cursor, facets[]

**Example request body:**
```json
{
  "category_id": 160
}
```

### POST https://api.reefapi.com/trony/v1/product — 2 credits
The trony.it product record: product id, Trony code, EAN, manufacturer part number, model, title, brand, categories, price incl. IVA, 'Prima era' when struck, 'Consigliato dal produttore', saving, online availability and stock flag, condition, weight/dimensions, rating, key features, description, all product attributes, images, variants.

**Parameters:**
- `product_id` (string, required) — Trony code (9-10 digits, at the end of every trony.it product URL and title: …/samsung-ue43m70hauxzt-2260005015/ → 2260005015), the numeric product id (product_id of a search row, e.g. 43657) or a trony.it product URL.

**Returns:** product{product_id (BigCommerce id), trony_code (the 9-10 digit code in titles/URLs), title, brand, ean, mpn, category, url, image, currency, price (incl. IVA, what the page charges), prior_price ('Prima era', struck; only when the page strikes one), discount_percent, recommended_retail_price ('Consigliato dal produttore'), online_available, availability_status, availability_text, in_stock, condition, seller, categories[], you_save, stock_quantity, model, attributes{}, dimensions{weight, width, height, depth}, review_count, rating, images[], variants[], description, key_features, max_order_quantity}

**Example request body:**
```json
{
  "product_id": "2260005015"
}
```

### POST https://api.reefapi.com/trony/v1/stores — 2 credits
The Trony / MiniTrony store network (≈186 stores: name, format, operator company, address, postcode, city, province, region, coordinates, phone, Prenota-e-ritira flag, services, weekly opening hours, current flyer), narrowed by region / province / city text, or sorted by distance from a point.

**Parameters:**
- `latitude` (number, optional) — Point latitude (Italy): sort by distance.
- `longitude` (number, optional) — Point longitude.
- `radius_km` (number, optional, default 50) — With a point: keep stores within this many km (default 50).
- `region` (string, optional) — Keep stores whose region contains this text.
- `province` (string, optional) — Keep stores whose province name or 2-letter code matches.
- `city` (string, optional) — Keep stores whose city contains this text.
- `pickup_only` (boolean, optional, default false) — Keep only stores enabled for Prenota e ritira.

**Returns:** stores[]{store_id, name, format, address, postal_code, city, province, province_code, region, latitude, longitude, phone, operator, prenota_e_ritira, services[], opening_hours[], flyer_title, flyer_url, distance_km} + total, total_unfiltered

**Example request body:**
```json
{
  "latitude": 45.4642
}
```

### POST https://api.reefapi.com/trony/v1/store_availability — 3 credits
One product at up to 10 Trony stores (the PDP's 'Negozi con disponibilità prodotto'): each store's OWN price (it can differ from the online price), stock count, days until pickup, and whether the site would let you book it ('Prenota e ritira'). Pick stores by store_ids, or by a point (the nearest stores within radius_km). Each store is asked live from its own system.

**Parameters:**
- `product_id` (string, required) — Trony code (9-10 digits, at the end of every trony.it product URL and title: …/samsung-ue43m70hauxzt-2260005015/ → 2260005015), the numeric product id (product_id of a search row, e.g. 43657) or a trony.it product URL.
- `store_ids` (array, optional) — Up to 10 store codes from the stores action (e.g. TRO459).
- `latitude` (number, optional) — Instead of store_ids: a point (Italy); the nearest Prenota-e-ritira stores are asked.
- `longitude` (number, optional) — Point longitude.
- `radius_km` (number, optional, default 50) — With a point: only stores within this many km.
- `limit` (integer, optional, default 5) — With a point: how many of the nearest stores to ask (1-10).

**Returns:** stores[]{store_id, name, address, city, province_code, latitude, longitude, distance_km, answered (false = the store's system did not answer in 8 s), store_price, stock, days_available, bookable (stock > 1 and days > 0, the site's own rule), pickup_text, flyer_title} + product_id, trony_code, product_title, online_price, count, bookable_count

**Example request body:**
```json
{
  "product_id": "2260005015"
}
```

## 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=trony
- Human docs page: https://reefapi.com/docs/trony
- Overview page: https://reefapi.com/trony-api
- Every ReefAPI API in one file (for your AI): https://reefapi.com/llms-full.txt
