{
  "openapi": "3.0.1",
  "info": {
    "title": "Edel Optics Eyewear Scraper: 75K Products & Specs",
    "description": "Get exact product specs, frame dimensions, EAN codes, live prices, and remaining stock counts for over 75,000 eyewear items from Edel Optics. Extracts 30+ flat columns in 150ms per item across 30+ country storefronts. Supports Google Sheets. $5.00 per 1,000 results.",
    "version": "0.1",
    "x-build-id": "FH3vAdrtVvRo0M4SY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/getascraper~edel-optics-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-getascraper-edel-optics-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/getascraper~edel-optics-scraper/runs": {
      "post": {
        "operationId": "runs-sync-getascraper-edel-optics-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/getascraper~edel-optics-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-getascraper-edel-optics-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "mode",
          "maxItems",
          "proxyConfiguration"
        ],
        "properties": {
          "mode": {
            "title": "Extraction Mode",
            "enum": [
              "sitemap",
              "listing",
              "detail"
            ],
            "type": "string",
            "description": "Choose how you want to collect eyewear: Sitemap (extracts all 75K products), Listing (browses a category or brand page), or Detail (extracts specific links you paste below).",
            "default": "listing"
          },
          "locales": {
            "title": "Storefront Countries",
            "type": "array",
            "description": "Select which country storefronts to scrape (de, fr, com, co.uk, ca, etc.). Each country returns its own prices and currency.",
            "default": [
              "de"
            ]
          },
          "startUrls": {
            "title": "Specific Product Links",
            "type": "array",
            "description": "Paste specific product detail URLs to extract (one per line). Only used in Detail mode, e.g. https://www.edel-optics.de/GG0022S-001-von-Gucci.html.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "category": {
            "title": "Eyewear Category",
            "type": "string",
            "description": "The category to browse (Sonnenbrillen for sunglasses, Brillen for eyeglasses, Sportbrillen for sports frames, AI-Glasses, etc.). Leave empty for all.",
            "default": "Sonnenbrillen"
          },
          "brand": {
            "title": "Brand Name",
            "type": "string",
            "description": "Limit to a single brand (Ray-Ban, Gucci, Oakley, Tom Ford, Carrera, etc.). Leave empty for all brands.",
            "default": "Ray-Ban"
          },
          "gender": {
            "title": "Target Gender",
            "enum": [
              "",
              "Damen",
              "Herren",
              "Kinder"
            ],
            "type": "string",
            "description": "Limit to a gender (Damen for women's, Herren for men's, Kinder for kids').",
            "default": ""
          },
          "onlySale": {
            "title": "Only Items on Sale",
            "type": "boolean",
            "description": "Only retrieve products on sale (where the retail price is below MSRP).",
            "default": false
          },
          "onlyNew": {
            "title": "Only New Arrivals",
            "type": "boolean",
            "description": "Only retrieve new collections and recent frame launches.",
            "default": false
          },
          "maxItems": {
            "title": "Max Results Limit",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "The maximum number of items to scrape in this run. Set to 0 for unlimited. Setting smaller limits is recommended for testing.",
            "default": 1000
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Maximum number of parallel pages loaded. Keep at 10 for optimal speed and politeness.",
            "default": 10
          },
          "maxRequestRetries": {
            "title": "Max Page Retries",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Number of automatic retries if a page fails to load.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy Settings",
            "type": "object",
            "description": "Secure connection configuration to ensure uninterrupted scraping. Keep at default settings.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": []
            }
          },
          "debugLogging": {
            "title": "Show Verbose Logs",
            "type": "boolean",
            "description": "Turn on only if you want to see detailed step-by-step loading diagnostic logs.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}