Try It Home Get API Key

Developer API

Access real-time crypto prices, risk scores, macro pulse intelligence, and AI forecasts from your own apps.

Authentication

All API requests require an X-API-Key header. Generate your key from the Settings page.

curl -H "X-API-Key: ahk_your_key_here" \
  https://rmassistanthub.io/api/v1/prices

Base URL

https://rmassistanthub.io/api/v1/

Endpoints

EndpointDescriptionTier
GET /pricesAll coin prices, 24h change, volume, market capFree
GET /prices/:symbolSingle coin price (e.g. /prices/BTC)Free
GET /fear-greedCrypto Fear & Greed IndexFree
GET /newsLatest crypto news headlinesFree
GET /pulse/latestToday's AI macro pulse (threats + opportunities)Free*
GET /pulse/historyLast 7 days of pulse summariesFree
GET /risk/scoresAll coin risk scores (0-100)Free
GET /risk/scores/:coinSingle coin risk scoreFree
GET /forecast/:symbolAI price forecast with support/resistancePro+

* Free tier gets headline + sentiment only. Pro/Premium gets full deep-dive with threats and opportunities.

Rate Limits

Limits reset daily at midnight UTC. Every response includes rate limit headers:

Free

$0
  • 100 calls/day
  • All endpoints except forecast
  • Pulse headline only

Pro

$10/mo
  • 1,000 calls/day
  • All endpoints + forecast
  • Full pulse deep-dive

Premium

$25/mo
  • Unlimited calls
  • All endpoints + forecast
  • Priority data refresh

Example Responses

GET /prices

{
  "data": [
    {
      "symbol": "BTC",
      "price": 72731,
      "change24h": 6.85,
      "volume24h": 81477464225,
      "marketCap": 1455645269891
    },
    ...
  ],
  "count": 8,
  "timestamp": 1709625600000
}

GET /risk/scores/BTC

{
  "data": {
    "coin": "BTC",
    "score": 32,
    "trend": "improving",
    "rationale": "Momentum recovering after consolidation...",
    "evaluatedAt": 1709625600000
  },
  "timestamp": 1709625600000
}

GET /pulse/latest (Pro+)

{
  "data": {
    "id": "pulse-20260305",
    "headline": "Risk-On Tilt as Fed Signals June Cut",
    "sentiment": "cautiously_bullish",
    "generatedAt": 1709625600000,
    "threats": [...],
    "opportunities": [...],
    "deepDive": "..."
  }
}

Error Handling

Errors return JSON with an error field:

// 401 — Invalid key
{ "error": "Invalid or revoked API key" }

// 429 — Rate limited
{
  "error": "Daily API call limit exceeded",
  "limit": 100,
  "used": 100,
  "resetAt": "2026-03-06T00:00:00.000Z",
  "upgrade": "https://rmassistanthub.io/#payments"
}

// 503 — Data not yet available
{ "error": "Price data not yet available", "retryAfter": 30 }

Live API Console

Paste your API key and hit Run to see real data. Get a key if you don't have one.

// Response will appear here...

Code Examples

JavaScript (fetch)

const res = await fetch("https://rmassistanthub.io/api/v1/prices", {
  headers: { "X-API-Key": "ahk_your_key_here" }
});
const { data } = await res.json();
console.log(`BTC: $${data[0].price}`);

Python (requests)

import requests

r = requests.get(
    "https://rmassistanthub.io/api/v1/risk/scores",
    headers={"X-API-Key": "ahk_your_key_here"}
)
scores = r.json()["data"]
for s in scores:
    print(f"{s['coin']}: risk={s['score']}, trend={s['trend']}")

curl

# Get all prices
curl -H "X-API-Key: ahk_your_key_here" \
  https://rmassistanthub.io/api/v1/prices

# Get BTC risk score
curl -H "X-API-Key: ahk_your_key_here" \
  https://rmassistanthub.io/api/v1/risk/scores/BTC

# Get today's macro pulse
curl -H "X-API-Key: ahk_your_key_here" \
  https://rmassistanthub.io/api/v1/pulse/latest

Ready to build?

Create a free account and generate your API key in seconds.

Get Your API Key

Assistant Hub © 2026 · Terms · Privacy