# Cultura Search ## Overview | Property | Value | |----------|-------| | **Status** | active | | **Method** | `GET` | | **Endpoint** | `/v2/cultura/search` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 2 credits per call | | **Documentation** | https://www.piloterr.com/library/cultura-search | ## Description Search Cultura by keyword and page through books, games, and culture products. Cards include title, price, availability, and the product link. ## Authentication - **Key Name:** `x-api-key` - **Location:** HTTP Header - **Get an API key:** https://app.piloterr.com/register ## Example Request ```bash curl --location --request GET 'https://api.piloterr.com/v2/cultura/search' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### harry potter, first product ```json { "results": [ { "sku": "13432454", "url": "https://www.cultura.com/p-harry-potter-a-l-ecole-des-sorciers-9782075253147.html", "name": "Harry Potter à l'école des sorciers", "badge": "Précommande", "brand": "J. K. Rowling", "image": "https://cdn.cultura.com/media/pim/13432454_8wuv0xn9_1_95486", "price": 8.95, "rating": null, "currency": "EUR", "position": 1, "availability": "Précommande - sortie le 05/11/26", "review_count": null, "price_display": "8,95 €", "new_offers_count": null, "new_offers_price": null, "used_offers_count": null, "used_offers_price": null, "new_offers_price_display": null, "used_offers_price_display": null } ], "pagination": { "next": "https://www.cultura.com/search/results?search_query=harry+potter&page=2", "page": 1, "per_page": 60, "total_pages": 50, "total_results": 3371 } } ``` ## Documentation ## Overview **Cultura** product search on www.cultura.com. Pages are loaded in a browser. `query` is a keyword or a `/search/results?search_query=` URL. The response is `{ results, pagination }`. Each card has the Cultura price, the brand or author line, and the stock sentence shown on the card. A product URL (`/p-....html`) returns `400`. ## Quickstart ``` GET https://api.piloterr.com/v2/cultura/search?query=harry%20potter GET https://api.piloterr.com/v2/cultura/search?query=harry%20potter&page=2 ``` ## Parameters | Parameter | Type | Required | Description | |---|---|---|---| | `query` | string | yes | Search words, for example `harry potter`, or a Cultura search link such as `https://www.cultura.com/search/results?search_query=harry+potter`. | | `page` | integer | no | Page number from 1. For example, `2` is the next page. Above 1, it replaces the page in a search link. | ## Response fields | Field | Type | Description | |---|---|---| | `results[]` | array | Product cards on this page | | `results[].position` | integer | Position on the page, from 1 | | `results[].sku` | string \| null | Cultura SKU | | `results[].name` | string | Product name | | `results[].brand` | string \| null | Brand or author line on the card | | `results[].url` | string | Product URL | | `results[].image` | string \| null | Main image | | `results[].price` | number \| null | Cultura price | | `results[].price_display` | string \| null | Price label, for example `8,95 €` | | `results[].currency` | string \| null | `EUR` when a price is present | | `results[].availability` | string \| null | Stock sentence on the card | | `results[].badge` | string \| null | Card flag, for example `Précommande` or `Coup de cœur` | | `results[].rating` | number \| null | Star rating when the card shows stars | | `results[].review_count` | integer \| null | Review count shown next to the stars | | `results[].new_offers_count` | integer \| null | Extra new offers, when the card shows them | | `results[].new_offers_price` | number \| null | Lowest extra new-offer price | | `results[].new_offers_price_display` | string \| null | That price as a label | | `results[].used_offers_count` | integer \| null | Used offers, when the card shows them | | `results[].used_offers_price` | number \| null | Lowest used-offer price | | `results[].used_offers_price_display` | string \| null | That price as a label | | `pagination.page` | integer | Requested page | | `pagination.per_page` | integer | Page size from the listing | | `pagination.total_results` | integer \| null | Count in the heading | | `pagination.total_pages` | integer \| null | Last page number linked by the pager | | `pagination.next` | string \| null | Next page URL, or null | ## Notes `price` is the number (`8.95`) and `price_display` keeps the euro label (`8,95 €`). The sample keeps the first card from `harry potter`. A live call returns the whole page. ## Main use cases - Monitor book and box-set prices in France - See preorder dates on upcoming titles - Turn a keyword into a product URL ## Error codes | Code | Meaning | |---|---| | `400` | Empty query, unknown host, product URL, or `page` below 1 | | `403` | Blocked | | `404` | No product card on the page | | `500` | Fetch failed | ## Related endpoints [Cultura Product](https://www.piloterr.com/library/cultura-product)