API Reference
DracmaS API
Complete API reference and SDK documentation for integrating with the DracmaS ecosystem.
API Reference
Quick Links
REST API Endpoints
GET
/api/v1/token/infoGet DMS token information
Example Request
curl -X GET "https://api.dracmas.com/api/v1/token/info" \
-H "Content-Type: application/json"GET
/api/v1/token/balance/:addressGet token balance for an address
Example Request
curl -X GET "https://api.dracmas.com/api/v1/token/balance/0x123..." \
-H "Content-Type: application/json"POST
/api/v1/ai/predictGet AI-powered market predictions
Example Request
curl -X POST "https://api.dracmas.com/api/v1/ai/predict" \
-H "Content-Type: application/json" \
-d '{
"marketData": {
"price": 0.008,
"volume": 1250000,
"holders": 15420
},
"timeframe": "24h"
}'GET
/api/v1/staking/infoGet staking information and rewards
Example Request
curl -X GET "https://api.dracmas.com/api/v1/staking/info" \
-H "Content-Type: application/json"GET
/api/v1/governance/proposalsGet active governance proposals
Example Request
curl -X GET "https://api.dracmas.com/api/v1/governance/proposals" \
-H "Content-Type: application/json"Authentication
# Include API key in headers
curl -X GET "https://api.dracmas.com/api/v1/token/info" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"