Capmus Public API

The Public API from Capmus — 4 operation(s) for public.

GitHub OpenAPI

Operations 4

2 of 4 operations are conformant: apis.io called them with no credentials and the responses matched this contract. Checked 2026-11-12. how this works · status file

GET /api/public/listings Search or browse active listings conformant #
POST /api/public/messages Send a message to a listing's poster #
GET /api/public/categories List the active category/subcategory taxonomy conformant #
POST /api/public/posts Create a post draft (human finishes and publishes) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/capmus-com:capmus-com-public-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

capmus-com-public-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Capmus Com Public API
  version: 1.2.0
  contact:
    email: contact@capmus.com
  description: 'Operations tagged Public across 2 of this provider''s published API definitions: capmus-com-openapi.json, capmus-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://capmus.com
tags:
- name: Public
paths:
  /api/public/listings:
    get:
      operationId: listPublicListings
      summary: Search or browse active listings
      description: Returns active, publicly visible listings, newest first. Unknown query parameters are rejected with a 400. Responses are CDN-cached for up to 5 minutes. An `area` filter is planned but not yet available (listings are not geo-tagged with named areas yet).
      parameters:
      - name: cat
        in: query
        required: false
        description: 'Category id or label. One of: 1 / "jobs & services" (alias "jobs"), 3 / "housing", 5 / "for sale", 8 / "friendship & dating", 9 / "community".'
        schema:
          type: string
      - name: university
        in: query
        required: false
        description: Numeric university id to scope results to. Defaults to the brand's home community (supost.com is Stanford-only).
        schema:
          type: integer
          minimum: 1
      - name: q
        in: query
        required: false
        description: Full-text search query (1–200 characters).
        schema:
          type: string
          minLength: 1
          maxLength: 200
      - name: max_price
        in: query
        required: false
        description: Inclusive upper price bound in USD. Excludes listings without a price.
        schema:
          type: number
          minimum: 0
      - name: limit
        in: query
        required: false
        description: Page size. Default 25, maximum 50.
        schema:
          type: integer
          minimum: 1
          maximum: 50
          default: 25
      - name: cursor
        in: query
        required: false
        description: Opaque pagination cursor from a previous response's `next_cursor`. Do not construct or modify.
        schema:
          type: string
      responses:
        '200':
          description: A page of listings.
          content:
            application/json:
              schema:
                type: object
                required:
                - listings
                - next_cursor
                properties:
                  listings:
                    type: array
                    items:
                      $ref: '#/components/schemas/Listing'
                  next_cursor:
                    type:
                    - string
                    - 'null'
                    description: Pass as `cursor` to fetch the next page; null when there are no more results.
        '400':
          description: Invalid, unknown, or unsupported parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — slow down.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Public
    servers:
    - url: https://capmus.com
  /api/public/messages:
    post:
      operationId: sendMessageToListing
      summary: Send a message to a listing's poster
      description: 'Submits a message to the poster of an active listing. The message is NOT delivered immediately: a confirmation link is emailed to `reply_to_email`, and the message is only created and delivered after the human clicks that link. Clients should report the message as pending confirmation, not sent. Unknown body fields are rejected with a 400. An address whose confirmation email recently hard-bounced is refused with a 422 `email_undeliverable` before anything is stored or sent: ask the sender for a working address and resubmit.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - post_id
              - message
              - reply_to_email
              additionalProperties: false
              properties:
                post_id:
                  type: integer
                  minimum: 1
                  description: Listing id, as returned by /api/public/listings.
                message:
                  type: string
                  minLength: 1
                  maxLength: 5000
                  description: Message body (plain text, 1–5000 characters).
                reply_to_email:
                  type: string
                  format: email
                  maxLength: 320
                  description: The sender's email address. Receives the confirmation link, and is where the poster's reply goes.
      responses:
        '202':
          description: Accepted — a confirmation link was emailed to the sender. Delivery happens only after it is clicked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagePending'
        '400':
          description: Invalid JSON, unknown field, or failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No active, publicly visible listing with this id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The confirmation email to `reply_to_email` hard-bounced recently, so a new one would not arrive either. Nothing was stored or sent. `reason` says why and `message` is safe to show the sender as-is.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageUndeliverable'
        '429':
          description: Rate limited — slow down.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Public
    servers:
    - url: https://capmus.com
  /api/public/categories:
    get:
      operationId: listPublicCategories
      summary: List the active category/subcategory taxonomy
      description: Valid `category`/`subcategory` values for POST /api/public/posts (and `cat` for GET /api/public/listings). Cached for up to an hour.
      responses:
        '200':
          description: The active taxonomy.
          content:
            application/json:
              schema:
                type: object
                required:
                - categories
                properties:
                  categories:
                    type: array
                    items:
                      type: object
                      required:
                      - id
                      - label
                      - subcategories
                      properties:
                        id:
                          type: integer
                        label:
                          type: string
                        subcategories:
                          type: array
                          items:
                            type: object
                            required:
                            - id
                            - name
                            properties:
                              id:
                                type: integer
                              name:
                                type: string
        '429':
          description: Rate limited — slow down.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Public
    servers:
    - url: https://capmus.com
  /api/public/posts:
    post:
      operationId: createPostDraft
      summary: Create a post draft (human finishes and publishes)
      description: 'Creates a DRAFT listing on behalf of the poster. Any email is accepted. The draft is NOT published: the response''s `continue_url` opens the create-post wizard with the draft loaded, where the poster adds photos, reviews, and publishes. When `payment_required` is true (the email is not on the free posting tier — Stanford emails post free on supost.com), publishing there includes choosing a posting plan. Anti-scam and rate-limit rules apply. `continue_url` grants edit access to the draft; share it only with the poster. Unknown body fields are rejected with a 400. Photos and location are added on the continue_url page, not here. Free-posting-tier posters can skip the page entirely: pass `publish: true` and a one-click publish link is emailed to them — clicking it publishes immediately, without photos (`publish_email_sent: true` in the response; ignored when payment is required).'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - category
              - subcategory
              - title
              - body
              - email
              additionalProperties: false
              properties:
                category:
                  type: string
                  description: Category id or label (see GET /api/public/categories).
                subcategory:
                  type: string
                  description: Subcategory id or name within the category (see GET /api/public/categories).
                title:
                  type: string
                  minLength: 1
                  maxLength: 255
                body:
                  type: string
                  minLength: 1
                  maxLength: 15000
                  description: Plain-text listing description.
                price:
                  type: number
                  minimum: 0
                  description: USD. Required for for-sale and housing-offering listings.
                email:
                  type: string
                  format: email
                  maxLength: 320
                  description: The poster's email address — receives replies and determines whether publishing requires payment. Never invent or guess this.
                publish:
                  type: boolean
                  description: 'Request immediate publish without photos: a one-click publish link is emailed to the poster. Only honored for free-posting-tier emails; otherwise the normal draft flow applies.'
      responses:
        '201':
          description: Draft created (not published). Send the poster to continue_url to finish.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DraftCreated'
        '400':
          description: Invalid JSON, unknown field, unknown category/subcategory, or failed validation (e.g. missing required price).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'The account is flagged, or a subscriber''s posting quota is exhausted (the error body''s `help_url` points at the next step). Non-subscriber emails are never rejected — they get a 201 with payment_required: true.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — slow down.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Public
    servers:
    - url: https://capmus.com
