CrunchDAO auth:oauth API

The auth:oauth API from CrunchDAO — 4 operation(s) for auth:oauth.

Operations 4

POST /v2/auth/oauth2/token #
POST /v2/auth/oauth2/authorize #
GET /v2/auth/oauth2/user #
GET /v2/auth/oauth2/registered-clients/{clientId} #

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-auth-oauth-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-auth-oauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tournament activity Auth:oauth API
  description: CrunchDAO Tournament Platform API Endpoints
  version: v2
servers:
- url: http://api.hub.crunchdao.com
  description: Generated server url
security: []
tags:
- name: auth:oauth
paths:
  /v2/auth/oauth2/token:
    x-service-id: account-service
    post:
      tags:
      - auth:oauth
      operationId: consume
      parameters:
      - name: grant_type
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: client_id
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: client_secret
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: redirect_uri
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: code
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizedToken'
  /v2/auth/oauth2/authorize:
    x-service-id: account-service
    post:
      tags:
      - auth:oauth
      operationId: authorize
      parameters:
      - name: response_type
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: client_id
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: redirect_uri
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: scope
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: state
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizedCodeDto'
      security:
      - accessToken: []
      - apiKey: []
  /v2/auth/oauth2/user:
    x-service-id: account-service
    get:
      tags:
      - auth:oauth
      operationId: info
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OAuthUserInfo'
      security:
      - accessToken: []
  /v2/auth/oauth2/registered-clients/{clientId}:
    x-service-id: account-service
    get:
      tags:
      - auth:oauth
      operationId: showRegisteredClient
      parameters:
      - name: clientId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegisteredClient'
components:
  schemas:
    RegisteredClient:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
          description: Descriptive name of the oauth client.
        flow:
          type: string
          description: OAuth2.0 flow type.
          enum:
          - AUTHORIZATION_CODE
          - IMPLICIT
        redirectUri:
          type: string
          description: Redirect URI after authorization.
        codeValidityDuration:
          anyOf:
          - $comment: Seconds
            example: '60'
          - format: duration
            $anchor: https://en.wikipedia.org/wiki/ISO_week_date
            $comment: ISO 8601 Duration
            example: PT1M
          description: How long is the authorization code valid? (only used if `flow` is `AUTHORIZATION_CODE`)
        jwtValidityDuration:
          anyOf:
          - $comment: Seconds
            example: '60'
          - format: duration
            $anchor: https://en.wikipedia.org/wiki/ISO_week_date
            $comment: ISO 8601 Duration
            example: PT1M
          description: How long is the generated JWT valid?
    OAuthUserInfo:
      type: object
      properties:
        id:
          type: integer
          format: int64
        username:
          type: string
        name:
          type: string
        email:
          type: string
        verified:
          type: boolean
        avatarUrl:
          type: string
    AuthorizedToken:
      type: object
      properties:
        access_token:
          type: string
        expires_in:
          type: integer
          format: int64
    AuthorizedCodeDto:
      type: object
      discriminator:
        propertyName: flow
        mapping:
          AUTHORIZATION_CODE: '#/components/schemas/AuthorizedCode'
          IMPLICIT: '#/components/schemas/ImplicitAuthorizedCode'
      properties:
        flow:
          type: string
          enum:
          - AUTHORIZATION_CODE
          - IMPLICIT
  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