freeapis

The Graph

Indexing protocol for querying networks like Ethereum with GraphQL

Authentication
API Key
HTTPS
Yes
CORS
Unknown
Category
Blockchain
Documentation / URL
https://thegraph.com

Overview

The Graph provides indexed blockchain data via GraphQL — key-based (an invalid key returns HTTP 200 with an auth error, verified).

Quick Start

Subgraph query (replace YOUR_KEY):

curl "https://gateway.thegraph.com/api/YOUR_KEY/subgraphs/id/SUBGRAPH_ID" \
  -H "Content-Type: application/json" \
  -d '{"query":"{ __schema { types { name } } }"}'
{ "errors": [ { "message": "auth error: malformed API key" } ] }

Authentication

  • Register at thegraph.com → API key.
  • Send it in the path (/api/KEY/) or header.

⚠️ Gotcha (verified): an invalid key returns HTTP 200 with an errors array — check errors.

Rate Limits & Notes

  • Free tier with limits (check the docs).
  • Subgraph queries.

FAQ

Is The Graph free? Free tier with limits; more is paid.

Why 200 with an error? Invalid keys return 200 + errors (verified) — check errors.

What’s the auth style? API key in path.

More in Blockchain

APIAuthHTTPSCORS
Bitquery

Onchain GraphQL APIs & DEX APIs

API KeyYesYes
Blockscout

Multichain block explorer REST API (with Etherscan-compatible JSON-RPC)

API KeyYesNo
Chainlink

Build hybrid smart contracts with Chainlink

No authYesUnknown
Chainpoint

Chainpoint is a global network for anchoring data to the Bitcoin blockchain

No authYesUnknown
ClearTrace

Cross-frontend DEX attribution and execution quality data across Ethereum and L2s

No authYesYes