Build on Weir, ship this week.
One SDK for settlement, routing and gas sponsorship. Sandbox keys work exactly like production, so you ship the same code twice.
$
npm i @weir/sdk
One SDK, sandbox to production.
Quote, settle and sponsor gas from the same client. Swap the sandbox key for a live one when you’re ready.
Sandbox quotes match mainnet exactly
Webhooks retry with idempotency keys
- quote · 380 ms
- route · arclane · 3 steps
- settle · block 21,408,377
{ "id": "tr_8f2k41q", "status": "settled", "amount": "1000.00", "token": "USDC", "route": ["halo", "arclane", "meridian"], "gas": "sponsored", "settled_ms": 11020 }
Type-safe SDKs, three languages.
Generated clients, typed end to end.
#1
v2.4.0
TypeScript
Typed client with generated request and response models.
#2
v2.4.0
Python
Async client with retries and idempotency built in.
#3
v2.4.0
Go
Minimal dependency client tuned for low-latency services.
Guides and releases, written by the team that built it.
Practical walkthroughs for every product.
Guides
6 guides
Quickstart: settle your first payment
Create a quote and confirm a settlement in under ten minutes.
Routing 101: how Route API ranks a quote
What goes into a route score, and how to read one.
Sponsoring gas without a budget incident
Set per-route budgets and a kill switch before you go live.
Reconciling settlements in the Ledger
Export, filter, and match every settlement to your own records.
Migrating from a custom router to Route API
A checklist for replacing an internal router without downtime.
Webhooks and idempotency for reliable settlement
Handle retries safely and never double-settle a payment.
Status and releases
All systems operational — 99.99 % uptime, trailing 12 months.
Aug 2026
Route API now compares 30 chains
Route API’s ranking graph now spans 30 chains, with three new bridges added to the routing table this release.
Jun 2026
Sponsor API adds per-route budgets
Set a sponsorship budget per route, not just per app, so gas coverage matches where you actually need it.
Apr 2026
Ledger export now includes failed-route detail
Every failed settlement in the ledger now includes the route it attempted and the reason it didn’t confirm.
Questions, answered.
Yes. Sandbox keys work like production and never touch real funds, so you can build the whole integration before going live.