API Documentation

Standard Data Interface Service for Developers

Overview

We provide a RESTful API based on HTTP GET. All responses are returned in JSON format.

API Base URL: /api.php

Endpoints

GET ?action=getVersions

Get version list, supports filtering by type.

Common Query Params
Param Description
type Version type: 正式版/测试版/iOS版 or release/beta/ios
page Page number (optional, enables pagination)
limit Items per page (optional, default 10)
search Fuzzy search by version string (optional)
fetch('/api.php?action=getVersions&type=正式版') .then(response => response.json()) .then(data => console.log(data));
fetch('/api.php?action=getVersions&type=release&page=1&limit=20&search=1.20') .then(response => response.json()) .then(data => console.log(data));
GET ?action=getVersion&id={id}

Get detailed information for a specific version.

Download McTool App to get the latest Bedrock updates first.
Download Android App