GET/api/v1/rwa-intelligence/perp-map
Quel perpetuel double chaque actif tokenise
Pour chaque actif double d'un perpetuel, son marche et son ticker. POURQUOI LE TABLEAU EN A BESOIN. Le navigateur s'abonne au flux public du marche pour afficher le prix en direct. Sans cette carte, une ligne ne saurait pas sous quel nom son actif y est cote : notre or porte XAU, les marches le cotent GOLD. POURQUOI ELLE EST SERVIE A PART. La calculer coute 562 ms mesurees : il faut balayer les instantanes recents, regrouper par ticker et par marche, puis retenir le plus liquide. Dans la requete du tableau, ce cout s'ajouterait a chaque chargement ; ici il est paye une fois par periode de cache.
Authentication
This endpoint requires the X-API-Key header or a valid Clerk JWT. Accepted schemes: APIKeyHeader, HTTPBearer.
See Authentication for details.
Responses
| Status | Description | Schema |
|---|---|---|
200 | Successful Response | PerpMapResponse |
See the standard error codes documented in the Error codes.
Code samples
Three ready-to-paste implementations. Replace $TRINITY_API_KEY with your API key (generated from the dashboard under Profile → API keys).
cURL
curl -X GET \
'https://api.trinityinsights.io/api/v1/rwa-intelligence/perp-map' \
-H 'X-API-Key: $TRINITY_API_KEY'Python
import os
import requests
BASE = "https://api.trinityinsights.io"
headers = {
"X-API-Key": os.environ["TRINITY_API_KEY"],
}
response = requests.get(f"{BASE}/api/v1/rwa-intelligence/perp-map", headers=headers, timeout=10)
response.raise_for_status()
data = response.json()JavaScript
const apiKey = process.env.TRINITY_API_KEY;
const response = await fetch(
"https://api.trinityinsights.io/api/v1/rwa-intelligence/perp-map",
{
method: "GET",
headers: {
"X-API-Key": apiKey,
},
},
);
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
const data = await response.json();Institutional disclaimer
Trinity Insights is an educational and analytical tool. Values returned by this endpoint do not constitute investment advice. Trinity Insights is not a Crypto-Asset Service Provider (CASP) registered under MiCA Regulation (EU) 2023/1114. See the full disclaimer.