{
  "openapi": "3.0.1",
  "info": {
    "title": "FSC Certificate Scraper",
    "description": "⚡ Fast FSC certificate scraper. No login, no API key. Look up companies, licence or certificate codes, or paste search URLs, and get status, issue and expiry dates, holder address, sites, products, tree species and audit reports. Filter by status, country, type and certification body.",
    "version": "1.0",
    "x-build-id": "ZucgLeSVGFflOzzS7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jooah-code~fsc-org-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jooah-code-fsc-org-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/jooah-code~fsc-org-scraper/runs": {
      "post": {
        "operationId": "runs-sync-jooah-code-fsc-org-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/jooah-code~fsc-org-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-jooah-code-fsc-org-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": {
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "FSC search URLs (https://search.fsc.org/en/search?search=...), certificate URLs (/en/certificate/<id>) or licence URLs (/en/licence/FSC-C123456). All filters in a search URL are kept.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Organization names, FSC licence codes (FSC-C123456) or certificate codes (DNV-COC-001503). Each query is scraped separately.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Maximum number of results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of certificate records per start URL or search query. Set 0 for no limit.",
            "default": 5
          },
          "certificateStatus": {
            "title": "Certificate status",
            "type": "array",
            "description": "Only return certificates with these statuses. Applies to search queries only; start URLs keep their own filters.",
            "items": {
              "type": "string",
              "enum": [
                "Valid",
                "Suspended",
                "Suspended and blocked",
                "Terminated",
                "Terminated and blocked"
              ]
            }
          },
          "country": {
            "title": "Country",
            "type": "array",
            "description": "Only return organizations located in these countries. Applies to search queries only; start URLs keep their own filters.",
            "items": {
              "type": "string",
              "enum": [
                "ALBANIA",
                "ALGERIA",
                "American Samoa",
                "ANDORRA",
                "ANGUILLA",
                "ARGENTINA",
                "ARMENIA",
                "AUSTRALIA",
                "AUSTRIA",
                "AZERBAIJAN",
                "BAHAMAS",
                "BAHRAIN",
                "BANGLADESH",
                "BELARUS",
                "BELGIUM",
                "BELIZE",
                "BOLIVIA",
                "Bosnia and Herzegovina",
                "BRAZIL",
                "British Virgin Islands",
                "Brunei Darussalam",
                "BULGARIA",
                "CAMBODIA",
                "CAMEROON",
                "CANADA",
                "Cayman Islands",
                "CHILE",
                "CHINA",
                "Chinese Taipei",
                "COLOMBIA",
                "Congo Democratic Republic of",
                "Congo the Republic of",
                "Costa Rica",
                "Cote D Ivoire",
                "CROATIA",
                "CUBA",
                "CYPRUS",
                "Czech Republic",
                "DENMARK",
                "Dominican Republic",
                "ECUADOR",
                "EGYPT",
                "El Salvador",
                "ESTONIA",
                "ESWATINI",
                "ETHIOPIA",
                "Faroe Islands",
                "FIJI",
                "FINLAND",
                "FRANCE",
                "GABON",
                "GEORGIA",
                "GERMANY",
                "GHANA",
                "GIBRALTAR",
                "GREECE",
                "GREENLAND",
                "GUADELOUPE",
                "GUAM",
                "GUATEMALA",
                "GUYANA",
                "HONDURAS",
                "Hong Kong",
                "HUNGARY",
                "ICELAND",
                "INDIA",
                "INDONESIA",
                "Iran Islamic Republic of",
                "IRELAND",
                "ISRAEL",
                "ITALY",
                "JAPAN",
                "JORDAN",
                "KAZAKHSTAN",
                "KENYA",
                "Korea Republic of",
                "KOSOVO",
                "KUWAIT",
                "KYRGYZSTAN",
                "LAOS",
                "LATVIA",
                "LEBANON",
                "LESOTHO",
                "LIBERIA",
                "LIECHTENSTEIN",
                "LITHUANIA",
                "LUXEMBOURG",
                "MACAU",
                "MADAGASCAR",
                "MALAYSIA",
                "MALTA",
                "Marshall Islands",
                "MARTINIQUE",
                "MAURITIUS",
                "MEXICO",
                "Micronesia Federated States of",
                "Moldova Republic of",
                "MONACO",
                "MONTENEGRO",
                "MOROCCO",
                "MOZAMBIQUE",
                "MYANMAR",
                "NAMIBIA",
                "NEPAL",
                "NETHERLANDS",
                "New Zealand",
                "NICARAGUA",
                "NIGERIA",
                "NORTH MACEDONIA Republic of",
                "NORWAY",
                "OMAN",
                "PAKISTAN",
                "PANAMA",
                "Papua New Guinea",
                "PARAGUAY",
                "PERU",
                "PHILIPPINES",
                "PITCAIRN",
                "POLAND",
                "PORTUGAL",
                "Puerto Rico",
                "QATAR",
                "REUNION",
                "ROMANIA",
                "RUSSIA",
                "RWANDA",
                "Saint Kitts and Nevis",
                "Saint Vincent and the Grenadines",
                "SAMOA",
                "San Marino",
                "Saudi Arabia",
                "SERBIA",
                "SEYCHELLES",
                "Sierra Leone",
                "SINGAPORE",
                "SLOVAKIA",
                "SLOVENIA",
                "Solomon Islands",
                "South Africa",
                "South Sudan Republic of",
                "SPAIN",
                "Sri Lanka",
                "SUDAN",
                "SURINAME",
                "SWEDEN",
                "SWITZERLAND",
                "Tanzania United Republic of",
                "THAILAND",
                "Trinidad and Tobago",
                "TUNISIA",
                "TURKEY",
                "Turks and Caicos Islands",
                "UGANDA",
                "UKRAINE",
                "United Arab Emirates",
                "United Kingdom",
                "United States",
                "URUGUAY",
                "UZBEKISTAN",
                "Vatican City State Holy See",
                "VENEZUELA",
                "VIETNAM",
                "VIRGIN ISLANDS U S",
                "ZAMBIA",
                "ZIMBABWE"
              ],
              "enumTitles": [
                "Albania",
                "Algeria",
                "American Samoa",
                "Andorra",
                "Anguilla",
                "Argentina",
                "Armenia",
                "Australia",
                "Austria",
                "Azerbaijan",
                "Bahamas",
                "Bahrain",
                "Bangladesh",
                "Belarus",
                "Belgium",
                "Belize",
                "Bolivia",
                "Bosnia and Herzegovina",
                "Brazil",
                "British Virgin Islands",
                "Brunei Darussalam",
                "Bulgaria",
                "Cambodia",
                "Cameroon",
                "Canada",
                "Cayman Islands",
                "Chile",
                "China",
                "Chinese Taipei",
                "Colombia",
                "Congo Democratic Republic of",
                "Congo the Republic of",
                "Costa Rica",
                "Cote D Ivoire",
                "Croatia",
                "Cuba",
                "Cyprus",
                "Czech Republic",
                "Denmark",
                "Dominican Republic",
                "Ecuador",
                "Egypt",
                "El Salvador",
                "Estonia",
                "Eswatini",
                "Ethiopia",
                "Faroe Islands",
                "Fiji",
                "Finland",
                "France",
                "Gabon",
                "Georgia",
                "Germany",
                "Ghana",
                "Gibraltar",
                "Greece",
                "Greenland",
                "Guadeloupe",
                "Guam",
                "Guatemala",
                "Guyana",
                "Honduras",
                "Hong Kong",
                "Hungary",
                "Iceland",
                "India",
                "Indonesia",
                "Iran Islamic Republic of",
                "Ireland",
                "Israel",
                "Italy",
                "Japan",
                "Jordan",
                "Kazakhstan",
                "Kenya",
                "Korea Republic of",
                "Kosovo",
                "Kuwait",
                "Kyrgyzstan",
                "Laos",
                "Latvia",
                "Lebanon",
                "Lesotho",
                "Liberia",
                "Liechtenstein",
                "Lithuania",
                "Luxembourg",
                "Macau",
                "Madagascar",
                "Malaysia",
                "Malta",
                "Marshall Islands",
                "Martinique",
                "Mauritius",
                "Mexico",
                "Micronesia Federated States of",
                "Moldova Republic of",
                "Monaco",
                "Montenegro",
                "Morocco",
                "Mozambique",
                "Myanmar",
                "Namibia",
                "Nepal",
                "Netherlands",
                "New Zealand",
                "Nicaragua",
                "Nigeria",
                "North Macedonia Republic of",
                "Norway",
                "Oman",
                "Pakistan",
                "Panama",
                "Papua New Guinea",
                "Paraguay",
                "Peru",
                "Philippines",
                "Pitcairn",
                "Poland",
                "Portugal",
                "Puerto Rico",
                "Qatar",
                "Reunion",
                "Romania",
                "Russia",
                "Rwanda",
                "Saint Kitts and Nevis",
                "Saint Vincent and the Grenadines",
                "Samoa",
                "San Marino",
                "Saudi Arabia",
                "Serbia",
                "Seychelles",
                "Sierra Leone",
                "Singapore",
                "Slovakia",
                "Slovenia",
                "Solomon Islands",
                "South Africa",
                "South Sudan Republic of",
                "Spain",
                "Sri Lanka",
                "Sudan",
                "Suriname",
                "Sweden",
                "Switzerland",
                "Tanzania United Republic of",
                "Thailand",
                "Trinidad and Tobago",
                "Tunisia",
                "Turkey",
                "Turks and Caicos Islands",
                "Uganda",
                "Ukraine",
                "United Arab Emirates",
                "United Kingdom",
                "United States",
                "Uruguay",
                "Uzbekistan",
                "Vatican City State Holy See",
                "Venezuela",
                "Vietnam",
                "Virgin Islands U S",
                "Zambia",
                "Zimbabwe"
              ]
            }
          },
          "certificateType": {
            "title": "Certificate type",
            "type": "array",
            "description": "Only return these certificate types: CFM (controlled forest management), COC (chain of custody), CW/FM (controlled wood / forest management), FM (forest management) and FM/COC. Applies to search queries only; start URLs keep their own filters.",
            "items": {
              "type": "string",
              "enum": [
                "CFM",
                "COC",
                "CW/FM",
                "FM",
                "FM/COC"
              ]
            }
          },
          "role": {
            "title": "Organization role",
            "type": "array",
            "description": "Only return certificate holders, sites, or organizations with an unspecified role. Applies to search queries only; start URLs keep their own filters.",
            "items": {
              "type": "string",
              "enum": [
                "Certificate holder",
                "Site",
                "Unspecified"
              ]
            }
          },
          "certificationBody": {
            "title": "Certification body",
            "type": "array",
            "description": "Only return certificates issued by these certification bodies (code at the start of the certificate code, e.g. DNV, SGS, BV). Applies to search queries only; start URLs keep their own filters.",
            "items": {
              "type": "string",
              "enum": [
                "AEN",
                "APCER",
                "BEN",
                "BM",
                "BMC",
                "BNQ",
                "BV",
                "COT",
                "CQ",
                "CSI",
                "CSQ",
                "CSQA",
                "CU",
                "DCI",
                "DNV",
                "ECO",
                "EP",
                "ESTS",
                "FC",
                "FCBA",
                "FSC",
                "GCL",
                "GFA",
                "GMP",
                "HFA",
                "ICILA",
                "IDFL",
                "IMA",
                "IMO",
                "INS",
                "INT",
                "JIA",
                "KF",
                "KFQ",
                "KIWAFI",
                "KS",
                "LL",
                "MS",
                "NC",
                "NEO",
                "NQA",
                "PBN",
                "PWC",
                "QA",
                "QAP",
                "RINA",
                "RR",
                "SA",
                "SAI",
                "SCS",
                "SGS",
                "SGSCH",
                "SGSHK",
                "SKAL",
                "SKH",
                "SLC",
                "SQS",
                "TAH",
                "TRID",
                "TSUD",
                "TT",
                "TUEV",
                "TUVDC",
                "WB"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}