Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

AICPA SOC for Service Organizations logoAICPA SOC for Service Organizations logo

SOC 2® Type 1 report

Audited by Prescient Assurance

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
2 Grattan Court East, Dublin, D02 VX86, Ireland
Switch to light modeSwitch to dark mode
APIs / Finance / Amazonaws / AWS Cost Explorer Service
AWS Cost Explorer Service logo

AWS Cost Explorer Service

Browse all Amazonaws APIs
60
AI ReadinessAI-Aware (B-)60/100
See full scorecard
Community OpenAPI document · agent-readyFinanceExpense ManagementapiKey37 EndpointsREST

Know of an official OpenAPI document? Contribute it →

For Agents

Query AWS cost and usage data, forecast future spend, detect anomalies, and fetch RI and Savings Plans recommendations programmatically.

Use for: I need to get last month's cost broken down by service, Forecast next quarter's AWS spend, Find cost anomalies in the last 30 days, Get RI purchase recommendations for compute usage

Not supported: Does not deliver line-item billing files, enforce spending thresholds, or purchase commitments. Use for cost and usage analytics, forecasting, and anomaly detection only.

AWS Cost Explorer is the analytics API for AWS spend. It exposes the same data the Cost Explorer console renders, including cost and usage by service, account, tag, and dimension, programmatically with daily and monthly granularity. The API supports forecasting future costs and usage, detecting cost anomalies through anomaly monitors and subscriptions, retrieving Reserved Instance and Savings Plans coverage and utilisation, and getting purchase recommendations. Cost categories let you build custom rollups (by team, environment, or product) on top of raw cost data.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the AWS Cost Explorer Service to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the AWS Cost Explorer Service, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Famazonaws.com%2Fce" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Famazonaws.com%2Fce" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with AWS Cost Explorer Service API.

Query cost and usage with GetCostAndUsage filtered and grouped by service, linked account, tag, region, or any cost dimension

Generate cost and usage forecasts up to 12 months ahead with confidence intervals

Define anomaly monitors and anomaly subscriptions that alert when spend deviates from baseline

Retrieve Reserved Instance utilisation, coverage, and purchase recommendations

Retrieve Savings Plans utilisation, coverage, and purchase recommendations

Build cost categories that group spend by custom rules (account, tag, charge type) for executive reporting

Get rightsizing recommendations for EC2 instances based on observed utilisation

Use Cases

Patterns agents use AWS Cost Explorer Service API for, with concrete tasks.

★ Monthly Cost Report by Team

Build a monthly internal cost report showing spend per team without exporting CSVs by hand. GetCostAndUsage filtered by linked account or tag (Team=*) and grouped by Tag returns spend per team in one call. Render the response into a Slack post or a Notion page so engineering managers see their share of the bill on the first business day of every month.

Call GetCostAndUsage with TimePeriod={Start: 2026-05-01, End: 2026-06-01}, Granularity=MONTHLY, Metrics=['UnblendedCost'], GroupBy=[{Type: TAG, Key: Team}].

Quarterly Forecast for Finance

Give finance a forward-looking view of AWS spend so they can budget the next quarter accurately. GetCostForecast returns a point estimate plus 80 and 95 percent confidence intervals over a chosen horizon. Combine with usage forecasts to flag where committed spend (RIs or Savings Plans) under-covers the forecasted demand.

Call GetCostForecast with TimePeriod for the next 90 days, Metric=UNBLENDED_COST, Granularity=MONTHLY, PredictionIntervalLevel=95.

Cost Anomaly Detection

Catch unexpected spend spikes, such as a forgotten dev cluster, an opened S3 bucket, or a misconfigured data transfer, within hours rather than at month end. CreateAnomalyMonitor defines a service-level or account-level monitor; CreateAnomalySubscription routes detected anomalies to email or SNS. GetAnomalies returns historical anomalies for review and tuning.

CreateAnomalyMonitor with MonitorType=DIMENSIONAL and DimensionalValueCount=10, then CreateAnomalySubscription with Threshold=100 USD and Subscribers=[{Type: EMAIL, Address: cost-alerts@company.com}].

Agent-Driven Cost Investigator

When an alert fires, let an agent investigate the underlying spend pattern automatically: pull cost by service for the last 14 days, drill into the top growing service by usage type, and surface a probable root cause to the on-call engineer. The agent calls Cost Explorer through Jentic so AWS credentials never leave the vault, and runs the same investigation across multiple linked accounts in an organisation.

