cURL
curl --request GET \
--url https://api.odin.fun/v1/user/{principal}/created \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.odin.fun/v1/user/{principal}/created"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.odin.fun/v1/user/{principal}/created', 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.odin.fun/v1/user/{principal}/created",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.odin.fun/v1/user/{principal}/created"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.odin.fun/v1/user/{principal}/created")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.odin.fun/v1/user/{principal}/created")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body"<unknown>"Users
Get user created
GET
/
user
/
{principal}
/
created
cURL
curl --request GET \
--url https://api.odin.fun/v1/user/{principal}/created \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.odin.fun/v1/user/{principal}/created"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.odin.fun/v1/user/{principal}/created', 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.odin.fun/v1/user/{principal}/created",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.odin.fun/v1/user/{principal}/created"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.odin.fun/v1/user/{principal}/created")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.odin.fun/v1/user/{principal}/created")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body"<unknown>"Authorizations
Query Parameters
Available options:
null, marketcap:asc, marketcap:desc, price:asc, price:desc, holder_count:asc, holder_count:desc, created_time:asc, created_time:desc, name:asc, name:desc, last_comment_time:asc, last_comment_time:desc, comment_count:asc, comment_count:desc, volume:asc, volume:desc, sold:asc, sold:desc, txn_count:asc, txn_count:desc, btc_liquidity:asc, btc_liquidity:desc, swap_fees:asc, swap_fees:desc, swap_fees_24:asc, swap_fees_24:desc, swap_volume:asc, swap_volume:desc, swap_volume_24:asc, swap_volume_24:desc, last_action_time:asc, last_action_time:desc, price_delta_5m:asc, price_delta_5m:desc, price_delta_1h:asc, price_delta_1h:desc, price_delta_6h:asc, price_delta_6h:desc, price_delta_1d:asc, price_delta_1d:desc, ascension:asc, ascension:desc Response
The response is of type any.