Flexible Queries
GraphQL API
Flexible, efficient data queries with our GraphQL endpoint. Request exactly what you need with intelligent query optimization.
Interactive Query Explorer
Test GraphQL queries and see live responses
Query Editor
query TokenDetails {
token(address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48") {
symbol
name
decimals
totalSupply
price {
usd
change24h
}
volume24h
liquidity
}
}Get comprehensive token information
Response
// Click "Execute Query" to see the response
// Try different query types from the dropdownFlexible Queries
Request exactly the fields you need. No over-fetching or under-fetching of data.
Nested Relationships
Traverse complex data relationships in a single query.
Real-time Subscriptions
Subscribe to real-time updates with GraphQL subscriptions.
Why GraphQL?
Precise Data
Get exactly what you ask for
Single Request
Multiple resources in one call
Type Safety
Strongly typed with validation
Introspection
Self-documenting API
Quick Start
JavaScript / Apollo Client
import { ApolloClient, InMemoryCache, gql } from '@apollo/client';
// Initialize Apollo Client
const client = new ApolloClient({
uri: 'https://graphql.dexploit.io/v1',
cache: new InMemoryCache(),
headers: {
'X-API-Key': 'your-api-key'
}
});
// Query token data
const GET_TOKEN = gql`
query GetToken($address: String!) {
token(address: $address) {
symbol
name
price {
usd
change24h
}
volume24h
}
}
`;
// Execute query
const { data } = await client.query({
query: GET_TOKEN,
variables: { address: '0x...' }
});Start Building with GraphQL
Experience the flexibility and efficiency of GraphQL. Query exactly what you need.