Draft · not yet operational
API
One universal interface with separate permissions. There is no need for a separate API for each provider.
Provider API
POST /api/v1/provider/register
GET /api/v1/provider/plans
POST /api/v1/provider/plans
PUT /api/v1/provider/plans/{id}
DELETE /api/v1/provider/plans/{id}
POST /api/v1/provider/sync
Ownership of the provider is verified by a DNS TXT record. After verification, he gets an API token limited to his offers only. The token is stored on the server only as a SHA-256 hash.
Example plan
{
"external_id": "vps-400",
"name": "VPS 400",
"virtualization": "KVM",
"cpu": { "cores": 4, "architecture": "x86_64", "model": "AMD EPYC", "allocation": "shared" },
"ram_mib": 8192,
"storage": { "capacity_gb": 160, "type": "NVMe" },
"network": { "port_mbps": 1000, "traffic_gb": 10000, "ipv4": 1, "ipv6": true },
"locations": ["DE", "FI"],
"price": { "amount": 9.99, "currency": "EUR", "interval": "month", "vat_included": false },
"available": true
}
Internal data ingestion
Data collection runs on a separate server that has no publicly open ports. It sends finished batches via HTTPS to POST /api/v1/ingest of both production servers; token authorization with batch write-only permission, each batch is identified by a hash, and processing is idempotent.