Developer Center
API v1 operationalUse 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.
Website
https://solvemy-steps-buddy.lovable.appDeveloper
https://solvemy-steps-buddy.lovable.app/developerAPI base
https://solvemy-steps-buddy.lovable.app/api/public/v1Docs
https://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
Host
https://solvemy-steps-buddy.lovable.appBase
https://solvemy-steps-buddy.lovable.app/api/public/v1Auth
Authorization: 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/solveParam Type Description problem* string The question text or LaTeX. language "bn" | "en" Answer language. Default bn. classId string e.g. "6", "9-10", "11-12". guide string lecture | panjeree | alfata | auto 200 OK{ "problem": "x^2 - 5x + 6 = 0", "language": "bn", "grounded": true, "solution": "সমাধান: ... চূড়ান্ত উত্তর: x = 2, 3" }
Your API 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
| 401 | Missing or invalid key |
| 403 | Scope not enabled on this key |
| 404 | Unknown endpoint |
| 429 | Rate limited — retry shortly |
| 5xx | Server error — use exponential backoff |