yaml
outline: deep
Server Icon
Retrieve real-time server icon.
methods: GET
bash
https://sr-api.sfirew.com/server/<server_address>:<port>/icon.png
Here's a tip
If the server port defaults to 25565, you don't need to specify it. You can simply write like this:https://sr-api.sfirew.com/server/mc.hypixel.net/icon.png
Query Parameters
Name | Type | Description |
---|---|---|
timeout | string | You can customize the time limit for the query in milliseconds. For example: 5000 for 5 seconds. |
protocol | number | You can choose a specific server version to query. For example: 765, for Minecraft version 1.20.3. |
bedrock | boolean | Whether to use Bedrock Edition query mode. |
Query Path Parameter
Name | Type | Description |
---|---|---|
server_address | string | For example: mc.hypixel.net |
port | number | Server port Range: 0 ~ 65535 Default: 25565 |
Response Example
The server's online status. The Status Code response will always be 200