At OpenGolfSim, we believe in being as transparent and developer friendly as possible. We think this helps grow an active and engaged community and empowers more users to build cool things.
Below you’ll find documentation for our developer API. It’s still in the early stages, so check back often for updates.
Have a feature or API idea? Want to nerd out? Come drop us a line on our Discord, we’d love to see what you’re building!
TCP Connection
Our Developer API allows for simple TCP communication on port 3111 to communicate with the OpenGolfSim app programmatically. This makes it easy to create your own experimental integrations, launch monitor connectors, or other custom automation.
| Host | 127.0.0.1 |
| Port | 3111 |
If connecting over the network, you can also use the local IP of your machine (e.g.
192.168.x.x)
Once you’ve established a connection, you can send and receive messages to interact with the API.
The API server will send JSON formatted messages over the TCP connection, which you can read and process for your own project. Below is a list of the events that are sent to any active TCP connection.