POST
/
4f8d8f4040bdacd1577bff8058438274
/
info
info (webData2)
curl --request POST \
  --url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/info \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "webData2"
}'
{
  "marketData": {
    "markets": [
      {
        "symbol": "<string>",
        "price": "<string>",
        "volume24h": "<string>",
        "change24h": "<string>"
      }
    ],
    "totalVolume": "<string>",
    "totalOpenInterest": "<string>"
  },
  "networkStats": {
    "blockHeight": 123,
    "activeUsers": 123,
    "totalTransactions": 123
  },
  "uiConfig": {
    "features": [
      "<string>"
    ],
    "maintenance": true
  }
}
The info endpoint with type: "webData2" retrieves comprehensive web application data designed for frontend interfaces and web applications on the Hyperliquid network. This endpoint provides aggregated information including market data, network statistics, and UI configuration settings.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

Request body

  • type (string, required) — The request type. Must be "webData2" to retrieve web application data.

Response

The response is a comprehensive object containing various data categories for web applications:

Market data

  • marketData (object) — Market information and trading statistics:
    • markets (array) — List of available markets with trading information:
      • symbol (string) — Market symbol identifier
      • price (string) — Current market price
      • volume24h (string) — 24-hour trading volume
      • change24h (string) — 24-hour price change percentage
    • totalVolume (string) — Total platform trading volume
    • totalOpenInterest (string) — Total open interest across all markets

Network statistics

  • networkStats (object) — Network health and activity metrics:
    • blockHeight (integer) — Current blockchain block height
    • activeUsers (integer) — Number of active users on the platform
    • totalTransactions (integer) — Total number of transactions processed

UI configuration

  • uiConfig (object) — User interface settings and feature flags:
    • features (array of strings) — List of enabled features for the web interface
    • maintenance (boolean) — Whether the platform is in maintenance mode

Understanding web data aggregation

Data optimization:
  • Combines multiple data sources into a single efficient endpoint
  • Reduces the number of API calls required for web applications
  • Provides pre-aggregated statistics for improved performance
  • Optimized for frontend consumption and display
Real-time updates:
  • Market data reflects current trading conditions
  • Network statistics show live platform activity
  • UI configuration allows for dynamic feature management
  • Data freshness ensures accurate user experience
Frontend integration:
  • Structured for easy consumption by web applications
  • Includes display-ready formatted data
  • Supports responsive UI updates and notifications
  • Enables comprehensive dashboard implementations
Performance benefits:
  • Single endpoint reduces latency and bandwidth usage
  • Pre-calculated aggregations improve response times
  • Efficient data structure minimizes parsing overhead
  • Optimized for high-frequency frontend updates

Example request

Shell
curl -X POST \
  -H "Content-Type: application/json" \
  -d '{"type": "webData2"}' \
  https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/info

Use case

The info endpoint with type: "webData2" is essential for applications that need to:
  • Trading dashboards: Display comprehensive market overview and statistics
  • Web applications: Provide aggregated data for frontend interfaces
  • Market summaries: Show platform-wide trading activity and metrics
  • Real-time displays: Update UI components with current market conditions
  • Performance monitoring: Track network health and user activity
  • Feature management: Control UI features based on configuration settings
  • Mobile applications: Efficiently load dashboard data with minimal requests
  • Analytics interfaces: Display aggregated platform statistics
  • Status pages: Show platform health and maintenance information
  • Portfolio overviews: Provide market context for user positions
  • Trading terminals: Display comprehensive market data in trading interfaces
  • Public displays: Show platform statistics for marketing and transparency
  • API optimization: Reduce multiple endpoint calls with single aggregated request
  • Caching strategies: Implement efficient data caching for web applications
This endpoint is particularly valuable for web developers building comprehensive trading interfaces, mobile app developers optimizing for performance, dashboard creators needing aggregated platform data, and any application requiring efficient access to multiple data categories in a single API call on the Hyperliquid network.

Body

application/json

Response

200 - application/json

Web application data and interface configuration

Comprehensive web application data for frontend interfaces