curl --request GET \
--url 'https://api.sprinter.tech/liquidity/protocol/{protocol}/fees' \
--header 'X-Auth-Token: YOUR_API_KEY'
import requests
response = requests.get("https://api.sprinter.tech/liquidity/protocol/{protocol}/fees", headers={"X-Auth-Token": "YOUR_API_KEY"})
print(response.json())
const response = await fetch(
"https://api.sprinter.tech/liquidity/protocol/{protocol}/fees",
{ headers: { "X-Auth-Token": "YOUR_API_KEY" } }
);
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.sprinter.tech/liquidity/protocol/{protocol}/fees", nil)
req.Header.Set("X-Auth-Token", "YOUR_API_KEY")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
{
"data": [
{
"feeBps": 5,
"minAmount": 0,
"maxAmount": 100000000000
},
{
"feeBps": 3,
"minAmount": 100000000000,
"maxAmount": 1000000000000
}
]
}
Liquidity Info
Get Fee and Limits for a Given Protocol Route
Returns configured fee and min/max limits from solver config
GET
/
liquidity
/
protocol
/
{protocol}
/
fees
curl --request GET \
--url 'https://api.sprinter.tech/liquidity/protocol/{protocol}/fees' \
--header 'X-Auth-Token: YOUR_API_KEY'
import requests
response = requests.get("https://api.sprinter.tech/liquidity/protocol/{protocol}/fees", headers={"X-Auth-Token": "YOUR_API_KEY"})
print(response.json())
const response = await fetch(
"https://api.sprinter.tech/liquidity/protocol/{protocol}/fees",
{ headers: { "X-Auth-Token": "YOUR_API_KEY" } }
);
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.sprinter.tech/liquidity/protocol/{protocol}/fees", nil)
req.Header.Set("X-Auth-Token", "YOUR_API_KEY")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
{
"data": [
{
"feeBps": 5,
"minAmount": 0,
"maxAmount": 100000000000
},
{
"feeBps": 3,
"minAmount": 100000000000,
"maxAmount": 1000000000000
}
]
}
curl --request GET \
--url 'https://api.sprinter.tech/liquidity/protocol/{protocol}/fees' \
--header 'X-Auth-Token: YOUR_API_KEY'
import requests
response = requests.get("https://api.sprinter.tech/liquidity/protocol/{protocol}/fees", headers={"X-Auth-Token": "YOUR_API_KEY"})
print(response.json())
const response = await fetch(
"https://api.sprinter.tech/liquidity/protocol/{protocol}/fees",
{ headers: { "X-Auth-Token": "YOUR_API_KEY" } }
);
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.sprinter.tech/liquidity/protocol/{protocol}/fees", nil)
req.Header.Set("X-Auth-Token", "YOUR_API_KEY")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
{
"data": [
{
"feeBps": 5,
"minAmount": 0,
"maxAmount": 100000000000
},
{
"feeBps": 3,
"minAmount": 100000000000,
"maxAmount": 1000000000000
}
]
}
Authorizations
Path Parameters
Protocol name
Query Parameters
Source chain CAIP ID (e.g. \
Destination chain CAIP ID
Source token symbol or address
Destination token symbol or address
Response
OK
Show child attributes
Show child attributes
⌘I