Skip to main content
Primit LogoDEVELOPER CENTER

Primit Big Data
Open Community

Providing institutional-grade market data, reference classifications, and backtesting services to power quantitative research and bring AI into production.

EASY INTEGRATION

Streamlined Developer Experience

Integrate institutional-grade market feed and strategy analytics in minutes. Our standardized HTTP RESTful APIs work out-of-the-box with any standard client.

✓

Low-latency Routing

Verbatim transparent mirror forwarding to external exchanges, ensuring identical JSON schema with lowest network overhead.

✓

Unified Conventions

Unified authentication headers, rate limiters, and endpoint schemas across all extended APIs to minimize developer integration cognitive load.

✓

High-throughput Limits

FastAPI gateway supports up to 1000 requests per minute to ensure continuous data acquisition and real-time execution.

example.py
import requests

# 1. Initialize API parameters
api_url = "https://api-dev.pipai.org/stock/v1/klines"
params = {
    "symbol": "AAPL",
    "interval": "1d",
    "limit": 100
}

# 2. Get K-line quotes snapshot
response = requests.get(api_url, params=params)
data = response.json()

# 3. Print latest close price and volume
latest_bar = data[-1]
print(f"Close Price: {latest_bar['close']}")
print(f"Volume: {latest_bar['volume']}")