Get detailed data for all pools
curl --request GET \
--url https://api.saucerswap.finance/pools/full \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.saucerswap.finance/pools/full"
headers = {"x-api-key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.saucerswap.finance/pools/full', 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.saucerswap.finance/pools/full",
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: <x-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.saucerswap.finance/pools/full"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-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.saucerswap.finance/pools/full")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.saucerswap.finance/pools/full")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body[
{
"id": 213,
"contractId": "0.0.1465865",
"lpToken": {
"id": "0.0.1465866",
"name": "SS-LP SAUCE - XSAUCE",
"symbol": "SAUCE - XSAUCE",
"decimals": 8,
"priceUsd": 3.7760690082569948
},
"lpTokenReserve": "23490447137584",
"tokenA": {
"id": "0.0.731861",
"name": "SAUCE",
"symbol": "SAUCE",
"decimals": 6,
"priceUsd": 0.01760954,
"description": "SaucerSwap is an open source and non-custodial AMM protocol native to Hedera.",
"website": "https://www.saucerswap.finance/",
"sentinelReport": "https://sentinel.headstarter.org/details/saucerswap",
"twitterHandle": "SaucerSwapLabs"
},
"tokenReserveA": "25185652046087",
"tokenB": {
"id": "0.0.1460200",
"name": "xSAUCE",
"symbol": "XSAUCE",
"decimals": 6,
"priceUsd": 0.01959459,
"description": "SaucerSwap is an open source and non-custodial AMM protocol native to Hedera.",
"website": "https://www.saucerswap.finance/",
"sentinelReport": "https://sentinel.headstarter.org/details/saucerswap",
"twitterHandle": "SaucerSwapLabs"
},
"tokenReserveB": "22634187941347"
}
]Pools (V1)
Get detailed data for all pools
GET
/
pools
/
full
Get detailed data for all pools
curl --request GET \
--url https://api.saucerswap.finance/pools/full \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.saucerswap.finance/pools/full"
headers = {"x-api-key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.saucerswap.finance/pools/full', 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.saucerswap.finance/pools/full",
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: <x-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.saucerswap.finance/pools/full"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-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.saucerswap.finance/pools/full")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.saucerswap.finance/pools/full")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body[
{
"id": 213,
"contractId": "0.0.1465865",
"lpToken": {
"id": "0.0.1465866",
"name": "SS-LP SAUCE - XSAUCE",
"symbol": "SAUCE - XSAUCE",
"decimals": 8,
"priceUsd": 3.7760690082569948
},
"lpTokenReserve": "23490447137584",
"tokenA": {
"id": "0.0.731861",
"name": "SAUCE",
"symbol": "SAUCE",
"decimals": 6,
"priceUsd": 0.01760954,
"description": "SaucerSwap is an open source and non-custodial AMM protocol native to Hedera.",
"website": "https://www.saucerswap.finance/",
"sentinelReport": "https://sentinel.headstarter.org/details/saucerswap",
"twitterHandle": "SaucerSwapLabs"
},
"tokenReserveA": "25185652046087",
"tokenB": {
"id": "0.0.1460200",
"name": "xSAUCE",
"symbol": "XSAUCE",
"decimals": 6,
"priceUsd": 0.01959459,
"description": "SaucerSwap is an open source and non-custodial AMM protocol native to Hedera.",
"website": "https://www.saucerswap.finance/",
"sentinelReport": "https://sentinel.headstarter.org/details/saucerswap",
"twitterHandle": "SaucerSwapLabs"
},
"tokenReserveB": "22634187941347"
}
]| Hedera Network | Base URL |
|---|---|
| Mainnet | https://api.saucerswap.finance |
| Testnet | https://test-api.saucerswap.finance |
| Previewnet | Not supported |
Headers
API key for authentication. The demo api key provided is globally rate limited. Do not use in production.
Response
200 - application/json
Successful response
Pool id
Example:
213
Contract id (shard.realm.num)
Example:
"0.0.1465865"
Show child attributes
Show child attributes
Example:
{
"id": "0.0.1465866",
"name": "SS-LP SAUCE - XSAUCE",
"symbol": "SAUCE - XSAUCE",
"decimals": 8,
"priceUsd": 3.7760690082569948
}
LP token reserve in its smallest unit
Example:
"23490447137584"
Show child attributes
Show child attributes
Example:
{
"id": "0.0.731861",
"name": "SAUCE",
"symbol": "SAUCE",
"decimals": 6,
"priceUsd": 0.01760954,
"description": "SaucerSwap is an open source and non-custodial AMM protocol native to Hedera.",
"website": "https://www.saucerswap.finance/",
"sentinelReport": "https://sentinel.headstarter.org/details/saucerswap",
"twitterHandle": "SaucerSwapLabs"
}
Token A reserve in its smallest unit
Example:
"25185652046087"
Show child attributes
Show child attributes
Example:
{
"id": "0.0.1460200",
"name": "xSAUCE",
"symbol": "XSAUCE",
"decimals": 6,
"priceUsd": 0.01959459,
"description": "SaucerSwap is an open source and non-custodial AMM protocol native to Hedera.",
"website": "https://www.saucerswap.finance/",
"sentinelReport": "https://sentinel.headstarter.org/details/saucerswap",
"twitterHandle": "SaucerSwapLabs"
}
Token B reserve in its smallest unit
Example:
"22634187941347"
Was this page helpful?
⌘I