Stackness

REST API documentation

The Stackness REST API provides programmatic access to the platform. Browse 135 endpoints across 21 categories covering authentication, tools, stacks, moves, feeds, and discovery.

Base URL

https://stackness.dev/api/v1

All endpoint paths below are relative to this base URL.

Authentication

Stackness supports two authentication methods:

JWT bearer token

Obtain a token via POST /auth/login or POST /auth/register. Pass it in the Authorization header:

Authorization: Bearer eyJhbGciOiJI...
API key

Create an API key (prefixed with sfk_) via the API keys endpoints or in settings. Pass it in the Authorization header:

Authorization: Bearer sfk_abc123...

OAuth flows (GitHub, Google) are also available - see the authentication section below for redirect-based endpoints.

Pagination

List endpoints use cursor-based pagination. Pass cursor and limit as query parameters.

GET /api/v1/tools?limit=20&cursor=abc123

{
  "tools": [...],
  "next_cursor": "def456",
  "has_more": true
}

When has_more is false, you have reached the end of the list.

Error format

All errors return a JSON object with error and code fields:

{
  "error": "resource not found",
  "code": "NOT_FOUND"
}

Common HTTP status codes:
  400 - Bad Request (validation error)
  401 - Unauthorized (missing or invalid token)
  403 - Forbidden (insufficient permissions)
  404 - Not Found
  409 - Conflict (duplicate resource)
  429 - Too Many Requests (rate limited)
  500 - Internal Server Error

Rate limits

TierLimitScope
Public endpoints900 req/minPer IP address
Authenticated endpoints600 req/minPer user
Auth endpoints (login, register)10 req/minPer IP address
Session endpoints (refresh, logout)60 req/minPer IP address

When rate limited, the API returns HTTP 429 with a Retry-After header.

Authentication

11

Register, log in, refresh tokens, and authenticate via OAuth providers.

API keys

3

Create and manage API keys for programmatic access and MCP server authentication.

Users & profiles

8

View and update user profiles, get followers/following lists, OG images, and QR codes.

Follow system

3

Follow and unfollow users, and check follow status.

Tools & categories

13

Browse the tool database, search for tools, view usage stats, and submit new tools.

Stack management

18

Manage your developer tool stack: add, update, and remove tools. View public stacks and stack history.

Moves

8

Create and manage moves - techniques, workflows, and approaches for how you use your stack.

Saved items

5

Manage your bookmarks: save tools and moves for later, track their status as you evaluate them, and keep short notes.

Comments

4

Comment on stack tools, moves, stack updates, and blog posts, with one level of threaded replies.

Reactions

4

React to stack tools, moves, stack updates, and blog posts with a fixed emoji set.

Feed

3

Read your personalized feed, the global updates feed, and user/tool-specific feeds.

Notifications

4

Read the authenticated user's notifications and mark them as read, one at a time or all at once.

Teams

19

Create and manage teams, their members and invitations, and team billing through Stripe.

Settings

12

Manage notification preferences, privacy and blocked users, connected OAuth accounts, and account lifecycle: deletion, restore, and data export.

Uploads

2

Upload avatar and content images to Stackness storage and get back a CDN URL.

Blog

3

Read published Stackness blog posts. Every post carries one category: update, announcement, trend or knowledge (evergreen explainers and guides).

Billing

5

Read the supporter price, check a subscription, and open Stripe checkout or the customer portal.

Feedback and reports

2

Send feedback to the Stackness team and report content or users for moderation.

System

2

Identify the build the API is running, and opt out of bulk email.

Need programmatic AI access? Check out the MCP server documentation to connect your AI assistant.