Prix DEX API
dex_pricesObtenez le prix moyen quotidien pondéré par le volume et le volume de négociation pour les jetons DEX sur une plage de dates.
Points de terminaison
| Méthode | Chemin | Description | CU / appel | USD / 1M d'appels | Appels par cycle gratuit (approx.) |
|---|---|---|---|---|---|
| GET | /{chain}/dex/prices | Prix journaliers des jetons DEX | 15 | $1.50 | 2,000,000 |
Également soumis à une limite de 25 appels par seconde.
Champs de la réponse
GET/{chain}/dex/prices
| Champ | Type |
|---|---|
| day | string |
| token | string |
| token_symbol | string | null |
| token_name | string | null |
| quote_token | string |
| quote_symbol | string | null |
| quote_name | string | null |
| base_decimals | integer | null |
| quote_decimals | integer | null |
| swap_count | integer |
| base_volume_raw | string |
| quote_volume_raw | string |
| base_volume | string | null |
| quote_volume | string | null |
| vwap | string | null |
| first_price | string | null |
| last_price | string | null |
| min_price | string | null |
| max_price | string | null |
| first_price_numerator | string |
| first_price_denominator | string |
| last_price_numerator | string |
| last_price_denominator | string |
| min_price_numerator | string |
| min_price_denominator | string |
| max_price_numerator | string |
| max_price_denominator | string |
| refreshed_at | string |
Disponible sur les chaînes
Exemple rapide
curl -s "https://api.blockvectra.com/v1/data/robinhood_mainnet/dex/prices?token={token}&from=2026-01-01&to=2026-01-31" -H "x-api-key: {api_key}"Documentation
Essayez ce jeu de données gratuitement
Obtenez 30,000,000 CU à l'inscription, rechargés tous les 30 jours.
Les requêtes rejetées ne sont pas facturées, et la Data API ne facture que les réponses réussies.