# Morele Search ## Overview | Property | Value | |----------|-------| | **Status** | active | | **Method** | `GET` | | **Endpoint** | `/v2/morele/search` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 1 credit per call | | **Documentation** | https://www.piloterr.com/library/morele-search | ## Description Search morele.net by keyword or search URL. Returns product cards with PLN prices and pagination. ## 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/morele/search' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### Search laptop on morele.net ```json { "results": [ { "id": "6721152", "url": "https://www.morele.net/laptop-lenovo-thinkbook-15-iil-20sm000fpb-6721152/", "name": "Laptop Lenovo Thinkbook 15 IIL (20SM000FPB)", "brand": "Lenovo", "price": 3963.99, "rating": 5, "currency": "PLN", "image_url": "https://images.morele.net/i256/6721152_4_i256.jpg", "highlights": [ { "name": "Dedykowany układ graficzny", "value": "Brak" }, { "name": "Pamięć RAM (zainstalowana)", "value": "8 GB" }, { "name": "Procesor", "value": "Intel Core i5-1035G1" }, { "name": "Przekątna ekranu", "value": "15.6\"" }, { "name": "System operacyjny", "value": "Windows 10 Pro" } ], "review_count": 5, "price_display": "3 963,99 zł", "installment_price": 101.74, "installment_price_display": "101,74 zł" } ], "pagination": { "next": "https://www.morele.net/wyszukiwarka/,,,,,,,,,,,,/2/?q=laptop", "page": 1, "per_page": 30, "total_pages": 50, "total_results": null } } ``` ## Documentation ## Overview Search morele.net. Pass a keyword or a full search URL. ## Quickstart ``` GET https://api.piloterr.com/v2/morele/search?query=laptop ``` ``` GET https://api.piloterr.com/v2/morele/search?query=ssd&page=2 ``` ## Parameters | Parameter | Required | Description | |---|---|---| | `query` | yes | Keyword or morele.net search URL. A product URL returns 400. | | `page` | no | Page from 1. | | `return_page_source` | no | Raw HTML as `{"result":"..."}`. `price` is the number and `price_display` the text, for example `3 963,99 zł`. Currency is `PLN`. The response is `{results, pagination}`. `next` is the next URL or null. ## Use cases - Compare laptop prices in Poland - Collect SSD offers with brand and rating - Follow `pagination.next` through a search