{"id":18492926,"url":"https://github.com/graphprotocol/query-examples","last_synced_at":"2026-01-22T05:33:47.583Z","repository":{"id":230152044,"uuid":"778611260","full_name":"graphprotocol/query-examples","owner":"graphprotocol","description":"Provides examples of how to query Subgraphs published to The Graph Network in a variety of frameworks/languages","archived":false,"fork":false,"pushed_at":"2025-03-06T15:01:54.000Z","size":647,"stargazers_count":15,"open_issues_count":4,"forks_count":13,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-03-06T16:21:35.887Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graphprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-28T03:36:53.000Z","updated_at":"2025-03-04T16:02:38.000Z","dependencies_parsed_at":"2024-03-28T05:37:39.022Z","dependency_job_id":"41764bae-46ee-47ad-b77b-b9a34a980749","html_url":"https://github.com/graphprotocol/query-examples","commit_stats":null,"previous_names":["graphprotocol/query-examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/graphprotocol/query-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fquery-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fquery-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fquery-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fquery-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphprotocol","download_url":"https://codeload.github.com/graphprotocol/query-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fquery-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28656289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T13:11:50.288Z","updated_at":"2026-01-22T05:33:47.569Z","avatar_url":"https://github.com/graphprotocol.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Graph Protocol - Query Examples\n\nProvides examples on how to query Subgraphs published to [The Graph Network](https://thegraph.com/) using API Keys.\n\n## Obtaining an API Key\n\nAn API Key will be needed to query Subgraphs published to The Graph Network. Users are offered 100,000 free queries every month to query Subgraphs.\n\n1. Open [The Graph Studio](https://thegraph.com/studio/)\n2. Connect your Wallet\n3. Navigate to [API Keys Page](https://thegraph.com/studio/apikeys/)\n4. Click, \"Create API Key\" CTA\n5. Enter a Name for the API Key in the pane input\n6. Click \"Create API Key\" submit button\n7. API Key Details page will open\n8. Copy the key value. Will be a 32-digit key.\n\n## Examples\n\n- [ReactJS](./examples/reactjs/)\n- [NextJS app router](./examples/nextjs-app-router/)\n- [NextJS pages router](./examples/nextjs-pages-router/)\n- [Remix](./examples/remix/)\n- [VueJS](./examples/vuejs/)\n- [Nuxt (SSR Vue)](./examples/nuxt/)\n- [SvelteKit](./examples/sveltejs/)\n- [NodeJS Fastify](./examples/nodejs-fastify/)\n- [NodeJS CloudFlare Worker](./examples/nodejs-cf-worker/)\n- [NodeJS CLI](./examples/nodejs-cli/)\n- [cURL](./examples/curl/)\n- [Python CLI](./examples/python-cli/)\n- [Python FastAPI](./examples/python-fastapi/)\n- [Golang API](./examples/golang_api/)\n\n## Additional Resources\n\n- [Querying Best Practices](https://thegraph.com/docs/en/querying/querying-best-practices/)\n- [Managing API Keys](https://thegraph.com/docs/en/querying/managing-api-keys/)\n- [Querying from an app](https://thegraph.com/docs/en/querying/querying-from-an-application/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphprotocol%2Fquery-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphprotocol%2Fquery-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphprotocol%2Fquery-examples/lists"}