DEVELOPER PLATFORM V1.4

Build with
Stooper.

Practical calculation infrastructure for shipping, software and AI workflows. One server-side engine, two integration interfaces.

Public access · No API key · Deterministic JSON results

STOOPER / LIVE SERVICESREST v1
Not checked yet

Check the production API on demand.

POST /api/v1/cbm
{
  "items": [{
    "length": 60, "width": 40,
    "height": 40, "unit": "cm",
    "quantity": 120
  }]
}
EXAMPLE RESPONSE11.52 m³120 cartons · geometric volume

01 / QUICK START

Three tools. One API.

Send JSON over HTTPS. Successful responses contain ok, version and data. No SDK is required.

01

Cargo volume

Calculate cubic metres and cubic feet across carton groups.

POST /cbm
02

Unit conversion

Convert 24 length, mass, volume and area units.

POST /convert
03

Risk & reward

Estimate position size, fees and trading risk.

POST /risk-reward

02 / LIVE PLAYGROUND

Make a real request.

Edit the sample JSON and run it against the existing API. The response below is from the server, not a simulation. Use sample or non-sensitive values only.

JSON object · 16 KiB maximum

Server response
Run a request to see the live response.

No request sent.

Requests count toward the shared rate limit.

03 / API REFERENCE

Endpoints & input fields

MethodPath (under /api/v1)Purpose
POST/cbmCarton volume
POST/convertMeasurement conversion
POST/risk-rewardTrading estimates
GET/healthCurrent API availability
GET/openapi.jsonMachine-readable contract
CBM / cargo volume

items is required (1–100 objects). Each item requires numeric length, width, height (0.000001–1,000,000; converted size no greater than 1,000 m) and unit (mm, cm, m, in, ft). Optional integer quantity defaults to 1, maximum 1,000,000.

Returns per-item volume, total quantity, total_cbm and total_cubic_feet. Geometric volume only, not carrier chargeable weight or container fit.

Measurement conversion / all 24 units

Required: value (0 to 10¹²), from and to. Unit symbols are case-sensitive and must belong to the same dimension.

Length
mm, cm, m, km, in, ft, yd
Mass
g, kg, t, lb, oz
Volume
mm3, cm3, m3, L, mL, in3, ft3
Area
mm2, cm2, m2, in2, ft2

Returns result and the measurement dimension.

Risk / reward / optional sizing controls

Required: direction (long or short), entry, stop, target and account_balance. For long, stop < entry < target; reverse for short. All monetary values must use one currency.

Optional: risk_percent (default 1), fixed_risk (positive overrides percentage), fee_percent (per transaction, default 0), leverage (default 1), unit_step (default 1). See OpenAPI for complete bounds.

Returns gross risk sizing, fees, net risk/reward and warnings. Estimated losses can exceed the budget after fees; not a trade execution service. Estimates do not account for slippage, gaps, funding or taxes.

For complete request and response schemas, use the OpenAPI specification. Unknown fields and numeric strings are rejected.

04 / CODE EXAMPLES

Use your preferred language.

Examples follow the current playground request. They use the public production URL.

curl -X POST 'https://stooper.co/api/v1/cbm' \
  -H 'Content-Type: application/json' \
  --data-binary '{"items":[{"length":60,"width":40,"height":40,"unit":"cm","quantity":120}]}'

Valid request JSON is required to generate examples.

For scripts with no JavaScript, see the complete static examples for all five languages.

05 / AUTOMATION

Connect an n8n workflow.

  1. Start with a Manual Trigger. Add an HTTP Request node after it.
  2. Set the request. Method POST, URL https://stooper.co/api/v1/cbm, Authentication None.
  3. Enable Send Body. Choose JSON, specify JSON body, and paste the CBM sample from the playground.
  4. Execute the node. Use {{ $json.data.total_cbm }} in a subsequent Edit Fields node. For the sample this is 11.52.
  5. Handle errors. Stop on 422; on 429 wait for Retry-After before a bounded retry. Do not loop or retry invalid input.

Official n8n HTTP Request documentation ↗. n8n hosting and workflow execution are separate from Stooper.

06 / MODEL CONTEXT PROTOCOL

Connect an AI agent.

Use a client supporting the 2025-era Streamable HTTP protocol with JSON responses, no session state, and no authentication. Stooper supports revisions 2025-11-25 and 2025-06-18; the 2026 protocol is not implemented.

MCP ENDPOINThttps://stooper.co/mcp/index.php
stooper_calculate_cbmCargo volume
stooper_convert_unitsMeasurement
stooper_calculate_risk_rewardTrading estimates
  1. Add the endpoint in your client's remote MCP server settings, if available. Select Streamable HTTP and no credentials.
  2. Initialize using a supported protocol. Then send the initialized notification and discover tools with tools/list.
  3. Call a tool using tools/call. Read the returned structuredContent or JSON text; check isError.

Copy-ready PowerShell MCP handshake and tool call · Server card · MCP documentation

Client support varies. No standalone SSE stream, OAuth, or confirmed ChatGPT/Claude integration is promised. The four existing public resources remain available via resources/list and resources/read.

07 / OPERATING LIMITS

Build responsibly.

60requests / minute per observed IP
1,200requests / minute per limiter instance
16 KiBmaximum calculation JSON body

REST calculations, health and admitted MCP POST requests share fixed UTC minute windows. The limiter is instance-local. Respect Retry-After on 429. No browser CORS support is promised; this playground is same-origin. When operational analytics is enabled, Stooper records aggregate daily service counts, outcome categories and server processing times for up to 90 days; it does not store request bodies, IP addresses or client identifiers in analytics. Request bodies are not stored by the application, but infrastructure logs and site privacy policies still apply. Do not send personal information, credentials or private account details.

HTTP statusAction
400Correct malformed JSON or invalid object.
404 / 405Check path and HTTP method.
413 / 415Reduce body size or use application/json.
422Correct fields, values or incompatible units.
429Wait for Retry-After; no tight retry loops.
500 / 503Service error or unavailable limiter; retry later.

Public access is currently available without keys. Availability and limits may change; no SLA is promised.