read up on the miner's "API"
There isn't anything to read up on the Miner's API, they havn't documented anything.
typically; the API binds automatically to some port; and you will have to look up how to interface with the API yourself if you don't use someone else's pre-configured/coded program.
Typically for a custom set of API data, you would have to write a program or script to send data to the remote (or local) port(s) and listen for a return of data to display to you....
Yes I know I have to write a program, that's why i'm asking what endpoints they expose
I've tried looking around but there is very little information on what Claymore's does over the network.
I see the output here
http://localhost:3333/ but I assume there's some other endpoint for less horribly formatted information. As for sending commands, I have no idea, i've tried sending POST requests at the same url but never get a response.
you will need to send json messages over plain sockets (and dont forget to append "\n")
here is the stats request: '{"id":0,"jsonrpc":"2.0","method":"miner_getstat1"}'
I did find this one and attempt to do it with a simple Node script but the response I was getting is the same as when you send a get request at
http://localhost:3333/ which responds with HTML