Integration
API Reference
REST + WebSocket APIs share the same authentication model. Send an x-raiku-key header (or use the SDK which handles it automatically).
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/slots/available | List upcoming slots with pricing metadata |
| POST | /api/v1/auctions/jit | Submit a sealed bid for the next slot |
| POST | /api/v1/auctions/aot | Reserve a specific future slot |
| GET | /api/v1/reservations/:id | Fetch reservation status + receipt |
Example
api.ts
const res = await fetch('https://api.raiku.dev/api/v1/slots/available?limit=5', {
headers: {
'x-raiku-key': process.env.RAIKU_KEY!,
},
})
const slots = await res.json()