Spare Cores Navigator API
The Spare Cores Navigator APIAPI: Application Programming InterfaceA defined set of requests and responses through which one program uses another, such as a web service's HTTP endpoints or a library's functions.WikipediaGlossary lets you programmatically explore cloud resources across providers in a standardized format, covering pricing, hardware specifications, benchmark performance, and cost-efficiency metrics.
It is designed for FinOps engineers, data scientists, and platform teams, who prefer working with empirical and structured data rather than vendor heuristics.
For more details, see https://sparecores.com/about/navigator.
If you prefer to explore the data visually before integrating the API, the web interface exposes the same underlying dataset at https://sparecores.com/servers.
Getting Started
The base URLURL: Uniform Resource LocatorThe address of a resource on the web or a network, such as https://sparecores.com/, made of a scheme, a host, and a path.Glossary of the API is https://keeper.sparecores.net, and most endpoints
can be called without authentication. For example, list the 5 cheapest servers
with at least 8 vCPUsvCPU: virtual CPUA CPU of a virtual machine, the unit in which cloud vendors sell compute. It is usually one hardware thread of a physical core with SMT, so two vCPUs may share one physical core.WikipediaGlossary:
curl "https://keeper.sparecores.net/servers?vcpus_min=8&limit=5"
The search endpoints, such as /servers or /databases, share the
following query parameters:
limitandpagefor pagination (limit=-1returns all results)order_byandorder_dirfor sorting, e.g. bymin_price(the default of/servers)add_total_count_header=trueto get the number of all matching results in theX-Total-Countresponse header
Invalid parameters return a 422 response, listing the problems in its
detail field. For the 429 and 503 responses, see Rate Limiting below.
For more example requests, such as ranking servers by a benchmark or looking up the prices of a server, see https://docs.sparecores.com/api/examples.
The fields of most responses follow the database schema, described at https://docs.sparecores.com/schemas.
Open Source & Self-Hosting
The entire Navigator stack is open source and designed to be inspectable, reproducible, and self-hostable:
- FastAPI implementation of this service: https://github.com/SpareCores/sc-keeper
- Database schemas and ETL tooling: https://github.com/SpareCores/sc-crawler
- Underlying data on cloud servers, regionsregionA geographic area where a cloud vendor runs its data centers, such as Frankfurt or Northern Virginia, made up of one or more availability zones. A server type is offered in some regions only, and its price can differ by region; a region's ID, such as
eu-central-1, is unique only within its vendor.Glossary, zones, storages and more: https://github.com/SpareCores/sc-data-dumps - Raw hardware inspection and performance benchmarking logs: https://github.com/SpareCores/sc-inspector-data
Source code is licensed under MPL-2.0, raw data records under CC-BY-SA-4.0, compiled SQLite database under BSL 1.1BSL 1.1: Business Source License 1.1The source-available license of the Navigator's Database snapshots. Anyone may copy, modify and redistribute them, and use them outside production. Production use is free for academic research and for organizations with less than USD 1 million in annual revenue that don't build a competing cloud data, benchmarking or price-comparison service; other production use needs a commercial license. Three years after its publication, each snapshot is also available under CC BY-SA 4.0.Spare Cores licenseMariaDB FAQGlossary.
Caching
Responses are served via reverse proxy and CDN with a 15-minute to 1-hour cache TTL for most endpoints. For real-time access, lower-latency requirements, or custom caching strategies, feel free to reach out -- we are happy to discuss what works best for your use case.
Data Versions and Snapshots
The data is updated about once or twice an hour. Every response says which version of the database it was built from:
SC-Data-Hash: the hash of the database, also returned asdatabase_hashby/healthcheckSC-Data-Published-At: when that version was published, e.g.2026-11-07T22:47:08Z
To read several tables from the same version, use the /snapshot endpoints (API
key required, see Authentication below). They serve each table as a file pinned
to a database hash, with tables that reference a vendor split by vendor, e.g.
/snapshot/{hash}/server_price/aws, with only available records and prices in
USD. The responses are columnar JSONJSON: JavaScript Object NotationA text format for structured data, built from objects (key-value pairs), arrays, strings, numbers, booleans, and null. Most languages and tools read and write it, which makes it a common format for API responses and benchmark output.JSONGlossary (one array per column, with one element per
row), sent gzipped: send Accept-Encoding: gzip (curl: --compressed).
/snapshot/{hash} lists every file of a hash with a checksum, so you can skip
files that didn't change since your last refresh.
- Take
database_hashfrom/healthcheck, and fetch every snapshot with it. - On a 503 of type
/problems/snapshot-preparing, the instance is still downloading or building that hash: retry the same request after theRetry-Afterheader's seconds, for about a minute at most, then continue with step 3. - On a 404 of type
/problems/snapshot-not-available, switch to thecurrenthash in the response body, and fetch again what you already fetched. If that also returns 404, try again later. - Any other 404 (type
/problems/not-found) is an unknown table or vendor, or a malformed id: don't retry. A benchmark without scores gets empty arrays.
A hash's snapshots stay available for at least a day after they were first built.
Rate Limiting
Credit-based rate limiting with a 1-minute sliding window:
- Default: 300 credits/minute
- Cost per request: 1 credit (standard) with some exceptions for heavier
queries, e.g.
/servers(3 credits) or/server_prices(5 credits) - Tracking: per authenticated user or IP address
- Headers:
X-RateLimit-Limit,X-RateLimit-Cost,X-RateLimit-Remaining - Status code returned in case of rate limit exceeded: 429, with a
Retry-Afterheader indicating the number of seconds to wait. If the cost of a single request is higher than the credit limit, the 429 response has noRetry-After(norX-RateLimit-Remaining) header, as retrying will never succeed.
Furthermore, the number of concurrent heavy requests per worker might also be limited to avoid overloading the serving cluster or database; in such case, a 503 response will be returned.
Temporary errors (such as 429 or 503 status codes) should be retried with
exponential backoff, waiting at least the number of seconds in the
Retry-After header when present. A 429 without Retry-After should not be
retried.
The default limits are intended to support exploration and prototyping. If you are building something larger, we are glad to help you scale access responsibly.
Authentication
Authentication is optional for most exploratory use cases, but required for
some endpoints, such as /snapshot.
Personal API keys are free and self-serve: sign up for an individual account at https://sparecores.com, then create a long-lived API key in your account settings. Personal keys are covered by the fair use policy below.
Organization access, higher rate limits, and commercial use beyond fair use require a separate agreement -- contact us.
To authenticate, send your API key in the Authorization header of each
request: Authorization: Bearer <token>. An invalid token returns a 401
response.
Fair Use & Commercial Use
This public API is provided under a fair use policy to ensure availability for all users and to facilitate the evaluation of integrating the Navigator data into your products.
Organization accounts, production-grade commercial use, high-volume access, integration partnerships are welcome, under a separate agreement. If you are experimenting, building a prototype, or considering deeper integration, we would love to hear what you are working on and help you find the best setup.
Contact Spare Cores Team: social@sparecores.com
Terms of Servicehttps://sparecores.com/legal/terms-of-service