{
  "endpoints": {
    "/api/health": {
      "description": "Health check endpoint",
      "method": "GET"
    },
    "/api/ocr": {
      "content_type": "multipart/form-data",
      "description": "Extract 5-digit number from image only (testing endpoint)",
      "example": "curl -X POST -F 'image=@photo.jpg' http://localhost:3000/api/ocr",
      "method": "POST",
      "parameters": {
        "image": "Image file containing a 5-digit number"
      }
    },
    "/api/scrape": {
      "description": "Scrape LEGO products directly with a search number",
      "example": "/api/scrape?search=10455",
      "method": "GET",
      "parameters": {
        "search": "Required 5-digit search query ID"
      }
    },
    "/api/scrape-from-image": {
      "content_type": "multipart/form-data",
      "description": "Upload an image, extract 5-digit number via OCR, and scrape LEGO products",
      "example": "curl -X POST -F 'image=@photo.jpg' http://localhost:3000/api/scrape-from-image",
      "method": "POST",
      "parameters": {
        "image": "Image file containing a 5-digit number"
      }
    }
  },
  "name": "Geizhals Scraper API with OCR",
  "version": "2.0"
}
