Get bounty by slug
curl --request GET \
--url https://api.identityhub.app/bounties/{slug}import requests
url = "https://api.identityhub.app/bounties/{slug}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.identityhub.app/bounties/{slug}', 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.identityhub.app/bounties/{slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.identityhub.app/bounties/{slug}"
req, _ := http.NewRequest("GET", url, nil)
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.identityhub.app/bounties/{slug}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.identityhub.app/bounties/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "bounty_001",
"slug": "write-ton-tutorial",
"title": "Write a TON Development Tutorial",
"shortDescription": "Create a comprehensive tutorial on TON smart contract development.",
"details": "Must include code examples and explanations.",
"category": "CONTENT",
"status": "OPEN",
"rewards": [
{
"place": 1,
"amount": 500
},
{
"place": 2,
"amount": 200
}
],
"imageUrl": "https://cdn.identityhub.app/bounties/ton-tutorial.webp",
"submissionStart": "2026-03-20T10:00:00.000Z",
"submissionEnd": "2026-04-30T23:59:59.000Z",
"reviewStart": "2026-05-01T00:00:00.000Z",
"reviewEnd": "2026-05-15T23:59:59.000Z",
"publishedAt": "2026-03-20T10:00:00.000Z",
"completedAt": null,
"fields": [
{
"label": "GitHub",
"type": "url",
"required": true
},
{
"label": "Demo",
"type": "url",
"required": false
}
],
"sponsor": {
"id": "sponsor_001",
"slug": "ton-foundation",
"name": "TON Foundation",
"logo": "https://cdn.identityhub.app/sponsors/ton-foundation.webp",
"website": "https://ton.org"
},
"submissionsVisible": true,
"submissionCount": 12,
"createdAt": "2026-03-15T14:00:00.000Z",
"updatedAt": "2026-03-20T10:00:00.000Z"
}
}{
"success": false,
"error": "User not found",
"code": "NOT_FOUND"
}Bounties
Get bounty by slug
Returns bounty details including sponsor info.
GET
/
bounties
/
{slug}
Get bounty by slug
curl --request GET \
--url https://api.identityhub.app/bounties/{slug}import requests
url = "https://api.identityhub.app/bounties/{slug}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.identityhub.app/bounties/{slug}', 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.identityhub.app/bounties/{slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.identityhub.app/bounties/{slug}"
req, _ := http.NewRequest("GET", url, nil)
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.identityhub.app/bounties/{slug}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.identityhub.app/bounties/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "bounty_001",
"slug": "write-ton-tutorial",
"title": "Write a TON Development Tutorial",
"shortDescription": "Create a comprehensive tutorial on TON smart contract development.",
"details": "Must include code examples and explanations.",
"category": "CONTENT",
"status": "OPEN",
"rewards": [
{
"place": 1,
"amount": 500
},
{
"place": 2,
"amount": 200
}
],
"imageUrl": "https://cdn.identityhub.app/bounties/ton-tutorial.webp",
"submissionStart": "2026-03-20T10:00:00.000Z",
"submissionEnd": "2026-04-30T23:59:59.000Z",
"reviewStart": "2026-05-01T00:00:00.000Z",
"reviewEnd": "2026-05-15T23:59:59.000Z",
"publishedAt": "2026-03-20T10:00:00.000Z",
"completedAt": null,
"fields": [
{
"label": "GitHub",
"type": "url",
"required": true
},
{
"label": "Demo",
"type": "url",
"required": false
}
],
"sponsor": {
"id": "sponsor_001",
"slug": "ton-foundation",
"name": "TON Foundation",
"logo": "https://cdn.identityhub.app/sponsors/ton-foundation.webp",
"website": "https://ton.org"
},
"submissionsVisible": true,
"submissionCount": 12,
"createdAt": "2026-03-15T14:00:00.000Z",
"updatedAt": "2026-03-20T10:00:00.000Z"
}
}{
"success": false,
"error": "User not found",
"code": "NOT_FOUND"
}Path Parameters
Bounty URL slug
Response
Success
Available options:
true Show child attributes
Show child attributes
Example:
{
"id": "bounty_001",
"slug": "write-ton-tutorial",
"title": "Write a TON Development Tutorial",
"shortDescription": "Create a comprehensive tutorial on TON smart contract development.",
"details": "Must include code examples and explanations.",
"category": "CONTENT",
"status": "OPEN",
"rewards": [
{ "place": 1, "amount": 500 },
{ "place": 2, "amount": 200 }
],
"imageUrl": "https://cdn.identityhub.app/bounties/ton-tutorial.webp",
"submissionStart": "2026-03-20T10:00:00.000Z",
"submissionEnd": "2026-04-30T23:59:59.000Z",
"reviewStart": "2026-05-01T00:00:00.000Z",
"reviewEnd": "2026-05-15T23:59:59.000Z",
"publishedAt": "2026-03-20T10:00:00.000Z",
"completedAt": null,
"fields": [
{
"label": "GitHub",
"type": "url",
"required": true
},
{
"label": "Demo",
"type": "url",
"required": false
}
],
"sponsor": {
"id": "sponsor_001",
"slug": "ton-foundation",
"name": "TON Foundation",
"logo": "https://cdn.identityhub.app/sponsors/ton-foundation.webp",
"website": "https://ton.org"
},
"submissionsVisible": true,
"submissionCount": 12,
"createdAt": "2026-03-15T14:00:00.000Z",
"updatedAt": "2026-03-20T10:00:00.000Z"
}