Skip to main content

Overview

Welcome to the Rocky Perpetual Contracts API reference. The structure of this section follows the industry-standard USD-margined perpetual futures conventions, so existing integrations port over with minimal changes.

Two HTTP surfaces

SurfacePath prefixAudienceAuth
Web v1/v1/*Browser front-end via session cookieSession/JWT (user_id query in MVP)
FAPI/fapi/v1/*, /fapi/v2/*Programmatic clients / bots (industry-standard)X-MBX-APIKEY header + HMAC-SHA256 signature

Base URLs

EnvironmentBase URL
Devnethttps://demo.rocky.exchange
Mainnethttps://api.rocky.exchange

How to read this section

Every endpoint below carries a status:

  • Implemented — Rocky serves this endpoint today; the page documents the request, response, and quirks.
  • Not yet implemented (空缺) — Rocky has not yet added this endpoint. The page records the external method/path and the planned scope. Mostly these stubs exist so SDK developers can see the gap at a glance.

When a Rocky endpoint differs from the standard shape (different path, fewer fields), the page calls that out near the bottom.