# AWS Service Price List Explorer: EC2, RDS, S3, Bedrock (`crawlyth-forge/aws-price-list-scraper`) Actor

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.

- **URL**: https://apify.com/crawlyth-forge/aws-price-list-scraper.md
- **Developed by:** [crawlyth forge](https://apify.com/crawlyth-forge) (community)
- **Categories:** Automation, Developer tools, Integrations
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## AWS Service Price List Explorer: EC2, RDS, S3, Bedrock & 270+ Services

Turn the official [AWS Price List Bulk API](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/using-the-aws-price-list-bulk-api.html) into a flat, filterable dataset. Explore any of the 273 commercial offer codes and 97 China offer codes, across every commercial, GovCloud and China region, with on-demand, reserved and Savings Plan terms in USD or CNY. No AWS account, API key, cookie or proxy is needed.

### What this actor does

- **Price rows** — one row per SKU × pricing term × price dimension, with the product attributes, unit, tier range, rate, currency and a derived 730-hour monthly cost.
- **Service catalog** — every offer code with its version, current and region index URLs, plus a Savings Plan flag.
- **Region index** — the regions AWS publishes for each service, with the exact price-file URL and version.
- **Version history** — every published version of a service price list, with effective dates.
- **Attribute discovery** — the attribute names you can filter on, how many products use them, and example values (instance types, engines, models, storage classes...).
- **Price-change diff** — compare two versions of the same service and region, and emit added, removed and changed rates with the delta and percentage change.
- **Streaming reads** — large regional files (EC2 commercial files reach several hundred MB) are downloaded and parsed incrementally, so memory use stays flat. Rows are capped by `maxItems`.
- **USD and CNY** — the commercial partition is priced in USD; the China partition is priced in CNY. Choose `all` to keep every currency present in a file.

### Modes

| Mode | What it returns |
|---|---|
| `prices` (default) | SKU/term/dimension price rows |
| `services` | One row per AWS offer code |
| `regions` | One row per service × region |
| `versions` | One row per published price-list version |
| `attributes` | One row per filterable attribute, with counts and samples |
| `diff` | One row per added, removed or changed rate between two versions |

### Output per price row

Identity and scope: `recordType`, `serviceCode`, `serviceName`, `partition`, `regionCode`, `regionName`, `locationType`, `sku`, `productFamily`, `version`, `publicationDate`, `sourceUrl`, `scrapedAt`.

Product attributes: `instanceType`, `instanceFamily`, `vcpu`, `memory`, `memoryGiB`, `storage`, `networkPerformance`, `gpu`, `operatingSystem`, `tenancy`, `licenseModel`, `preInstalledSw`, `capacityStatus`, `databaseEngine`, `databaseEdition`, `deploymentOption`, `storageClass`, `volumeType`, `transferType`, `fromLocation`, `toLocation`, `model`, `provider`, `modality`, `inferenceType`, `tokenType`, `feature`, `operation`, `usageType`. The complete raw attribute map is preserved in `attributes`.

Term and price: `termType`, `offerTermCode`, `leaseContractLength`, `purchaseOption`, `offeringClass`, `restriction`, `rateCode`, `description`, `unit`, `beginRange`, `endRange`, `price`, `currency`, `prices`, `effectiveDate`, and `monthlyCost730h` for hourly units. Savings Plan rows add `savingsPlanSku`, `savingsPlanDescription`, `discountedServiceCode` and `rateRegionCode`.

Diff rows add `changeType` (`added` / `removed` / `changed`), `previousPrice`, `newPrice`, `priceDelta`, `priceChangePct`, `previousVersion` and `newVersion`.

Empty fields are omitted at every depth — a row only contains values AWS actually published.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `prices` | `prices` / `services` / `regions` / `versions` / `attributes` / `diff` |
| `services` | array | `["AmazonS3"]` | Offer codes, e.g. `AmazonEC2`, `AmazonRDS`, `AmazonS3`, `AWSLambda`, `AmazonBedrock`, `AmazonSageMaker`, `AmazonEKS`, `AmazonCloudFront`, `AmazonDynamoDB`. Empty means all services. |
| `regions` | array | `[]` | Region codes, e.g. `us-east-1`, `eu-west-1`, `us-gov-west-1`, `cn-north-1`. Empty means every region for the service. |
| `partition` | string | `aws` | `aws` (commercial + GovCloud), `aws-cn` (China, CNY) or `all` |
| `terms` | array | `["onDemand", "reserved", "savingsPlan"]` | `onDemand`, `reserved`, `savingsPlan` |
| `leaseLength` | string | `any` | `any` / `1yr` / `3yr` (reserved) |
| `purchaseOption` | string | `any` | `any` / `No Upfront` / `Partial Upfront` / `All Upfront` / `Heavy Utilization` / `Medium Utilization` / `Light Utilization` |
| `offeringClass` | string | `any` | `any` / `standard` / `convertible` |
| `currency` | string | `all` | `all` / `USD` / `CNY` |
| `version` | string | `current` | `current` or a version ID from `versions` mode |
| `compareVersion` | string | empty | Target version for `diff`; empty means current |
| `instanceType` | string | – | Substring or comma-separated list, e.g. `m5.large,m6i` |
| `instanceFamily` | string | – | Substring or list, e.g. `General purpose` |
| `vcpuMin` / `vcpuMax` | number | – | vCPU range |
| `memoryMinGiB` / `memoryMaxGiB` | number | – | Memory range in GiB |
| `operatingSystem` | string | – | `Linux`, `Windows`, `RHEL`, `SUSE`... |
| `tenancy` | string | `any` | `Shared` / `Dedicated` / `Host` / `Reserved` |
| `licenseModel` | string | `any` | `No license required` / `License included` / `Bring your own license` |
| `preInstalledSw` | string | – | e.g. `SQL Server`, `NA` |
| `storageClass` | string | – | `General Purpose`, `gp3`, `io2`, `Glacier Instant Retrieval`... |
| `databaseEngine` | string | – | `PostgreSQL`, `MySQL`, `Aurora`, `SQL Server`, `Oracle`... |
| `modelName` | string | – | Bedrock model substring, e.g. `Claude`, `Llama`, `Titan`, `Nova` |
| `usageType` / `operation` | string | – | Attribute substrings |
| `productFamily` | string | – | `Compute Instance`, `Database Instance`, `Storage`... |
| `attributeFilters` | object | `{}` | Exact attribute matches, e.g. `{"processorArchitecture":"arm64"}` |
| `excludeZeroPrice` | boolean | `false` | Skip zero-priced dimensions |
| `maxItems` | integer | `100` | Hard cap (1–10000); emission stops at the cap (the current regional file may finish parsing) |

### Examples

#### Cheapest on-demand EC2 rows for one instance type

```json
{
  "mode": "prices",
  "services": ["AmazonEC2"],
  "regions": ["us-east-1"],
  "instanceType": "m5.large",
  "terms": ["onDemand", "reserved"],
  "currency": "USD",
  "maxItems": 50
}
```

#### Bedrock model pricing

```json
{
  "mode": "prices",
  "services": ["AmazonBedrock"],
  "regions": ["us-east-1"],
  "modelName": "Claude",
  "terms": ["onDemand"],
  "maxItems": 50
}
```

#### Discover what you can filter on

```json
{
  "mode": "attributes",
  "services": ["AmazonRDS"],
  "regions": ["us-east-1"],
  "maxItems": 100
}
```

#### Compare the previous EC2 price list with the current one

```json
{
  "mode": "diff",
  "services": ["AmazonEC2"],
  "regions": ["us-east-1"],
  "instanceType": "m5.large",
  "terms": ["onDemand"],
  "maxItems": 50
}
```

#### China region prices in CNY

```json
{
  "mode": "prices",
  "services": ["AmazonS3"],
  "regions": ["cn-north-1"],
  "partition": "aws-cn",
  "currency": "CNY",
  "maxItems": 20
}
```

### Use cases

- Cloud cost analysts comparing list prices across regions and purchase options.
- FinOps and procurement teams checking reserved-instance and Savings Plan rates before a commitment.
- Data teams building a price-history warehouse or a change feed for AWS pricing.
- Developers who need a machine-readable catalog of instance types, Bedrock models, database engines or storage classes.
- Competitive and market researchers tracking the cloud price landscape.

### Data source and reliability

The actor reads the public price list files directly from the AWS price list hosts. Index files are fetched over HTTPS with retries on 429/5xx. Large price files are streamed to a temporary file and parsed with an incremental JSON parser, then deleted; the product index for a file is kept in a temporary SQLite database so memory does not grow with file size. No cookies, credentials or proxy setup are involved.

The default prefill reads Amazon S3 on-demand prices for `us-east-1` and returns the smallest useful run with output.

### Limitations

- The bulk price list contains list prices, not private pricing, credits, discounts or Spot market prices.
- Regional files can be large (EC2 commercial files reach several hundred MB). Filtering by instance type, family or other attributes reduces emitted rows, but AWS still publishes the whole regional file, so the first row can take a while.
- Savings Plan rates are read from the current Savings Plan index; the `diff` mode covers on-demand and reserved terms.
- Prices are informational and can differ from the AWS pricing pages; AWS bills the price shown on its pricing pages.
- China prices come from the separate China price list host and are denominated in CNY.

# Actor input Schema

## `mode` (type: `string`):

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.

## `services` (type: `array`):

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).