Search Jentic for 'get AWS cost grouped by service', execute it for the last 14 days, identify the service with the largest daily delta, then GetCostAndUsage grouped by USAGE_TYPE on that service to surface the top driver.

Key Endpoints

37 endpoints — aws cost explorer is the analytics api for aws spend.

METHOD

PATH

DESCRIPTION

POST

/#X-Amz-Target=AWSInsightsIndexService.GetCostAndUsage

Query cost and usage by dimension and group

POST

/#X-Amz-Target=AWSInsightsIndexService.GetCostForecast

Forecast future cost

POST

/#X-Amz-Target=AWSInsightsIndexService.GetUsageForecast

Forecast future usage

POST

/#X-Amz-Target=AWSInsightsIndexService.CreateAnomalyMonitor

Create a cost anomaly monitor

POST

/#X-Amz-Target=AWSInsightsIndexService.CreateAnomalySubscription

Subscribe to anomaly alerts

POST

/#X-Amz-Target=AWSInsightsIndexService.GetAnomalies

List detected anomalies

POST

/#X-Amz-Target=AWSInsightsIndexService.GetReservationUtilization

Reserved Instance utilisation

POST

/#X-Amz-Target=AWSInsightsIndexService.GetSavingsPlansUtilization

Savings Plans utilisation

POST

/#X-Amz-Target=AWSInsightsIndexService.GetCostAndUsage

Query cost and usage by dimension and group

POST

/#X-Amz-Target=AWSInsightsIndexService.GetCostForecast

Forecast future cost

POST

/#X-Amz-Target=AWSInsightsIndexService.GetUsageForecast

Forecast future usage

POST

/#X-Amz-Target=AWSInsightsIndexService.CreateAnomalyMonitor

Create a cost anomaly monitor

POST

/#X-Amz-Target=AWSInsightsIndexService.CreateAnomalySubscription

Subscribe to anomaly alerts

POST

/#X-Amz-Target=AWSInsightsIndexService.GetAnomalies

List detected anomalies

POST

/#X-Amz-Target=AWSInsightsIndexService.GetReservationUtilization

Reserved Instance utilisation

POST

/#X-Amz-Target=AWSInsightsIndexService.GetSavingsPlansUtilization

Savings Plans utilisation

Jentic AI Readiness Score

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

A

AWS Cost Explorer Service

- AI-Aware (B-)
60/100
99
Foundational Compliance
63
Developer Experience & Jentic Compatibility
37
AI-Readiness & Agent Experience
94
Agent Usability
50
Security
100
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.0
Show dimension breakdown
99

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: A+Signals: 4
96%

Lint Results

Aggregated quality score from linter diagnostics, weighted by severity.

100%

Resolution Completeness

Percentage of `$ref` references that resolve successfully.

100%

Specification Validity

Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).

100%

Structural Integrity

Structural correctness score based on schema issues using logarithmic dampening.

63

Developer Experience & Jentic Compatibility

Clarity, completeness, and ingestion readiness for developers and tooling.

Grade: B-Signals: 4
0%

Example Density

How richly the API is illustrated with examples.

100%

Example Validity

Percentage of examples that conform to their schemas.

50%

Response Coverage

Percentage of operations with complete response definitions (success, client error, server error).

100%

Tooling Readiness

Health of API ingestion, bundling, and resolution within Jentic pipelines.

37

AI-Readiness & Agent Experience

Semantic breadth, depth, and agent comprehension for AI systems.

Grade: FSignals: 4
47%

Description Coverage

Coverage of descriptions across API elements.

0%

Error Standardization

Coverage of RFC 9457 Problem Details for error responses.

100%

OperationId Quality

Coverage, uniqueness, and casing consistency of operationIds for AI inference.

0%

Summary Coverage

Coverage of summaries across operations/tags/info.

94

Agent Usability

Functional utility, complexity comfort, and AI orchestration readiness.

Grade: A+Signals: 1
94%

Complexity Comfort

Agent comfort level based on API operational and structural complexity.

50

Security

Trust, risk posture, and security compliance.

Grade: C-Signals: 1
50%

Authentication Strength

Average quality of security schemes based on authentication method strength (weakest link for OAuth2).

100

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: A+Signals: 1
100%

Descriptive Richness

Clarity and depth of descriptions across API elements.

View full reportHow the score is calculatedMore about the dimensions

Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

