Alt Data API

The alt data layer
your models are missing

Google Trends + insider trading + congressional activity + news velocity = signal. One API cross-references alternative data sources into actionable intelligence for quant research and AI pipelines.

pip install trawl-sdk
import requests

# 1. Alt Data Pulse — cross-reference trending topics with market activity
resp = requests.get("https://api.gettrawl.com/api/pulse", params={"geo": "US", "max_trends": 10})
pulse = resp.json()

for item in pulse["pulse"]:
    tickers = ", ".join(item["related_tickers"][:5])
    print(f"[{item['alt_data_score']:.2f}] {item['trend']} ({item['traffic_volume']})")
    print(f"  Tickers: {tickers}")
    for signal in item["signals"]:
        print(f"  {signal['type']} ({signal['severity']}): {signal['description']}")

# 2. Deep-dive a specific topic → find exposed tickers
topic = requests.get("https://api.gettrawl.com/api/pulse/topic/artificial intelligence chips").json()
for t in topic["tickers"]:
    print(f"{t['ticker']}: score {t['alt_data_score']:.2f}, {t['mention_count']} mentions")

Six endpoints, full alt data coverage

GET/api/pulse

Alt Data Pulse

Cross-references Google Trends trending topics with insider trading, congressional activity, and news velocity. Surfaces where trending topics intersect market activity -- the signals that matter before they hit Bloomberg.

GET/api/pulse/topic/{topic}

Topic Correlation

Deep-dive from any trending topic to related tickers with financial signals. Start with a topic, get back tickers with insider activity, congressional trades, and news volume.

GET/api/anomalies/{ticker}

Anomaly Detection

Statistical anomaly detection comparing current activity vs baseline period. Z-scores across insider trading frequency, news velocity, congressional activity, and Reddit mention volume.

GET/api/intelligence/{ticker}

Intelligence Report

Cross-source aggregation with signal detection. One call returns earnings, Form 4, congressional trades, news, Reddit, and papers -- unified with severity scoring.

GET/api/timeline/{ticker}

Timeline

Chronological cross-source event feed. Every insider trade, congressional disclosure, earnings call, and news article in one time-ordered stream.

POST/api/scan

Watchlist Scan

Batch scan up to 20 tickers in one call. Returns ranked signals with severity scores so you know where to focus research.

anomaly detection + watchlist scan
# 3. Anomaly detection — current vs baseline
anomalies = client.intelligence.anomalies("TSLA", current_days=7, baseline_days=90)
for a in anomalies["anomalies"]:
    print(f"  {a['source']}: {a['metric']} = {a['current']} vs baseline {a['baseline']}")
    print(f"    Z-score: {a['z_score']:+.1f} | {a['severity']}")

# 4. Batch scan your watchlist
scan = client.intelligence.scan(tickers=["AAPL", "NVDA", "TSLA", "META", "GOOG"])
for ticker in scan["results"]:
    print(f"{ticker['ticker']}: signal_score={ticker['signal_score']}")
    for signal in ticker["top_signals"]:
        print(f"  - {signal['description']}")

Seven data sources, one schema

Google Trends

Real-time trending searches and topic velocity

SEC Form 4

Insider buys/sells with shares, price, direction

Congressional Trading

Senate and House stock disclosures by politician

News (GDELT + NewsAPI + RSS)

Multi-source news aggregation with velocity scoring

Reddit

Ticker mentions, trending tickers, aggregated sentiment

Earnings Calls

Speaker-segmented transcripts with NLP sentiment

Academic Papers

ArXiv + Semantic Scholar for research signals

Replace expensive alt data vendors

ProviderCoverageCost
Bloomberg TerminalBroad but requires seat$25,000/yr
Quandl / Nasdaq Data LinkPer-dataset pricing$500+/mo
RavenPackNews sentiment only$50,000+/yr
Point solutions (5+ vendors)Fragmented schemas$1,500+/mo
Trawl7 sources, unified schema, cross-referenced$0-29/mo
Start Building — Free

$0 free tier with 1,000 requests/month. Pro at $29/mo with 7-day free trial.