{
 "kind": "api",
 "slug": "the-graph",
 "path": "apis/the-graph/",
 "name": "The Graph",
 "logo": "https://agentgid.com/media/avatars/graphprotocol.png",
 "maker": "Edge & Node / The Graph Foundation",
 "density": "basic",
 "crumbs": [
  [
   "APIs",
   "apis/"
  ],
  [
   "Crypto market and on-chain data",
   "apis/crypto-data/"
  ]
 ],
 "lead": "Decentralized indexing protocol: GraphQL query API over subgraphs for 60+ networks, billed per query.",
 "chips": [
  {
   "label": "Crypto market and on-chain data",
   "path": "apis/crypto-data/"
  },
  {
   "label": "Official MCP server"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @graphprotocol/graph-cli"
 },
 "links": [
  {
   "label": "Website",
   "href": "https://thegraph.com"
  },
  {
   "label": "Pricing",
   "href": "https://thegraph.com/studio-pricing/"
  },
  {
   "label": "GitHub",
   "href": "https://github.com/graphprotocol/graph-node"
  }
 ],
 "track": "Outages, price changes and new versions on your dashboard",
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Open source",
   "status": "yes",
   "sub": "Run it yourself for free",
   "quote": null,
   "note": "Free tier: 100,000 free queries per month. As reported on the official pricing page, checked Oct 20, 2026.",
   "src": "https://thegraph.com/studio-pricing/"
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": "Read the terms before you ship",
   "note": "We have not read this API's terms yet. Until we do, check its terms of service for commercial use and whether it trains on what you send.",
   "src": "https://thegraph.com"
  },
  {
   "key": "key",
   "label": "Key & sign-up",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": null,
   "note": "We have not read how this API signs you up and issues keys yet.",
   "src": "https://thegraph.com"
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Official MCP server",
   "status": "yes",
   "sub": "llms.txt · SDK",
   "quote": null,
   "note": " Our agent check: 4 of 6 (Nov 13, 2026).",
   "src": "https://thegraph.com/llms.txt"
  }
 ],
 "vfoot": "Checked against the maker's official pages, pricing on Oct 20, 2026.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What The Graph does",
   "parts": [
    {
     "t": "prose",
     "text": "Decentralized indexing protocol: GraphQL query API over subgraphs for 60+ networks, billed per query."
    },
    {
     "t": "list",
     "items": [
      "The Graph is one of 21 APIs in the Crypto market and on-chain data category on AgentGid.",
      "At $20 per 1,000 requests it is the 3rd cheapest of the 3 that publish a per-request price (cheapest: CoinGecko API, $0.5).",
      "It is one of 15 that can be started for free.",
      "It ships an official MCP server, like 14 others here.",
      "Its official SDK is the 3rd most downloaded in the category (36.1K a week)."
     ],
     "muted": true
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "The Graph popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "36.1K",
       "l": "SDK downloads a week",
       "d": null,
       "up": false
      },
      {
       "n": "5",
       "l": "public agent repos use its SDK"
      },
      {
       "n": "3,168",
       "l": "GitHub stars, graphprotocol/graph-node"
      }
     ]
    },
    {
     "t": "small",
     "text": "SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026."
    }
   ]
  },
  {
   "id": "pricing",
   "nav": "Pricing and limits",
   "h2": "Pricing",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Free tier",
       "v": "100,000 free queries per month"
      },
      {
       "l": "Cheapest plan",
       "v": "No monthly plan"
      },
      {
       "l": "Usage price",
       "v": "$2 per 100,000 queries after the free 100,000/month"
      }
     ]
    },
    {
     "t": "small",
     "text": "As reported on the official pricing page, checked Oct 20, 2026. Prices change: confirm before you buy.",
     "link": "thegraph.com/studio-pricing",
     "href": "https://thegraph.com/studio-pricing/"
    }
   ]
  },
  {
   "id": "agent",
   "nav": "For agents",
   "h2": "Use it from an agent",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Our agent check",
       "v": "4 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP yes, status page no, AI assistants allowed yes",
       "sub": "Checked Nov 13, 2026."
      },
      {
       "l": "MCP server",
       "v": "Official",
       "sub": null
      },
      {
       "l": "npm",
       "v": "npm install @graphprotocol/graph-cli",
       "code": true
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "The Graph",
       "me": true,
       "facts": [
        "$20 / 1k requests",
        "Free tier",
        "Official MCP"
       ]
      },
      {
       "name": "CoinGecko API",
       "why": "Crypto market prices, metadata and on-chain DEX data (GeckoTerminal) API.",
       "path": "apis/coingecko/",
       "facts": [
        "$0.5 / 1k requests",
        "Free tier",
        "Official MCP"
       ]
      },
      {
       "name": "Nansen API",
       "why": "On-chain analytics API: labeled addresses, Smart Money flows, token and wallet data across 35+ chains; REST, MCP and CLI.",
       "path": "apis/nansen/",
       "facts": [
        "$10 / 1k requests",
        "Free tier",
        "Official MCP"
       ]
      },
      {
       "name": "Dune API",
       "why": "SQL query engine and API over indexed on-chain data from 130+ chains.",
       "path": "apis/dune/",
       "facts": [
        "from $1.875 per 100 extra",
        "No free tier",
        "Official MCP"
       ]
      },
      {
       "name": "Pyth Network price feeds",
       "why": "Real-time crypto, equity, FX and commodity price feeds via the Hermes/Pyth Pro APIs and on-chain oracle updates.",
       "path": "apis/pyth-network/",
       "facts": [
        "from $500/month",
        "No free tier",
        "Official MCP"
       ]
      }
     ],
     "more": "All crypto market and on-chain data APIs",
     "more_path": "apis/crypto-data/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install the official SDK.",
     "code": "npm install @graphprotocol/graph-cli"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for The Graph yet: we have not written its hand-checked card. Its official docs are linked at the top."
    }
   ]
  }
 ],
 "glance": [
  [
   "Maker",
   "Edge & Node / The Graph Foundation"
  ],
  [
   "Category",
   "Crypto market and on-chain data"
  ],
  [
   "Price",
   "$20 / 1k requests"
  ],
  [
   "Official SDK",
   "npm @graphprotocol/graph-cli"
  ],
  [
   "Agent check",
   "4 of 6"
  ],
  [
   "Pricing checked",
   "Oct 20, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the official site and pricing page, checked Oct 20, 2026; no hand-checked card yet; usage numbers update daily."
}