{
  "openapi": "3.0.1",
  "info": {
    "title": "AWS Service Price List Explorer: EC2, RDS, S3, Bedrock",
    "description": "Explore AWS public price lists across 273+ services and all regions. Filter by service, region, attributes and terms; convert currencies; compare versions; and output SKUs, dimensions, on-demand/reserved/Savings Plan prices and monthly estimates.",
    "version": "1.0",
    "x-build-id": "S8aei24FFydgUUxbW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlyth-forge~aws-price-list-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlyth-forge-aws-price-list-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-price-list-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlyth-forge-aws-price-list-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-price-list-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlyth-forge-aws-price-list-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": [
              "prices",
              "services",
              "regions",
              "versions",
              "attributes",
              "diff"
            ],
            "type": "string",
            "description": "prices = SKU/term price rows; services = the offer catalog; regions = region index for each service; versions = published price-list versions; attributes = discover filterable attribute names and values; diff = price changes between two versions.",
            "default": "prices"
          },
          "services": {
            "title": "Service codes",
            "type": "array",
            "description": "AWS offer codes such as AmazonEC2, AmazonRDS, AmazonS3, AWSLambda, AmazonBedrock, AmazonSageMaker, AmazonEKS, AmazonCloudFront or AmazonDynamoDB. Any of the 273 commercial codes and 97 China codes works. Leave empty to use all services (the service catalog mode returns all of them).",
            "default": [
              "AmazonS3"
            ],
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Region codes",
            "type": "array",
            "description": "AWS region codes such as us-east-1, eu-west-1, ap-southeast-1, us-gov-west-1, cn-north-1 or cn-northwest-1. Leave empty to read every region offered for the service.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "partition": {
            "title": "Partition",
            "enum": [
              "aws",
              "aws-cn",
              "all"
            ],
            "type": "string",
            "description": "AWS commercial + GovCloud, AWS China, or both.",
            "default": "aws"
          },
          "terms": {
            "title": "Pricing terms",
            "type": "array",
            "description": "On-demand, reserved (1/3-year with payment options) and Savings Plan rates. Savings Plan rows come from the service's Savings Plan index when AWS publishes one.",
            "items": {
              "type": "string",
              "enum": [
                "onDemand",
                "reserved",
                "savingsPlan"
              ],
              "enumTitles": [
                "On-demand",
                "Reserved instances",
                "Savings Plans"
              ]
            },
            "default": [
              "onDemand",
              "reserved",
              "savingsPlan"
            ]
          },
          "leaseLength": {
            "title": "Reserved lease length",
            "enum": [
              "any",
              "1yr",
              "3yr"
            ],
            "type": "string",
            "description": "Keep only reserved terms with this lease length. 'Any' disables the filter.",
            "default": "any"
          },
          "purchaseOption": {
            "title": "Reserved purchase option",
            "enum": [
              "any",
              "No Upfront",
              "Partial Upfront",
              "All Upfront",
              "Heavy Utilization",
              "Medium Utilization",
              "Light Utilization"
            ],
            "type": "string",
            "description": "Keep only reserved terms with this payment option. 'Any' disables the filter.",
            "default": "any"
          },
          "offeringClass": {
            "title": "Reserved offering class",
            "enum": [
              "any",
              "standard",
              "convertible"
            ],
            "type": "string",
            "description": "Standard or convertible reserved instances. 'Any' disables the filter.",
            "default": "any"
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "all",
              "USD",
              "CNY"
            ],
            "type": "string",
            "description": "USD for the global partition, CNY for China, or all currencies present in each file (one row per currency).",
            "default": "all"
          },
          "version": {
            "title": "Price-list version",
            "type": "string",
            "description": "Use 'current' or a published version ID from the versions mode (for example 20261124231417). In diff mode this is the older/base version; leave 'current' to compare the previous version with the current one.",
            "default": "current"
          },
          "compareVersion": {
            "title": "Compare version (diff mode)",
            "type": "string",
            "description": "Newer/target version for diff mode. Leave empty to compare against the current version.",
            "default": ""
          },
          "instanceType": {
            "title": "Instance type",
            "type": "string",
            "description": "Case-insensitive substring or comma-separated list (for example m5.large or m5,c5)."
          },
          "instanceFamily": {
            "title": "Instance family",
            "type": "string",
            "description": "Instance family or family category, case-insensitive substring or comma-separated list (for example Memory optimized)."
          },
          "vcpuMin": {
            "title": "vCPU minimum",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Keep products with at least this many vCPUs."
          },
          "vcpuMax": {
            "title": "vCPU maximum",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Keep products with at most this many vCPUs."
          },
          "memoryMinGiB": {
            "title": "Memory minimum (GiB)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "number",
            "description": "Keep products with at least this much memory. Values such as 32 GiB are parsed to GiB."
          },
          "memoryMaxGiB": {
            "title": "Memory maximum (GiB)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "number",
            "description": "Keep products with at most this much memory."
          },
          "operatingSystem": {
            "title": "Operating system",
            "type": "string",
            "description": "Case-insensitive substring or comma-separated list (Linux, Windows, RHEL, SUSE, Ubuntu Pro...)."
          },
          "tenancy": {
            "title": "Tenancy",
            "enum": [
              "any",
              "Shared",
              "Dedicated",
              "Host",
              "Reserved"
            ],
            "type": "string",
            "description": "Keep Shared, Dedicated, Host or Reserved tenancy products.",
            "default": "any"
          },
          "licenseModel": {
            "title": "License model",
            "enum": [
              "any",
              "No license required",
              "License included",
              "Bring your own license"
            ],
            "type": "string",
            "description": "No license required, License included, Bring your own license, or any.",
            "default": "any"
          },
          "preInstalledSw": {
            "title": "Pre-installed software",
            "type": "string",
            "description": "Case-insensitive substring such as SQL Server or NA."
          },
          "storageClass": {
            "title": "Storage class or volume type",
            "type": "string",
            "description": "Matches storageClass, volumeType or storagetype attributes, for example General Purpose, Standard, gp3, io2 or Glacier Instant Retrieval."
          },
          "databaseEngine": {
            "title": "Database engine",
            "type": "string",
            "description": "Case-insensitive substring or comma-separated list such as PostgreSQL, MySQL, Aurora, SQL Server or Oracle."
          },
          "modelName": {
            "title": "Bedrock model name",
            "type": "string",
            "description": "Case-insensitive substring of the model or Titan model attribute, for example Claude, Llama, Titan or Nova."
          },
          "usageType": {
            "title": "Usage type contains",
            "type": "string",
            "description": "Case-insensitive substring of the AWS usage type."
          },
          "operation": {
            "title": "Operation contains",
            "type": "string",
            "description": "Case-insensitive substring of the AWS operation."
          },
          "productFamily": {
            "title": "Product family",
            "type": "string",
            "description": "Case-insensitive substring of the product family, for example Compute Instance, Database Instance, Storage or API Request."
          },
          "attributeFilters": {
            "title": "Advanced attribute filters",
            "type": "object",
            "description": "Optional JSON object of exact attribute matches, for example {\"capacitystatus\":\"Used\",\"processorArchitecture\":\"arm64\"}. A list of values means OR; * and ? wildcards are supported.",
            "default": {}
          },
          "excludeZeroPrice": {
            "title": "Exclude zero prices",
            "type": "boolean",
            "description": "Skip dimensions whose selected currency is $0.00 or ¥0.00.",
            "default": false
          },
          "maxItems": {
            "title": "Max records",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap on emitted records. Streaming stops as soon as the cap is reached.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}