API
shipbuilds.com exposes one public API endpoint, made for livestream chat commands: given a player name and a ship name, it returns a link to that player's most recent build for the ship. Wire it to a command like !build so viewers can type !build kurfurst and get a link to the streamer's current build.
Endpoint
GET https://shipbuilds.com/api/ship_builds/player_build
Query parameters:
player_name(required): a comma-separated list of up to 5 account names, each with an optional realm suffix::na,:euor:asia(no suffix means NA). Names must match the account name exactly; case does not matter. List several accounts to cover multiple realms; the most recently updated build across all of them wins.ship_name(required): the ship to look up. Matching is partial: any ship whose name contains the text is a candidate, and an exact whole-word match takes precedence over substring matches. For examplekurfurstmatches Grosser Kurfurst.game_type(optional): forwarded onto the returned build link as?game_type=...to preselect a game mode.
The response is plain text: on success, a URL to the build page; when nothing matches, the literal text No build found. That makes it safe to echo straight into chat. Missing or invalid parameters (including more than 5 player names) return a plain-text HTTP 400 error.
