Skip to content

tldcost.ioDomain prices over 2, 3 and 5 years, with contract terms

API: all data as JSON

All data on this site is available as static JSON files at https://tldcost.io/api/v1/. They are rebuilt with every data update from the same data as the table. No API key, no sign-up, no cookies, no query parameters. Requests from other websites are allowed (CORS for any origin, only GET and HEAD).

Files

PathContent
/api/v1/all.jsonAll providers, offers and ECB rates, plus the derived total cost
/api/v1/tlds.jsonAll extensions with offers, with their count and a link to the file per extension
/api/v1/offers/<tld>.jsonOffers of one extension and their providers, e.g. /api/v1/offers/de.json
/api/v1/openapi.jsonDescription of all files as OpenAPI 3.1
/api/v1/schema/<name>.schema.jsonJSON Schema (2020-12) of the raw data: offer, provider, fx

Currently 20 extensions: .de, .com, .net, .org, .eu, .io, .dev, .app, .shop, .info, .at, .ch, .me, .co, .online, .berlin, .xyz, .ai, .biz, .cloud.

Structure

Every file starts with the same fields:

api_version, schema_version
Version of the API (1) and of the record schema (2). Since schema 2, the yes/no features can also be "paid"; feature_costs gives the source and, where stated, the price.
data_version
Checksum over all data (sha256:…). It changes exactly when the data changes. To detect new data, comparing this field is enough.
license
Licence of the data and a suggested attribution, see Licence.
data_updated, data_oldest
Newest and oldest fetch time (evidence.fetched_at) of the offers in the file. Currently for all data: 13 Nov 2026 to 19 Nov 2026.

providers, offers and fx are the raw data exactly as they are in the repository. Amounts are whole cents in the currency of the offer; vat_included says whether VAT is included. Every price has evidence (evidence.source_url, evidence.fetched_at).

Important: the recurring prices (price.year1, year1_regular, renewal, year2, year3) are in the unit of price.unit: per year for "year", per month for "month". price.setup and the transfer prices are one-off.

derived contains values calculated from these, with the same code as the table: under derived.tco["<provider>/<tld>"] the total cost over 2, 3 and 5 years (sum_2y … sum_5y) and the average per year (avg_2y … avg_5y), gross and net, plus the one-off setup fee (setup). All values are euro cents; monthly prices are annualised (× 12), foreign currencies converted at the ECB rate. If a value is missing, the totals are null and missing names what is missing. The raw data always prevails.

Example: an offer with price.unit: "month", price.year1: 42 and vat_included: true costs €0.42 per month including VAT, i.e. €5.04 per year. derived.tco[…].gross then has avg_3y: 504 and sum_3y: 1512 (without setup fee).

Example

const res = await fetch('https://tldcost.io/api/v1/offers/de.json');
if (!res.ok) throw new Error(`HTTP ${res.status}`); // unknown paths return HTML
const { offers, derived } = await res.json();
for (const o of offers) {
  const tco = derived.tco[`${o.provider}/${o.tld}`];
  // price.year1 is per price.unit (year or month); derived is always EUR per year
  console.log(o.provider, o.price.year1, o.price.unit, o.currency, tco.gross.avg_3y); // cents
}
curl -s https://tldcost.io/api/v1/tlds.json

Rules

Licence

The API data is licensed under CC BY 4.0. Use, sharing and adaptation are allowed for any purpose, including commercially, if you credit the source, link to the licence and indicate changes. Every file names the licence in the field license. Attribution, for example:

Quelle: tldcost.io (CHnet Solutions Plus UG), CC BY 4.0

with a link to tldcost.io. The tldcost code is licensed under the Apache License 2.0.