Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.raydium.io/llms.txt

Use this file to discover all available pages before exploring further.

The Auth API handles wallet-based authentication for LaunchLab services. Exchange a signed message for a JWT token, then use that token to authenticate requests to the Forum and Mint creation APIs.

API Endpoints

Mainnet: https://launch-auth-v1.raydium.io
Devnet: https://launch-auth-v1-devnet.raydium.io

Authentication Flow

No pre-existing credentials are required. Authentication is wallet-based:
  1. Get current timestamp (Unix seconds)
  2. Sign message with your wallet: "Sign in to raydium.io: " + <timestamp>
  3. Submit signature to /request-token endpoint
  4. Receive JWT token valid for your specified duration
  5. Use token in ray-token header for protected endpoints

Message Format

The message you sign must follow this exact format:
Sign in to raydium.io: <UNIX_TIMESTAMP_SECONDS>
Example:
Sign in to raydium.io: 1704067200
  • Use your current Unix timestamp in seconds (not milliseconds)
  • Ed25519 signature (native Solana signing)
  • Encode signature as base58 string
  • Pass timestamp and signature to /request-token

Token Validation

Use /check-token to verify your token is still valid. The endpoint also automatically extends token lifetime if near expiry. Token lifetime can be configured server-side; default is typically 24 hours.

Token Revocation

Revoke a token with /del-token endpoint.

Supported Signing Methods

  • Standard wallet: Ed25519 signature with /request-token
  • Ledger wallet: Signed transaction with /request-token-ledger

Use Cases

  • Forum posting — authenticate before posting comments
  • Mint creation — sign wallet ownership before submitting new tokens
  • User sessions — maintain authenticated state across API calls
  • Multi-wallet support — issue separate tokens per wallet address
Forum API
Mint API
LaunchLab Platform Overview