Skip to main content

API Reference

The usmewe API provides programmatic access to all platform features.

Base URL

Authentication

All API requests require authentication via JWT token:

Authentication Guide

Learn how to obtain and use JWT tokens

Rate Limits

Rate limit headers are included in all responses:

Response Format

All responses are JSON with consistent structure:

Success Response

Error Response

Error Codes

API Sections

Authentication

OAuth, tokens, sessions

Users

Profiles, settings, XP

Trust Score

Score queries, history

Loans

P2P loan operations

Vault

Staking, borrowing, yield

Social Vault

Guardians, timelock

Notifications

Push notifications

Webhooks

Event subscriptions

SDKs

We provide official SDKs for common platforms:

JavaScript/TypeScript

Node.js and browser support

React Hooks

Ready-to-use React hooks

OpenAPI Specification

Download our OpenAPI 3.0 spec for code generation:

Swagger UI

Interactive API documentation