SEMIPRO Coach Event Demands API

The Event Demands API from SEMIPRO Coach — 1 operation(s) for event demands.

GitHub OpenAPI

Operations 2

GET /v1/event-demands Read Event Demand Intelligence capability metadata #
POST /v1/event-demands Analyse the demands of a cycling-event GPX #

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/semipro-coach:semipro-coach-event-demands-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

semipro-coach-event-demands-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SEMIPRO Cycling Intelligence Event Demands API
  version: 1.1.0
  description: First-party public contract for specialist cycling intelligence. The current released capabilities analyse cycling-event GPX routes and create bounded carbohydrate carry plans for rides. Discover analyse_event_route and plan_ride_fuelling through tools/list. Public Activity Intelligence remains evaluation-only and is not represented as a callable endpoint.
  contact:
    name: SEMIPRO Support
    url: https://semipro.coach/support
  license:
    name: SEMIPRO Terms
    url: https://semipro.coach/legal/terms
servers:
- url: https://api.semipro.coach
  description: Canonical public API
tags:
- name: Event Demands
paths:
  /v1/event-demands:
    get:
      operationId: getEventDemandCapability
      summary: Read Event Demand Intelligence capability metadata
      responses:
        '200':
          description: Current capability and contract metadata
          content:
            application/json:
              schema:
                type: object
      tags:
      - Event Demands
    post:
      operationId: analyseEventDemand
      summary: Analyse the demands of a cycling-event GPX
      description: Returns route-derived terrain, decisive climbs, critical sections and bounded course judgement. It does not inspect an athlete, prescribe training, diagnose a medical issue or predict an outcome. Direct paid HTTP calls require a configured gateway receipt or provider credential; the public MCP has a rate-limited launch allowance.
      parameters:
      - in: header
        name: Idempotency-Key
        required: true
        schema:
          type: string
          maxLength: 200
        description: Required for direct paid calls. A replay returns the original result.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventDemandRequest'
      responses:
        '200':
          description: SEMIPRO Event Demand Intelligence result
          headers:
            X-RateLimit-Limit:
              schema:
                type: integer
            X-RateLimit-Remaining:
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Caller rate-limit reset as Unix epoch seconds.
              schema:
                type: integer
          content:
            application/json:
              schema:
                type: object
                required:
                - object
                - contract_version
                - capability
                - route
                - judgement
                - uncertainty
        '400':
          description: Invalid request
        '402':
          description: Payment or provider credential required
        '403':
          description: Caller blocked by an operational safety control
        '413':
          description: GPX exceeds the 3 MB limit
        '422':
          description: Invalid GPX
        '429':
          description: Rate limit reached
        '503':
          description: Analysis temporarily unavailable or capability disabled
      tags:
      - Event Demands
components:
  schemas:
    EventDemandRequest:
      type: object
      properties:
        gpx_xml:
          type: string
          description: Complete GPX XML. Provide this or gpx_base64.
        gpx_base64:
          type: string
          contentEncoding: base64
          description: Base64-encoded GPX. Maximum decoded size is 3 MB.
        event:
          type: object
          additionalProperties: false
          properties:
            name:
              type: string
              maxLength: 160
            type:
              type: string
              enum:
              - road_race
              - criterium
              - time_trial
              - gran_fondo
              - sportive
              - gravel
              - mtb
              - mtb_xc
              - ultra
              - stage
              - triathlon_bike_leg
              - other
            date:
              type: string
              format: date
            start_time:
              type: string
              pattern: ^([01]\d|2[0-3]):[0-5]\d$
            course_format:
              type: string
              enum:
              - point_to_point
              - loop
              - laps
            course_laps:
              type: integer
              minimum: 1
              maximum: 100
      anyOf:
      - required:
        - gpx_xml
      - required:
        - gpx_base64
      additionalProperties: false
externalDocs:
  description: Quickstart, sample GPX and recorded demonstration output
  url: https://semipro.coach/agents