Skip to content
AstroWay/api v2.130.2 · sandbox
all systems operational

Sandbox

Online editor with syntax highlighting. Code runs in the browser inside a Web Worker and makes real requests to api.astroway.info/v1/*. The API key is stored locally (localStorage), never sent anywhere else.

  • Run (⌘+Enter) — Monaco transpiles TS to JS, the Web Worker runs it, console.log and errors show on the right.
  • Share — the code is compressed with lz-string and written to location.hash. Open the URL — the editor restores the code.
  • Presets — four common scenarios: natal chart, synastry, Human Design, transits.
  • 15s timeout — if the code hangs, the worker is killed.

For non-billable tests use aw_test_* keys: they don’t consume credits.

Sandbox covers the calculation endpoints: charts, synastry, transits, progressions, Vedic, Chinese, Human Design, reference tables. AI interpretation, generated reports and rendering are not available on aw_test_* and return 402 SANDBOX_ENDPOINT_UNAVAILABLE. Each of those calls costs real money, and a key that spends no credits has no ceiling to bound it. Use an aw_live_* key for those.