API

Everything on the site is readable over a plain REST API at https://promptcommunity.dev/api/v1. No key is needed for reads; writes use the same session cookie as the site. Responses are JSON, the shapes match what the pages render, and the public API hides prompts that are marked noindex (unclaimed imports) until their author claims them.

curl "https://promptcommunity.dev/api/v1/search?q=turn+a+deposition+into+a+timeline&limit=3"
curl "https://promptcommunity.dev/api/v1/posts?sort=hot&limit=20"
curl "https://promptcommunity.dev/api/v1/posts/<slug>"
  • Rate limits: 60 searches a minute per address; reads are otherwise unmetered. Please identify your client in the User-Agent.
  • Licences travel with the data. Every prompt carries its licence (CC0 by default; imports keep the licence observed at the source). Keep attribution where a licence asks for it.
  • Export formats: /posts/{slug}/export/{skill|claude|cursor|mdc|command|agent|markdown} returns a post as a SKILL.md, a CLAUDE.md snippet, a legacy .cursorrules, a Cursor .mdc rule, a slash command, a sub-agent file, or Markdown.
  • Skills are installable without an account. npx skills add https://promptcommunity.dev/s/{slug} works through the Agent Skills discovery index at /.well-known/agent-skills/index.json; the zip at /s/{slug}.zip has SKILL.md at its root and a sha256 the installer verifies. Claude Code users can add the whole library once with claude plugin marketplace add https://promptcommunity.dev/.claude-plugin/marketplace.json and then claude plugin install {slug}@prompt-community. Nothing runs on install; bundled scripts and requested tools are listed on every skill page and in scan on /posts/{slug}.
  • Spec: OpenAPI 3 JSON (CORS-enabled, cached five minutes).
Loads Scalar from jsdelivr only when you click, so nothing third-party runs by default.

claims

  • POST/claimsClaim an imported profile

    JSON body

  • POST/claims/{claimId}/verifyRun the automatic verification checks

    claimId (path, required, string)

  • GET/claims/lookupFind an imported profile by GitHub login

    github (query, required, string)

  • POST/takedownsAsk for an imported prompt to be removed

    JSON body

comments

  • DELETE/comments/{commentId}Delete a comment

    commentId (path, required, string)

  • PATCH/comments/{commentId}Edit your comment

    commentId (path, required, string)JSON body

  • GET/posts/{postId}/commentsList comments

    postId (path, required, string)sort (query, string)

  • POST/posts/{postId}/commentsAdd a comment

    postId (path, required, string)JSON body

communities

  • GET/communitiesList communities
  • GET/communities/{slug}Get a community

    slug (path, required, string)

engagement

  • POST/comments/{commentId}/voteVote on a comment

    commentId (path, required, string)JSON body

  • POST/followsFollow or unfollow a user or community

    JSON body

  • POST/posts/{postId}/bookmarkToggle a bookmark

    postId (path, required, string)

  • POST/posts/{postId}/copyRecord a copy of the prompt

    postId (path, required, string)JSON body

  • POST/posts/{postId}/triedFile a Tried-it report

    postId (path, required, string)JSON body

  • POST/posts/{postId}/upvoteToggle an upvote

    postId (path, required, string)

  • POST/posts/{postId}/watchWatch or unwatch a prompt for new versions

    postId (path, required, string)

  • DELETE/tried/{reportId}Delete your Tried-it report

    reportId (path, required, string)

meta

  • GET/modelsList models
  • GET/site/statsPublic library counts
  • GET/tagsSuggest tags

    q (query, string)

  • GET/tags/{name}Tag with its prompt count

    name (path, required, string)

  • GET/tags/popularPopular tags

moderation

  • POST/mod/actTake a moderation action

    JSON body

  • GET/mod/logPublic moderation log

    cursor (query, string)

  • GET/mod/queueOpen reports
  • POST/reportsReport content

    JSON body

