Skip to content

API (Common Tasks)

I want to…UseNotes
Generate a dataset (Parquet)POST /data/generateBest first success path
Stream events (SSE)GET /stream/liveReal-time event stream
Validate a manifest + get a hashMCP tool validate_configReproducibility envelope
Get manifest JSON SchemaMCP tool get_config_schemaClient-side validation
Generate via MCPMCP tool generate_datasetMCP-native workflow
Export cached output as ParquetMCP tool export_cacheCache → Parquet
Normalize exchange eventsMCP tool normalize_eventsCanonical schema
Simulate fundingMCP tool simulate_funding_regimeVenue-aware funding
Terminal window
export ALEATORIC_API_KEY="your-api-key"
curl -sS -X POST "https://mcp.aleatoric.systems/data/generate" \
-H "X-API-Key: $ALEATORIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"config": { "symbol": "BTC", "seed": 42 },
"duration_seconds": 60
}' -o response.json
python3 -c 'import json; print(json.load(open("response.json"))["download_url"])' > download_url.txt
curl -L "$(cat download_url.txt)" -o aleatoric.parquet
Terminal window
curl -N "https://mcp.aleatoric.systems/stream/live?symbol=BTCUSDT&seed=42" \
-H "X-API-Key: $ALEATORIC_API_KEY"

See Auth & Rate Limits for retry/backoff guidance and common status codes.