Kunkafa .well Known API

The .well Known API from Kunkafa — 2 operation(s) for .well known.

GitHub OpenAPI

Operations 2

GET /.well-known/oauth-protected-resource/mcp OAuth protected-resource metadata #
GET /.well-known/oauth-protected-resource/api/v1 OAuth protected-resource metadata #

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/kunkafa-com:kunkafa-com-well-known-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

kunkafa-com-well-known-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kunkafa public data and integrations .well Known API
  version: '2026-09-21'
  description: 'MCP is available on every plan. Public JSON for market questions, selected results, historical performance, plans and articles remains available without an integration token. API and MCP return selections of current forecasts (one market, chosen durations, optional filters), with published historical performance and selected results from their own operations. Replies are in English. The complete prepared-conversation file stays in the app. MCP is included in every plan; REST API access requires Pro or Publisher. Kunkafa’s confidence is separate from historical performance. Probability, Not Prophecy. Not financial advice. The best of both worlds: Kunkafa’s market analysis and your AI app’s ability to explore news, text and context. Prepare your conversation in Kunkafa, choose your AI app, then paste the copied message. For a custom MCP connection, complete setup and approve access in your browser.'
  contact:
    email: contact@kunkafa.com
servers:
- url: https://kunkafa.com
tags:
- name: .well Known
paths:
  /.well-known/oauth-protected-resource/mcp:
    get:
      operationId: discoverKunkafaMcp
      summary: OAuth protected-resource metadata
      description: Public discovery only; it grants no access. Authorization URLs stay on https://kunkafa.com.
      security: []
      responses:
        '200':
          description: Resource, authorization server and documented scopes.
          headers:
            Cache-Control:
              schema:
                type: string
                const: no-store
              description: Private responses must not be cached. This cannot prevent an authorized recipient from saving received data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationProtectedResource'
        '429':
          $ref: '#/components/responses/IntegrationFailure429'
        '503':
          $ref: '#/components/responses/IntegrationFailure503'
      tags:
      - .well Known
  /.well-known/oauth-protected-resource/api/v1:
    get:
      operationId: discoverKunkafaApi
      summary: OAuth protected-resource metadata
      description: Public discovery only; it grants no access. Authorization URLs stay on https://kunkafa.com.
      security: []
      responses:
        '200':
          description: Resource, authorization server and documented scopes.
          headers:
            Cache-Control:
              schema:
                type: string
                const: no-store
              description: Private responses must not be cached. This cannot prevent an authorized recipient from saving received data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationProtectedResource'
        '429':
          $ref: '#/components/responses/IntegrationFailure429'
        '503':
          $ref: '#/components/responses/IntegrationFailure503'
      tags:
      - .well Known
