Get Started
The Graph
Queries the subgraph in The graph network
Available Tools(16)
getSchemaBySubgraphId
Get the GraphQL schema for the current deployment of a subgraph using its subgraph ID. This will resolve to the latest deployment.
getSchemaByIpfsHash
DEPRECATED - Use getSchemaByDeploymentId instead, which accepts IPFS hashes. Get the GraphQL schema using a subgraph's IPFS manifest hash
queryBySubgraphId
Execute a GraphQL query against the latest version of a subgraph
naturalLanguageQuery
Convert natural language questions into GraphQL queries and execute them. Requires either deployment_id (0x... or Qm...) or subgraph_id.
optimizeQuery
Analyze and optimize a GraphQL query for better performance
getQueryMetrics
Get query performance metrics for a deployment
getIndexingStatus
Get the current indexing status and health of a subgraph
searchSubgraphsByKeyword
Search for subgraphs by keyword in their display names, ordered by signal. Returns top results with metadata.
getSchemaByDeploymentId
Get the GraphQL schema for a specific subgraph. Accepts BOTH deployment ID (0x...) OR IPFS hash (Qm...). Try this first with either format.
queryByDeploymentId
Execute a GraphQL query against a specific deployment. Accepts BOTH deployment ID (0x...) OR IPFS hash (Qm...) format.
findTopDeployments
Find the top subgraph deployments indexing a specific contract on a particular chain
analyzeSubgraph
Get detailed analysis and statistics about a subgraph deployment. Accepts deployment ID (0x...) or IPFS hash (Qm...).
batchQuery
Execute multiple GraphQL queries in a single request
getHistoricalData
Query historical data with time-travel queries
exportQueryResults
Export query results in various formats
getDeployment30DayQueryCounts
Get the aggregate query count over the last 30 days for multiple subgraph deployments. CRITICAL: Always use this to verify subgraph activity before querying.
The Graph