MoveMentors Classes API

The Classes API from MoveMentors — 1 operation(s) for classes.

GitHub OpenAPI

Operations 2

GET /api/classes Browse upcoming class sessions #
POST /api/classes Create a class (mentor or studio) #

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/movementors-com:movementors-com-classes-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

movementors-com-classes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MoveMentors Classes API
  version: 1.0.0
  description: 'HTTP API for MoveMentors, the directory and booking platform for independent movement teachers and small studios.


    **Public API v1** (`/api/v1`, tag "Public API v1"): read-only, no authentication. Find mentors, studios and upcoming classes. Guide: https://movementors.com/developers


    **Errors**: every error is `application/problem+json` (RFC 9457) with a stable `code` and a `hint`.


    **Rate limits**: 100 requests per minute per IP ("burst") plus 5,000 per day on list endpoints ("daily"). Every response carries `RateLimit-Policy` and `RateLimit` (draft-ietf-httpapi-ratelimit-headers) plus `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset`; a 429 adds `Retry-After`.


    **Versioning**: the major version is in the path (/api/v1). Additive changes ship in place; breaking changes ship as a new version. A deprecated version answers with `Deprecation` (RFC 9745) and `Sunset` (RFC 8594) headers at least 6 months before it is switched off.


    **Authenticated endpoints** (mobile + web clients): Bearer token from POST /api/auth/token, or the HttpOnly NextAuth session cookie. Agents that need to act for a user should use the MCP server at /api/mcp with OAuth 2.1.'
  contact:
    name: MoveMentors engineering
    url: https://movementors.com/developers
  x-api-lifecycle:
    versioning: url-path
    current: v1
    versions:
      v1:
        status: stable
        deprecatedAt: null
        sunsetAt: null
    deprecationNoticeMonths: 6
    deprecationSignals:
    - Deprecation header (RFC 9745)
    - Sunset header (RFC 8594)
    - Link rel=deprecation
servers:
- url: https://movementors.com
  description: Production
- url: http://localhost:3000
  description: Local development
tags:
- name: Classes
paths:
  /api/classes:
    get:
      tags:
      - Classes
      summary: Browse upcoming class sessions
      description: 'Per-occurrence: each ClassSchedule row becomes one card so a recurring class shows multiple results. Public; no auth required.'
      parameters:
      - schema:
          type: string
        required: false
        name: q
        in: query
      - schema:
          type: string
        required: false
        name: city
        in: query
      - schema:
          type: string
        required: false
        name: category
        in: query
      - schema:
          type: string
          enum:
          - PRIVATE
          - GROUP
        required: false
        name: type
        in: query
      - schema:
          type: string
        required: false
        name: date
        in: query
      - schema:
          type: string
          minLength: 2
          maxLength: 2
        required: false
        name: lang
        in: query
      - schema:
          type: string
        required: false
        name: teacher
        in: query
      - schema:
          type: integer
          minimum: 1
        required: false
        name: page
        in: query
      - schema:
          type: integer
          minimum: 1
          maximum: 50
        required: false
        name: limit
        in: query
      responses:
        '200':
          description: Class feed
          content:
            application/json:
              schema:
                type: object
                properties:
                  classes:
                    type: array
                    items:
                      nullable: true
                  pagination:
                    type: object
                    properties:
                      page:
                        type: integer
                      limit:
                        type: integer
                      total:
                        type: integer
                      totalPages:
                        type: integer
                    required:
                    - page
                    - limit
                    - total
                    - totalPages
                required:
                - classes
                - pagination
      operationId: getApiClasses
      x-operation-id-source: derived
    post:
      tags:
      - Classes
      summary: Create a class (mentor or studio)
      description: Creator is derived from session.user.type. Optional coOwner attach for cross-listing.
      security:
      - BearerAuth: []
      - CookieAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  minLength: 2
                description:
                  type: string
                  minLength: 100
                  maxLength: 1000
                classTypeIds:
                  type: array
                  items:
                    type: string
                  minItems: 1
                location:
                  nullable: true
                priceCents:
                  type: integer
                  minimum: 0
                currency:
                  type: string
                  default: USD
                capacity:
                  type: integer
                  minimum: 1
                durationMinutes:
                  type: integer
                  minimum: 15
                coverImageUrl:
                  type: string
                  format: uri
                languages:
                  type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 5
                coOwner:
                  type: object
                  nullable: true
                  properties:
                    type:
                      type: string
                      enum:
                      - TEACHER
                      - STUDIO
                      - CUSTOM_MENTOR
                  required:
                  - type
              required:
              - title
              - description
              - classTypeIds
              - priceCents
              - capacity
              - durationMinutes
              - coverImageUrl
              - languages
      responses:
        '201':
          description: Class created
          content:
            application/json:
              schema:
                type: object
                properties:
                  class:
                    nullable: true
                  currencyWarning:
                    type: object
                    nullable: true
                    properties:
                      stripeAccountCurrency:
                        type: string
                      classCurrency:
                        type: string
                    required:
                    - stripeAccountCurrency
                    - classCurrency
                required:
                - currencyWarning
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postApiClasses
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
      description: Standard error response
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Short-lived access token (15 min) obtained from POST /api/auth/token. Refresh via POST /api/auth/token/refresh.
    CookieAuth:
      type: apiKey
      in: cookie
      name: authjs.session-token
      description: NextAuth HttpOnly session cookie. Web-only; mobile clients should use BearerAuth instead.
externalDocs:
  description: Public API guide
  url: https://movementors.com/developers