# Servers Frontend Fivem — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Retrieve live details for a FiveM server by its CFX join code, including status, player list, resources, configuration variables, owner info, and connection endpoints.

**Category:** Developer Tools | **Website:** [servers-frontend.fivem.net/](https://servers-frontend.fivem.net/) | **Docs:** [parse.bot/marketplace/3c3d240b-af3a-465e-ba44-83594375e713/servers-frontend-fivem-net-api](https://parse.bot/marketplace/3c3d240b-af3a-465e-ba44-83594375e713/servers-frontend-fivem-net-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-servers-frontend-fivem-net-api-3c3d240b/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_server_details

Retrieve detailed information about a FiveM server by its server ID. Returns server status, player list, resources, configuration variables, owner information, and connection endpoints. Returns input_not_found for unknown server IDs.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `server_id` | string | Yes | The server identifier found in CFX.RE/JOIN/{server_id} URLs (e.g. '6r9ob4'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-servers-frontend-fivem-net-api-3c3d240b/get_server_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"server_id":"<string>"}'
```