Score your own APIScoring CLI agent skill
npx @jentic/api-scorecard-cli score <openapi-url>

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Wiring the AWS Cost Explorer Service by hand means holding an access key ID and secret access key, computing an AWS Signature Version 4 signature per request, targeting the fixed ce.us-east-1.amazonaws.com host with the right X-Amz-Target action header, and handling retries yourself. Through Jentic you install once, import the AWS Cost Explorer Service from the API Directory, store the AWS access key once, and your agent calls it.

Permission scoping

Cost Explorer sends the query filters, groupings, and monitor identifiers in the request body rather than the URL path, so scope your agent by the operations it needs, such as getting cost and usage or fetching a cost forecast. You choose which operations it may call, so changes like creating an anomaly monitor or subscription are not included unless you add them.

Credential isolation

Your AWS access key ID and secret access key are stored once, encrypted, by your own Jentic One instance, and the Signature Version 4 signature is computed at execution time. The raw keys never enter the agent's prompt, logs, or context.

Intent-based discovery

Agents search Jentic by intent such as 'get AWS cost broken down by service' or 'forecast next month's spend', and Jentic returns the matching Cost Explorer operation with its input schema so the agent calls the right action without crawling the AWS reference.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Complementary

AWS Budgets

→

Threshold-based budget alerts and automated enforcement actions on top of the same cost data.

Use Budgets when the agent needs to enforce a target and notify on breach; use Cost Explorer for ad-hoc cost analysis and forecasting.

Complementary

AWS Cost and Usage Report

→

Hourly line-item billing data delivered to S3 for custom BI when the API granularity is not enough.

Use the CUR when the agent needs raw, hourly, fully detailed billing rows for warehouse loading; use Cost Explorer for grouped, queryable summaries.

Complementary

AWS Savings Plans

→

Manage Savings Plans purchases that change the cost shape Cost Explorer reports.

Use Savings Plans when the agent acts on a recommendation by buying or modifying a plan; use Cost Explorer to identify the recommendation in the first place.

FAQs

Specific to using AWS Cost Explorer Service API through Jentic.

What authentication does the AWS Cost Explorer API use?

All requests are signed with AWS Signature Version 4 using an AWS access key ID and secret access key. The endpoint is region-locked to us-east-1. Through Jentic, the credentials live encrypted in the vault and Jentic computes the signature server-side, so the agent only sees a scoped credential reference.

Can I get cost broken down by tag with this API?

Yes. Pass GroupBy=[{Type: TAG, Key: <your-tag-key>}] to GetCostAndUsage. The tag must first be activated as a cost allocation tag in the Billing console; once activated, costs are grouped by tag value with one row per distinct tag value plus an unallocated row.

What are the rate limits for the AWS Cost Explorer API?

Cost Explorer enforces a default of 5 requests per second per account, with bursts up to a small queue. High-volume reporting workloads should batch grouping into the largest practical query rather than fan out many small calls, and use exponential backoff on ThrottlingException.

How do I forecast next month's AWS spend through Jentic?

Search Jentic for 'forecast AWS cost', load the GetCostForecast schema, and execute it with TimePeriod for the next month, Metric=UNBLENDED_COST, Granularity=MONTHLY, and PredictionIntervalLevel=95. The operation maps to GetCostForecast and returns the forecast plus the chosen confidence interval.

How fresh is Cost Explorer data?

Most cost and usage data is updated at least once every 24 hours, with finalised data available the day after the billing period closes. Reserved Instance and Savings Plans coverage refreshes on the same daily cycle, so real-time spend tracking is not the right use case for this API. Use AWS Budgets for threshold alerts and CloudWatch metrics for near-real-time signals.

Is AWS Cost Explorer free to use?

The Cost Explorer console UI is free; the Cost Explorer API charges $0.01 per paginated request. High-volume reporting (large daily backfills, granular tag breakdowns) should be designed to minimise the number of paged requests.

Can I limit what my agent is allowed to do with the AWS Cost Explorer API?

Yes. Because you run Jentic One yourself, your own rules decide which Cost Explorer operations the agent may call and which AWS credentials it may use. Cost Explorer passes query filters, groupings, and monitor identifiers in the request body rather than the URL path, so you scope the agent by operation, for example allowing it to run GetCostAndUsage and GetCostForecast for read-only reporting. Write actions such as CreateAnomalyMonitor and CreateAnomalySubscription stay off limits unless you explicitly add them to the agent's allowed set.

GET STARTED

Start building with AWS Cost Explorer Service API

Explore with Jentic One
View OpenAPI Document