Sui Data
This document provides a comprehensive introduction to Sui Data's two core technologies: GraphQL API and real-time gRPC subscriptions. It covers their functional advantages, usage methods, and pricing strategies.
What is Sui Data?
Sui Data is a professional data service platform for the Sui blockchain, offering both GraphQL API and real-time gRPC subscriptions to meet various data querying and real-time monitoring needs. These services help developers build more competitive and responsive applications within the Sui ecosystem.
Sui Data goes beyond simply exposing on-chain data to developers. It provides structured, on-demand data services that enable developers to focus more on implementing business logic.
Core Functional Advantages
GraphQL API Benefits
Compared to traditional REST or multi-endpoint aggregation, reduce request count by 40%–70% and improve end-to-end data loading by 30%–60% on average.
- Faster loading: 30%–60% average speedup Fetch only the fields you need and return related data in a single response—less serial calling and duplication, faster list/detail first paint.
- Fewer requests: 40%–70% fewer API calls
Move from “stitching multiple endpoints” to “one query for all required fields,” especially effective for asset pages, transaction details, and activity feeds. - Easier migration: replace core endpoints in 1–3 days (typical)
Keep frontend data structures stable while consolidating multiple endpoints into a unified schema—less integration and maintenance overhead. - Controlled cost: query complexity visibility, more stable in production
Observe query cost/latency and apply guardrails (e.g., limits/throttling) to prevent expensive queries from impacting overall performance.
Real-time gRPC Subscription Benefits
Reduce latency from seconds to 200–500ms-class updates; in high-frequency scenarios, server request volume can typically drop by 50%.
- Lower latency: 200–500ms-class update experience
Ideal for price alerts, transaction status, asset changes, and notifications—where users are waiting for updates. - More efficient: 50% fewer high-frequency polling requests
Switch from “poll every 2–5 seconds” to “push on change,” significantly reducing QPS and bandwidth overhead. - More reliable increments: resumable consumption via checkpoints
Catch up from checkpoints after disconnects to reduce missed updates—great for indexing and real-time pipelines. - Faster rollout: gradual replacement of existing polling logic
Start by subscribing to the most critical event/object changes, while keeping the rest on JSON-RPC—lower migration risk.
Getting Started
Getting Started with GraphQL API
For detailed documentation on supported methods and corresponding query examples for Sui GraphQL API, please refer to the Sui GraphQL API Documentation.
Note:Sui-Data provides a GraphiQL tool that helps developers easily write, validate, and test GraphQL queries directly in the browser.
Getting Started with gRPC
For detailed instructions on how to configure and use shared gRPC endpoints to connect to Sui nodes, please refer to the Sui gRPC QuickStart Documentation.
Specifications and pricing
Sui Data adopts transparent and reasonable pricing strategies to ensure projects of different scales can find suitable payment plans.
Billing details for GraphQL
- Base Request Fee
All GraphQL methods: 60 credits per method call. - Data Transfer Fee
In addition to method calling fees, GraphQL queries also incur data transfer costs calculated by data volume. 0.1 credits per byte transferred.
Billing details for gRPC
- Base Request Fee
All gRPC methods: 60 credits per method call. - Subscription Service Fee
gRPC subscription service pricing follows a tiered model based on data transfer volume:- Small Data Transfers (≤500 bytes): 5 credits per push.
- Large Data Transfers (>500 bytes): 100 credits per push.
Updated 3 days ago
