{"message":"API Documentation","endpoints":[{"path":"/api/v1/auth","description":"Authentication API","endpoints":[{"method":"POST","path":"/register","description":"Register new user"},{"method":"POST","path":"/login","description":"User login"},{"method":"GET","path":"/me","description":"Get current user info"}]},{"path":"/api/v1/api-keys","description":"API Key Management","endpoints":[{"method":"GET","path":"/","description":"Get all API keys"},{"method":"POST","path":"/","description":"Create new API key"},{"method":"PUT","path":"/:keyId","description":"Update API key"},{"method":"DELETE","path":"/:keyId","description":"Delete API key"}]},{"path":"/api/v1/billing","description":"Billing and Subscription Management","endpoints":[{"method":"GET","path":"/subscription","description":"Get current subscription"},{"method":"POST","path":"/subscription","description":"Update subscription"},{"method":"GET","path":"/plans","description":"Get available pricing plans"},{"method":"GET","path":"/history","description":"Get billing history"},{"method":"GET","path":"/usage","description":"Get API usage statistics"}]},{"path":"/api/v1/stocks/prices","method":"GET","description":"Get historical stock price data","parameters":[{"name":"symbol","type":"string","required":true,"description":"Stock ticker symbol"},{"name":"start_date","type":"string","required":false,"description":"Start date (YYYY-MM-DD)"},{"name":"end_date","type":"string","required":false,"description":"End date (YYYY-MM-DD)"}]},{"path":"/api/v1/indices","method":"GET","description":"Get market indices data","parameters":[{"name":"index","type":"string","required":true,"description":"Index code (e.g., SPX, DJIA)"},{"name":"period","type":"string","required":false,"description":"Time period (daily, weekly, monthly)"}]},{"path":"/api/v1/fundamentals","method":"GET","description":"Get company fundamental data","parameters":[{"name":"symbol","type":"string","required":true,"description":"Stock ticker symbol"},{"name":"metric","type":"string","required":false,"description":"Specific metric to retrieve"}]}],"mcp_server":"http://localhost:3002"}