{
  "openapi": "3.0.1",
  "info": {
    "title": "WLW Supplier Search Scraper",
    "description": "Search WLW for suppliers with company profiles, product descriptions, categories, selling points, and order details. Batch queries and filter by country or supplier attributes.",
    "version": "1.0",
    "x-build-id": "YcIJpmD6g4taJNGLm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/thescrappa~wlw-supplier-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-thescrappa-wlw-supplier-search-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/thescrappa~wlw-supplier-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-thescrappa-wlw-supplier-search-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/thescrappa~wlw-supplier-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-thescrappa-wlw-supplier-search-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": [
          "queries"
        ],
        "properties": {
          "queries": {
            "title": "Supplier queries",
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "description": "Product or service keywords to search on WLW (Wer liefert was).",
            "items": {
              "type": "object",
              "required": [
                "q"
              ],
              "properties": {
                "q": {
                  "title": "Search text",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 255,
                  "description": "Search query (e.g., \"agentur\", \"software\", \"logistik\")",
                  "editor": "textfield"
                },
                "page": {
                  "title": "Page",
                  "type": "integer",
                  "minimum": 1,
                  "description": "Page number (default: 1)",
                  "editor": "number"
                },
                "per_page": {
                  "title": "Results per page",
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 50,
                  "description": "Results per page (1-50, default: 15)",
                  "editor": "number"
                },
                "country": {
                  "title": "Country",
                  "type": "string",
                  "enum": [
                    "DE",
                    "AT",
                    "CH"
                  ],
                  "description": "Country code: DE (Germany), AT (Austria), CH (Switzerland). Default: DE",
                  "editor": "select"
                },
                "countries": {
                  "title": "Countries",
                  "type": "string",
                  "pattern": "^[A-Za-z]{2}(,[A-Za-z]{2})*$",
                  "description": "Filter by country codes (comma-separated, e.g., \"DE,AT\")",
                  "editor": "textfield"
                },
                "category": {
                  "title": "Category",
                  "type": "string",
                  "pattern": "^\\d+$",
                  "description": "Filter by category ID",
                  "editor": "textfield"
                },
                "supplier_type": {
                  "title": "Supplier Type",
                  "type": "string",
                  "maxLength": 100,
                  "description": "Filter by supplier type (comma-separated)",
                  "editor": "textfield"
                },
                "attributes": {
                  "title": "Attributes",
                  "type": "string",
                  "maxLength": 500,
                  "description": "Filter by attribute codes (comma-separated)",
                  "editor": "textfield"
                },
                "verified": {
                  "title": "Verified",
                  "type": "boolean",
                  "description": "Only show verified suppliers",
                  "editor": "checkbox"
                },
                "top_responder": {
                  "title": "Top Responder",
                  "type": "boolean",
                  "description": "Only show top responders",
                  "editor": "checkbox"
                },
                "latitude": {
                  "title": "Latitude",
                  "type": "number",
                  "minimum": -90,
                  "maximum": 90,
                  "description": "Location filter: latitude",
                  "editor": "number"
                },
                "longitude": {
                  "title": "Longitude",
                  "type": "number",
                  "minimum": -180,
                  "maximum": 180,
                  "description": "Location filter: longitude",
                  "editor": "number"
                },
                "radius": {
                  "title": "Radius",
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 500,
                  "description": "Search radius in km (requires lat/lng)",
                  "editor": "number"
                },
                "sort": {
                  "title": "Sort order",
                  "type": "string",
                  "enum": [
                    "relevance",
                    "recency",
                    "trending",
                    "distance"
                  ],
                  "description": "Sort: relevance, recency, trending, distance",
                  "editor": "select"
                },
                "language": {
                  "title": "Language",
                  "type": "string",
                  "minLength": 2,
                  "maxLength": 2,
                  "description": "Language code (default: de)",
                  "editor": "textfield"
                }
              }
            }
          },
          "page": {
            "title": "Page",
            "minimum": 1,
            "type": "integer",
            "description": "Page number (default: 1)"
          },
          "per_page": {
            "title": "Results per page",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Results per page (1-50, default: 15)"
          },
          "country": {
            "title": "Country",
            "enum": [
              "DE",
              "AT",
              "CH"
            ],
            "type": "string",
            "description": "Country code: DE (Germany), AT (Austria), CH (Switzerland). Default: DE"
          },
          "countries": {
            "title": "Countries",
            "pattern": "^[A-Za-z]{2}(,[A-Za-z]{2})*$",
            "type": "string",
            "description": "Filter by country codes (comma-separated, e.g., \"DE,AT\")"
          },
          "category": {
            "title": "Category",
            "pattern": "^\\d+$",
            "type": "string",
            "description": "Filter by category ID"
          },
          "supplier_type": {
            "title": "Supplier Type",
            "maxLength": 100,
            "type": "string",
            "description": "Filter by supplier type (comma-separated)"
          },
          "attributes": {
            "title": "Attributes",
            "maxLength": 500,
            "type": "string",
            "description": "Filter by attribute codes (comma-separated)"
          },
          "verified": {
            "title": "Verified",
            "type": "boolean",
            "description": "Only show verified suppliers"
          },
          "top_responder": {
            "title": "Top Responder",
            "type": "boolean",
            "description": "Only show top responders"
          },
          "latitude": {
            "title": "Latitude",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "Location filter: latitude"
          },
          "longitude": {
            "title": "Longitude",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "Location filter: longitude"
          },
          "radius": {
            "title": "Radius",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Search radius in km (requires lat/lng)"
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "recency",
              "trending",
              "distance"
            ],
            "type": "string",
            "description": "Sort: relevance, recency, trending, distance"
          },
          "language": {
            "title": "Language",
            "minLength": 2,
            "maxLength": 2,
            "type": "string",
            "description": "Language code (default: de)"
          },
          "maxResults": {
            "title": "Maximum Results",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum dataset items to save across this entire run.",
            "default": 100
          },
          "maxPages": {
            "title": "Maximum Pages",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum pages to request for each batch entry.",
            "default": 2
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}