Skip to main content

Integration layer

Make ShowMath easy to plug into anything.

Concise routes for product teams, agents, websites, and internal tools: discover calculators, embed proof-first UI, route calculator requests, and keep webhook payloads predictable.

Calculators

243

Super calcs

29

Graph edges

123

Embed any calculator

Use iframe URLs directly or let oEmbed produce the hosted snippet.

Sync the catalog

243 calculators and 29 super calcs ship as JSON.

Route questions

POST plain-language asks and get the best calculator handoff back.

Align webhooks

Use stable ShowMath event names and signed-payload headers.

Catalog

One sync call.

Pull categories, calculator URLs, embed URLs, oEmbed URLs, super-calc composition, and graph metadata from one cacheable JSON endpoint.

curl https://showmath.com/api/v1/catalog

Routing

Natural language to calculator.

Send a short question and get a calculator match, extracted inputs, and a prefilled handoff URL for the user.

curl -X POST https://showmath.com/api/v1/ask \
  -H "Content-Type: application/json" \
  -d '{"query":"Should I refinance my mortgage?"}'

Embeds

Hosted UI, no rebuild required.

Open oEmbed example

Primitive iframe

https://showmath.com/embed/{calculator_slug}

DSL iframe

https://showmath.com/embed/dsl/{calculator_id}

Super DSL iframe

https://showmath.com/embed/super-dsl/{super_calculator_id}

Public routes

Small, explicit API surface.

GET

Public catalog

/api/v1/catalog

Category, calculator, super-calc, embed, and graph metadata for discovery.

none

GET

Integration manifest

/api/v1/integrations

Machine-readable ShowMath provider capabilities, routes, and webhook payloads.

none

GET

Well-known provider file

/.well-known/showmath.json

Stable provider discovery URL for agents, partner apps, and automation platforms.

none

GET

oEmbed

/api/oembed?url={showmath_url}

Returns rich iframe HTML for hosted calculators and DSL calculators.

none

POST

Calculator concierge

/api/v1/ask

Routes a natural-language question to a calculator and prefilled URL.

none

POST

Generate a tool spec

/api/v1/generate-tool

Turns a calculator idea into a validated ShowMath ToolSpec.

bearer when configured

POST

Create DSL calculator

/api/calculators

Stores a structured calculator spec for hosted pages, embeds, and evaluation.

optional bearer

POST

Evaluate DSL calculator

/api/calculators/{id}/evaluate

Runs saved calculator specs and returns formulas, outputs, and errors.

optional bearer

GET

Super-calc catalog

/api/super

Compact metadata for chained super calculators and their primitive edges.

none

Webhook compatibility

Event names and signed headers are ready for partners.

The manifest publishes a stable payload contract now. Delivery can plug into these event types without changing downstream schemas.

showmath.calculator.created

A hosted DSL calculator was created or imported.

showmath.calculator.evaluated

A calculator evaluation completed with visible formula outputs.

showmath.advisor.routed

The public concierge routed a question to a calculator.

showmath.snapshot.created

A shareable proof snapshot was created.