Robinhood Trading Pairs API

Supported crypto trading pairs and their constraints.

OpenAPI Specification

robinhood-trading-pairs-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Robinhood Crypto Trading Account Trading Pairs API
  version: v1
  description: 'The Robinhood Crypto Trading API lets developers programmatically access their own Robinhood Crypto account: view buying power and holdings, pull market data (best bid/ask and estimated fill prices), enumerate supported trading pairs, and place, retrieve, and cancel cryptocurrency orders (market, limit, stop-loss, and stop-limit). Requests are authenticated per-request with an API key plus an Ed25519 request signature over the API key, UNIX timestamp, request path, method, and body, supplied in the x-api-key, x-timestamp, and x-signature headers.'
  contact:
    name: Robinhood API Support
    url: https://docs.robinhood.com/crypto/trading/
  termsOfService: https://robinhood.com/us/en/support/articles/crypto-api-agreement/
servers:
- url: https://trading.robinhood.com
  description: Production
security:
- ApiKeyAuth: []
  ApiTimestamp: []
  ApiSignature: []
tags:
- name: Trading Pairs
  description: Supported crypto trading pairs and their constraints.
paths:
  /api/v1/crypto/trading/trading_pairs/:
    get:
      operationId: getTradingPairs
      summary: Get trading pairs
      description: Returns the crypto trading pairs supported for trading, with min/max order sizes and increments.
      tags:
      - Trading Pairs
      parameters:
      - name: symbol
        in: query
        description: Filter to specific symbols. Repeat to request multiple.
        required: false
        schema:
          type: array
          items:
            type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: cursor
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Paginated trading pairs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TradingPairList'
        '400':
          $ref: '#/components/responses/MissingHeaders'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  responses:
    RateLimited:
      description: Too many requests.
    Unauthorized:
      description: Invalid or expired credentials / signature.
    MissingHeaders:
      description: Request missing required headers (x-api-key, x-signature, x-timestamp).
      content:
        text/plain:
          schema:
            type: string
          example: 'Request missing required headers. Required headers: x-api-key, x-signature, x-timestamp. Please refer to API documentation for more information.'
  schemas:
    TradingPair:
      type: object
      properties:
        symbol:
          type: string
        asset_code:
          type: string
        quote_code:
          type: string
        quote_increment:
          type: string
        asset_increment:
          type: string
        max_order_size:
          type: string
        min_order_size:
          type: string
        status:
          type: string
          enum:
          - tradable
          - untradable
    TradingPairList:
      type: object
      properties:
        next:
          type: string
          nullable: true
        previous:
          type: string
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/TradingPair'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: The API key issued in the Robinhood API Credentials Portal.
    ApiTimestamp:
      type: apiKey
      in: header
      name: x-timestamp
      description: Current UNIX timestamp (seconds) included in the signed message.
    ApiSignature:
      type: apiKey
      in: header
      name: x-signature
      description: Base64 Ed25519 signature over api_key + timestamp + path + method + body.