Complete reference for all ILAL API endpoints.
https://ilalapi-production.up.railway.app/api/v1/healthNo AuthService health check — database connectivity status.
{ status: "ok", database: "connected" }/auth/registerNo AuthRegister a new user account.
{ user, accessToken, refreshToken }/auth/loginNo AuthLogin with email and password.
{ user, accessToken, refreshToken }/auth/refreshNo AuthRefresh an expired access token.
{ accessToken: string }/auth/meJWT RequiredGet the currently authenticated user profile.
{ user: { id, email, name, plan, walletAddress } }/apikeysJWT RequiredList all your API keys (hashed for security).
{ apiKeys: [...], limits: { maxApiKeys, remaining } }/apikeysJWT RequiredCreate a new API key. The raw key is only shown once — store it immediately.
{ apiKey: "ilal_live_...", keyPrefix, id }/apikeys/:idJWT RequiredUpdate an API key name or rate limit.
{ success: true, key: {...} }/apikeys/:idJWT RequiredRevoke and permanently delete an API key.
{ success: true }/defi/swapAPI Key (X-API-Key)Build an unsigned Uniswap V4 swap transaction. Returns calldata for the caller to sign and broadcast with their own wallet.
{ success, transaction: { to, data, value, chainId, gas }, instructions, params }/defi/liquidityAPI Key (X-API-Key)Build an unsigned Uniswap V4 liquidity mint transaction. Returns calldata for the caller to sign and broadcast.
{ success, transaction: { to, data, value, chainId, gas }, instructions, params }/usage/statsJWT or API KeyGet API usage statistics for the current period.
{ totalCalls, successRate, callsThisMonth, limit }/billing/plansNo AuthList available subscription plans and their limits.
{ plans: [{ id, name, price, features }] }200 OK201 Created400 Bad Request401 Unauthorized403 Forbidden404 Not Found429 Too Many Requests500 Internal Server Error