openapi: 3.1.0 info: title: Cloud9trader API version: '2026-10-09' description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-09: 3 operation(s) read from 1 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; Cloud9trader has published no machine-readable contract that the pipeline could find. Engine: local.' x-evidence-tiers: code-example: 1 documentation: 2 pages-with-code: 1 pages-read: 1 x-generated-from: documentation x-provenance: generated x-authored-by: API Evangelist x-generated: '2026-10-09' x-generator: generate-contract-from-docs.py x-engine: local x-sources: - https://www.cloud9trader.com/documentation/cloud9trader-api/rest-api servers: - url: https://api.cloud9trader.com paths: /v1/currency/BTC: get: operationId: get_v1_currency_BTC tags: - Currency summary: GET /v1/currency/BTC x-source: https://www.cloud9trader.com/documentation/cloud9trader-api/rest-api parameters: - name: quote in: query required: false schema: type: string responses: '200': description: Success (shape read from the example response on the page) content: application/json: schema: $ref: '#/components/schemas/GetV1CurrencyBtcResponse' x-evidence: kind: code-example language: curl snippet: "curl -H \"x-c9t-key: acb383affb802a95\" -G \"https://api.cloud9trader.com/v1/currency/BTC?quote=USD,EUR,ETH\" Response Example:\ \ {\n \"currency\": \"BTC\",\n \"name\": \"Bitcoin\",\n \"maxSupply\": 21000000,\n \"circulatingSupply\": 18283137,\n \"totalSupply\"\ : 18283137,\n \"updated\": \"2020-03-23T14:00:00.000Z\",\n \"quotes\": {\n \"USD\": {\n \"price\": 6159.73622,\n \"percentChange24h\"\ : 1.593,\n \"updated\": \"2020-03-23T13:59:59.874Z\"\n" /v1/currency/BTC/historical: get: operationId: get_v1_currency_BTC_historical tags: - Currency summary: Returns OHLC bars for historical currency exchange rates for BTC. x-source: https://www.cloud9trader.com/documentation/cloud9trader-api/rest-api parameters: - name: interval in: query required: true schema: type: string description: Bar interval, e.g. "M1". - name: start in: query required: true schema: type: string description: Range start in ISO 8601 format. - name: end in: query required: false schema: type: string description: Range end in ISO 8601 format. responses: '200': description: Success (status as documented) content: application/json: schema: $ref: '#/components/schemas/GetV1CurrencyBtcHistoricalResponse' x-evidence: kind: documentation /v1/{v1id}: get: operationId: get_v1_v1id tags: - Api summary: List available currencies. x-source: https://www.cloud9trader.com/documentation/cloud9trader-api/rest-api parameters: - name: v1id in: path required: true schema: type: string responses: '200': description: Success (status as documented) content: application/json: schema: $ref: '#/components/schemas/GetV1V1IdResponse' x-evidence: kind: documentation collapsed_from: 3 example path(s) differing only at v1Id components: schemas: GetV1CurrencyBtcResponse: type: object properties: currency: type: string name: type: string maxSupply: type: integer circulatingSupply: type: integer totalSupply: type: integer updated: type: string format: date-time quotes: type: object properties: USD: type: object properties: price: type: number percentChange24h: type: number updated: type: string format: date-time EUR: type: object properties: price: type: number percentChange24h: type: number updated: type: string format: date-time ETH: type: object properties: price: type: number percentChange24h: type: number updated: type: string format: date-time GetV1CurrencyBtcHistoricalResponse: type: object properties: time: type: string description: Bar timestamp. open: type: number description: Open price. high: type: number description: High price. low: type: number description: Low price. close: type: number description: Close price. GetV1V1IdResponse: type: object properties: symbol: type: string description: Currency symbol. name: type: string description: Currency name. tags: - name: Api - name: Currency