Build gifts into
your own app.
A simple API for developers who want to browse the gift store and send Free Fire gifts through their own tools.
https://giftly.siambhau.store/api/v1API key protected
Three steps to get started.
Request a key on Telegram, authenticate with your Free Fire token, then use the returned JWT to read the store or send a gift.
Your key goes with every request.
Send your API key in the X-API-Key header. Keys can expire and may have a request limit.
X-API-Key: YOUR_API_KEY
Content-Type: application/json/authLogin and get a session JWTUse the token you already use in Giftly. The response contains a JWT for subsequent store and gift requests.
curl -X POST "https://giftly.siambhau.store/api/v1/auth" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"token":"YOUR_TOKEN","token_type":"jwt"}'token_typestring · jwt, access, or eat/storeFetch the complete gift storePass the JWT returned by login. This endpoint fetches every currently available item in one response—no page number or category filter is needed.
const response = await fetch('/api/v1/store', {
method: 'POST',
headers: { 'X-API-Key': API_KEY, 'Content-Type': 'application/json' },
body: JSON.stringify({ jwt: sessionJwt })
});
const { items } = await response.json();
// items = item_id, commodity_id, name, type, gems, coins, imageitems array contains the full store. Use commodity_id from your selected item when sending a gift./giftSend a gift to a playerSend a selected gift using its commodity_id. Use currency: 2 for diamonds and currency: 1 for gold.
{
"jwt": "JWT_FROM_AUTH",
"target_uid": 123456789,
"commodity_id": 987654,
"currency": 2,
"diamond_price": 100,
"message": "Enjoy your gift!"
}jwtstring · requiredtarget_uidnumber · recipient UIDcommodity_idnumber · from /storemessagestring · optionalClear, predictable errors.
Get your developer key.
Send your project name and what you want to build. We will send you an active key with an expiry date.
Complete example.
This example logs in with a JWT, Access, or EAT token, then fetches every available store item.
import requests
BASE_URL = "https://giftly.siambhau.store/api/v1"
API_KEY = "YOUR_API_KEY"
headers = {
"X-API-Key": API_KEY,
"Content-Type": "application/json"
}
# token_type: "jwt", "access", or "eat"
login = requests.post(
f"{BASE_URL}/auth",
headers=headers,
json={"token": "YOUR_TOKEN", "token_type": "jwt"}
)
login.raise_for_status()
session_jwt = login.json()["jwt"]
# Fetch the complete store
store = requests.post(
f"{BASE_URL}/store",
headers=headers,
json={"jwt": session_jwt}
)
store.raise_for_status()
items = store.json()["items"]
print(f"Found {len(items)} gifts")
for item in items:
print(item["name"], item["commodity_id"])token_type. The endpoint stays the same and returns a JWT.