notifications

  • GET/notificationsList notifications

    cursor (query, string)

  • POST/notifications/readMark notifications read

    JSON body

  • GET/notifications/unreadUnread count

other

  • POST/claims/decide

    JSON body

  • POST/claims/mine
  • POST/claims/queue
  • POST/claims/requestReview

    JSON body

  • POST/claims/suggestions
  • POST/imports/items

    JSON body

  • POST/imports/retry

    JSON body

  • POST/imports/sources
  • POST/imports/unpublish

    JSON body

  • POST/search/admin/aliases/list
  • POST/search/admin/aliases/remove

    JSON body

  • POST/search/admin/aliases/upsert

    JSON body

  • POST/search/admin/redirects/list
  • POST/search/admin/redirects/remove

    JSON body

  • POST/search/admin/redirects/upsert

    JSON body

  • POST/search/admin/stats

    JSON body

  • POST/search/admin/synonyms/list
  • POST/search/admin/synonyms/remove

    JSON body

  • POST/search/admin/synonyms/upsert

    JSON body

  • POST/search/click

    JSON body

  • POST/takedowns/decide

    JSON body

  • POST/takedowns/list
  • POST/uploads/image

    JSON body

  • POST/users/onboard

    JSON body

  • POST/users/uploadAvatar

    JSON body

  • POST/watches/markViewed

    JSON body

posts

  • GET/postsList prompts

    sort (query, string)window (query, string)community (query, string)tag (query, string)model (query, string)author (query, string)kind (query, string)agent (query, string)following (query, boolean)bookmarks (query, boolean)cursor (query, string)limit (query, integer)

  • POST/postsPublish a prompt

    JSON body

  • DELETE/posts/{postId}Delete a prompt

    postId (path, required, string)

  • PUT/posts/{postId}Edit a prompt (creates a new version)

    postId (path, required, string)JSON body

  • POST/posts/{postId}/licenseChange the license of your own prompt

    postId (path, required, string)JSON body

  • GET/posts/{slug}Get a prompt by slug

    slug (path, required, string)

  • GET/posts/{slug}/bundleWhere to download a skill's zip, its digest, and the discovery index URL

    slug (path, required, string)

  • GET/posts/{slug}/export/{format}Export as SKILL.md, CLAUDE.md, .cursorrules, a Cursor .mdc rule, a slash command, an agent file or Markdown

    slug (path, required, string)format (path, required, string)

  • GET/posts/{slug}/fileOne bundled file as text

    slug (path, required, string)path (query, required, string)

  • GET/posts/{slug}/filesFiles bundled with a skill (paths, sizes, digests; small files inline)

    slug (path, required, string)

  • GET/posts/{slug}/installInstall commands and paths for every agent

    slug (path, required, string)

  • GET/posts/{slug}/relatedRelated prompts

    slug (path, required, string)limit (query, integer)

  • GET/posts/{slug}/tombstoneTombstone for a removed prompt

    slug (path, required, string)

  • GET/posts/kindsHow many published posts of each type, and installs in the last 30 days
  • POST/posts/similarFind near-duplicate prompts

    JSON body

  • GET/posts/trendingTrending prompts (real interactions, last 7 days) or the week's newest

    community (query, string)kind (query, string)limit (query, integer)

  • POST/versions/{versionId}/retractRetract a version with a reason

    versionId (path, required, string)JSON body

users

  • GET/badgesBadge catalog with holder counts
  • GET/badges/topMembers who earned the most points recently

    days (query, integer)limit (query, integer)

  • GET/meCurrent viewer
  • PATCH/meUpdate your profile

    JSON body

  • PATCH/me/prefsUpdate preferences

    JSON body

  • GET/users/{handle}Get a profile

    handle (path, required, string)

  • GET/users/{handle}/commentsA user's recent comments

    handle (path, required, string)

  • GET/users/{handle}/triedA user's Tried-it reports

    handle (path, required, string)