Get all stos by TokenSymbol
curl --request GET \
--url https://api.sandbox.brickken.com/get-stos \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sandbox.brickken.com/get-stos"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sandbox.brickken.com/get-stos', 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.sandbox.brickken.com/get-stos",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.sandbox.brickken.com/get-stos"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<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.sandbox.brickken.com/get-stos")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.brickken.com/get-stos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": [
{
"uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"name": "Example Project Alpha STO",
"status": "ACTIVE",
"tokenAmount": "1000000",
"hardCap": "500000",
"softCap": "100000",
"maxInvestment": "10000",
"minInvestment": "100",
"tokenSymbol": "EXA",
"startDate": "2025-04-01T10:00:00.000Z",
"endDate": "2025-07-01T23:59:59.000Z",
"tokenPrice": "0.50",
"acceptedCoin": "USDC"
}
]
}Read Endpoints
Get STOs
Description: This endpoint retrieves all stos from a token (tokenSymbol).
Headers:
x-api-key:YOUR_API_KEY
Query Parameters:
tokenSymbol(string): The token symbol from a specific token.
GET
/
get-stos
Get all stos by TokenSymbol
curl --request GET \
--url https://api.sandbox.brickken.com/get-stos \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sandbox.brickken.com/get-stos"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sandbox.brickken.com/get-stos', 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.sandbox.brickken.com/get-stos",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.sandbox.brickken.com/get-stos"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<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.sandbox.brickken.com/get-stos")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.brickken.com/get-stos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": [
{
"uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"name": "Example Project Alpha STO",
"status": "ACTIVE",
"tokenAmount": "1000000",
"hardCap": "500000",
"softCap": "100000",
"maxInvestment": "10000",
"minInvestment": "100",
"tokenSymbol": "EXA",
"startDate": "2025-04-01T10:00:00.000Z",
"endDate": "2025-07-01T23:59:59.000Z",
"tokenPrice": "0.50",
"acceptedCoin": "USDC"
}
]
}Retrieves information about Security Token Offerings (STOs).
Query Parameters
tokenSymbol(optional): Filter by specific token symbol
Example
curl --request GET \
--url 'https://api.sandbox.brickken.com/get-stos' \
--header 'x-api-key: YOUR_API_KEY'
Response
{
"stos": [
{
"id": "123",
"tokenSymbol": "EXMPL",
"status": "active",
"startDate": "2024-01-01T00:00:00Z",
"endDate": "2024-12-31T23:59:59Z",
"softCap": "50000",
"hardCap": "500000",
"raised": "25000"
}
]
}
⌘I