API reference
The ArcCredit HTTP API is read-only. It exposes normalized market and account state for dashboards, analytics, partner integrations and monitoring. Transaction submission remains wallet-to-contract.
Quickstart
Production deployments serve the API under the same origin at /api. The Nginx config included in this release proxies those requests to the local Node service.
curl -s https://arc.aitradebox.com/api/v1/market | jq
/healthService and Arc chain connectivity health. Does not expose the configured RPC URL.
| 200 | API can reach Arc and chain ID matches 5042. |
|---|---|
| 502 | Upstream RPC error. |
/v1/metaProtocol API version, chain, release version and configured Pool identity.
/v1/assetsCanonical assets known to the API, including token address, decimals and protocol role.
/v1/marketCurrent aggregate market state.
| totalAssetsUsdc | Supplier assets plus receivable interest, normalized to decimal USDC. |
|---|---|
| availableLiquidityUsdc | USDC currently available for withdrawal or borrowing. |
| utilization | Decimal ratio, e.g. 0.72 = 72%. |
| supplyApr / borrowApr | Decimal annualized rates, e.g. 0.051 = 5.1%. |
| paused | Whether new-risk actions are paused. |
| liquidationsPaused | Whether liquidation emergency mode is active. |
/v1/account/:addressRead an account’s supplied USDC, debt, borrow power, health factor and collateral balances.
{
"address": "0x…",
"supplyUsdc": "12500.0",
"debtUsdc": "4200.0",
"healthFactor": "1.84",
"maxBorrowUsd": "7700.0",
"collateral": { "WETH": "4.25", "cirBTC": "0.0" }
}Error format
{
"error": "human-readable message",
"code": "OPTIONAL_MACHINE_CODE",
"requestId": "optional request id"
}400 is used for invalid addresses or parameters, 429 for rate limits, 503 when the Pool is not configured, and 502 for upstream RPC failures.
Try the API
Choose an endpoint to send a live request.