Bedrock Universe API Overview

Welcome to the Bedrock Universe API, designed exclusively for Minecraft Bedrock servers listed on our platform. This API allows server administrators to retrieve valuable information about player votes, helping them reward their community and track player engagement.

API Features

Check Recent Votes (hasvoted):

This method allows you to check if a specific player has voted for your server within the last 24 hours. It's an ideal way to determine if a player is eligible to receive a reward for their vote.

Top Voters Leaderboard (topvote):

This method returns the list of top voters for your server over a one-month period. It helps you recognize the most engaged players and potentially offer them in-game rewards or benefits.

Your API key

To use the API, you need a valid API Key, which you receive upon registering on Bedrock Universe and adding your server to the ranking. This key is unique to you and ensures that only information related to your server is accessible to you.

Your API key is:

Register

How to Use the API

Here are the URLs to access the two main API methods. Replace the parameters in the URL with those that match your needs.

Check if a Player Voted (hasvoted):

$ https://www.bedrockuniverse.com/api?key=YOUR_API_KEY&method=hasvoted&pseudo=PlayerName&idserver=SERVER_ID

YOUR_API_KEY: Your personal API key.

PlayerName: The username of the player whose vote you want to check.

SERVER_ID (optional): The ID of your server on Bedrock Universe.

Example:

$ https://www.bedrockuniverse.com/api?key=764d6336413...57537736494c7a5152&method=hasvoted&pseudo=aaa&idserver=1

Get the Top Voters Leaderboard (topvote):

$ https://www.bedrockuniverse.com/api?key=YOUR_API_KEY&method=topvote&idserver=SERVER_ID

YOUR_API_KEY: Your personal API key.

SERVER_ID (optional): The ID of your server on Bedrock Universe.

Example:

$ https://www.bedrockuniverse.com/api?key=764d6336413...57537736494c7a5152&method=topvote&idserver=1

Security and Best Practices

Never share your API key: This key is unique to you and allows access to information specific to your server. Sharing this key could compromise the security of your server.

Respect usage limits: To ensure quality service, access limitations may be in place. Please adhere to them to avoid suspension of your API access.

By using this API, you can offer an enhanced experience to your players, making them feel valued for their engagement. If you have any questions or issues while using the API, feel free to contact our support team.