CrunchDAO chart-definition API

The chart-definition API from CrunchDAO — 2 operation(s) for chart-definition.

Operations 5

GET /v1/competitions/{competitionIdentifier}/chart-definitions List all chart definitions for a competition. #
POST /v1/competitions/{competitionIdentifier}/chart-definitions Create a chart definition. #
GET /v1/competitions/{competitionIdentifier}/chart-definitions/{chartDefinitionName} Get a chart definition. #
DELETE /v1/competitions/{competitionIdentifier}/chart-definitions/{chartDefinitionName} Delete a chart definition. #
PATCH /v1/competitions/{competitionIdentifier}/chart-definitions/{chartDefinitionName} Update a chart definition. #

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/crunchdao-chart-definition-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

crunchdao-chart-definition-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tournament activity Chart Definition API
  description: CrunchDAO Tournament Platform API Endpoints
  version: v2
servers:
- url: http://api.hub.crunchdao.com
  description: Generated server url
security: []
tags:
- name: chart-definition
paths:
  /v1/competitions/{competitionIdentifier}/chart-definitions:
    x-service-id: competition-service
    get:
      tags:
      - chart-definition
      summary: List all chart definitions for a competition.
      operationId: listChartDefinitions
      parameters:
      - name: competitionIdentifier
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ChartDefinition'
      security:
      - accessToken: []
      - apiKey: []
    post:
      tags:
      - chart-definition
      summary: Create a chart definition.
      operationId: createChartDefinition
      parameters:
      - name: competitionIdentifier
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChartDefinitionCreateForm'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChartDefinition'
      security:
      - accessToken: []
      - apiKey: []
  /v1/competitions/{competitionIdentifier}/chart-definitions/{chartDefinitionName}:
    x-service-id: competition-service
    get:
      tags:
      - chart-definition
      summary: Get a chart definition.
      operationId: getChartDefinition
      parameters:
      - name: competitionIdentifier
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: chartDefinitionName
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChartDefinition'
      security:
      - accessToken: []
      - apiKey: []
    delete:
      tags:
      - chart-definition
      summary: Delete a chart definition.
      operationId: deleteChartDefinition
      parameters:
      - name: competitionIdentifier
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: chartDefinitionName
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
      responses:
        '202':
          description: Accepted
      security:
      - accessToken: []
      - apiKey: []
    patch:
      tags:
      - chart-definition
      summary: Update a chart definition.
      operationId: updateChartDefinition
      parameters:
      - name: competitionIdentifier
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: chartDefinitionName
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChartDefinitionUpdateForm'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChartDefinition'
      security:
      - accessToken: []
      - apiKey: []
components:
  schemas:
    ChartDefinitionUpdateForm:
      type: object
      properties:
        name:
          type: string
        displayName:
          type: string
        type:
          type: string
          enum:
          - CHART
          - IFRAME
        endpointUrl:
          type: string
        projectIdProperty:
          type: string
        nativeConfiguration:
          type: string
        order:
          type: integer
          format: int64
    ChartDefinitionCreateForm:
      type: object
      properties:
        name:
          type: string
        displayName:
          type: string
        type:
          type: string
          enum:
          - CHART
          - IFRAME
        endpointUrl:
          type: string
        projectIdProperty:
          type: string
        nativeConfiguration:
          type: string
        order:
          type: integer
          format: int64
      required:
      - displayName
      - name
      - nativeConfiguration
      - order
      - type
    ChartDefinitionSetType:
      type: string
      enum:
      - CHART
      - IFRAME
    ChartDefinition:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
          description: Slug-like name of the chart, is unique and can be used as key.
        displayName:
          type: string
          description: Title of the chart, displayed in the UI.
        type:
          $ref: '#/components/schemas/ChartDefinitionSetType'
          description: Type of chart to render.
        endpointUrl:
          type: string
          description: Original endpoint URL.
        dataKey:
          type: string
          description: Data key to find the fetched data.
        projectIdProperty:
          type: string
          description: If set, generate a series per project. The project ID must be matched from the current's user projects.
        nativeConfiguration:
          type: string
          description: Native (series-based or just a single series) frontend configuration for the chart.
        order:
          type: integer
          format: int64
          description: Ordering order in the UI. Lowest is first.
  securitySchemes:
    apiKey:
      type: apiKey
      name: apiKey
      in: query
      scheme: token
    accessToken:
      type: http
      in: header
      scheme: Bearer
externalDocs:
  description: docs.crunchdao.com
  url: https://docs.crunchdao.com