The seller / API directory (on-chain sellers ∪ Bazaar-registered)
curl --request GET \
--url https://explorer-explorer.up.railway.app/sellersimport requests
url = "https://explorer-explorer.up.railway.app/sellers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://explorer-explorer.up.railway.app/sellers', 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://explorer-explorer.up.railway.app/sellers",
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://explorer-explorer.up.railway.app/sellers"
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://explorer-explorer.up.railway.app/sellers")
.asString();require 'uri'
require 'net/http'
url = URI("https://explorer-explorer.up.railway.app/sellers")
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{
"items": [
{
"payTo": "<string>",
"network": "<string>",
"registered": true,
"payments": 123,
"uniqueBuyers": 123,
"volume": [
{
"assetContract": "<string>",
"asset": "<string>",
"assetCode": "<string>",
"total": "<string>",
"totalDecimal": "<string>"
}
],
"firstSeenAt": "2023-11-07T05:31:56Z",
"lastSeenAt": "2023-11-07T05:31:56Z",
"serviceName": "<string>",
"resource": "<string>",
"description": "<string>"
}
],
"pagination": {
"total": 123,
"limit": 123,
"offset": 123
}
}{
"code": "explorer_invalid_query",
"reason": "Query parameter \"scheme\" must be one of exact, upto.",
"retryable": false,
"details": {
"parameter": "scheme",
"value": "bogus"
}
}entities
The seller / API directory (on-chain sellers ∪ Bazaar-registered)
A directory of sellers, ranked by on-chain activity. It is the UNION of two sources, so it is complete in both directions:
- every address that has been PAID on-chain (any facilitator, registered or not), with payment count, unique buyers and settled volume; and
- every seller REGISTERED in the Bazaar catalog, which appears automatically even before its first settled payment (with zero on-chain stats until then). A seller that is both carries stats AND its Bazaar name/description. Use it to build an ecosystem / leaderboard page.
GET
/
sellers
The seller / API directory (on-chain sellers ∪ Bazaar-registered)
curl --request GET \
--url https://explorer-explorer.up.railway.app/sellersimport requests
url = "https://explorer-explorer.up.railway.app/sellers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://explorer-explorer.up.railway.app/sellers', 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://explorer-explorer.up.railway.app/sellers",
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://explorer-explorer.up.railway.app/sellers"
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://explorer-explorer.up.railway.app/sellers")
.asString();require 'uri'
require 'net/http'
url = URI("https://explorer-explorer.up.railway.app/sellers")
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{
"items": [
{
"payTo": "<string>",
"network": "<string>",
"registered": true,
"payments": 123,
"uniqueBuyers": 123,
"volume": [
{
"assetContract": "<string>",
"asset": "<string>",
"assetCode": "<string>",
"total": "<string>",
"totalDecimal": "<string>"
}
],
"firstSeenAt": "2023-11-07T05:31:56Z",
"lastSeenAt": "2023-11-07T05:31:56Z",
"serviceName": "<string>",
"resource": "<string>",
"description": "<string>"
}
],
"pagination": {
"total": 123,
"limit": 123,
"offset": 123
}
}{
"code": "explorer_invalid_query",
"reason": "Query parameter \"scheme\" must be one of exact, upto.",
"retryable": false,
"details": {
"parameter": "scheme",
"value": "bogus"
}
}Query Parameters
Scope every activity stat (payments, uniqueBuyers, volume, first/last seen) to the trailing window and rank by windowed activity. Omit for all-time. Registered sellers with no window activity stay listed with zero stats.
Available options:
24h, 7d, 30d Filter to only Bazaar-registered (true) or only unregistered (false) sellers
Required range:
1 <= x <= 100Required range:
x >= 0⌘I