What Stemfard does
The Stemfard API processes mathematics operations server-side and returns results in the format your application needs. Every endpoint accepts a standard set of request parameters that let you control how much detail the response includes — from a bare numeric result to a full step-by-step walkthrough with background theory in HTML, LaTeX, or natural-language speech format.Stemfard is designed to be embedded in your product. Your users see the results; the API handles the computation and explanation.
Key capabilities
Stemfard currently covers linear algebra with a comprehensive set of matrix operations, and the library continues to grow.- Matrix arithmetic — Addition, subtraction, element-wise multiplication, division, power, and full matrix multiplication
- Matrix dimensions — Query the number of rows, columns, or the full shape of any matrix
- Matrix statistics — Compute min, max, sum, mean, median, variance, and standard deviation across rows, columns, or an entire matrix
- Step-by-step solutions — Every endpoint can return a detailed solution trace in HTML, LaTeX, or speech format, controlled by the
steps_output_formatsparameter - Learning pathways — Set
learning_pathways: trueto receive a list of related educational endpoints alongside the result, supporting deeper exploration - Response verbosity — The
api_levelparameter ("lite","standard", or"detailed") lets you tune how much information each response contains
How the API is organized
Stemfard follows REST conventions. All requests and responses use JSON. There is a single versioned path prefix for all mathematics endpoints.
All mathematics endpoints sit under
/api/v1/mathematics/. For example, matrix operation endpoints are at /api/v1/mathematics/linear-algebra/matrix-operations/.
Two public endpoints require no authentication:
GET /— Returns general API informationGET /health— Returns the current health status of the API
All mathematics endpoints require authentication. See Authenticate requests for details on passing your API key.
What’s next
Quickstart
Make your first API call in minutes and see a real matrix operation response.
API reference
Browse every endpoint with full request parameters and response schemas.