Skip to main content
GET
/
{game}
/
sites.txt
Get raw domain list for a specific game
curl --request GET \
  --url https://api.stopmodreposts.org/{game}/sites.txt
import requests

url = "https://api.stopmodreposts.org/{game}/sites.txt"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.stopmodreposts.org/{game}/sites.txt', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.stopmodreposts.org/{game}/sites.txt",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.stopmodreposts.org/{game}/sites.txt"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.stopmodreposts.org/{game}/sites.txt")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.stopmodreposts.org/{game}/sites.txt")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
"example.com\nexample.net"
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

Plain text list of domains