npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-aws-cost-explorer-rsd

v0.1.2

Published

N8N node for AWS Cost Explorer to retrieve cost and usage data

Readme

n8n-nodes-aws-cost-explorer

n8n community node for AWS Cost Explorer — retrieve cost, usage, anomalies, and purchase recommendations.

Installation

Settings → Community Nodes → Install → n8n-nodes-aws-cost-explorer-rsd

Credentials

| Field | Required | Description | |---|---|---| | AWS Access Key ID | ✅ | IAM access key | | AWS Secret Access Key | ✅ | IAM secret key | | Session Token | ❌ | STS temporary token (for AssumeRole) | | Region | ✅ | us-east-1 recommended |

IAM Policy

{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": [
      "ce:GetCostAndUsage",
      "ce:GetCostForecast",
      "ce:GetDimensionValues",
      "ce:GetReservationUtilization",
      "ce:GetReservationCoverage",
      "ce:GetReservationPurchaseRecommendation",
      "ce:GetSavingsPlansUtilization",
      "ce:GetSavingsPlansCoverage",
      "ce:GetSavingsPlansPurchaseRecommendation",
      "ce:GetAnomalies",
      "ce:GetAnomalyMonitors",
      "ce:GetAnomalySubscriptions"
    ],
    "Resource": "*"
  }]
}

Resources & Operations

Cost and Usage

  • Get — Retrieves cost and usage data for a time period.

Options:

  • Granularity: Daily / Monthly / Hourly
  • Metrics: UnblendedCost, BlendedCost, AmortizedCost, NetUnblendedCost, NetAmortizedCost, UsageQuantity, NormalizedUsageAmount
  • Group By: Service, Linked Account, Region, Purchase Type, Instance Type, Usage Type, Tag
  • Secondary Group By: additional grouping dimension (max 2 supported by AWS)
  • Filter by Service(s): comma-separated list (e.g. Amazon EC2, Amazon S3)
  • Filter by Linked Account(s): comma-separated account IDs
  • Filter by Region(s): comma-separated region codes
  • Filter by Tag: key + comma-separated values
  • Exclude Credits & Refunds: removes Credit/Refund/Discount record types
  • Format Output: flattens AWS response into simple rows with numeric amounts
  • Pagination: automatic — all pages are fetched and merged

Cost Forecast

  • Get — Retrieves cost forecast for a future time period.

Dimension Values

  • Get — Lists available values for a dimension (Service, Region, Linked Account, etc.)

Reserved Instances

  • Get Utilization — RI hours used vs purchased, grouped by service (optional)
  • Get Coverage — % of usage covered by RIs
  • Get Recommendations — Purchase recommendations for EC2, RDS, ElastiCache, Redshift, ES

Savings Plans

  • Get Utilization — SP commitment used vs wasted
  • Get Coverage — % of usage covered by SPs
  • Get Recommendations — Purchase recommendations for Compute SP, EC2 Instance SP, SageMaker SP

Cost Anomaly Detection

  • Get Anomalies — Detected cost spikes with optional minimum impact filter
  • Get Monitors — Configured anomaly monitors
  • Get Subscriptions — Alert subscriptions for anomaly notifications

Output Format

By default the node returns the raw AWS API response.

When Format Output is enabled on Cost and Usage, results are flattened into one row per group per period:

{
  "start": "2024-01-01",
  "end": "2024-01-02",
  "estimated": false,
  "keys": ["Amazon EC2"],
  "UnblendedCost_amount": 42.5,
  "UnblendedCost_unit": "USD"
}