components:
  responses:
    IntegrationFailure503:
      description: Temporary access/accounting failure or unavailable data. This is not exhausted allowance.
      headers:
        Cache-Control:
          schema:
            type: string
            const: no-store
          description: Private responses must not be cached. This cannot prevent an authorized recipient from saving received data.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/IntegrationErrorResponse'
    IntegrationFailure429:
      description: Request, concurrency, traffic or rolling summary limit. No partial private delivery or new disclosure charges.
      headers:
        Cache-Control:
          schema:
            type: string
            const: no-store
          description: Private responses must not be cached. This cannot prevent an authorized recipient from saving received data.
        Retry-After:
          schema:
            type: string
            pattern: ^[1-9][0-9]*$
          description: Seconds until retry; also read error.retryAt and every blocking rolling period. Do not retry earlier.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/IntegrationErrorResponse'
  schemas:
    IntegrationErrorResponse:
      type: object
      additionalProperties: false
      required:
      - error
      properties:
        error:
          $ref: '#/components/schemas/IntegrationError'
        usage:
          $ref: '#/components/schemas/IntegrationUsage'
        notices:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationNotice'
          maxItems: 3
      description: Specific redacted error. Usage is present when it can be calculated safely, not fabricated during an outage. Limits do not consume new summary allowance or imply automatic charges.
    IntegrationTimestamp:
      type: string
      format: date-time
      description: ISO 8601 UTC timestamp supplied by Kunkafa.
    IntegrationUsage:
      type: object
      additionalProperties: false
      required:
      - calculatedAt
      - tier
      - requests
      - concurrency
      - windows
      properties:
        calculatedAt:
          $ref: '#/components/schemas/IntegrationTimestamp'
        tier:
          enum:
          - free
          - starter
          - core
          - pro
          - publisher
        requests:
          type: object
          additionalProperties: false
          required:
          - perMinute
          - burst
          - remaining
          - nextRequestAt
          properties:
            perMinute:
              type: integer
              minimum: 0
            burst:
              type: integer
              minimum: 0
            remaining:
              type: integer
              minimum: 0
            nextRequestAt:
              anyOf:
              - $ref: '#/components/schemas/IntegrationTimestamp'
              - type: 'null'
          description: Steady request rate with bounded burst capacity; metadata and repeated summaries still count toward request protection.
        concurrency:
          type: object
          additionalProperties: false
          required:
          - limit
          - remaining
          - nextRequestAt
          description: Private requests that can run at the same time. Requests from one connection run side by side up to this limit (the plan burst); a request from another connection waits until they finish.
          properties:
            limit:
              type: integer
              minimum: 1
              maximum: 100
            remaining:
              type: integer
              minimum: 0
              maximum: 100
            nextRequestAt:
              anyOf:
              - $ref: '#/components/schemas/IntegrationTimestamp'
              - type: 'null'
        windows:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationWindowUsage'
          minItems: 3
          maxItems: 3
        adjustment:
          type: object
          additionalProperties: false
          required:
          - expiresAt
          properties:
            expiresAt:
              type:
              - string
              - 'null'
              format: date-time
          description: An owner-approved account allowance increase. A null expiration is permanent until changed. Usage is never reset; market access and credential eligibility still follow the current plan.
    IntegrationError:
      type: object
      additionalProperties: false
      required:
      - code
      - message
      - retryAt
      properties:
        code:
          enum:
          - invalid_request
          - invalid_cursor
          - access_denied
          - market_not_selected
          - market_not_authorized
          - traffic_limit
          - rate_limit
          - concurrent_request
          - disclosure_limit
          - session_replaced
          - service_unavailable
          - data_unavailable
          - data_delayed
          - response_too_large
          - following_not_allowed
          - market_not_found
          - market_unavailable
          - follow_count_reached
          - follow_replacement_confirmation
          - follow_replacement_window
          - invalid_duration
          - request_too_broad
        message:
          type: string
        retryAt:
          anyOf:
          - $ref: '#/components/schemas/IntegrationTimestamp'
          - type: 'null'
        periods:
          type: array
          items:
            enum:
            - day
            - week
            - month
          minItems: 1
          maxItems: 3
          uniqueItems: true
        availableNewMarkets:
          type: integer
          minimum: 0
          maximum: 3
        windowDays:
          type: integer
          minimum: 0
          description: Days between two replacements of a followed market, for the replacement errors.
        availableDurations:
          type: array
          items:
            type: string
          maxItems: 40
          description: The market's duration labels, for invalid_duration and request_too_broad.
        unknownDurations:
          type: array
          items:
            type: string
          maxItems: 6
        matchedDurations:
          type: integer
          minimum: 0
        matchedForecasts:
          type: integer
          minimum: 0
        maxDurations:
          const: 6
        maxForecasts:
          const: 72
        readsEveryMarket:
          const: true
        note:
          type: string
          description: Extra context for the user, for example that following does not change what an every-market account can read.
    IntegrationNotice:
      type: object
      additionalProperties: false
      required:
      - id
      - period
      - kind
      - message
      - used
      - limit
      - remaining
      - nextCapacityAt
      properties:
        id:
          type: string
        period:
          enum:
          - day
          - week
          - month
        kind:
          enum:
          - approaching_limit
          - limit_reached
        message:
          type: string
        used:
          type: integer
          minimum: 0
        limit:
          type: integer
          minimum: 0
        remaining:
          type: integer
          minimum: 0
        nextCapacityAt:
          anyOf:
          - $ref: '#/components/schemas/IntegrationTimestamp'
          - type: 'null'
    IntegrationWindowUsage:
      type: object
      additionalProperties: false
      required:
      - period
      - used
      - limit
      - remaining
      - nextCapacityAt
      - notice
      - noticeId
      properties:
        period:
          enum:
          - day
          - week
          - month
        used:
          type: integer
          minimum: 0
        limit:
          type: integer
          minimum: 0
        remaining:
          type: integer
          minimum: 0
        nextCapacityAt:
          anyOf:
          - $ref: '#/components/schemas/IntegrationTimestamp'
          - type: 'null'
        notice:
          enum:
          - approaching_limit
          - limit_reached
          - null
        noticeId:
          anyOf:
          - type: string
          - type: 'null'
      description: Rolling 24-hour, 7-day or 30-day allowance, not a midnight reset. Used can exceed the current limit after a downgrade; remaining is never negative.
    IntegrationProtectedResource:
      type: object
      additionalProperties: false
      required:
      - resource
      - authorization_servers
      - bearer_methods_supported
      - scopes_supported
      - resource_documentation
      properties:
        resource:
          type: string
          format: uri
        authorization_servers:
          type: array
          items:
            type: string
            format: uri
          minItems: 1
        bearer_methods_supported:
          type: array
          items:
            enum:
            - header
          minItems: 1
        scopes_supported:
          type: array
          items:
            enum:
            - markets:read
            - outlooks:read
            - performance:read
            - results:read
            - usage:read
            - following:write
          minItems: 1
          uniqueItems: true
        resource_documentation:
          type: string
          format: uri
  securitySchemes:
    KunkafaPersonalToken:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: Pro or Publisher personal token created in Account, displayed once and expiring after 90 days. Select the required operation scopes when creating it. Never put tokens in URLs, logs, browser bundles or support messages. Not accepted for MCP.
    KunkafaOAuth:
      type: oauth2
      description: 'Authorization code with required PKCE. Issuer https://kunkafa.com/oauth. Request resource https://kunkafa.com/mcp for MCP or https://kunkafa.com/api/v1 for Pro or Publisher REST. Access tokens expire after 10 minutes; refresh tokens rotate and reuse revokes the grant. An MCP connection stays connected while used: it expires after 90 days without use and at most one year after approval. The same app approving again replaces its connection; asking only for access already allowed needs no second approval. Validate issuer/resource/audience; never give an agent app sign-in credentials.'
      flows:
        authorizationCode:
          authorizationUrl: https://kunkafa.com/oauth/authorize
          tokenUrl: https://kunkafa.com/oauth/token
          refreshUrl: https://kunkafa.com/oauth/token
          scopes:
            markets:read: List authorized markets
            outlooks:read: Read controlled current summaries
            performance:read: Read published performance
            results:read: Read selected public results
            usage:read: Check current usage
            following:write: Follow and unfollow markets
externalDocs:
  description: English and Arabic setup, interpretation, limits, security and troubleshooting guides.
  url: https://kunkafa.com/developers