{
  "openapi": "3.0.1",
  "info": {
    "title": "ASC Seafood Farms Scraper & API - Certified Aquaculture",
    "description": "ASC certified seafood farms scraper and API: aquaculture suppliers from the public ASC register by species (shrimp, salmon, tilapia, pangasius, seaweed), country, standard and status. One row per certificate: company, validity, certifier, sites, PDF link. $1.50 per 1,000, lowest on 23 Nov 2026.",
    "version": "1.0",
    "x-build-id": "HiJZAEcdWbDZG1O4b"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~asc-seafood-farms-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-asc-seafood-farms-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~asc-seafood-farms-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-asc-seafood-farms-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~asc-seafood-farms-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-asc-seafood-farms-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": {
          "species": {
            "title": "Species",
            "type": "array",
            "description": "Words of the farmed species, English or Latin, e.g. \"shrimp\", \"vannamei\", \"salmon\", \"mussel\", \"tilapia\", \"pangasius\", \"seaweed\". A certificate matches when any word appears in any of its species.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Countries of the farm sites, e.g. \"Vietnam\", \"Norway\", \"Ecuador\", \"India\", \"Chile\". Short names work (\"Vietnam\", \"UK\", \"South Korea\"). Unknown names are listed in the run summary.",
            "items": {
              "type": "string"
            }
          },
          "standards": {
            "title": "ASC standards",
            "type": "array",
            "description": "Keep only these ASC standards.",
            "items": {
              "type": "string",
              "enum": [
                "Abalone",
                "Bivalve",
                "Farm Standard",
                "Flatfish",
                "Freshwater Trout",
                "Pangasius",
                "Salmon and Cod",
                "Seabass, Seabream and Meagre",
                "Seaweed (Algae)",
                "Seriola and Cobia",
                "Shrimp",
                "Tilapia",
                "Tropical Marine Finfish"
              ]
            }
          },
          "statuses": {
            "title": "Certificate status",
            "type": "array",
            "description": "Keep certificates with these statuses. Default: Certified only. Add \"In Initial Audit\" for farms on their way to certification.",
            "items": {
              "type": "string",
              "enum": [
                "Certified",
                "In Initial Audit",
                "Expired",
                "Cancelled",
                "Withdrawn",
                "Suspended",
                "Reassigned",
                "Certification not awarded",
                "Not certified"
              ]
            },
            "default": [
              "Certified"
            ]
          },
          "companyNames": {
            "title": "Company names",
            "type": "array",
            "description": "Words of the certificate-holding company, e.g. \"Mowi\", \"Minh Phu\".",
            "items": {
              "type": "string"
            }
          },
          "certificateNumbers": {
            "title": "Certificate numbers",
            "type": "array",
            "description": "Look up exact certificates, e.g. \"ASC01371\".",
            "items": {
              "type": "string"
            }
          },
          "validUntilAfter": {
            "title": "Valid until on or after",
            "type": "string",
            "description": "YYYY-MM-DD. Keep certificates still valid on this date, e.g. your next order date."
          },
          "validFromAfter": {
            "title": "Certified on or after",
            "type": "string",
            "description": "YYYY-MM-DD. Keep certificates issued on or after this date (newly certified farms)."
          },
          "includeDetails": {
            "title": "Read certificate details",
            "type": "boolean",
            "description": "On: one extra request per certificate adds the certificate PDF link, FAO species codes, production system, RAS module, site coordinates (company sites only) and the latest audit. Off: faster, register-export fields only.",
            "default": true
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Certificates to save, newest first. 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}