# Pricing State API — AWS Lambda Pricing Snapshot

> Pricing State API — AWS Lambda Pricing Snapshot is a paid API for AI agents from pricing-state-api.replit.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Returns a structured snapshot of AWS Lambda's current pricing plans, prices, billing periods, and features as crawled from the public pricing page.

## Facts

- Endpoint: GET https://pricing-state-api.replit.app/api/monitors/aws-lambda?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pricing-state-api-aws-lambda-pricing-snapshot-ace646ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_usTfFb71BUhw_U77tJRe6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability pricing-state-api-aws-lambda-pricing-snapshot-ace646ae
```

Example prompt: Can you pull the latest structured pricing snapshot for AWS Lambda — I need the plan names, prices, billing periods, and any listed features?

## When to prefer this

Choose this endpoint when you need machine-readable, structured AWS Lambda pricing data without scraping the pricing page yourself. Ideal for agents that need to compare cloud costs, trigger alerts on price changes, or populate pricing databases. The x402 micropayment model means no API key setup — just a funded USDC wallet on Base. Prefer this over raw web scraping when you want clean, normalized pricing fields (plan name, price, currency, billing period) rather than raw HTML.

## Known failure modes

- 404 Not Found — if 'aws-lambda' slug is not in the catalog (no charge applied)
- 503 Service Unavailable — if the monitor has never completed a successful crawl yet (no charge applied)
- Payment failure — if the x402 wallet lacks sufficient USDC on Base
- Stale data — snapshot may be up to ~6 hours old depending on crawl schedule

## How this service works

$0.01 USDC required (x402 / Base)

Paid 0.01 USDC. Structured snapshot for one catalog slug: plan names, prices, currency, billing period, price text, features when present, snapshot time. Unknown slug returns 404 and a monitor with no first successful check returns 503, both before charge.

No API key needed. Pay with any x402-compatible wallet that holds USDC on Base. If your agent does not yet have a funded wallet, set one up via Coinbase Agentic Wallet or Base MCP — then standard x402 clients will pay and retry automatically.

## Output

A structured JSON object containing AWS Lambda pricing data: plan names, prices, currency, billing period, human-readable price text, features (when present), and the timestamp of when the snapshot was taken. Returns 404 for unknown slugs and 503 if no successful check has been recorded yet — both before any charge is applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "example": "linear",
       "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
       "description": "One monitor slug from the free catalog at GET /api/monitors — not the only paid monitor; every enabled slug in the catalog is a paid resource. The path template itself is a placeholder, not a vendor."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pricing-state-api-aws-lambda-pricing-snapshot-ace646ae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pricing-state-api.replit.app](https://www.zero.xyz/host/pricing-state-api.replit.app/llms.txt)
