DripMetrics AI Kraken xStocks API

The Kraken xStocks API from DripMetrics AI — 6 operation(s) for kraken xstocks.

Operations 6

GET /kraken/spread Read latest Kraken xStocks spread #
GET /kraken/micro-price Read latest Kraken xStocks micro-price #
GET /kraken/imbalance Read latest Kraken xStocks imbalance #
GET /kraken/depth-at-distance Read latest Kraken xStocks depth-at-distance #
GET /kraken/concentration Read latest Kraken xStocks concentration #
GET /kraken/execution-impact Read latest Kraken xStocks execution-impact #

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/dripmetrics-ai:dripmetrics-ai-kraken-xstocks-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

dripmetrics-ai-kraken-xstocks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DripMetrics Kraken xStocks API
  version: 1.0.0
  description: DripMetricsAI provides on-demand crypto market microstructure, risk, prediction-market, Hyperliquid, and on-chain metrics. Paid endpoints use x402 (USDC on Base or USDG on Robinhood Chain) and return structured JSON without subscriptions or API keys. Also available over MCP (Streamable HTTP) at https://mcp.dripmetrics.ai/mcp with free discovery tools.
  x-mcp: https://mcp.dripmetrics.ai/mcp
  x-guidance: 'Use /openapi.json for discovery. Routes with x-payment-info are x402-paid resources: first call the endpoint without PAYMENT-SIGNATURE to receive a 402 challenge, then retry with a valid x402 v2 PAYMENT-SIGNATURE. Routes with security: [] are public discovery or health routes and should not be probed for payment.'
  contact:
    email: drip@dripmetrics.ai
    url: https://dripmetrics.ai/
