# Fressnapf Search ## Overview | Property | Value | |----------|-------| | **Status** | active | | **Method** | `GET` | | **Endpoint** | `/v2/fressnapf/search` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 1 credit per call | | **Documentation** | https://www.piloterr.com/library/fressnapf-search | ## Description Search Fressnapf Germany by keyword or category URL. Returns product cards with euro 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/fressnapf/search' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### Fressnapf search for reflektierendes halsband ```json { "results": [ { "url": "https://www.fressnapf.de/p/beaphar-reflektierendes-zecken--und-flohschutzhalsband-1280089/", "brand": "Beaphar", "price": 6.19, "title": "reflektierendes Zecken- und Flohschutzhalsband", "rating": 2.4, "currency": "EUR", "image_url": "https://media.os.fressnapf.com/products-v2/4/e/0/6/4e06dfdb341c3e76a5a407dc5cf46fe87be656d9_1280089_0.jpg?f=webp&t=prodtp_s", "product_id": "1280089", "review_count": 66, "price_display": "6,19 €" } ], "pagination": { "next": "https://www.fressnapf.de/search/?currentPage=2&text=reflektierendes+halsband", "page": 1, "per_page": 48, "total_pages": 2, "total_results": 54 } } ``` ## Documentation ## Overview Search Fressnapf Germany. `query` is a keyword or a category link. `page` starts at 1. ## Quickstart ``` GET https://api.piloterr.com/v2/fressnapf/search?query=halsband ``` ``` GET https://api.piloterr.com/v2/fressnapf/search?query=hundefutter&page=2 ``` ## Parameters | Parameter | Type | Required | Description | |---|---|---|---| | `query` | string | yes | Example: `halsband` | | `page` | integer | no | Example: `2` | ## Response fields `price` is a number. `price_display` is rebuilt from it (`6,19 €`). `pagination.next` is a URL or null. ## Use cases - Compare flea-collar prices across brands. - Page through dog food with `next`. - Separate sponsored cards when `is_sponsored` is present. ## Error codes - 400: empty query or another host. - 404: no product cards. - 500: fetch failed.