search_products – Shop durchsuchen
Freitextsuche im Elektronik-Shop (mit Synonymen und Tippfehler-Vorschlag) plus Filter. Liefert Facetten mit Anzahlen, Preis, Bestand, Lieferdatum. Paginierung über offset/next_offset.
- HTTP
- GET /api/products
- Zugang
- Konto optional
- Bereich
- Katalog
- Nur lesend
- ja
Formular
Eingabeschema (JSON Schema)
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Suchbegriffe, z. B. \"usb mikrofon\""
},
"category": {
"type": "string",
"enum": [
"Smartphones & Tablets",
"Notebooks & PCs",
"PC-Komponenten",
"Gaming",
"Audio & Kopfhörer",
"TV & Heimkino",
"Smart Home",
"Wearables",
"Kameras & Drohnen",
"Zubehör & Gadgets"
]
},
"brand": {
"type": "string"
},
"seller_id": {
"type": "string",
"description": "Nur Produkte dieses Verkäufers"
},
"condition": {
"type": "string",
"enum": [
"new",
"like_new",
"used_good",
"refurbished"
],
"description": "Nur Produkte mit lieferbarem Angebot in diesem Zustand"
},
"min_price": {
"type": "number",
"description": "EUR"
},
"max_price": {
"type": "number",
"description": "EUR"
},
"min_rating": {
"type": "number",
"description": "0–5"
},
"max_delivery_days": {
"type": "integer"
},
"in_stock": {
"type": "boolean"
},
"offer_type": {
"type": "string",
"enum": [
"physical",
"service",
"digital"
],
"description": "physical = Ware, service = Dienstleistung, digital = API/Software/Daten"
},
"service_area": {
"type": "string",
"description": "Region für Dienstleistungen, z. B. \"Hamburg\" (Angebote mit \"remote\" werden mitgeliefert)"
},
"include_remote": {
"type": "boolean",
"description": "Standard true"
},
"attr": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Attributfilter {Name: Teilstring}; in der Query als attr.Name=Wert"
},
"sort": {
"type": "string",
"enum": [
"relevance",
"price_asc",
"price_desc",
"rating",
"popularity",
"delivery",
"newest",
"name"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"type": "integer",
"minimum": 0
}
}
}
REST
curl -X GET "https://anltx.com/api/products"
MCP
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_products",
"arguments": {}
}
}