API Documentation

Interactive API documentation with live test endpoints and examples

Base: /api.php Open Raw API

API Endpoints Reference

Complete reference of all available API endpoints with methods, parameters, and examples.

Web Interface Routes

In addition to the API endpoints below, the following web interface routes are available:

  • /?type={type} - Filter homepage by package type (e.g., /?type=game)
  • /{org}/ - View organization profile and packages (e.g., /facepunch/)
  • /{org}/{package}/ - View package details (e.g., /facepunch/flatgrass/)
  • /t/{type}/?tags={tag} - Filter by type and tag (e.g., /t/game/?tags=community)

Package Discovery

Retrieve a paginated list of all available packages with basic information.

Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (1-based)

Response

Click "Test Endpoint" to see live data

Retrieve detailed information about a specific package including metadata, stats, and versions.

Parameters

ParameterTypeRequiredDescription
identstringYesPackage identifier in format org.name (e.g., facepunch.flatgrass)

Examples

Get Sandbox package details
GET /api.php/package?ident=facepunch.sandbox

Response

Click "Test Endpoint" to see live data

Retrieve version history and changelog for a package.

Parameters

ParameterTypeRequiredDescription
packagestringYesPackage identifier in format org.name

Response

Click "Test Endpoint" to see live data

Retrieve paginated reviews and ratings for a specific package.

Parameters

ParameterTypeRequiredDescription
packagestringYesPackage identifier in format org.name
skipintegerNoNumber of items to skip (default: 0)
takeintegerNoNumber of items to return (default: 10, max: 100)

Response

Click "Test Endpoint" to see live data

Retrieve detailed usage statistics for a specific package.

Parameters

ParameterTypeRequiredDescription
packagestringYesPackage identifier in format org.name

Response

Click "Test Endpoint" to see live data

Package Types

Retrieve all game-type packages with pagination.

Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (1-based)
countintegerNoItems per page (default: 20, max: 100)

Response

Click "Test Endpoint" to see live data

Retrieve all addon-type packages with pagination.

Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (1-based)
countintegerNoItems per page (default: 20, max: 100)

Response

Click "Test Endpoint" to see live data

Retrieve all map-type packages with pagination.

Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (1-based)
countintegerNoItems per page (default: 20, max: 100)

Response

Click "Test Endpoint" to see live data

Retrieve all model-type packages with pagination.

Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (1-based)
countintegerNoItems per page (default: 20, max: 100)

Response

Click "Test Endpoint" to see live data

Retrieve all material-type packages with pagination.

Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (1-based)
countintegerNoItems per page (default: 20, max: 100)

Response

Click "Test Endpoint" to see live data

Retrieve all library-type packages with pagination.

Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (1-based)
countintegerNoItems per page (default: 20, max: 100)

Response

Click "Test Endpoint" to see live data

Retrieve all prefab-type packages with pagination.

Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (1-based)
countintegerNoItems per page (default: 20, max: 100)

Response

Click "Test Endpoint" to see live data

Retrieve all collection-type packages with pagination.

Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (1-based)
countintegerNoItems per page (default: 20, max: 100)

Response

Click "Test Endpoint" to see live data

Retrieve all texture-type packages with pagination.

Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (1-based)
countintegerNoItems per page (default: 20, max: 100)

Response

Click "Test Endpoint" to see live data

Retrieve all shader-type packages with pagination.

Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (1-based)
countintegerNoItems per page (default: 20, max: 100)

Response

Click "Test Endpoint" to see live data

User & Player Data

Retrieve detailed profile and statistics for a player using their SteamID64.

Parameters

ParameterTypeRequiredDescription
steamidstringYesSteamID64 of the player (e.g., 76561197991348132)

Examples

Get player profile
GET /api.php/player?steamid=76561197991348132

Response

Click "Test Endpoint" to see live data

News & Updates

Retrieve all package news and updates from organizations with pagination.

Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (1-based)
countintegerNoItems per page (default: 20, max: 100)

Response

Click "Test Endpoint" to see live data

Retrieve news and updates from a specific organization.

Parameters

ParameterTypeRequiredDescription
orgstringYesOrganization name (e.g., facepunch, nightstudio)

Examples

Get Facepunch news
GET /api.php/news/org?org=facepunch
Get NightStudio news
GET /api.php/news/org?org=nightstudio

Response

Click "Test Endpoint" to see live data

Utility Endpoints

Retrieve a list of available avatar images and their metadata.

Response

Click "Test Endpoint" to see live data

Retrieve global platform statistics including package counts, user counts, and activity metrics.

Response

Click "Test Endpoint" to see live data

Check the health and status of the API service.

Response

Click "Test Endpoint" to see live data