Q

Quantum Artificer · Physics Solve

by Quantum Artificer

POSTBaseSolana

$0.005

per call · USD Coin on Base

Physics ODE solver (SciPy): coupled ODE systems from parameterized templates (orbital 2-body, oscillator, pendulum, heat transfer, RC/RLC, projectile-with-drag, SIR) or a generic linear system, with energy/conservation checks. Paid in USDC on Base or Solana.

Endpoint

POST https://quantum-artificer.surewhynot.app/v1/physics/solve

4

Calls / 30d

3

Unique payers / 30d

Sep 1

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://quantum-artificer.surewhynot.app/v1/physics/solve", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "operation": "solve",
    "spec": {
      "params": {
        "c": 0,
        "k": 4,
        "m": 1,
        "v0": 0,
        "x0": 1
      },
      "tSpan": [
        0,
        10
      ],
      "template": "oscillator"
    }
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://quantum-artificer.surewhynot.app/v1/physics/solve" \
  -H "Content-Type: application/json" \
  -d '{"operation":"solve","spec":{"params":{"c":0,"k":4,"m":1,"v0":0,"x0":1},"tSpan":[0,10],"template":"oscillator"}}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "result": {
    "t": [
      0,
      10
    ],
    "y": [
      [
        1
      ],
      [
        -0.654
      ]
    ]
  },
  "status": "succeeded",
  "verification": {
    "passed": true
  }
}

Payment details

Pay to0xf786a555be87c6d3b316c976b643c70326565f3f
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from Quantum Artificer & similar services