info
endpoint with type: "webData2"
returns aggregate information about a user for frontend consumption. It is primarily a convenience aggregation used by web clients.
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"
.user
(string, required) — Address in 42-character hexadecimal format (e.g.,0x31ca8395cf837de08b24da3f660e77761dfb974b
).
Response
The response is a large object with user‑centric aggregates for frontend use (exact fields may change). Typical categories include:- user overview and balances
- open orders and positions summaries
- recent fills and funding
- selected UI/runtime configuration for the client
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
- 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
- Structured for easy consumption by web applications
- Includes display-ready formatted data
- Supports responsive UI updates and notifications
- Enables comprehensive dashboard implementations
- 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
Use case
Theinfo
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
Body
application/json
Request type to retrieve web application data
Available options:
webData2