> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.fluxerlist.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.fluxerlist.com/_mcp/server.

# List a server's voters

GET https://fluxerlist.com/api/v1/servers/{id}/voters

Returns a paginated list of users who voted for a server, newest first. The API key must belong to the server's owner.


Reference: https://docs.fluxerlist.com/api/endpoints/voters/list-server-voters

## Authentication

- `Authorization` header (bearer token, required) — A FluxerList API key. Keys start with `fl_`.

## Request

### Path parameters

- `id` (string, required) — The server's Fluxer guild ID.

### Query parameters

- `page` (integer, optional, default: 1) — Page number, starting at 1.
- `limit` (integer, optional, default: 50) — Results per page. Values above 100 are capped at 100.

## Response

### 200

A page of voters.

- `total` (integer, optional) — Total number of votes across all pages.
- `page` (integer, optional)
- `limit` (integer, optional)
- `voters` (list of Voter, optional)

## Errors

### 401 Unauthorized Error

The API key is missing or invalid.

- `error` (string, optional)

### 403 Forbidden Error

The key does not belong to the server's owner.

- `error` (string, optional)

### 404 Not Found Error

No server matches the guild ID.

- `error` (string, optional)

### 429 Too Many Requests Error

The key is rate limited. Wait for the number of seconds in the `Retry-After` header before retrying.

- `error` (string, optional)
- `remaining` (integer, optional)
- `reset` (integer, optional, nullable) — Unix timestamp in milliseconds for when the limit resets.

## Types

### Voter

- `username` (string, optional) — The voter's display name if they show it publicly, otherwise their username.
- `fluxerId` (string, optional, nullable) — The voter's Fluxer user ID, as a string.
- `votedAt` (datetime, optional) — When the vote was cast.

## Examples

**Response**

```json
{
  "total": 42,
  "page": 1,
  "limit": 50,
  "voters": [
    {
      "username": "jack",
      "fluxerId": "123456789",
      "votedAt": "2026-09-18T12:00:00.000Z"
    }
  ]
}
```

**SDK Code**

```python Voters_listServerVoters_example
import requests

url = "https://fluxerlist.com/api/v1/servers/1473662183833636865/voters"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Voters_listServerVoters_example
const url = 'https://fluxerlist.com/api/v1/servers/1473662183833636865/voters';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Voters_listServerVoters_example
package main

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

func main() {

	url := "https://fluxerlist.com/api/v1/servers/1473662183833636865/voters"

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

	req.Header.Add("Authorization", "Bearer <token>")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Voters_listServerVoters_example
require 'uri'
require 'net/http'

url = URI("https://fluxerlist.com/api/v1/servers/1473662183833636865/voters")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Voters_listServerVoters_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://fluxerlist.com/api/v1/servers/1473662183833636865/voters")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Voters_listServerVoters_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://fluxerlist.com/api/v1/servers/1473662183833636865/voters', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Voters_listServerVoters_example
using RestSharp;

var client = new RestClient("https://fluxerlist.com/api/v1/servers/1473662183833636865/voters");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Voters_listServerVoters_example
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://fluxerlist.com/api/v1/servers/1473662183833636865/voters")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```