906.sh Documentation

Welcome to the 906.sh developer documentation. Build on top of our modular community currency ecosystem for Michigan's Upper Peninsula.

🔗 API-First

RESTful API powering wallet, barter, tasks, and community features. Build your own apps on our infrastructure.

⛓️ XRPL Native

YOOP token runs on XRP Ledger. Fast, cheap, and decentralized. Mainnet-ready, testnet by default.

🧩 Modular

18 ecosystem modules. Pick what you need. NorthernWISP and DeltaCounty.Services already integrate.

⛈️ Resilient

Storm Mode enables offline transactions via LoRaWAN mesh. Blizzard-proof money.

Quickstart

Get started with the 906.sh API in minutes.

Base URL

https://api.906.sh

Check API Status

curl https://api.906.sh/health

Get Network Stats

curl https://api.906.sh/api/network/stats

Returns:

{
  "totalUsers": 100,
  "totalTransactions": 500,
  "activeCounties": 5,
  "yoopUsdRate": 0.10,
  "network": "testnet"
}

Authentication

Most endpoints require JWT authentication. Include the token in the Authorization header:

Authorization: Bearer <accessToken>

Register

POST /api/auth/register
Content-Type: application/json

{
  "email": "user@example.com",
  "password": "securepassword",
  "displayName": "John Doe"
}

Login

POST /api/auth/login
Content-Type: application/json

{
  "email": "user@example.com",
  "password": "securepassword"
}

Returns accessToken and refreshToken.

Wallet Authentication

Users can also authenticate with Xaman (XRPL) or MetaMask (EVM):

MethodEndpointDescription
POST/api/xaman/signinInitiate Xaman QR sign-in
GET/api/xaman/status/:uuidPoll sign-in status
POST/api/wallets/evmMetaMask wallet connect

Wallet

Manage YOOP balances and transactions.

MethodEndpointDescription
GET/api/wallet/balanceGet YOOP + XRP balance
GET/api/wallet/addressGet XRPL address
GET/api/wallet/transactionsTransaction history
POST/api/wallet/sendSend YOOP (creates Xaman request)

Transactions

GET /api/transactions
Authorization: Bearer <token>

Returns user's transaction history:

{
  "transactions": [
    {
      "id": "abc123",
      "amount": 75,
      "currency": "YOOP",
      "memo": "Snow removal task",
      "created_at": "2026-02-02T10:00:00Z"
    }
  ]
}

Users

MethodEndpointDescription
GET/api/users/meGet current user profile
PUT/api/users/meUpdate profile
GET/api/referral/statsReferral statistics

Sisu Fund

Community relief endowment for the Upper Peninsula.

MethodEndpointDescription
GET/api/sisu/fundGet fund status
POST/api/sisu/contributeContribute to fund
POST/api/sisu/applyApply for grant
GET/api/sisu/leaderboardTop contributors

💚 Fund Split

65% → Sisu Community Fund (grants)

22.5% → Treasury (operations)

12.5% → Reserve (permanent)

Task Marketplace

MethodEndpointDescription
GET/api/tasks/availableList open tasks
POST/api/tasksCreate task
POST/api/tasks/:id/claimClaim task
POST/api/tasks/:id/completeMark complete

Barter Network

MethodEndpointDescription
GET/api/barter/offers/publicPublic offers (no auth)
GET/api/barter/offersUser's offers
POST/api/barter/offersCreate offer

Registered Agents (Hubs)

MethodEndpointDescription
GET/api/hubs/nearbyFind hubs by location
POST/api/hubs/applyApply to become hub

NorthernWISP Integration

NorthernWISP is a social network built on the 906.sh ecosystem. It uses our API for:

  • User authentication (shared accounts)
  • YOOP tipping and payments
  • Community reputation scores
  • Referral tracking

Visit NorthernWISP →

DeltaCounty.Services Integration

DeltaCounty.Services is a marketplace built on the 906.sh ecosystem. It uses our API for:

  • YOOP payments for services
  • Task and gig economy
  • Barter matching
  • Registered agent/hub network

Visit DeltaCounty.Services →

XRPL Configuration

Token Details

Currency CodeYOOP
Currency Hex594F4F5000000000000000000000000000000000
IssuerrH1HwiQWmBKNTUz6yupP8HeEZ2tNMEUn6v
NetworkTestnet (mainnet-ready)
WebSocketwss://s.altnet.rippletest.net:51233

Rate Limits

Endpoint TypeLimit
General100 requests/15 min
Auth10 requests/15 min
Wallet30 requests/15 min

Error Responses

{
  "error": "Error message here"
}
CodeMeaning
400Bad request
401Unauthorized
403Forbidden
404Not found
429Rate limited
500Server error

Need help? Join our Discord or email dev@906.sh

© 2026 906.sh — Built in the Upper Peninsula