Profile API
A lightweight, zero-log JSON API to retrieve public profile metadata, custom themes, bios, and links for any registered user.
Test the endpoint live by querying any registered username. The live response and visual profile preview will be rendered below.
{
"notice": "Submit the form above to execute a live query."
}
Request Specifications
| Parameter | Type | Required | Description & Validation |
|---|---|---|---|
| username | string | Yes |
The unique profile handle. Must be between 3 and 30 characters long and consist
solely of letters, numbers, and underscores (/^[a-zA-Z0-9_]{3,30}$/).
|
To maintain high availability and prevent scraping abuse, profile queries are rate-limited to a
maximum of 60 requests per 60 seconds per client IP.
Exceeding this threshold yields an HTTP 429 Too Many Requests
status.
Response Schema
All responses adhere to a consistent standard JSON wrapper with a boolean success flag, accompanied by either a data object or an error
description.
| Field | Type | Description |
|---|---|---|
| success | boolean | true when profile
found and returned; false on failure. |
| data.username | string | Sanitized username of the profile owner. |
| data.color_one | string (hex) | Custom background color chosen by user (e.g. #000000). |
| data.color_two | string (hex) | Custom foreground / text color chosen by user (e.g. #ffffff). |
| data.bio | string | User biography / status text (supports UTF-8 characters and emojis). |
| data.links | array[object] |
Ordered array of link items, where each item contains:
•
title: Display name of the link
•
url: Valid target destination URL
|
| data.created_at | string (datetime) | Account registration timestamp (e.g. 2026-09-28 01:23:45). |
| data.turnstile_site_key | string | Cloudflare Turnstile site key required for submitting reports on the profile. |
{
"success": true,
"data": {
"username": "deniz",
"color_one": "#0a0a0a",
"color_two": "#fafafa",
"bio": "Security researcher & developer. Privacy advocate.",
"links": [
{
"title": "GitHub",
"url": "https://github.com/example"
},
{
"title": "Monero Wallet",
"url": "https://getmonero.org"
}
],
"created_at": "2026-09-28 00:00:00",
"turnstile_site_key": "0x4AAAAAAFFdhUpsyDVk9DR2"
}
}
curl -X GET "https://killyourself.cu.ma/api/profile.php?username=deniz" \
-H "Accept: application/json"
HTTP Status & Error Codes
| Status | Condition | Sample Error Response Payload |
|---|---|---|
| 200 OK | Profile found and retrieved successfully. | {"success": true, "data": { ... }} |
| 400 Bad Request | Missing or invalid username parameter. | {"success": false, "error": "Invalid or missing username."}
|
| 404 Not Found | User does not exist in the database. | {"success": false, "error": "Profile not found."} |
| 405 Method Not Allowed | Request method was not GET. | {"success": false, "error": "Method not allowed"} |
| 429 Too Many Requests | Rate limit quota exceeded (>60 req/min). | {"success": false, "error": "Too many requests. Please try again later."}
|