# Hashnode GraphQL API

**Canonical:** https://apis.io/apis/hashnode/hashnode-graphql-api/  
**Provider:** Hashnode — https://apis.io/providers/hashnode/  
**Base URL:** https://gql-beta.hashnode.com  
**Documentation:** https://github.com/Hashnode/gql-skill

Hashnode GraphQL API is published by [Hashnode](https://apis.io/providers/hashnode/) on the [APIs.io](https://apis.io/) network. Tagged areas include GraphQL, Blogging, Posts, Publications, and Drafts. The published artifact set on APIs.io includes API documentation, an API reference, a getting-started guide, authentication docs, rate-limit docs, and a JSON-LD context.

The Hashnode Public API is a GraphQL API that queries publication data, manages posts and drafts, and creates content via mutations. All requests are POSTed to a single endpoint at https://gql-beta.hashnode.com. Introspection is enabled and anonymous, so the SDL is the published contract - 123 types, 13 root queries and 9 root mutations. Anonymous public reads (post, feed, user, tag) require no token; publication-scoped reads and all mutations require a Personal Access Token and an active Pro plan on the target publication. The legacy endpoint gql.hashnode.com now returns HTTP 301 to a deprecation notice.

## Machine-readable artifacts (16)

- **GraphQL** — https://raw.githubusercontent.com/api-evangelist/hashnode/refs/heads/main/graphql/hashnode-gql-api.graphql
- **GraphQLManifest** — https://raw.githubusercontent.com/api-evangelist/hashnode/refs/heads/main/graphql/hashnode-graphql.yml
- **Documentation** — https://github.com/Hashnode/gql-skill/tree/main/skills/gql-api
- **APIReference** — https://github.com/Hashnode/gql-skill/blob/main/skills/gql-api/references/queries.md
- **GettingStarted** — https://github.com/Hashnode/gql-skill#using-the-api-directly
- **Authentication** — https://raw.githubusercontent.com/api-evangelist/hashnode/refs/heads/main/authentication/hashnode-authentication.yml
- **Conventions** — https://raw.githubusercontent.com/api-evangelist/hashnode/refs/heads/main/conventions/hashnode-conventions.yml
- **ErrorCatalog** — https://raw.githubusercontent.com/api-evangelist/hashnode/refs/heads/main/errors/hashnode-error-codes.yml
- **DataModel** — https://raw.githubusercontent.com/api-evangelist/hashnode/refs/heads/main/data-model/hashnode-data-model.yml
- **RateLimits** — https://raw.githubusercontent.com/api-evangelist/hashnode/refs/heads/main/rate-limits/hashnode-rate-limits.yml
- **Webhooks** — https://raw.githubusercontent.com/api-evangelist/hashnode/refs/heads/main/asyncapi/hashnode-webhooks.yml
- **AgentSkill** — https://raw.githubusercontent.com/api-evangelist/hashnode/refs/heads/main/skills/_index.yml
- **GitHubOrg** — https://github.com/Hashnode
- **StarterKit** — https://github.com/Hashnode/starter-kit
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/hashnode/refs/heads/main/json-ld/hashnode.json
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/hashnode/refs/heads/main/apis.yml

## Tags

GraphQL, Blogging, Posts, Publications, Drafts, Comments, Series, Tags

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/hashnode/hashnode-graphql-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/hashnode/.
