Documentation

API references, quickstart guides, and integration docs for Fumei Lab products.

API

Drift API

Real-time intelligence API. Query topics, receive synthesized briefings.

Tool

Pulse

AI research intelligence feed. WebSocket API and REST endpoints.

Tool

Burn

LLM cost calculator. Embeddable widget and pricing data API.

Guide

Quickstart

Get up and running with the Drift API in under 5 minutes.

Drift API Reference

The Drift API provides synthesized intelligence briefings on any topic. Send a query, receive a structured report with summary, key findings, and source metadata.

Authentication

All requests require a Bearer token. Get your API key from the dashboard.

bash
curl https://api.fumeilab.com/v1/briefing \
  -H "Authorization: Bearer fl_sk_..." \
  -H "Content-Type: application/json" \
  -d '{"topic": "AI model releases this week"}'

Endpoints

Request Body

json
{
  "topic": "string — required. The intelligence query.",
  "depth": "quick | detailed | comprehensive",
  "category": "ai | technology | business | science | crypto",
  "max_sources": "integer, default 20",
  "format": "prose | structured | bullets"
}

Response

json
{
  "id": "brf_abc123",
  "topic": "AI model releases this week",
  "summary": "Three major model releases this week...",
  "findings": [
    {
      "title": "GPT-5.4 launched with 1M context window",
      "detail": "OpenAI released GPT-5.4 on March 5...",
      "relevance": 0.95
    }
  ],
  "sources_count": 18,
  "generated_at": "2026-03-13T12:00:00Z",
  "tokens_used": 1240
}

Quickstart

Get your first intelligence briefing in under 5 minutes.

1. Get an API Key

Sign up at dashboard.fumeilab.com to get your API key. The free tier includes 50 briefings per month.

2. Make Your First Request

python
import httpx

client = httpx.Client(
    base_url="https://api.fumeilab.com",
    headers={"Authorization": "Bearer fl_sk_your_key"},
)

resp = client.post("/v1/briefing", json={
    "topic": "latest developments in AI agents",
    "depth": "detailed",
})

briefing = resp.json()
print(briefing["summary"])

3. Use as MCP Server

Add Drift to your Claude Code or Cursor configuration:

json — .claude/settings.json
{
  "mcpServers": {
    "drift": {
      "url": "https://mcp.fumeilab.com/drift",
      "headers": {
        "Authorization": "Bearer fl_sk_your_key"
      }
    }
  }
}

Pulse API

Real-time AI research intelligence feed. Open source with a public API.

Base URL: https://pulse.fumeilab.com

Burn

LLM cost calculator and pricing data. Free to use, no API key required. 27 models across 8 providers with verified pricing.

Open Burn Calculator →