## `regions` (type: `array`):

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.

## `partition` (type: `string`):

AWS commercial + GovCloud, AWS China, or both.

## `terms` (type: `array`):

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.

## `leaseLength` (type: `string`):

Keep only reserved terms with this lease length. 'Any' disables the filter.

## `purchaseOption` (type: `string`):

Keep only reserved terms with this payment option. 'Any' disables the filter.

## `offeringClass` (type: `string`):

Standard or convertible reserved instances. 'Any' disables the filter.

## `currency` (type: `string`):

USD for the global partition, CNY for China, or all currencies present in each file (one row per currency).

## `version` (type: `string`):

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.

## `compareVersion` (type: `string`):

Newer/target version for diff mode. Leave empty to compare against the current version.

## `instanceType` (type: `string`):

Case-insensitive substring or comma-separated list (for example m5.large or m5,c5).

## `instanceFamily` (type: `string`):

Instance family or family category, case-insensitive substring or comma-separated list (for example Memory optimized).

## `vcpuMin` (type: `number`):

Keep products with at least this many vCPUs.

## `vcpuMax` (type: `number`):

Keep products with at most this many vCPUs.

## `memoryMinGiB` (type: `number`):

Keep products with at least this much memory. Values such as 32 GiB are parsed to GiB.

## `memoryMaxGiB` (type: `number`):

