LOGIGRAIN api_catalog / v3.5

Atomic computation endpoints for AI agents.

LogiGrain provides 12 deterministic, single-purpose API endpoints designed to be called by autonomous AI agents. Each endpoint solves a problem that LLMs handle poorly — exact calculation, real-time data, structured constant lookups.

Payment via x402 over Base. No API keys, no signup. Agents pay 0.001 USDC per call and receive structured JSON.

// machine-first · deterministic · stateless
x402 Payment
Protocol
x402 v2
Network
Base (eip155:8453)
Asset
USDC
Price / call
0.001 USDC
Facilitator
Coinbase CDP
Discovery
/.well-known/x402.json
Live Endpoint Demo — /api/compound
Compound Interest Calculator ● LIVE
$ $10,000
% 7.0%
YRS 20 yrs
$ 0 / mo
Final Value
$38.7K
Gain
+$28.7K
Multiplier
3.87x
Growth Curve
Principal + Deposits
Compounded Value
Agent call (x402)
GET https://logigrain.net/api/compound?principal=10000&rate=7&years=20
All Endpoints
Endpoint
Function
Price
/api/compound
Compound interest. Principal, rate, years, optional monthly deposit.
0.001
/api/convert
Currency conversion with live rates (60s cache).
0.001
/api/convert-unit
Unit conversion across 8 categories, 60+ units.
0.001
/api/json
JSON format, minify, validate. Depth and key analysis.
0.001
/api/math
Math expression evaluation. AST-parsed, injection-safe.
0.001
/api/code
Syntax check for JavaScript, JSON, HTML, CSS.
0.001
/api/feed
Crypto / forex live data (30s / 60s cache).
0.001
/api/date
Date diff, add, unix, business-day calculation (UTC).
0.001
/api/probability
Bayesian inference and combinatorics.
0.001
/api/token-cost
LLM cost comparison across 7 frontier models.
0.001
/api/era
Japanese era ↔ ISO date, fiscal-year conversion.
0.001
/api/moon
Moon phase, illumination, next full/new moon, Japanese lunar trivia.
0.001
Node Status
STATUS
ACTIVE
VERSION
3.5
LAST VERIFIED
UPTIME