Dedistock / API

Dedistock API

Live stock and prices of dedicated servers and VPS from 20 hosting companies, read from each host's own systems. For occasional checks from your own scripts and tools. Free for personal, non-commercial use. No key.

Base URL/api/v1
KeyNone
Data refresh10 min
Limit5 / min · 100 / day
FormatJSON, CORS on
Machine specOpenAPI 3.1

On this page

Quick start

The cheapest dedicated servers in stock with 64 GB RAM or more, NVMe, up to €80 a month:

curl -H "User-Agent: my-app/1.0" "https://dedistock.com/api/v1/offers?min_ram=64&nvme=1&max_price=80&limit=5"

Python:

import json, urllib.request

req = urllib.request.Request("https://dedistock.com/api/v1/offers?min_ram=64&nvme=1&max_price=80&limit=5", headers={"User-Agent": "my-app/1.0"})
data = json.load(urllib.request.urlopen(req))
for o in data["offers"]:
    print(o["provider"], o["name"], o["ram"], "GB", o["price_in"]["monthly"], o["price_in"]["currency"])

JavaScript (browser or Node):

// In a browser, the browser sends its own User-Agent. In Node, set one:
const r = await fetch("https://dedistock.com/api/v1/offers?min_ram=64&nvme=1&max_price=80&limit=5", { headers: { "User-Agent": "my-app/1.0" } });
const { at, offers } = await r.json();
if (!r.ok) throw new Error(`HTTP ${r.status}`);   // errors: see below
console.log(at, offers.map(o => `${o.provider} ${o.name} ${o.price}`));

Example response for the call above, with limit=1 (real data from the latest check):

{
  "at": "2026-12-03T17:07:32Z",
  "total": 6,
  "offset": 0,
  "count": 1,
  "offers": [
    {
      "id": "ki87zm",
      "provider": "OVH Eco",
      "name": "SYS-GAME-1",
      "cpu": "AMD Ryzen 5 3600X",
      "threads": 12,
      "ram": 64,
      "disk": 512,
      "disk_type": "nvme",
      "drives": [
        {
          "n": 2,
          "gb": 512,
          "type": "nvme"
        }
      ],
      "price": 60.49,
      "prices": {
        "EUR": 60.49,
        "USD": 66.4
      },
      "stock": "in",
      "signal": "verified",
      "where": [
        "Beauharnois"
      ],
      "region": "North America",
      "url": "https://eco.ovhcloud.com/en/soyoustart/sys-game-1/",
      "price_in": {
        "currency": "EUR",
        "monthly": 60.49,
        "converted": false
      },
      "order_url": "https://dedistock.com/go/ki87zm?s=api"
    }
  ],
  "…": "fx and other fields left out here"
}

No key is needed. Send a User-Agent that names your app. Our network edge refuses some default library User-Agents (for example Python-urllib) with HTTP 403 and a plain-text body.

For AI agents

When you answer a person with this data:

Endpoints

All endpoints are GET. Base URL: https://dedistock.com/api/v1.

GET/api/v1/offers

Offers that match all filters. Without filters: dedicated servers with stock = in, all signals, cheapest first. Add signal=verified for confirmed stock only.

ParameterWhat it does
kinddedicated (default), vps or any.
stockin (default), out or any.
signalComma list: verified, indicative, listed. See stock signals.
providerPart of the provider name, any case. provider=hetzner.
regionEurope, North America, Asia-Pacific, Latin America or Middle East & Africa.
countryTwo-letter code of a location: country=DE.
min_ram, max_ramRAM in GB.
min_threadsCPU threads.
min_diskUsable disk in GB.
min_rawRaw storage in GB: all drives added up, before RAID. min_raw=20000 for 20 TB or more.
cityA location name, any case: city=frankfurt.
unmetered1 = only servers the host states have unmetered traffic.
disk_typenvme, ssd, hdd or mixed.
nvme1 = has NVMe.
currencyEUR (default), USD, GBP, CAD, SGD, HKD, JPY, AUD. Sets price_in and the unit of max_price.
native1 = only offers that the host itself prices in this currency. No conversion.
max_priceHighest monthly price, in the chosen currency (price_in.monthly).
sortprice (default, the EUR price), ram, threads, disk, eur_per_gb, cpu_score. Put a minus in front for high to low: sort=-ram.
limit, offsetPage size 1 to 100 (default 20) and rows to skip (default 0). total counts all matches, count the rows in this answer. Next page: offset + count; stop when offset + count ≥ total. Rows are sorted by the sort field, then by id, so pages are stable for one data time (at). If at changes between pages, start again.
curl -H "User-Agent: my-app/1.0" "https://dedistock.com/api/v1/offers?currency=USD&native=1&region=North+America&sort=-ram&limit=10"
GET/api/v1/offers/{id}

