/v1/meta
Spec
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/polynomial-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/polynomial-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/polynomial-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/polynomial-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"name": "Polynomial API",
"notes": "Degree up to 100. Complex roots are found numerically (Durand-Kerner) and converge to ~1e-14. Nothing is stored.",
"version": "v1",
"endpoints": [
{
"path": "/v1/roots",
"params": {
"coefficients": "e.g. [1,-3,2]"
},
"returns": "all roots (real and complex) and a real-only list"
},
{
"path": "/v1/evaluate",
"params": {
"x": "the point",
"coefficients": "e.g. [1,-3,2]"
},
"returns": "p(x) and p'(x)"
},
{
"path": "/v1/derivative",
"params": {
"constant": "integration constant (optional)",
"coefficients": "e.g. [1,-3,2]"
},
"returns": "derivative and integral coefficients"
},
{
"path": "/v1/operate",
"params": {
"a": "first polynomial",
"b": "second polynomial",
"op": "add|subtract|multiply|divide"
},
"returns": "the resulting polynomial (quotient+remainder for divide)"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"conventions": {
"coefficients": "highest degree first, e.g. [1,-3,2] = x^2 - 3x + 2",
"complex_roots": "returned as {re, im}"
},
"description": "Work with polynomials: find their roots, evaluate them, differentiate and integrate, and add, subtract, multiply or divide them. The roots endpoint returns every root — real and complex — using the exact quadratic formula for degree 2 and the Durand-Kerner method for higher degrees, with a clean list of just the real roots too. The evaluate endpoint computes p(x) and p'(x) at a point by Horner's method. The derivative endpoint returns the coefficients of the derivative and the indefinite integral. The operate endpoint does polynomial arithmetic — addition, subtraction, multiplication, and long division giving a quotient and remainder. Coefficients are given highest-degree first, so [1,-3,2] means x² − 3x + 2. Everything is computed locally and deterministically, so it is instant and private. Ideal for engineering and control systems, signal processing and filter design, computer graphics and curve fitting, scientific computing, and teaching algebra and calculus. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 5 endpoints. This is polynomial maths; for matrices use a matrix API, for vectors a vector API, and for general arithmetic a math API."
},
"meta": {
"timestamp": "2026-06-03T17:42:15.327Z",
"r
…