servers:
- url: https://api.dripmetrics.ai
tags:
- name: Kraken xStocks
paths:
  /kraken/spread:
    get:
      operationId: getKrakenSpread
      summary: Read latest Kraken xStocks spread
      description: Reads a metric from the latest completed, checksum-verified one-minute Kraken L2 bundle. Stale, partial, crossed, unavailable, or defective data fails before payment.
      tags:
      - Kraken xStocks
      parameters:
      - name: pair
        in: query
        required: true
        description: Kraken-native xStocks USD order-book symbol.
        schema:
          type: string
          enum:
          - AAPLx/USD
          - AMZNx/USD
          - COINx/USD
          - CRCLx/USD
          - GOOGLx/USD
          - INTCx/USD
          - METAx/USD
          - MSFTx/USD
          - MSTRx/USD
          - NVDAx/USD
          - QQQx/USD
          - SNDKx/USD
          - SPCXx/USD
          - SPYx/USD
          - TSLAx/USD
      security:
      - x402: []
      x-payment-info:
        price:
          fixed:
            mode: fixed
            currency: USD
            amount: '0.05'
        protocols:
        - x402: {}
      x-dripmetrics-paid: true
      x-x402:
        priceUsd: '0.05'
        asset: USDC
        network: eip155:8453
        scheme: exact
        paymentOptions:
        - network: eip155:8453
          asset: USDC
          scheme: exact
        - network: eip155:4663
          asset: USDG
          scheme: exact
      responses:
        '200':
          description: Successful paid response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KrakenMetricResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '422':
          $ref: '#/components/responses/MetricNotComputable'
        '503':
          $ref: '#/components/responses/UpstreamUnavailable'
  /kraken/micro-price:
    get:
      operationId: getKrakenMicroPrice
      summary: Read latest Kraken xStocks micro-price
      description: Reads a metric from the latest completed, checksum-verified one-minute Kraken L2 bundle. Stale, partial, crossed, unavailable, or defective data fails before payment.
      tags:
      - Kraken xStocks
      parameters:
      - name: pair
        in: query
        required: true
        description: Kraken-native xStocks USD order-book symbol.
        schema:
          type: string
          enum:
          - AAPLx/USD
          - AMZNx/USD
          - COINx/USD
          - CRCLx/USD
          - GOOGLx/USD
          - INTCx/USD
          - METAx/USD
          - MSFTx/USD
          - MSTRx/USD
          - NVDAx/USD
          - QQQx/USD
          - SNDKx/USD
          - SPCXx/USD
          - SPYx/USD
          - TSLAx/USD
      security:
      - x402: []
      x-payment-info:
        price:
          fixed:
            mode: fixed
            currency: USD
            amount: '0.05'
        protocols:
        - x402: {}
      x-dripmetrics-paid: true
      x-x402:
        priceUsd: '0.05'
        asset: USDC
        network: eip155:8453
        scheme: exact
        paymentOptions:
        - network: eip155:8453
          asset: USDC
          scheme: exact
        - network: eip155:4663
          asset: USDG
          scheme: exact
      responses:
        '200':
          description: Successful paid response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KrakenMetricResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '422':
          $ref: '#/components/responses/MetricNotComputable'
        '503':
          $ref: '#/components/responses/UpstreamUnavailable'
  /kraken/imbalance:
    get:
      operationId: getKrakenImbalance
      summary: Read latest Kraken xStocks imbalance
      description: Reads a metric from the latest completed, checksum-verified one-minute Kraken L2 bundle. Stale, partial, crossed, unavailable, or defective data fails before payment.
      tags:
      - Kraken xStocks
      parameters:
      - name: pair
        in: query
        required: true
        description: Kraken-native xStocks USD order-book symbol.
        schema:
          type: string
          enum:
          - AAPLx/USD
          - AMZNx/USD
          - COINx/USD
          - CRCLx/USD
          - GOOGLx/USD
          - INTCx/USD
          - METAx/USD
          - MSFTx/USD
          - MSTRx/USD
          - NVDAx/USD
          - QQQx/USD
          - SNDKx/USD
          - SPCXx/USD
          - SPYx/USD
          - TSLAx/USD
      - name: depthLevels
        in: query
        required: false
        description: Stored book depth per side.
        schema:
          type: integer
          enum:
          - 5
          - 10
          - 25
          - 50
          default: 10
      security:
      - x402: []
      x-payment-info:
        price:
          fixed:
            mode: fixed
            currency: USD
            amount: '0.05'
        protocols:
        - x402: {}
      x-dripmetrics-paid: true
      x-x402:
        priceUsd: '0.05'
        asset: USDC
        network: eip155:8453
        scheme: exact
        paymentOptions:
        - network: eip155:8453
          asset: USDC
          scheme: exact
        - network: eip155:4663
          asset: USDG
          scheme: exact
      responses:
        '200':
          description: Successful paid response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KrakenMetricResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '422':
          $ref: '#/components/responses/MetricNotComputable'
        '503':
          $ref: '#/components/responses/UpstreamUnavailable'
  /kraken/depth-at-distance:
    get:
      operationId: getKrakenDepthAtDistance
      summary: Read latest Kraken xStocks depth-at-distance
      description: Reads a metric from the latest completed, checksum-verified one-minute Kraken L2 bundle. Stale, partial, crossed, unavailable, or defective data fails before payment.
      tags:
      - Kraken xStocks
      parameters:
      - name: pair
        in: query
        required: true
        description: Kraken-native xStocks USD order-book symbol.
        schema:
          type: string
          enum:
          - AAPLx/USD
          - AMZNx/USD
          - COINx/USD
          - CRCLx/USD
          - GOOGLx/USD
          - INTCx/USD
          - METAx/USD
          - MSFTx/USD
          - MSTRx/USD
          - NVDAx/USD
          - QQQx/USD
          - SNDKx/USD
          - SPCXx/USD
          - SPYx/USD
          - TSLAx/USD
      - name: bpsDistance
        in: query
        required: false
        description: Stored distance from mid price in basis points.
        schema:
          type: number
          enum:
          - 10
          - 25
          - 50
          - 100
          default: 50
      security:
      - x402: []
      x-payment-info:
        price:
          fixed:
            mode: fixed
            currency: USD
            amount: '0.10'
        protocols:
        - x402: {}
      x-dripmetrics-paid: true
      x-x402:
        priceUsd: '0.10'
        asset: USDC
        network: eip155:8453
        scheme: exact
        paymentOptions:
        - network: eip155:8453
          asset: USDC
          scheme: exact
        - network: eip155:4663
          asset: USDG
          scheme: exact
      responses:
        '200':
          description: Successful paid response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KrakenMetricResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '422':
          $ref: '#/components/responses/MetricNotComputable'
        '503':
          $ref: '#/components/responses/UpstreamUnavailable'
  /kraken/concentration:
    get:
      operationId: getKrakenConcentration
      summary: Read latest Kraken xStocks concentration
      description: Reads a metric from the latest completed, checksum-verified one-minute Kraken L2 bundle. Stale, partial, crossed, unavailable, or defective data fails before payment.
      tags:
      - Kraken xStocks
      parameters:
      - name: pair
        in: query
        required: true
        description: Kraken-native xStocks USD order-book symbol.
        schema:
          type: string
          enum:
          - AAPLx/USD
          - AMZNx/USD
          - COINx/USD
          - CRCLx/USD
          - GOOGLx/USD
          - INTCx/USD
          - METAx/USD
          - MSFTx/USD
          - MSTRx/USD
          - NVDAx/USD
          - QQQx/USD
          - SNDKx/USD
          - SPCXx/USD
          - SPYx/USD
          - TSLAx/USD
      - name: depthLevels
        in: query
        required: false
        description: Stored book depth per side.
        schema:
          type: integer
          enum:
          - 10
          - 25
          - 50
          default: 10
      security:
      - x402: []
      x-payment-info:
        price:
          fixed:
            mode: fixed
            currency: USD
            amount: '0.10'
        protocols:
        - x402: {}
      x-dripmetrics-paid: true
      x-x402:
        priceUsd: '0.10'
        asset: USDC
        network: eip155:8453
        scheme: exact
        paymentOptions:
        - network: eip155:8453
          asset: USDC
          scheme: exact
        - network: eip155:4663
          asset: USDG
          scheme: exact
      responses:
        '200':
          description: Successful paid response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KrakenMetricResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '422':
          $ref: '#/components/responses/MetricNotComputable'
        '503':
          $ref: '#/components/responses/UpstreamUnavailable'
  /kraken/execution-impact:
    get:
      operationId: getKrakenExecutionImpact
      summary: Read latest Kraken xStocks execution-impact
      description: Reads a metric from the latest completed, checksum-verified one-minute Kraken L2 bundle. Stale, partial, crossed, unavailable, or defective data fails before payment.
      tags:
      - Kraken xStocks
      parameters:
      - name: pair
        in: query
        required: true
        description: Kraken-native xStocks USD order-book symbol.
        schema:
          type: string
          enum:
          - AAPLx/USD
          - AMZNx/USD
          - COINx/USD
          - CRCLx/USD
          - GOOGLx/USD
          - INTCx/USD
          - METAx/USD
          - MSFTx/USD
          - MSTRx/USD
          - NVDAx/USD
          - QQQx/USD
          - SNDKx/USD
          - SPCXx/USD
          - SPYx/USD
          - TSLAx/USD
      - name: side
        in: query
        required: true
        description: Direction of the hypothetical order.
        schema:
          type: string
          enum:
          - buy
          - sell
      - name: notionalUsd
        in: query
        required: true
        description: Stored hypothetical USD notional.
        schema:
          type: number
          enum:
          - 1000
          - 5000
          - 10000
      security:
      - x402: []
      x-payment-info:
        price:
          fixed:
            mode: fixed
            currency: USD
            amount: '0.25'
        protocols:
        - x402: {}
      x-dripmetrics-paid: true
      x-x402:
        priceUsd: '0.25'
        asset: USDC
        network: eip155:8453
        scheme: exact
        paymentOptions:
        - network: eip155:8453
          asset: USDC
          scheme: exact
        - network: eip155:4663
          asset: USDG
          scheme: exact
      responses:
        '200':
          description: Successful paid response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KrakenMetricResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '422':
          $ref: '#/components/responses/MetricNotComputable'
        '503':
          $ref: '#/components/responses/UpstreamUnavailable'
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        metric:
          type: string
        components:
          type: object
          additionalProperties: true
      required:
      - error
      additionalProperties: true
    KrakenMetricResult:
      type: object
      properties:
        metric:
          type: string
          enum:
          - spread
          - micro-price
          - imbalance
          - depth-at-distance
          - concentration
          - execution-impact
        pair:
          type: string
          enum:
          - AAPLx/USD
          - AMZNx/USD
          - COINx/USD
          - CRCLx/USD
          - GOOGLx/USD
          - INTCx/USD
          - METAx/USD
          - MSFTx/USD
          - MSTRx/USD
          - NVDAx/USD
          - QQQx/USD
          - SNDKx/USD
          - SPCXx/USD
          - SPYx/USD
          - TSLAx/USD
        exchange:
          type: string
          const: kraken
        interval:
          type: string
          const: 1m
        value:
          type:
          - number
          - 'null'
        components:
          type: object
          additionalProperties: true
        sampleSize:
          type: object
          additionalProperties: true
        quality:
          type: object
          additionalProperties: true
        source:
          type: object
          additionalProperties: true
        intervalStart:
          type: string
          format: date-time
        intervalEnd:
          type: string
          format: date-time
        computedAt:
          type: string
          format: date-time
      required:
      - metric
      - pair
      - exchange
      - interval
      - value
      - components
      - sampleSize
      - quality
      - source
      - intervalStart
      - intervalEnd
      - computedAt
      additionalProperties: false
  responses:
    UpstreamUnavailable:
      description: Upstream data source unavailable or insufficient.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    PaymentRequired:
      description: x402 payment required. Programmatic clients should read payment requirements and retry with a valid PAYMENT-SIGNATURE header.
      headers:
        PAYMENT-REQUIRED:
          description: Base64-encoded x402 v2 payment requirements.
          schema:
            type: string
        PAYMENT-RESPONSE:
          description: Base64-encoded x402 payment response after verification or settlement.
          schema:
            type: string
      content:
        application/json:
          schema:
            type: object
            additionalProperties: true
    MetricNotComputable:
      description: Metric could not be computed from available data.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadRequest:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    x402:
      type: apiKey
      in: header
      name: PAYMENT-SIGNATURE
      description: x402 v2 payment signature header supplied after reading the 402 PAYMENT-REQUIRED response.