Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docsa.stemfard.com/llms.txt

Use this file to discover all available pages before exploring further.

Stemfard is a REST API that gives your application instant access to mathematics computations built for education. Instead of implementing matrix operations, statistical functions, or step-by-step solvers from scratch, you send a POST request and receive structured JSON responses — complete with solution steps, LaTeX output, and learning pathway suggestions. Stemfard is designed for developers building educational platforms, tutoring tools, homework helpers, and any STEM application that needs reliable, explainable math.

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_formats parameter
  • Learning pathways — Set learning_pathways: true to receive a list of related educational endpoints alongside the result, supporting deeper exploration
  • Response verbosity — The api_level parameter ("lite", "standard", or "detailed") lets you tune how much information each response contains
Use api_level: "lite" in production for fast, minimal responses. Switch to "detailed" in educational contexts where step-by-step explanations add value for students.

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.
PropertyValue
Base URLhttps://api.stemfard.com
API versionv1
ProtocolHTTPS
Request formatJSON body (POST)
Response formatJSON
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 information
  • GET /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.