MarketRatings

Get List of Market ratings

  • Method: GET

  • Endpoint: /api/v1/crypto/market-ratings

  • Headers:

    • Cookie: The session cookie value.

    • csrf_token: The CSRF token obtained after login.

  • Query:

    • market: (string) Market pair.

    • ratingType: (string) Rating type.

    • date: (string) Date of the rating.

    • exchangeType: (string) Type of an exchange (DEX/CEX)

    • orderBy: (string) Order of ratings (ASC/DESC).

Description:

The /api/v1/crypto/market-ratings endpoint fetches market and exchange ratings by pair and type and order them by ratingValue. So a user can see list of exchanges and markets for a specific pair (market) and decide which one is better for trading.

Example with curl:

curl -X GET "https://157.230.31.240/api/v1/crypto/market-ratings?symbol=ILV/WETH&ratingType=EXCHANGE_RATE_POOL_A_SIZE&date=2024-05-28 09:10:00&orderBy=DESC&exchangeType=DEX&offset=0&limit=5" \
     -H "Cookie: session_cookie_value"  \
     -H "csrf_token: your_csrf_token_here"

Example Response Payload:

Last updated