API reference — v1

Base URL: https://api.didinska.my.id. Responses are JSON with an x-request-id header. Session endpoints require an X-Agent-Token header.

MethodPathDescription
GET/api/v1/statsProtocol TVL, 24h volume, trade count, block height
GET/api/v1/tokensToken list with prices and market caps
GET/api/v1/tokens/:symbolSingle token detail
GET/api/v1/poolsPool list with reserves, TVL and APR
GET/api/v1/candles/:pair1-minute candles for a pair
POST/api/v1/quoteSwap quote for a pool and input amount
POST/api/v1/approveApprove a token for swapping (session)
POST/api/v1/swapExecute a swap (session)
POST/api/v1/liquidity/addAdd liquidity (session)
POST/api/v1/liquidity/removeRemove liquidity (session)
GET/api/v1/tx/:hashTransaction detail
GET/api/v1/address/:addressAddress balances and history
GET/api/v1/blocksRecent blocks
POST/api/v1/subgraphSubgraph-style queries: pools, tokens, swaps
GET/api/v1/governance/proposalsGovernance proposals

An older v0 API surface is kept for reference in the v0 archive.

Connect session

Paste your session token to connect this browser to your wallet.