Developers

Free Cloud Pricing API

A single read-only JSON file with compute, object-storage, and egress prices across AWS, Azure, GCP, DigitalOcean, Hetzner, and Vultr. No API key, no sign-up, CORS-enabled — just fetch it.

Endpoint

One stable URL returns the whole dataset. It's a static file served from our CDN, so it's fast and safe to poll within reason.

GET https://spendark.com/api/v1/pricing.json

Quick start

Fetch the full price list:

curl -s https://spendark.com/api/v1/pricing.json

Pull just the AWS compute instances with jq:

curl -s https://spendark.com/api/v1/pricing.json \
  | jq '.compute_instances[] | select(.provider=="aws")'

Cheapest monthly price for a 2 vCPU / 8 GiB general-purpose VM across providers:

curl -s https://spendark.com/api/v1/pricing.json \
  | jq '[.compute_instances[]
      | select(.vcpu==2 and .memory_gib==8 and .category=="general")]
      | sort_by(.monthly_usd)
      | .[0]'

Response shape

The top-level object has meta, compute_instances, object_storage, and egress.

{
  "meta": {
    "version": "1",
    "currency": "USD",
    "hours_per_month": 730,
    "canonical_regions": { "aws": "us-east-1", "azure": "eastus", ... },
    "prices_checked": "July 2026",
    "license": "Free to use with attribution to SpendArk"
  },
  "compute_instances": [
    {
      "provider": "aws",
      "id": "m5.large",
      "name": "AWS m5.large",
      "vcpu": 2,
      "memory_gib": 8,
      "category": "general",
      "region": "us-east-1",
      "hourly_usd": 0.096,
      "monthly_usd": 70.08
    }
  ],
  "object_storage": [
    { "provider": "aws", "usd_per_gb_month": 0.023 }
  ],
  "egress": [
    { "provider": "aws", "free_gb_per_month": 100, "usd_per_gb": 0.09 }
  ]
}
  • compute_instances — on-demand Linux/list prices; six providers, general/compute/memory/burstable families. monthly_usd = hourly_usd × 730.
  • object_storage — standard-tier price in USD per GB-month.
  • egress — free monthly allowance then USD per GB for internet egress.

Terms & fair use

  • Free, no key. No authentication and no sign-up. CORS is open (Access-Control-Allow-Origin: *) so you can call it from the browser.
  • Attribution required. If you show these numbers, credit SpendArk and link back.
  • Cache it. The file is CDN-cached for one hour (Cache-Control: public, max-age=3600). Prices are re-checked monthly, so caching for hours is fine — please don't hammer it. There is no per-key rate limit today; heavy or commercial use should cache locally or get in touch.
  • Not a contract. Representative list prices for planning, not a billing source of truth — always confirm on each provider's own pricing page. See our methodology.