Skip to content

Public API Endpoints

XOS provides a comprehensive set of public API endpoints that enable developers to interact with the network without running their own nodes. These endpoints serve as the foundation for building applications, integrating wallets, and monitoring network activity in real-time.

Available API Endpoints

Service TypeEndpoint URL
JSON-RPC APIhttps://testnet-rpc.x.ink
JSON-RPC APIhttps://testnet-rpc.xoscan.io
WebSocket APIwss://testnet-rpc.x.ink
WebSocket APIwss://testnet-rpc.xoscan.io

API Usage Guidelines

  1. Rate Limiting

    • Standard tier: 100 requests per minute
    • Premium tier: 1000 requests per minute
    • Contact support for custom limits
  2. Authentication

    • Basic endpoints: No authentication required
    • Advanced features: API key authentication
    • WebSocket connections: JWT token authentication
  3. Best Practices

    • Implement proper error handling
    • Use connection pooling for WebSocket
    • Cache frequently accessed data
    • Monitor your API usage