Skip to main content

RESTful API getting started

The CloudQuant Data Liberator API provides RESTful endpoints for querying financial market data. The primary endpoint is /liberator/query, which accepts JSON payloads and returns data as JSON objects or Apache Arrow batches.

Requirements

  • curl
  • jq
  • base64
  • Python with pyarrow (for Arrow format decoding)
  • pigz (for compressed Arrow format)

Authentication

All requests require user credentials and your Liberator base URL (both provided on your Profile page):
As of release version 2.0, the P12 client certificate (liberator.pfx) is no longer required. The --cert-type P12 --cert liberator.pfx flags shown in the examples below are only needed for releases prior to 2.0.

Quick start: JSON queries

Current value query

Time range query

Point-in-time query

Advanced: Apache Arrow format

Without compression

With compression

Response format

Standard JSON response includes fields such as: _seq, _dsname, timestamp, symbol, open, high, low, close, volume, vwap, spread, bidvol, askvol, and count.