API Documentation

Integrate YaxisAI into your applications with our RESTful API

Authentication

All API requests require authentication using Bearer tokens.

Authorization: Bearer YOUR_API_TOKEN

Financial Data

GET /api/financial-data

Retrieve financial data with optional filtering.

{
  "data": [
    {
      "date": "2024-01-31",
      "revenue": 1200000,
      "cogs": 480000,
      "opex": 360000,
      "ebitda": 360000
    }
  ],
  "status": "success"
}

AI Recommendations

POST /api/generate-ai-recommendations

Generate AI-powered financial recommendations.

{
  "recommendations": [
    {
      "category": "cost_optimization",
      "priority": "high",
      "description": "Reduce operational expenses by 8%",
      "impact": 96000
    }
  ],
  "health_score": 78
}

Analytics

POST /api/analytics/financial-health

Calculate comprehensive financial health metrics.

Snapshots

POST /api/generate-snapshot

Generate shareable financial snapshots.

YaxisAI Logo Features