Conventions
Base URL
Production environment:
https://rwa-api.anchored.finance/rwa/tradingAll API paths start with /api/v1:
GET /api/v1/symbolsFull production URL:
https://rwa-api.anchored.finance/rwa/trading/api/v1/symbolsHMAC authentication note: For HMAC calculation, the
URIonly uses/api/v1/symbols— not the domain or/rwa/tradingprefix.
Unified response structure
All endpoints return:
code
number
Business status. 200 = success.
errMsg
string
Error message. Empty on success.
data
object / array / null
Payload.
uuid
string / null
Request UUID.
t
number / null
Server timestamp.
Success example:
{
"code": 200,
"errMsg": "",
"data": {
"symbol": "AAPL"
},
"uuid": null,
"t": null
}Pagination
Paginated data:
total
number
Total matching records.
rows
array
Current page.
Parameters:
page
1
Treated as 1 if < 1.
limit
10
Treated as 10 if < 1; max 100.
Error handling
Business errors use HTTP 400 with code and errMsg in the body.
401
Unauthorized
Invalid key, signature, nonce, timestamp, IP, or permissions.
500
Server internal error
Validation failure, missing config, downstream error.
10000
Unsupported chainId
x-api-chain-id not supported.
10001
Unsupported product
x-api-p not in public list.
10002
ChainId is missing
Missing chain ID header.
10003
Product Id is missing
Missing product type header.
Last updated