Keep products with at most this much memory.

## `operatingSystem` (type: `string`):

Case-insensitive substring or comma-separated list (Linux, Windows, RHEL, SUSE, Ubuntu Pro...).

## `tenancy` (type: `string`):

Keep Shared, Dedicated, Host or Reserved tenancy products.

## `licenseModel` (type: `string`):

No license required, License included, Bring your own license, or any.

## `preInstalledSw` (type: `string`):

Case-insensitive substring such as SQL Server or NA.

## `storageClass` (type: `string`):

Matches storageClass, volumeType or storagetype attributes, for example General Purpose, Standard, gp3, io2 or Glacier Instant Retrieval.

## `databaseEngine` (type: `string`):

Case-insensitive substring or comma-separated list such as PostgreSQL, MySQL, Aurora, SQL Server or Oracle.

## `modelName` (type: `string`):

Case-insensitive substring of the model or Titan model attribute, for example Claude, Llama, Titan or Nova.

## `usageType` (type: `string`):

Case-insensitive substring of the AWS usage type.

## `operation` (type: `string`):

Case-insensitive substring of the AWS operation.

## `productFamily` (type: `string`):

Case-insensitive substring of the product family, for example Compute Instance, Database Instance, Storage or API Request.

## `attributeFilters` (type: `object`):

Optional JSON object of exact attribute matches, for example {"capacitystatus":"Used","processorArchitecture":"arm64"}. A list of values means OR; \* and ? wildcards are supported.

## `excludeZeroPrice` (type: `boolean`):

Skip dimensions whose selected currency is $0.00 or ¥0.00.

## `maxItems` (type: `integer`):

Hard cap on emitted records. Streaming stops as soon as the cap is reached.

## Actor input object example

```json
{
  "mode": "prices",
  "services": [
    "AmazonS3"
  ],
  "regions": [
    "us-east-1"
  ],
  "partition": "aws",
  "terms": [
    "onDemand"
  ],
  "leaseLength": "any",
  "purchaseOption": "any",
  "offeringClass": "any",
  "currency": "USD",
  "version": "current",
  "compareVersion": "",
  "tenancy": "any",
  "licenseModel": "any",
  "attributeFilters": {},
  "excludeZeroPrice": false,
  "maxItems": 2
}
```

# Actor output Schema

## `items` (type: `string`):

Dataset containing the requested price rows, catalog rows, attribute facets or price-change rows.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "prices",
    "services": [
        "AmazonS3"
    ],
    "regions": [
        "us-east-1"
    ],
    "partition": "aws",
    "terms": [
        "onDemand"
    ],
    "currency": "USD",
    "version": "current",
    "excludeZeroPrice": false,
    "maxItems": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlyth-forge/aws-price-list-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "prices",
    "services": ["AmazonS3"],
    "regions": ["us-east-1"],
    "partition": "aws",
    "terms": ["onDemand"],
    "currency": "USD",
    "version": "current",
    "excludeZeroPrice": False,
    "maxItems": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlyth-forge/aws-price-list-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "prices",
  "services": [
    "AmazonS3"
  ],
  "regions": [
    "us-east-1"
  ],
  "partition": "aws",
  "terms": [
    "onDemand"
  ],
  "currency": "USD",
  "version": "current",
  "excludeZeroPrice": false,
  "maxItems": 2
}' |
apify call crawlyth-forge/aws-price-list-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlyth-forge/aws-price-list-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/eHISptk5bazlzCKFb/builds/S8aei24FFydgUUxbW/openapi.json
