A network of APIs, run by its users
Most APIs live on one company’s servers. To use them, you sign up, get a key, and follow that company’s rules. If the service changes or shuts down, everything built on it breaks. Stellarium works differently. It is made of many independent nodes. Each node can host its own APIs, which Stellarium calls resources. Nodes find each other, share the list of resources they know about, and pass requests along to whichever node hosts the resource you asked for. No single server is in charge. You don’t need to know where a resource lives. You ask for it by name, and the network routes your request.Host an API, get paid for it
A resource can be anything you can write as a function: a weather lookup, a price feed, a translation service, a database query. When other people call your resource, you can charge for it per call. Callers pay from a prepaid balance and you’re paid out to your bank through Stripe, all managed on the Stellarium Platform. You earn from your API without building your own billing, sign-up, or key management.One small language for every API
Every Stellarium request is a RequestScript program. It names the resources it wants and calls their functions:GetTemperature.req
value or an error, so your program decides what to do when something fails. Your node works out which peer hosts com.example.Weather and forwards the request there.
RequestScript deliberately has no loops, so every request finishes, and your node knows the most a request can cost before it runs.
Where to go next
Run a node
Install
stellarium-ts, register a resource, and start serving requests.Core concepts
Nodes, resources, peers, and how requests are routed.
Payments
How paid resources, vouchers, credits and payouts work.
Whitepaper
The full design of the network, payments, and RequestScript.
Stellarium is early and under active development. APIs and payment flows may change between releases. Join the Discord to follow along.