Uniswap v3 Subgraph + SDK

Provides GraphQL query access to Uniswap v3 on-chain data via The Graph subgraph, plus a JavaScript SDK for computing prices, routes, and executing swaps directly on Ethereum and L2 networks.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Repo ↗ Finance defi ethereum amm graphql subgraph on-chain uniswap web3 sdk
⚙ Agent Friendliness
46
/ 100
Can an agent use this?
🔒 Security
69
/ 100
Is it safe for agents?
⚡ Reliability
65
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
0
Documentation
74
Error Messages
62
Auth Simplicity
45
Rate Limits
60

🔒 Security

TLS Enforcement
100
Auth Strength
70
Scope Granularity
40
Dep. Hygiene
68
Secret Handling
65

No centralized auth surface (trustless by design); private key management for on-chain signing is agent's responsibility — significant security burden; smart contract audit history strong for core protocol

⚡ Reliability

Uptime/SLA
65
Version Stability
72
Breaking Changes
68
Error Recovery
55
AF Security Reliability

Best When

Building DeFi agents or analytics tools that need trustless, decentralized pool data and programmable on-chain swap execution without relying on a centralized exchange.

Avoid When

Low-latency trading requiring sub-second execution, or when gas cost predictability is essential — on-chain transactions have variable fee markets.

Use Cases

  • Querying historical liquidity pool data, swap volumes, and fee revenue
  • Building DeFi analytics dashboards for Uniswap pool performance
  • Computing optimal swap routes via the SDK before on-chain execution
  • Monitoring liquidity position health and fee accrual for LP agents
  • Aggregating DEX market data without a centralized exchange dependency

Not For

  • Real-time tick-level trade execution (subgraph has indexing lag)
  • Custodial exchange workflows — requires user wallet/signing capability
  • Non-EVM blockchain networks
  • Simple fiat-to-crypto on-ramp use cases

Interface

REST API
No
GraphQL
Yes
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
No

Authentication

Methods: none
OAuth: No Scopes: No

Public subgraph queries require no API key for hosted service; The Graph Network queries may require GRT token or API key depending on subgraph deployment. On-chain SDK interactions require a funded Ethereum wallet/signer — no traditional auth.

Pricing

Model: free
Free tier: Yes
Requires CC: No

Subgraph queries are free or low-cost via The Graph; on-chain swap execution requires ETH/L2 gas fees which are highly variable

Agent Metadata

Pagination
offset
Idempotent
No
Retry Guidance
Not documented

Known Gotchas

  • Subgraph data has indexing lag (typically 1-5 minutes behind chain head) — not suitable for real-time trading signals
  • On-chain transactions require gas estimation and may fail due to slippage or price movement
  • Transaction reverts do not return informative errors without manual ABI decoding
  • The Graph hosted service is being deprecated in favor of decentralized network — endpoint stability risk
  • SDK requires ethers.js or viem — web3 library dependency adds significant complexity
  • Ethereum mainnet gas fees can make small trades economically unviable
  • No native retry or idempotency — agents must implement tx receipt polling and stuck-tx handling
  • Pool addresses differ across chains (Mainnet, Arbitrum, Optimism, Polygon) — agents must manage chain-specific config

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Uniswap v3 Subgraph + SDK.

$99

Scores are editorial opinions as of 2026-03-06.

5190
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered