{
  "openapi": "3.0.1",
  "info": {
    "title": "AWS Open Data Registry: Datasets, S3 ARNs & Tutorials",
    "description": "Export the Registry of Open Data on AWS as structured dataset rows with managing organization, license, tags, update cadence, S3/SNS ARNs, regions, access flags, tutorials and tools. Filter by keyword, tag, organization, license and region.",
    "version": "1.0",
    "x-build-id": "BLdPlDObbgbDLdhWU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlyth-forge~aws-open-data-registry-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlyth-forge-aws-open-data-registry-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/crawlyth-forge~aws-open-data-registry-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlyth-forge-aws-open-data-registry-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/crawlyth-forge~aws-open-data-registry-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlyth-forge-aws-open-data-registry-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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "catalog",
              "resources",
              "recent",
              "detail",
              "feed"
            ],
            "type": "string",
            "description": "`catalog` reads the full registry index, `resources` emits one row per S3 bucket, SNS topic or CloudFront distribution, `recent` returns the newest entries, `detail` reads individual registry pages, and `feed` reads the official RSS feed.",
            "default": "catalog"
          },
          "datasetIds": {
            "title": "Dataset slugs or URLs (mode=detail)",
            "type": "array",
            "description": "Registry slugs such as `1000-genomes`, registry page URLs such as `https://registry.opendata.aws/1000-genomes/`, or hosted YAML URLs. Invalid entries are skipped and reported.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Case-insensitive search over dataset name, description, tags, managing organization, license and ADX categories. Multiple words must all match (mode=catalog, resources, recent, detail)."
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "Registry tags or substrings such as `climate`, `satellite imagery`, `genomics`, `aws-pds`.",
            "items": {
              "type": "string"
            }
          },
          "tagMatch": {
            "title": "Tag match",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "Whether a dataset must carry any one requested tag or all of them.",
            "default": "any"
          },
          "organizations": {
            "title": "Managing organizations",
            "type": "array",
            "description": "Case-insensitive substrings of the managing organization, e.g. `NASA`, `NOAA`, `PhysioNet`.",
            "items": {
              "type": "string"
            }
          },
          "licenses": {
            "title": "Licenses",
            "type": "array",
            "description": "Case-insensitive substrings of the license text or URL, e.g. `CC BY 4.0`, `Open Data Commons`, `MIT`.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "AWS regions",
            "type": "array",
            "description": "S3/SNS regions such as `us-east-1`, `us-west-2`, `eu-central-1`. A dataset matches when one of its resources is in any requested region.",
            "items": {
              "type": "string"
            }
          },
          "updateFrequency": {
            "title": "Update frequency text",
            "type": "string",
            "description": "Free-text match against the published update cadence, e.g. `daily`, `monthly`, `not updated`, `as needed`."
          },
          "updateFrequencyCategory": {
            "title": "Update frequency category",
            "enum": [
              "",
              "hourly",
              "daily",
              "weekly",
              "monthly",
              "quarterly",
              "semiannual",
              "annual",
              "ongoing",
              "irregular",
              "static",
              "varies",
              "unknown"
            ],
            "type": "string",
            "description": "Normalized cadence derived from the published free-text value.",
            "default": ""
          },
          "resourceType": {
            "title": "AWS resource type",
            "enum": [
              "",
              "S3 Bucket",
              "SNS Topic",
              "CloudFront Distribution"
            ],
            "type": "string",
            "description": "Keep datasets that expose this resource type; in `resources` mode only rows of this type are emitted.",
            "default": ""
          },
          "requesterPaysOnly": {
            "title": "Requester Pays only",
            "type": "boolean",
            "description": "Keep only datasets or resources whose S3 bucket is marked Requester Pays.",
            "default": false
          },
          "controlledAccessOnly": {
            "title": "Controlled access only",
            "type": "boolean",
            "description": "Keep only datasets or resources that publish a controlled-access request link.",
            "default": false
          },
          "adxOnly": {
            "title": "AWS Data Exchange categories only",
            "type": "boolean",
            "description": "Keep only datasets with registry ADX categories.",
            "default": false
          },
          "hasUsageExamples": {
            "title": "Has usage examples only",
            "type": "boolean",
            "description": "Keep only datasets with at least one tutorial, tool/application or publication.",
            "default": false
          },
          "deprecationFilter": {
            "title": "Deprecation filter",
            "enum": [
              "active",
              "all",
              "deprecated"
            ],
            "type": "string",
            "description": "The registry marks retired entries as deprecated. The default matches the public home page.",
            "default": "active"
          },
          "minResourceCount": {
            "title": "Minimum resource count",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Drop datasets with fewer AWS resources than this (0 = no floor).",
            "default": 0
          },
          "addedAfter": {
            "title": "Registry entry added after",
            "type": "string",
            "description": "ISO date. Applies to catalog, resources and recent modes, and to detail when structured metadata is on."
          },
          "addedBefore": {
            "title": "Registry entry added before",
            "type": "string",
            "description": "ISO date (catalog, resources, recent, structured detail)."
          },
          "modifiedAfter": {
            "title": "Registry entry last modified after",
            "type": "string",
            "description": "ISO date (catalog, resources, recent, structured detail)."
          },
          "modifiedBefore": {
            "title": "Registry entry last modified before",
            "type": "string",
            "description": "ISO date (catalog, resources, recent, structured detail)."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "registry",
              "name",
              "added",
              "modified",
              "resourceCount",
              "usageExampleCount",
              "tutorialCount",
              "publicationCount"
            ],
            "type": "string",
            "description": "Ordering for catalog and resources modes.",
            "default": "registry"
          },
          "sortDirection": {
            "title": "Sort direction",
            "enum": [
              "asc",
              "desc"
            ],
            "type": "string",
            "description": "Direction for catalog and resources sorting.",
            "default": "asc"
          },
          "recentBy": {
            "title": "Recent mode date field",
            "enum": [
              "added",
              "modified"
            ],
            "type": "string",
            "description": "Which registry date orders results in recent mode.",
            "default": "added"
          },
          "offset": {
            "title": "Offset",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Number of filtered records to skip before emitting. Use with maxItems to page through the registry.",
            "default": 0
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on emitted records. The full registry has about 1,500 datasets and 8,000 resources.",
            "default": 50
          },
          "includeResources": {
            "title": "Include AWS resources",
            "type": "boolean",
            "description": "Include the nested resource list (ARN, region, type, access flags and explore links). Counts and filters work even when this is off.",
            "default": true
          },
          "includeUsageExamples": {
            "title": "Include tutorials, tools and publications",
            "type": "boolean",
            "description": "Include the nested usage-example lists with titles, URLs, authors, services and notebook links.",
            "default": true
          },
          "includeStructuredMetadata": {
            "title": "Fetch hosted YAML in detail mode",
            "type": "boolean",
            "description": "When reading individual dataset pages, also read the registry's hosted YAML for dates, ADX categories, collaborations and complete metadata. Off = page HTML only (mode=detail).",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}