Skip to main content
GET
/
{game}
/
hosts.txt
Get hosts file for a specific game
curl --request GET \
  --url https://api.stopmodreposts.org/{game}/hosts.txt
"0.0.0.0 example.com"
You can find a full overview of game blocklists here. To requests sites from the minecraft.yml list, use minecraft as the game identifier.

Path Parameters

game
string
required

The identifier of the game (e.g., 'minecraft')

Response

200 - text/plain

Hosts file format