Profile
GET/profile/{username}Account profile: rank, boosting flags, clan membership. Not gameplay stats, see Profile Stats.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
username | string | required | case-insensitive |
Response 200
unverified schema
Not covered by the query-parameter crawl, no combinations to enumerate. Field types below reflect the client's validation schema, which is deliberately permissive.
The response includes account metadata, donor ranks, optional clan details, and friend usernames. Additional fields are preserved by the client for forward compatibility.
| Field | Type | Notes |
|---|---|---|
username | string | optional |
lastSeen | number | optional unix ms |
discord_verified | boolean | optional |
email_verified | boolean | optional |
boosting | boolean | optional |
discord_boosting | boolean | optional |
rank.level | number | optional |
rank.experience | number | optional |
rank.percentage | number | optional |
rank.rankDisplay | string | optional |
ranks | DonorRank[] | optional donor/server ranks |
clan | { name, tag } | null | optional nullable, not omitted |
friends | { username: string }[] | optional |
| (other fields) | unknown | schema is passthrough; unlisted fields survive parsing |
Each donor rank can include name, displayName, server, season, and expiry.
Use getTopRank(profile, scope) to select the highest active donor rank. The scope can be global, a gamemode such as kitpvp, or all.
Live example
This runs a real GET request from your browser directly to stats.pika-network.net, no proxy, no mock data. Response reflects whatever that account looks like right now.
fetching https://stats.pika-network.net/api/profile/resuns ...
Request forms
GET /profile/resunscurl 'https://stats.pika-network.net/api/profile/resuns'import { PikaNetworkClient } from '@kyizl/craftify';
const pika = new PikaNetworkClient();
const profile = await pika.getProfile('resuns');Errors
| Status | Condition |
|---|---|
404 (empty body) | username does not exist |
No 400 case.