FF Name API

Developer Integration Guide

Endpoint: https://ff-sell.shop/api/store.php · Methods: POST / GET · Limits: 10/min · 300/hr · 1,000/day

1. PHP Integration (Only Fetch Nickname or Full Info)

<?php
$apiKey = "ff_live_YOUR_GENERATED_API_KEY";
$uid    = "546593024";

$ch = curl_init("https://ff-sell.shop/api/store.php");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_POST           => true,
    CURLOPT_HTTPHEADER     => [
        "Authorization: Bearer " . $apiKey,
        "Content-Type: application/json"
    ],
    CURLOPT_POSTFIELDS     => json_encode(["uid" => $uid])
]);

$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
if (!empty($data['ok'])) {
    // Only need Player Name:
    echo "Player Name: " . $data['nickname'];
} else {
    echo "Error: " . ($data['message'] ?? 'Request failed');
}

2. Python Integration

import requests

url = "https://ff-sell.shop/api/store.php"
headers = {
    "Authorization": "Bearer ff_live_YOUR_GENERATED_API_KEY",
    "Content-Type": "application/json"
}

res = requests.post(url, headers=headers, json={"uid": "546593024"})
data = res.json()

if data.get("ok"):
    print("Nickname:", data["nickname"])
    print("Level:", data["level"])
else:
    print("Error:", data.get("message"))

3. JavaScript (Fetch) Integration

const res = await fetch("https://ff-sell.shop/api/store.php", {
  method: "POST",
  headers: {
    "Authorization": "Bearer ff_live_YOUR_GENERATED_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({ uid: "546593024" })
});

const data = await res.json();
console.log(data.nickname);