SPX6,869.50+0.78%
DJI48,739.41+0.49%
NDX25,093.68+1.51%
RUT2,636.01+1.06%
VIX21.15-10.27%
TNX40.80+0.59%
GC5,164.91+0.78%
BTC72,765+6.48%
SPX6,869.50+0.78%
DJI48,739.41+0.49%
NDX25,093.68+1.51%
RUT2,636.01+1.06%
VIX21.15-10.27%
TNX40.80+0.59%
GC5,164.91+0.78%
BTC72,765+6.48%

API Documentation

REST API reference and interactive playground

Getting Started
Authenticate your requests using an API key

All API requests require authentication via the X-API-Key header:

curl -H "X-API-Key: mk_live_xxx..." https://your-domain.manus.space/api/v1/quotes
Endpoints

Quotes

GET/api/v1/quotes

List all quotes with pagination

GET/api/v1/quotes/random

Get a random quote

GET/api/v1/quote-of-the-day

Get today's featured quote

POST/api/v1/quotes/search

Search quotes

Categories

GET/api/v1/categories

List all categories

GET/api/v1/categories/:id/quotes

Get quotes by category

Investors

GET/api/v1/investors

List legendary investors

GET/api/v1/investors/:slug

Get investor profile and quotes

Collections

GET/api/v1/collections

List public collections

GET/api/v1/collections/:slug

Get collection details

Stats & Leaderboard

GET/api/v1/stats

Get site statistics

GET/api/v1/leaderboard

Get engagement leaderboard

Market Data

GET/api/v1/market-data

Get real-time market data (Databento)

Rate Limiting

API requests are rate limited to protect the service. Limits are included in response headers:

Daily Limit

Default: 1,000 requests/day

Per-Minute Limit

Default: 60 requests/minute

When rate limited, you'll receive a 429 status code. Check the X-RateLimit-Reset header for when limits reset.

API Playground
Test API endpoints directly in your browser
GET/api/v1/quotes

List all quotes with pagination

Code Examples
const response = await fetch('https://your-domain.manus.space/api/v1/quotes?limit=50&offset=0&category=investing', {
  headers: {
    'X-API-Key': 'YOUR_API_KEY',
  },
});
const data = await response.json();
console.log(data);
Response Format

All responses follow a consistent format:

Success Response

{
  "success": true,
  "data": [...],
  "pagination": {
    "total": 100,
    "limit": 50,
    "offset": 0,
    "hasMore": true
  }
}

Error Response

{
  "error": "Unauthorized",
  "message": "Invalid or expired API key"
}

Command Palette

Search for a command to run...