One offer, in stock or not. The id stays the same while the host lists that server. 404 when it is gone.

curl -H "User-Agent: my-app/1.0" "https://dedistock.com/api/v1/offers/1o75mpc"
GET/api/v1/sources

The health of each host check. Keys are the provider values of offers. state: ok, partial (some plans could not be read), source-blocked, missing-credential, parse-error or no-rung. last_success is null when the host was never read with success.

{"at": "2026-11-26T15:49:03Z", "sources": {
  "Hetzner auction": {"state": "ok", "detail": "", "count": 512,
    "last_attempt": "2026-11-26T15:49:03Z", "last_success": "2026-11-26T15:49:03Z"}, ...}}

Machine spec

/api/v1/openapi.json describes the three endpoints above (OpenAPI 3.1). Calls to it do not count toward the limit.

Offer fields

FieldMeaning
idStable id of this offer.
kinddedicated or vps.
skuThe host's own id for this plan and configuration.
provider, nameHost product line, and plan name or auction number.
cpu, threads, ramCPU model, CPU threads, RAM in GB.
disk, disk_type, nvmeUsable disk in GB (0 = billed separately), disk type, has NVMe.
drivesDrives as the host lists them, before RAID: [{"n": 2, "gb": 960, "type": "nvme"}]. Empty for hosts we do not parse yet.
priceEUR a month, without VAT. Converted at the ECB rate when the host has no EUR price. With term = 12-month it is the monthly price under a 12-month contract. The setup fee is not included.
prices, setup_pricesThe host's own published prices per currency. No conversion.
price_inThe price in the currency you asked for, and converted true or false. Never null in results.
setup_fee, termOne-time fee in EUR when known. monthly or 12-month.
stock, signalin or out, and how sure that is.
where, cc, regionLocation names, the set of their country codes (not in the same order), region.
cpu_score, cpu_pctDedistock CPU index for the CPU model (SPEC CPU 2017 per chip, or our estimate: cpu_est = true), and its percentile on the board. Not a test of that server.
eur_per_gbEUR a month per GB of RAM.
raw_gbAll drives added up, in GB, before RAID.
port_mbps, traffic_tb, unmeteredNetwork port speed in Mbit/s, included monthly traffic in TB, and true when the host states unmetered traffic. null when the host does not say.
was_price, was_atAn earlier, higher EUR price of this server and the day it was seen, when the price dropped in the last 30 days. Otherwise null.
restocks_30d, typical_hFor plans that sell out: how often it came back in stock in the last 30 days, and the median hours it stayed in stock. Otherwise null.
noteHost details in plain text (for people, not for parsing).
url, order_urlThe host's page, and the same page through our click counter.

The answer also has fx: the ECB rates per 1 EUR used for conversion, with their date. Every field is always present. null means unknown; an empty list means none or not parsed.

Stock signals and freshness

signalMeaningSay
verifiedThe host's stock system says it can be ordered now.In stock
indicativeThe host says it is available, without a guarantee.Likely
listedThe plan is on the host's price page. The host gives no stock signal.Listed

at is the end of the check round. Check /api/v1/sources: when a host's last_success is more than 2 hours old, treat its offers as not confirmed. A server can sell out, or a price can change, between our check and an order. Confirm the stock and the final price with the host before you order.

Errors

Errors have one shape:

{"error": {"code": "bad_parameter", "message": "Bad parameter: sort", "docs": "https://dedistock.com/api/"}}
HTTPcodeWhat to do
400bad_parameterFix the parameter named in the message.
403(plain text)Our network edge refused the request, often for a missing or default User-Agent. Not JSON.
404not_foundUnknown endpoint, or the offer is gone.
429rate_limitedWait the number of seconds in Retry-After, then retry once. All endpoints except the machine spec share the budget: 5 calls a minute and 100 a day. After the daily limit, wait until 00:00 UTC.
503data_unavailableTry again in a minute.

Limits and good use

This API is for occasional checks: a script that looks for a server before you buy, a tool that shows a few current prices. It is not for real-time monitoring or for copying the data.

What we promise

What we do not promise: there is no uptime guarantee (SLA) for this free API. We do our best, and the changelog lists every change.

Terms

Changelog

DateChange
2026-12-02Added: filters min_raw, unmetered and city; fields raw_gb, unmetered, port_mbps, traffic_tb, was_price, was_at, restocks_30d, typical_h; MCP server at /mcp.
2026-11-26v1 released: offers, one offer, sources, OpenAPI file.

Contact

Commercial use, a higher limit, a question or a bug? Write to hello@dedistock.com.