Math Solver API
FreemiumEvaluate expressions, solve equations, and compute derivatives, integrals and simplifications — with exact and decimal answers.
Documentation
Evaluate expressions, solve equations, and compute derivatives, integrals and simplifications.
What you get
- Evaluate expressions with variables — exact and decimal results
- Solve equations and polynomials for any variable
- Derivatives and integrals (indefinite or definite)
- Simplify and factor algebraic expressions
- Accepts natural input:
^for powers,sqrt,sin,log,pi,e…
Great for homework and tutoring apps, calculators, e-learning and engineering tools.
Quick start
Subscribe to a plan (the Basic plan is free), then call the API at https://math-solver.p.apihiver.com with your key in the X-API-Key header:
curl -X POST "https://math-solver.p.apihiver.com/v1/evaluate" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"expression": "2*x+3", "variables": {"x": 4}}'Endpoints
| Method | Path | What it does |
|---|---|---|
POST | /v1/evaluate | Evaluate an expression to a number |
POST | /v1/solve | Solve an equation for a variable |
POST | /v1/derivative | Differentiate an expression |
POST | /v1/integral | Integrate an expression (indefinite, or definite with bounds) |
POST | /v1/simplify | Simplify / expand / factor an expression |
Open the Endpoints tab to see every parameter, example request and example response, and to try the API live.
Errors
Every error is JSON with the same shape:
{"error": {"code": "INVALID_INPUT", "message": "expression: Field required"}}| HTTP | Code | Meaning |
|---|---|---|
| 400 | INVALID_INPUT | A parameter is missing or has the wrong format — the message says which |
| 401 | UNAUTHORIZED | Missing or invalid X-API-Key |
| 429 | — | Plan quota or rate limit reached (see the X-RateLimit-* headers) |
| 502 / 503 / 504 | — | A data source or the API server is temporarily unavailable — retry after a few seconds |
Data & privacy
Data comes from SymPy, computed on our servers in a sandboxed parser.
Math Solver API FAQ
- Is the Math Solver API free?
- Yes. The Basic plan is free and includes 500 requests per month — no card needed. Paid plans start at ₹299 per month for 10,000 requests.
- How much does the Math Solver API cost?
- Basic: free for 500 requests; Pro: ₹299/month for 10,000 requests; Ultra: ₹999/month for 50,000 requests; Mega: ₹2,499/month for 2,00,000 requests. Billing is monthly and you can cancel any time.
- How do I use the Math Solver API?
- Subscribe to a plan on APIHiver, create an API key in the Console, then send requests to https://math-solver.p.apihiver.com with your key in the X-API-Key header. You can also try every endpoint in the browser playground first.
- What endpoints does the Math Solver API have?
- It has 5 endpoints: Evaluate an expression to a number (POST /v1/evaluate); Solve an equation for a variable (POST /v1/solve); Differentiate an expression (POST /v1/derivative); Integrate an expression (indefinite, or definite with bounds) (POST /v1/integral); Simplify / expand / factor an expression (POST /v1/simplify).
- What are the Math Solver API rate limits?
- Basic: 2 requests per second; Pro: 5 requests per second; Ultra: 10 requests per second; Mega: 20 requests per second. Monthly quotas depend on the plan; every response includes X-RateLimit headers showing what's left.
- Can I use one API key for the Math Solver API and other APIs?
- Yes. One APIHiver key works for every API you subscribe to, so you don't need a separate account or key per provider.
Related APIs
Universities API
EducationBy APIHiver · Updated 1w ago
Search universities in 200+ countries, look up a university by web domain, and verify student email addresses.
English Dictionary API
EducationBy APIHiver · Updated 1w ago
English definitions, synonyms, antonyms, rhymes, 'words that mean…' and autocomplete — fast and fully offline.
Books API
EducationBy APIHiver · Updated 1w ago
Search millions of books by title, author or subject, look up any ISBN, and find authors — powered by Open Library.
Weather API
WeatherBy APIHiver · Updated 1w ago
Current weather, 9-day forecasts, hourly forecasts, and sunrise/sunset/moon phase for any city or coordinates worldwide.
Earthquake API
WeatherBy APIHiver · Updated 1w ago
Real-time earthquakes worldwide from the USGS: recent quakes, quakes near a location, historical search and event details.
Drug Information API
HealthcareBy APIHiver · Updated 1w ago
Medicine information from the US FDA: uses, dosage, warnings, side effects, reported adverse events and recalls.
Endpoints
5 endpoints — full list is in the sidebar on larger screens.