Developer Center

API v1 operational

Use the Mathemagics engine inside your own product — create a key and call the REST API.

Links & hosts

The first two are human links you can search or open in a browser; the last two are what your code calls.

Websitehttps://solvemy-steps-buddy.lovable.app
Developerhttps://solvemy-steps-buddy.lovable.app/developer
API basehttps://solvemy-steps-buddy.lovable.app/api/public/v1
Docshttps://solvemy-steps-buddy.lovable.app/developer#docs
  • Website / Developer — searchable pages that open this console directly.
  • API base — the host your code calls; append /solve, /search, etc.

Environments & base URL

Hosthttps://solvemy-steps-buddy.lovable.app
Basehttps://solvemy-steps-buddy.lovable.app/api/public/v1
AuthAuthorization: Bearer mm_live_…

Canonical website host. Use this in your live app.

Endpoint reference

  • Solve a math problem, guide-style

    https://solvemy-steps-buddy.lovable.app/api/public/v1/solve
    ParamTypeDescription
    problem*stringThe question text or LaTeX.
    language"bn" | "en"Answer language. Default bn.
    classIdstringe.g. "6", "9-10", "11-12".
    guidestringlecture | panjeree | alfata | auto
    200 OK
    {
      "problem": "x^2 - 5x + 6 = 0",
      "language": "bn",
      "grounded": true,
      "solution": "সমাধান: ... চূড়ান্ত উত্তর: x = 2, 3"
    }

Your API keys

Sign in to create keys

Quickstart & code samples

solve.sh
# Mathemagics API — Production
export MM_BASE="https://solvemy-steps-buddy.lovable.app/api/public/v1"
export MM_KEY="mm_live_YOUR_KEY"

curl -X POST "$MM_BASE/solve" \
  -H "Authorization: Bearer $MM_KEY" \
  -H "Content-Type: application/json" \
  -d '{"problem":"x^2 - 5x + 6 = 0","language":"bn","classId":"9-10","guide":"lecture"}'

Rate limits & errors

401Missing or invalid key
403Scope not enabled on this key
404Unknown endpoint
429Rate limited — retry shortly
5xxServer error — use exponential backoff