Get purchase history of a user via roblox ID
curl --request GET \
--url https://api.s15x.dev/database/purchase-history \
--header 'API-Authorization: <api-key>' \
--header 'x-roblox-id: <x-roblox-id>'import requests
url = "https://api.s15x.dev/database/purchase-history"
headers = {
"x-roblox-id": "<x-roblox-id>",
"API-Authorization": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-roblox-id': '<x-roblox-id>', 'API-Authorization': '<api-key>'}
};
fetch('https://api.s15x.dev/database/purchase-history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.s15x.dev/database/purchase-history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"API-Authorization: <api-key>",
"x-roblox-id: <x-roblox-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.s15x.dev/database/purchase-history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-roblox-id", "<x-roblox-id>")
req.Header.Add("API-Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.s15x.dev/database/purchase-history")
.header("x-roblox-id", "<x-roblox-id>")
.header("API-Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.s15x.dev/database/purchase-history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-roblox-id"] = '<x-roblox-id>'
request["API-Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 500595751,
"product_id": "INS-V5-ALL",
"system_name": "s15x Avatar inspector V5 All",
"is_fulfilled": true,
"purchase_time": "2026-02-07T00:10:18.021Z",
"fulfillment_time": "<string>"
}
]
}{
"error": "<string>"
}{
"error": "Forbidden: Invalid API Key"
}{
"error": "<string>"
}Purchases
Get Purchase History
returns purchase history for user
GET
/
database
/
purchase-history
Get purchase history of a user via roblox ID
curl --request GET \
--url https://api.s15x.dev/database/purchase-history \
--header 'API-Authorization: <api-key>' \
--header 'x-roblox-id: <x-roblox-id>'import requests
url = "https://api.s15x.dev/database/purchase-history"
headers = {
"x-roblox-id": "<x-roblox-id>",
"API-Authorization": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-roblox-id': '<x-roblox-id>', 'API-Authorization': '<api-key>'}
};
fetch('https://api.s15x.dev/database/purchase-history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.s15x.dev/database/purchase-history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"API-Authorization: <api-key>",
"x-roblox-id: <x-roblox-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.s15x.dev/database/purchase-history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-roblox-id", "<x-roblox-id>")
req.Header.Add("API-Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.s15x.dev/database/purchase-history")
.header("x-roblox-id", "<x-roblox-id>")
.header("API-Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.s15x.dev/database/purchase-history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-roblox-id"] = '<x-roblox-id>'
request["API-Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 500595751,
"product_id": "INS-V5-ALL",
"system_name": "s15x Avatar inspector V5 All",
"is_fulfilled": true,
"purchase_time": "2026-02-07T00:10:18.021Z",
"fulfillment_time": "<string>"
}
]
}{
"error": "<string>"
}{
"error": "Forbidden: Invalid API Key"
}{
"error": "<string>"
}⌘I