API Reference

Environments

Stridge runs two isolated environments that share an identical API surface. Switching is a one-line change: the base URL and the matching API key.

EnvironmentBase URLUse it for
Sandboxhttps://api.stridge.dev/v1Development, tests, and the docs Try it console
Productionhttps://api.stridge.com/v1Live traffic that moves real funds

What differs

The endpoints, request shapes, and response shapes are the same in both environments — code written against sandbox runs unchanged in production. What differs is the money:

  • Sandbox routes against test liquidity. Quotes, deposits, and settlements behave like production but never move real value, so it's safe to experiment.
  • Production executes real cross-chain settlements with real funds. Requests are irreversible.

API keys are scoped per environment — a sandbox key is rejected by production and vice versa.

Switching

Point your client at the environment's base URL and pass the matching key:

Sandbox
curl "https://api.stridge.dev/v1/uda" \
  -H "X-API-Key: $STRIDGE_SANDBOX_KEY"
Production
curl "https://api.stridge.com/v1/uda" \
  -H "X-API-Key: $STRIDGE_LIVE_KEY"
Note

The Try it console on every endpoint page defaults to Sandbox. Choosing Production requires an explicit confirmation — and is re-confirmed after each reload — so you never send a live request by accident.