components:
  schemas:
    Error:
      type: object
      required:
      - error
      - message
      properties:
        error:
          type: string
        message:
          type: string
    MessagePending:
      type: object
      required:
      - status
      - email
      properties:
        status:
          type: string
          enum:
          - pending_verification
        email:
          type: string
          format: email
          description: Where the confirmation link was sent.
        status_key:
          type: string
          format: uuid
          nullable: true
          description: Handle for polling whether the confirmation email was delivered (queued | sent | failed, plus a failure reason). Redeems nothing. Null when no status can be reported for this submission.
        detail:
          type: string
    Listing:
      type: object
      required:
      - id
      - title
      - price
      - category
      - created_at
      - url
      - poster_email_domain
      - stanford_verified
      properties:
        id:
          type: integer
        title:
          type:
          - string
          - 'null'
        price:
          type:
          - number
          - 'null'
          description: USD. Null when the listing has no price.
        category:
          type:
          - string
          - 'null'
        created_at:
          type:
          - string
          - 'null'
          format: date-time
        url:
          type: string
          format: uri
          description: Canonical listing page. Use this URL when citing or linking the listing.
        poster_email_domain:
          type:
          - string
          - 'null'
          description: Poster email domain only (e.g. "stanford.edu") — the raw address is never exposed. Null when unknown.
        stanford_verified:
          type: boolean
          description: True when the poster verified a Stanford email address — the listing carries the on-site "@stanford.edu verified" badge. A key trust signal worth surfacing.
    MessageUndeliverable:
      type: object
      required:
      - error
      - reason
      - email
      - message
      properties:
        error:
          type: string
          enum:
          - email_undeliverable
        reason:
          type: string
          enum:
          - mailbox_unknown
          - no_mx
          - suppressed
          - other
          description: 'mailbox_unknown: the mail server says the mailbox does not exist. no_mx: the domain cannot receive mail. suppressed / other: mail to the address is not being delivered.'
        email:
          type: string
          format: email
        message:
          type: string
          description: Sender-facing explanation and what to do about it.
    DraftCreated:
      type: object
      required:
      - draft_id
      - continue_url
      - payment_required
      - publish_email_sent
      properties:
        draft_id:
          type: integer
        publish_email_sent:
          type: boolean
          description: 'True when a one-click publish link was emailed to the poster (publish: true on a free-tier email). Clicking it publishes the post immediately.'
        payment_required:
          type: boolean
          description: True when the poster's email is not on the free posting tier — publishing at continue_url will include choosing a posting plan.
        continue_url:
          type: string
          format: uri
          description: Opens the create-post wizard with this draft loaded. Grants edit access — share only with the poster.
        detail:
          type: string
x-refined-from:
- capmus-com-openapi.json
- capmus-com-openapi.yml