// public api · v1

Public API · GraphQL Explorer

Single endpoint. Typed schema. Generous free tier.

// query questions, users, communities — directly from your tools.

GraphiQL Playground
Interactive query editor with auto-completion, schema docs, and history.
Open GraphiQL playground
// endpoint
https://hacking.community/api/graphql
// curl
curl https://hacking.community/api/graphql \
  -H "Content-Type: application/json" \
  -d '{"query":"{ questions(limit:3){ qid title score } }"}'
// Sample query
query TopQuestions {
  questions(limit: 5, sort: "top") {
    qid
    title
    score
    answerCount
    tags
    authorUsername
  }
}
// schema highlights
questions(limit, sort, tag)
List recent or top-scoring questions
question(qid)
Single question by ID
users(limit, sort)
Top users by karma
user(username)
Public profile
subforums
All communities
subforum(slug)
Single community
// Rate limits
  • Anonymous: 60 req/min/IP
  • Authenticated (free): 240 req/min
  • Authenticated (Pro): 600 req/min

Generate an API key in /developer and pass it as Authorization: Bearer hc_pk_…

Need higher limits?
Sign up to generate API keys, register webhooks, and unlock 4× rate limits.
create free account
// install app

Install hacking.community for fast access, offline reading, and push notifications. No app store needed.