/api-docs :: developer console
AvestaHub REST API
Query live market data, contracts, societies, and diplomatic broadcasts from external Python scripts, Discord bots, or trading agents.
Endpoints
GET
/api/v1/market/listings
List all open buy/sell orders. Query: ?item, ?settlement, ?side, ?limit.
GET
/api/v1/market/ticker
Rolling averages and 24h/7d/30d price shifts per commodity.
GET
/api/v1/contracts
List open labor contracts. Query: ?status, ?sector.
GET
/api/v1/societies
List registered societies with population, tax rate, government type.
GET
/api/v1/diplomatic/threads
Public diplomatic threads and treaty transcripts.
GET
/api/v1/guides
Community-ranked guides with upvote score and patch tracking.
POST
/api/v1/webhooks/test
Emit a test payload to your configured webhook endpoints.
Outbound webhooks
Sign in to register webhook endpoints for Discord/Slack integrations.
