# Fressnapf Product ## Overview | Property | Value | |----------|-------| | **Status** | active | | **Method** | `GET` | | **Endpoint** | `/v2/fressnapf/product` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 1 credit per call | | **Documentation** | https://www.piloterr.com/library/fressnapf-product | ## Description Read a Fressnapf Germany product sheet from its URL. Returns sku, GTIN, euro price, unit price, and pack variants. ## 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/product' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### ROYAL CANIN Maxi Adult 15 kg ```json { "sku": "1003112004", "url": "https://www.fressnapf.de/p/royal-canin-maxi-adult-15-kg-1003112004/", "gtin": "3182550401937", "brand": "ROYAL CANIN", "price": 64.49, "title": "ROYAL CANIN Maxi Adult 15 kg", "category": "Hundefutter", "currency": "EUR", "in_stock": true, "variants": [ { "url": "https://www.fressnapf.de/p/royal-canin-maxi-adult-15-kg-1003112004/", "name": "15 kg", "price": 64.49, "in_stock": true, "selected": true, "unit_price": 4.3, "price_display": "64,49 €", "unit_price_display": "4,30 €/kg" } ], "brand_url": "https://www.fressnapf.de/c/marken/royal-canin/", "image_url": "https://media.os.fressnapf.com/products-v2/a/b/2/3/ab239d62865ca238b683c5e1ac8c2955e5fbd044_1003112004__2_.jpeg?t=prod_l", "product_id": "1003112004", "unit_price": 4.3, "description": "Art.Nr.: 1003112004 Alleinfuttermittel für Hunde.", "delivery_time": "In 1 - 3 Tagen", "price_display": "64,49 €", "unit_price_display": "4,30 €/kg" } ``` ## Documentation ## Overview Read one product sheet on Fressnapf Germany. `query` is a product URL under www.fressnapf.de/p/. ## Quickstart ``` GET https://api.piloterr.com/v2/fressnapf/product?query=https%3A%2F%2Fwww.fressnapf.de%2Fp%2Froyal-canin-maxi-adult-15-kg-1003112004%2F ``` ## Parameters | Parameter | Type | Required | Description | |---|---|---|---| | `query` | string | yes | Product URL. Example: `https://www.fressnapf.de/p/royal-canin-maxi-adult-15-kg-1003112004/` | | `return_page_source` | boolean | no | String `false` stays false. | ## Response fields `price` is a number. `price_display` is rebuilt from it (`64,49 €`). ## Use cases - Store the GTIN and unit price for a Royal Canin bag. - Compare the 4 kg and 15 kg variants on the same sheet. - Check `delivery_time` and `in_stock` before publishing an offer. ## Error codes - 400: empty query or a URL outside fressnapf.de. - 404: the sheet had no product. - 500: the page fetch failed.