Coach Watts Public API

The Public API from Coach Watts — 7 operation(s) for public.

GitHub OpenAPI

Operations 7

GET /api/share/{token} Get shared resource #
GET /api/share/chat/{token} Get public chat #
GET /api/share/workouts/{token} Get public workout #
GET /api/share/workouts/{token}/image Get workout share image #
GET /api/share/workouts/{token}/intervals Get public workout intervals #
GET /api/share/workouts/{token}/power-curve Get public power curve #
GET /api/share/workouts/{token}/streams Get public workout streams #

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/coachwatts-com:coachwatts-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

coachwatts-com-public-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Coachwatts Com Public API
  version: 0.5.25
  description: 'Operations tagged Public across 2 of this provider''s published API definitions: coachwatts-com-openapi.json, coachwatts-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://coachwatts.com
  description: Local Development Server
  variables: {}
tags:
- name: Public
paths:
  /api/share/{token}:
    get:
      tags:
      - Public
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  resourceType:
                    type: string
                  data:
                    type: object
                  user:
                    type: object
                    properties:
                      name:
                        type: string
                        nullable: true
                      image:
                        type: string
                        nullable: true
        '404':
          description: Share link not found or expired
      summary: Get shared resource
      description: Returns details of a shared resource via token.
      inputSchema:
      - name: token
        in: path
        required: true
        schema:
          type: string
      operationId: getApiShareByToken
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/share/chat/{token}:
    get:
      tags:
      - Public
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                    nullable: true
                  messages:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        role:
                          type: string
                        content:
                          type: string
                        createdAt:
                          type: string
                          format: date-time
                  user:
                    type: object
                    properties:
                      name:
                        type: string
                        nullable: true
                      image:
                        type: string
                        nullable: true
        '404':
          description: Chat not found or link invalid
      summary: Get public chat
      description: Returns messages of a publicly shared chat room via token.
      inputSchema:
      - name: token
        in: path
        required: true
        schema:
          type: string
      operationId: getApiShareChatByToken
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/share/workouts/{token}:
    get:
      tags:
      - Public
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  title:
                    type: string
                  date:
                    type: string
                    format: date-time
                  user:
                    type: object
                    properties:
                      name:
                        type: string
                        nullable: true
                      image:
                        type: string
                        nullable: true
        '404':
          description: Workout not found or link invalid
      summary: Get public workout
      description: Returns details of a publicly shared workout via token.
      inputSchema:
      - name: token
        in: path
        required: true
        schema:
          type: string
      operationId: getApiShareWorkoutsByToken
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/share/workouts/{token}/image:
    get:
      tags:
      - Public
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            image/png:
              schema:
                type: string
                format: binary
        '404':
          description: Workout not found
      summary: Get workout share image
      description: Generates and returns a PNG image for a shared workout.
      inputSchema:
      - name: token
        in: path
        required: true
        schema:
          type: string
      operationId: getApiShareWorkoutsByTokenImage
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/share/workouts/{token}/intervals:
    get:
      tags:
      - Public
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  hasData:
                    type: boolean
                  detectionMetric:
                    type: string
                    nullable: true
                  intervals:
                    type: array
                  peaks:
                    type: object
                  advanced:
                    type: object
        '404':
          description: Workout not found or link invalid
      summary: Get public workout intervals
      description: Detects and analyzes intervals for a publicly shared workout.
      inputSchema:
      - name: token
        in: path
        required: true
        schema:
          type: string
      operationId: getApiShareWorkoutsByTokenIntervals
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/share/workouts/{token}/power-curve:
    get:
      tags:
      - Public
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  hasPowerData:
                    type: boolean
                  powerCurve:
                    type: array
                    items:
                      type: object
                      properties:
                        duration:
                          type: integer
                        power:
                          type: number
                  summary:
                    type: object
                    properties:
                      peak5s:
                        type: number
                      peak20min:
                        type: number
                      estimatedFTP:
                        type: number
                        nullable: true
        '404':
          description: Workout not found or link invalid
      summary: Get public power curve
      description: Calculates the power curve for a publicly shared workout.
      inputSchema:
      - name: token
        in: path
        required: true
        schema:
          type: string
      operationId: getApiShareWorkoutsByTokenPowerCurve
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/share/workouts/{token}/streams:
    get:
      tags:
      - Public
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  workoutId:
                    type: string
                  time:
                    type: array
                  watts:
                    type: array
                  heartrate:
                    type: array
                  cadence:
                    type: array
        '404':
          description: Workout not found or link invalid
      summary: Get public workout streams
      description: Returns stream data for a publicly shared workout.
      inputSchema:
      - name: token
        in: path
        required: true
        schema:
          type: string
      operationId: getApiShareWorkoutsByTokenStreams
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
x-refined-from:
- coachwatts-com-openapi.json
- coachwatts-com-openapi.yml