Radiant LogoRXD Explorer

API Documentation

RXD Glyph Explorer API
This documentation provides details on how to interact with the RXD Glyph Explorer API.

The base URL for all API endpoints is:

/api

Some endpoints require authentication with an API key. Include the API key in the request headers as

x-api-key
.

Available Endpoints
The RXD Glyph Explorer API provides the following main endpoints:
EndpointDescriptionAuthentication
/api/glyphs
Fetch and search glyphsNo
/api/glyphs/[id]
Fetch a specific glyph by IDNo
/api/stats
Fetch blockchain statisticsNo
/api/block-headers
Fetch block headersNo
/api/txos
Fetch transaction outputsNo
/api/contracts
Fetch contract deploymentsNo
/api/contracts/[id]
Fetch a specific contract by IDNo
/api/admin/import
Control blockchain import processYes
/api/admin/cache
Manage cache systemYes
/api/admin/cache/metrics
Get cache metricsYes
Authentication
Some endpoints require authentication with an API key.

To authenticate, include the API key in the request headers:


{
  "x-api-key": "your-api-key"
}
                

The API key can be obtained from the system administrator.

Error Responses
All API endpoints follow a consistent error response format.

When an error occurs, the API will return an appropriate HTTP status code along with a JSON response:


{
  "error": "Error message describing what went wrong"
}
              
Status CodeDescription
400Bad Request - The request was invalid or cannot be served
401Unauthorized - Authentication is required or has failed
404Not Found - The requested resource does not exist
429Too Many Requests - Rate limit exceeded
500Internal Server Error - Something went wrong on the server