curl --request GET \
--url 'https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
import requests
response = requests.get(
"https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
)
print(response.json())
const response = await fetch(
"https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
);
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
resp, _ := http.Get("https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913")
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
{
"collateralAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"collateralPriceUsd": 1.0,
"earnServiceName": "",
"isEarnVault": false,
"underlyingAsset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"underlyingPriceUsd": 1.0
}
Credit Info
Collateral Details
Returns detailed information about a collateral asset including APY estimate (if earn vault), price in USD, underlying asset, and earn service name
GET
/
credit
/
v2
/
assets
/
{asset}
/
collateral
/
{chain}
/
{collateral}
curl --request GET \
--url 'https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
import requests
response = requests.get(
"https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
)
print(response.json())
const response = await fetch(
"https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
);
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
resp, _ := http.Get("https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913")
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
{
"collateralAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"collateralPriceUsd": 1.0,
"earnServiceName": "",
"isEarnVault": false,
"underlyingAsset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"underlyingPriceUsd": 1.0
}
The
asset parameter is the credit asset symbol — currently supported values are usdc and eure. The chain parameter uses CAIP-2 format: eip155:<chainId>. For example, eip155:8453 for Base or eip155:1 for Ethereum. See Supported Chains for the full list.curl --request GET \
--url 'https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
import requests
response = requests.get(
"https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
)
print(response.json())
const response = await fetch(
"https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
);
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
resp, _ := http.Get("https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913")
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
{
"collateralAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"collateralPriceUsd": 1.0,
"earnServiceName": "",
"isEarnVault": false,
"underlyingAsset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"underlyingPriceUsd": 1.0
}
Machine-readable API spec: OpenAPI JSON | Swagger UI