Skip to main content

1. Get Your Credentials

1

Create Account

Sign up at dashboard.raptordata.dev (free, no credit card)
2

Copy API Key

Go to Settings → API Keys → Create new key (starts with rpt_)
3

Copy Workspace ID

Your Workspace ID is in the dashboard header (UUID format)

2. Update Your Code

Just change the base URL and add two headers. Everything else stays the same.

3. Verify It Works

Check for Raptor headers in the response:
Make the same request twice. The second time, you’ll see X-Raptor-Cache: hit and a much faster response.

4. Use Streaming

Streaming works out of the box. Just add stream: true:

What’s Happening?

Every request now flows through Raptor:
Total overhead: ~5ms. Built in Rust for speed.

Next Steps

How It Works

Understand the Rust architecture

Semantic Cache

Learn how caching saves you money

AI Firewall

Protect against prompt injection

Anthropic Guide

Using Claude instead of GPT?