Skip to main content
Developer Documentation

Start Building in 5 Minutes

Everything you need to integrate PRISM into your app. SDKs for Python, JavaScript, and Go. RESTful API with WebSocket support.

Quick Start

From Zero to API Call in 3 Steps

No complex setup. Just get your key and start querying.

1

Get Your API Key

Sign up for free at app.strykr.ai. Your API key is generated instantly.

Create Free Account
2

Install the SDK

Pick your language and install the official SDK.

🐍Python
pip install strykr-prism
📦JavaScript/TypeScript
npm install @strykr/prism
🔵Gobeta
go get github.com/strykr-ai/prism-go
3

Make Your First Request

That's it. You're ready to query any asset across 50+ exchanges.

first_request.py
from prism import Client

# Initialize with your API key
prism = Client(api_key="your_api_key")

# Get Bitcoin price
price = prism.price("BTC")
print(f"Bitcoin: ${price.usd:,.2f}")

# Output: Bitcoin: $67,842.50

Code Examples

Copy, Paste, Ship

Real code snippets you can use right now.

🐍 Python

resolve_asset.py
# Resolve any ticker to canonical ID
result = prism.resolve("BTCUSDT")
print(result.canonical_id)
# → "btc-bitcoin"
batch_prices.py
# Get prices for multiple assets
assets = ["BTC", "ETH", "SOL"]
prices = prism.batch_price(assets)
for p in prices:
print(f"{p.symbol}: ${p.usd:,.2f}")
historical_data.py
# Get historical OHLCV data
ohlcv = prism.ohlcv(
"ETH",
interval="1h",
limit=100
)

📦 JavaScript/TypeScript

resolve.ts
// Resolve any ticker to canonical ID
const result = await prism.resolve("ethereum");
console.log(result.canonicalId);
// → "eth-ethereum"
prices.ts
// Get prices for multiple assets
const prices = await prism.batchPrice([
"BTC", "ETH", "SOL"
]);
prices.forEach(p => console.log(p));
websocket.ts
// Real-time price stream
prism.stream("BTC", (price) => {
console.log(`BTC: $${price}`);
});

Simple Authentication

Pass your API key in the header. That's it. No OAuth dance, no token refresh, no complexity.

  • API key authentication via X-API-Key header
  • Optional Bearer token format supported
  • Keys can be rotated instantly from dashboard
  • Environment-specific keys for dev/staging/prod
Authentication
# Option 1: X-API-Key header
curl -H "X-API-Key: your_key" \
https://api.strykr.ai/v1/price?asset=BTC

# Option 2: Bearer token
curl -H "Authorization: Bearer your_key" \
https://api.strykr.ai/v1/price?asset=BTC

# Response
{
"asset": "btc-bitcoin",
"price": 67842.50,
"venue": "aggregate"
}
TierDaily LimitBurst RatePrice
Free1,000/day10/sec$0
Pro50,000/day100/sec$49/mo
EnterpriseUnlimitedCustomContact us

Rate limits reset at midnight UTC. Burst limits use a sliding window. Headers include remaining quota.

Generous Rate Limits

Our free tier gives you 1,000 calls per day. That's enough to build a real app, not just a toy.

  • Clear rate limit headers on every response
  • 429 responses include retry-after
  • Batch endpoints count as single request

API Reference

Core Endpoints

RESTful API with predictable URL structure.

MethodEndpointDescription
GET/v1/resolveResolve any ticker to canonical ID
GET/v1/priceGet current price for an asset
GET/v1/pricesBatch price lookup (up to 100)
GET/v1/ohlcvHistorical OHLCV data
GET/v1/assetsList all supported assets
GET/v1/venuesList all supported exchanges
POST/v1/webhooksCreate price alert webhook

Full API reference available at docs.strykr.ai

Support When You Need It

We're developers too. We know the pain of bad docs and slow support. That's why we built better.

💬

Discord Community

Join 500+ developers building with PRISM. Get help fast.

Join Discord →
📚

Documentation

Comprehensive guides, tutorials, and API reference.

Read Docs →
🐙

GitHub

SDKs are open source. File issues, submit PRs, star us.

View GitHub →

Ready to Start Building?

Get your API key in 30 seconds. No credit card required.