{
  "openapi": "3.0.1",
  "info": {
    "title": "Trusted Shops Scraper - German Online Shop Emails & Phones",
    "description": "Every Trusted Shops certified online shop on trustedshops.de as a B2B lead: legal company name, Impressum address, email, phone, Handelsregister court + number, managing director, Gütesiegel status and ratings. Filter by category, country, member-since. $0.009 per shop.",
    "version": "0.1",
    "x-build-id": "k4l0wgr9LrfZ4swt5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapersdelight~trusted-shops-directory-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapersdelight-trusted-shops-directory-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/scrapersdelight~trusted-shops-directory-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapersdelight-trusted-shops-directory-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/scrapersdelight~trusted-shops-directory-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapersdelight-trusted-shops-directory-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",
        "properties": {
          "categories": {
            "title": "Shop categories",
            "type": "array",
            "description": "Trusted Shops directory categories to pull. Each category is walked through the directory's own listing, pre-filtered by trustedshops.de to shops holding a VALID Gütesiegel, so only matching shops are ever fetched. Leave empty (and leave 'Specific shops' empty) to walk the whole member directory (14,663 member profiles on 2026-09-22) from its sitemap.",
            "items": {
              "type": "string",
              "enum": [
                "lebensmittel",
                "bekleidung",
                "mobel_dekorationsartikel",
                "haushaltswaren_haushaltsgerate",
                "baumarkt",
                "drogerieartikel_kosmetik",
                "hobby_sammeln_freizeitartikel",
                "computer_unterhaltungselektronik_zubehor",
                "auto_motorrad_zubehor",
                "sportartikel",
                "geschenke",
                "buro_schule_beruf",
                "tierbedarf",
                "spielwaren_baby_kind",
                "medikamente",
                "genussmittel",
                "schmuck_uhren",
                "energie",
                "gartenbedarf",
                "bucher",
                "koffer_taschen_lederwaren",
                "schuhe",
                "foto_druck_book_on_demand",
                "consulting",
                "reisen_hotels",
                "musik_film",
                "finanzen_versicherungen",
                "telekommunikation",
                "floristik",
                "tickets",
                "edelmetalle",
                "karneval_kostume",
                "erotik",
                "optiker"
              ],
              "enumTitles": [
                "Lebensmittel (food)",
                "Bekleidung (clothing)",
                "Möbel & Dekoration (furniture & decor)",
                "Haushaltswaren & -geräte (household)",
                "Baumarkt (DIY & hardware)",
                "Drogerie & Kosmetik (drugstore & cosmetics)",
                "Hobby, Sammeln & Freizeit (hobby & leisure)",
                "Computer & Elektronik (computers & electronics)",
                "Auto & Motorrad (auto & moto parts)",
                "Sportartikel (sports)",
                "Geschenke (gifts)",
                "Büro, Schule & Beruf (office & school)",
                "Tierbedarf (pet supplies)",
                "Spielwaren, Baby & Kind (toys & baby)",
                "Medikamente (pharmacy)",
                "Genussmittel (coffee, wine, tobacco)",
                "Schmuck & Uhren (jewellery & watches)",
                "Energie (energy)",
                "Gartenbedarf (garden)",
                "Bücher (books)",
                "Koffer, Taschen & Leder (bags & luggage)",
                "Schuhe (shoes)",
                "Foto & Druck (photo & print)",
                "Consulting",
                "Reisen & Hotels (travel)",
                "Musik & Film (music & film)",
                "Finanzen & Versicherungen (finance & insurance)",
                "Telekommunikation (telecom)",
                "Floristik (florists)",
                "Tickets",
                "Edelmetalle (precious metals)",
                "Karneval & Kostüme (costumes)",
                "Erotik (adult)",
                "Optiker (opticians)"
              ]
            }
          },
          "shops": {
            "title": "Specific shops (TSID or profile URL)",
            "type": "array",
            "description": "Look up named shops instead of walking the directory. Accepts a Trusted Shops ID (X followed by 32 hex characters) or any profile URL containing one, e.g. https://www.trustedshops.de/bewertung/info_X0F44BDBD6DF1414C5C32DE292FFF8A59.html. A shop you name is returned whatever its Gütesiegel status. When filled, 'Shop categories' is ignored.",
            "items": {
              "type": "string"
            }
          },
          "certificateStatus": {
            "title": "Gütesiegel status",
            "enum": [
              "valid",
              "any"
            ],
            "type": "string",
            "description": "'valid' = only shops whose profile shows a valid Trusted Shops Gütesiegel (trustmark), about 81% of members. 'any' also returns members whose certificate is invalid or who hold a reviews-only membership; with categories selected this switches to a sitemap scan filtered by category, which examines more profiles and is slower.",
            "default": "valid"
          },
          "sellerCountries": {
            "title": "Seller country (Impressum address)",
            "type": "array",
            "description": "Only return shops whose Impressum address is in these countries. ISO codes, 3- or 2-letter: DEU or DE, AUT or AT, CHE or CH, NLD, POL … Every shop on trustedshops.de targets German buyers, but about 1 in 7 is legally seated abroad (NL, PL, AT, CZ, DK, IT, BE measured). Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "memberSinceFrom": {
            "title": "Member since (on or after)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Only shops whose Trusted Shops membership started on or after this date (YYYY-MM-DD). Use it to pull NEW members — shops that just invested in a trustmark are shops actively buying e-commerce services."
          },
          "minReviewCount12Months": {
            "title": "Minimum reviews in the last 12 months",
            "minimum": 0,
            "type": "integer",
            "description": "Skip shops with fewer reviews in the last 12 months — a proxy for order volume. 0 = no minimum.",
            "default": 0
          },
          "requirePhone": {
            "title": "Only shops with a phone number",
            "type": "boolean",
            "description": "Skip shops whose profile publishes no phone (about 1 in 6). Skipped shops are never charged.",
            "default": false
          },
          "requireRegisterNumber": {
            "title": "Only shops with a Handelsregister number",
            "type": "boolean",
            "description": "Skip shops whose profile publishes no commercial-register number — usually sole traders and foreign-seated sellers. Skipped shops are never charged.",
            "default": false
          },
          "includeCriteriaRatings": {
            "title": "Include delivery / goods / service marks",
            "type": "boolean",
            "description": "Adds the per-criteria marks (DELIVERY, GOODS, SERVICE) and the rating label (EXCELLENT, GOOD …) from Trusted Shops' public quality endpoint — one extra ~1.5 KB request per delivered shop.",
            "default": true
          },
          "excludeTsIds": {
            "title": "Skip these shops (TSIDs or profile URLs)",
            "type": "array",
            "description": "Suppression list — shops already in your CRM or delivered by an earlier run. Matched on the TSID, never charged.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maximum shops",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many delivered shops. Only delivered shops are charged. The default keeps a test run cheap; raise it (e.g. 20000) to take the whole directory.",
            "default": 30
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Profiles fetched in parallel.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "trustedshops.de runs no anti-bot, so the default is a DIRECT connection (measured ~50x cheaper than residential). A request that fails direct is retried once through Apify RESIDENTIAL automatically. Set a proxy here only if you need every request routed through one.",
            "default": {
              "useApifyProxy": 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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}