{
  "openapi": "3.0.1",
  "info": {
    "title": "OEKO-TEX Certified Textile Suppliers Scraper - Buying Guide",
    "description": "OEKO-TEX certified textile suppliers scraper and API: mills and factories from the public Buying Guide by standard, country, product level and material. One result = one company: address, website, role e-mail, phone, labels, certified products. $2 per 1,000.",
    "version": "1.0",
    "x-build-id": "syJ0bL8VZm3nMsv7j"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~oeko-tex-suppliers-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-oeko-tex-suppliers-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/rel8ble~oeko-tex-suppliers-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-oeko-tex-suppliers-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/rel8ble~oeko-tex-suppliers-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-oeko-tex-suppliers-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": {
          "standard": {
            "title": "OEKO-TEX standard",
            "enum": [
              "100",
              "leather",
              "step",
              "ecopass",
              "mig",
              "organic-cotton"
            ],
            "type": "string",
            "description": "Which certification to search. STANDARD 100 = tested textiles (yarn to finished goods), LEATHER STANDARD = leather articles, STeP = certified production sites, ECO PASSPORT = textile chemicals, MADE IN GREEN = traceable products, ORGANIC COTTON.",
            "default": "100"
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Country of the certified company, e.g. \"China\", \"India\", \"Türkiye\", \"Portugal\", \"Bangladesh\", \"Vietnam\". Each country is its own search. Unknown names are listed in the run summary.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Used only when no country is given: search a whole region.",
            "items": {
              "type": "string",
              "enum": [
                "Africa",
                "Oceania/Australia",
                "Far East",
                "Middle East",
                "North America",
                "Eastern Europe",
                "Western Europe",
                "Central and South America"
              ]
            }
          },
          "productLevel": {
            "title": "Product level",
            "enum": [
              "Raw materials or semi-finished Items",
              "Fabrics",
              "Commission business",
              "Accessories",
              "End-user, ready made goods"
            ],
            "type": "string",
            "description": "Supply-chain stage: raw materials / yarns, fabrics, commission business (dyeing, finishing, printing), accessories, or finished end-user goods."
          },
          "productTypes": {
            "title": "Product types",
            "type": "array",
            "description": "Product types inside the levels, e.g. \"Woven fabric\", \"Knitted fabric\", \"Yarns\", \"Buttons\", \"Zippers\", \"Home textiles\". Each is its own search. Known types: Textile raw materials, fibres, Combed fibres, Open-end yarn, Carded yarns, woollen yarns, Combed yarns, worsted yarns, Ring spun yarn, Monofilament yarn, Untextured filament yarn, Textured filament yarn, Wound yarns / core yarns, Fancy and textured yarns, Knitted grey cloth, Woven grey cloth, Foils, membranes, Foams, Loose filling materials, Knitted fabric, Woven fabric, Non-woven, Linings, Interlinings, Coated textile fabrics, Felt, Pre-treatment, Dyeing, Printing, Coating, Woven fabric finishing, Knitted fabric finishing, Yarn dyeing, Sewing and embroidery yarn, Buttons, Press Studs and Rivets, Other Fasteners (buckles, hooks and eyes etc.), Zippers, Lace, Trimmings, Appliqué and Embroidery, Applications, Printed and woven labels ...",
            "items": {
              "type": "string"
            }
          },
          "materials": {
            "title": "Materials",
            "type": "array",
            "description": "Certified material. Each is its own search. One of: Cotton, Other Vegetable Fibres, Wool and other animal hairs, Silk, Viscose and other cellulosic fibres, Polyester, Polyamide, Elastanes and other elastic fibres, Other synthetic fibres, Mixtures of natural fibres, Mixtures of synthetic fibres, Natural and Synthetic Fibre Mixtures, Mixtures with Viscose, Feathers and Down, Other animal materials, Wood, paper and board, Other vegetable materials, Natural and synthetic latex, Synthetic foam, Synthetic films, Plastic, Brass, copper, bronze, Steel, Precious Metals (gold, silver, platinum), Glass, rhinestone, Other metallic materials, Metal coated plastic parts.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search words",
            "type": "array",
            "description": "Free text the Buying Guide searches in company and product data, e.g. \"denim\", \"towel\", \"lace\", or a company name. Each is its own search.",
            "items": {
              "type": "string"
            }
          },
          "productClass": {
            "title": "Product class (STANDARD 100)",
            "enum": [
              "I",
              "II",
              "III",
              "IV"
            ],
            "type": "string",
            "description": "I = articles for babies, II = with skin contact, III = without skin contact, IV = decoration material."
          },
          "includeProfiles": {
            "title": "Read company profiles",
            "type": "boolean",
            "description": "On: one extra request per company adds street address, website, role e-mail, phone and the certified products (labels, levels, types, materials, uses). Off: name, country and town from the result list only.",
            "default": true
          },
          "requireWebsiteOrEmail": {
            "title": "Only suppliers with a website or e-mail",
            "type": "boolean",
            "description": "On: companies whose profile lists neither a valid website nor a role mailbox are read but not saved and not charged.",
            "default": false
          },
          "maxResultsPerSearch": {
            "title": "Max results per search",
            "minimum": 0,
            "type": "integer",
            "description": "Companies to read per search (alphabetical). Every combination of search word, country, material and product type is one search. 0 = everything that matches. You pay per row saved, so start small.",
            "default": 100
          },
          "maxRequestRetries": {
            "title": "Max retries",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Retries per failed request.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}