Galaxy background
V2 Alpha ReleaseJoin our early access Discord server

A unique multiplayer gamebuilt on a free Web API

SpaceTraders is an API-based game where you acquire and manage a fleet of ships to explore, trade, and fight your way across the galaxy. Use any programming language with our API to control the most powerful fleet in universe.

How It Works

How do I play a game through a Web API?

Our platform allows you to use any programming language to play or automate the game. Every action you can take in the game is an HTTP endpoint you can hit with code. Learn a new language, demo your skills, or just build something interesting to share with the community.

Community Support

We are a young platform with an active community of learners and builders working on very cool open source apps. Join our Discord to share your app or find help.

Space Trading Game

Build a fleet of ships, explore the galaxy for hidden secrets, and automate trade routes. Join a faction to compete with other players for the best routes and the most credits.

Automation With Code

Our game presents a unique opportunity to automate your gameplay using any programming language you know or want to learn. Every action you can take in the game is an endpoint you can hit with code.

Dynamic Universe

SpaceTraders is both a learning platform as well as a dynamic game world with real balance and community-driven goals. Join a universe driven by player activity and cooperation.

The best API to support your learning

The game is available as free RESTful endpoints. Start building from scratch using your programming language of choice, or use a community built SDK to get a jump start.

“I've been studying with Python as my first real language for only a few weeks now and SpaceTraders has been immensely helpful as a learning tool and first project.”

ANeyus

“I learned more in 48 hours than in one month of online classes. Also the community you brought together as been nothing but amazing.”

Naarfy

“I've seen UIs for this game get made faster than entire corporate teams could do it. It's honestly impressive, and a lot humbling.”

Dunador
https POST api.spacetraders.io/v2/my/ships/SP4CER-9A/sell
symbol=QUANTUM_DRIVES
units=15
{
"shipSymbol": "SP4CER-9A",
"tradeSymbol": "QUANTUM_DRIVES",
"type": "SELL",
"units": 15,
"pricePerUnit": 9600,
"totalPrice": 144000,
"timestamp": "2022-12-23T18:14:49.053Z"
}

Community Showcase

Take some inspiration from older V1 clients or build a new V2 client and we'll add it here!

Send us your feedback

Send us a few kind words to make our day or let us know if something doesn't work. Messages go straight to our slack channel.

Frequently asked questions

Can’t find the answer you’re looking for? Reach out on Discord for help.

What is your roadmap for the future of the game?
We are in the early stages of building the foundation for the game. Our focus is to nail down the fundamentals of how the API works and then significantly expand game mechanics. Long term we plan to add dynamically generated star sytems, piracy, manufacturing, PVP / PVE, salvaging, and more.
Are there API docs for the game?
We have a full API reference available on our docs site. We also have a guide that walks you through the basics of the game in various languages.
Where can I submit bugs?
You can submit them directly using our issue tracker or ask for help in our Discord channels. All our members are extremely helpful and come from various development levels and backgrounds.
What is the difference between the V1 API and the V2 API?
The V1 API was the first version of the API we released. It was a very simple API that allowed you to create a new game and then make a few basic actions. The V2 API has more features, better documentation, and a larger universe.

Ready to dive in?Take the API for a spin in less than 5 minutes.