API Reference
REST and WebSocket reference for https://api.arizal.xyz/v1. All endpoints use JSON unless noted, and all paths below are relative to /v1.
GET /v1/openapi.yaml.
HTTP is rate-limited per client IP (default 10,000 req / 60s; configured via http_rate_limit_per_min in clearbook.toml, 0 = off; 429 + Retry-After when exceeded; GET /health and upgraded WebSocket frames are exempt; IP taken from first X-Forwarded-For, else X-Real-IP, else TCP peer).
Order price and book levels use decicents (600 = 60.0¢; a cross occurs at p + q >= 1000).
Sign in
Your orders, TP/SL and stops are private. Reading them needs a session for your wallet, opened with Sign-In with Ethereum: the node writes a readable sign-in message, your wallet signs it (no transaction, no gas), and you get a bearer token valid for 7 days.
POST /auth/challenge
{ "trader": "0x…", "domain": "app.arizal.xyz", "uri": "https://app.arizal.xyz" }
Response
{
"message": "app.arizal.xyz wants you to sign in with your Ethereum account:\n0x5D17…\n\nSign in to Arizal to view your open orders, order history and TP/SL. This does not send a transaction, cost gas, or approve any trade.\n\nURI: https://app.arizal.xyz\nVersion: 1\nChain ID: 31337\nNonce: 4fJ2kq9XbLm0aT7cZ\nIssued At: 2026-11-15T12:00:00Z\nExpiration Time: 2026-11-22T12:00:00Z",
"trader": "0x5d17…",
"expires_at": 1794744300
}
POST /auth/login
{ "message": "…exact text…", "signature": "0x…" }
Response
{ "token": "…", "trader": "0x5d17…", "expires_at": 1795347000 }
Send Authorization: Bearer <token> on
GET /ledger/orders, GET /exits and
GET /orders/:id, and token on the WebSocket wallet subscribe.
A session only unlocks its own wallet (401 without one, 403 for another wallet).
GET /auth/session returns { trader, expires_at }; POST /auth/logout ends it.
Contract (EIP-1271) wallets are not supported yet.
Meta
GET /health
Parameters
None.
Response
ok
GET /version
Parameters
None.
Response
{
"git_sha": "dev",
"version": "0.1.0"
}
GET /config
Parameters
None.
Response
{
"chain_id": 31337,
"exchange": "0x…",
"usdc": "0x…",
"resolution_source": "mock",
"resolution_feed": "0x…",
"resolution_feeds": { "BTC": "0x…", "ETH": "0x…" },
"size_decimals": 6,
"size_unit": 1000000,
"eip712": { "name": "Arizal", "version": "1" },
"gtd_min_secs": 60,
"tif": ["GTC", "GTD", "FOK", "FAK"],
"trading_fee_factor": "40000000000000000",
"gas_fee": 50000,
"min_order_shares": "5",
"min_order_value": 1000000,
"assets": {
"btc": {
"price_decimals": 0,
"sigma": { "weekday": 0.48, "weekend": 0.36, "all": 0.45 }
}
}
}
GET /openapi.yaml
Parameters
None.
Response
openapi: 3.0.3 info: title: Clearbook API version: "1" # …
Markets
GET /markets
Parameters
None.
Response
[
{
"id": "btc-hit-80000-up-daily-…",
"kind": "Hit",
"status": "Open",
"barrier": "80000",
"expires_at": 1735689600,
"best_yes_bid": 450,
"best_yes_ask": 550,
"last_yes_price": 500
}
]
GET /markets/:id
Parameters
| Name | In | Required | Description |
|---|---|---|---|
id | path | yes | Market id |
Response
{
"id": "btc-hit-80000-up-daily-…",
"kind": "Hit",
"status": "Open",
"barrier": "80000",
"expires_at": 1735689600,
"last_yes_price": 500
}
GET /markets/:id/book
Parameters
| Name | In | Required | Description |
|---|---|---|---|
id | path | yes | Market id |
Response
{
"market_id": "btc-hit-80000-up-daily-…",
"status": "Open",
"bids_yes": [[450, "10.0"], [400, "5.0"]],
"bids_no": [[500, "8.0"]],
"seq": 42
}
GET /markets/:id/tape
Parameters
| Name | In | Required | Description |
|---|---|---|---|
id | path | yes | Market id |
cursor | query | no | Return events with seq > cursor |
limit | query | no | Max events (default 100) |
Response
[
{ "seq": 10, "ts": 1735689000, "kind": "Accepted", "order_id": 1, "market_id": "…" }
]
GET /markets/:id/chart
Parameters
| Name | In | Required | Description |
|---|---|---|---|
id | path | yes | Market id |
tf | query | no | 5m, 15m, 1h, or 1d |
Response
{
"market_id": "btc-hit-80000-up-daily-…",
"start_ts": 1735600000,
"end_ts": 1735689600,
"now_ts": 1735689000,
"status": "Open",
"current": "52.5",
"current_fair": "48.1",
"source": "BOOK_MID",
"points": [{
"ts": 1735688400,
"open": "50.0",
"high": "52.5",
"low": "49.5",
"close": "51.0",
"price": "51.0"
}],
"fair": [{ "ts": 1735688400, "price": "48.1" }]
}
GET /markets/:id/holders
Parameters
| Name | In | Required | Description |
|---|---|---|---|
id | path | yes | Market id |
Response
{
"market_id": "btc-hit-80000-up-daily-…",
"yes": [{ "trader": "0x…", "shares": "10.0", "usdc_staked": 5000000 }],
"no": [{ "trader": "0x…", "shares": "5.0", "usdc_staked": 2500000 }]
}
GET /trades
Parameters
| Name | In | Required | Description |
|---|---|---|---|
market | query | no | Filter by market id |
Response
[
{
"fill_id": 12,
"market_id": "btc-hit-80000-up-daily-…",
"yes_price": 550,
"size": "2.0",
"taker_side": "Yes",
"confirmed": false
}
]
GET /price
Parameters
None.
Response
{
"price": "97500.12",
"ts": 1735689000,
"barrier": "97000",
"source": "chainlink"
}
Orders
GET /orders/:id
Parameters
| Name | In | Required | Description |
|---|---|---|---|
id | path | yes | Order id |
Response
{
"id": 7,
"status": "Resting",
"remaining": "3.0",
"order": { "trader": "0x…", "market_id": "…", "side": "Yes", "price": 600, "size": 5 }
}
POST /orders
- Immediate —
order+signature(+close). The order also signs its market’s terms (asset,kind,direction— null unless hit,barrier_e8/barrier_high_e8in the oracle’s 8 decimals (1e8 = $1; decimal strikes allowed),market_start(the market’sstart_ts),market_expiry); they must equal the market fromGET /v1/marketsor the place is rejected. The signedorder.actionmust be"Sell"whencloseis true (and for every TP/SL leg and closing stop) and"Buy"otherwise; the exchange contract enforces it. Optionalexitson a buy arms TP/SL with the fill. If the buy still rests, the exit is linked via ledgerparent_order_id(not in the signature); cancelling that buy clears the TP/SL. Fully filled buys leave no link. - Position TP/SL only —
exits: { trader, market_id, side, trigger, take_profit?, stop_loss? }with noorder. Pre-signed FAK/FOK closes (order.price0 or limit). TP when mark ≥ trigger; SL when ≤; OCO. See positions. - Stop market / stop limit —
order+signature+condition: { trigger, trigger_price, when }. Not matched until mark crosses. Stop market sell = price 0; stop market buy = FAK at 99.9¢ (999); stop limit = tick price.close: truesells inventory. - One exit leg — stop shape plus
exit_leg: take_profit|stop_lossandclose: true(merges into the position OCO row).
Body (immediate)
{
"order": {
"trader": "0x…",
"market_id": "btc-hit-80000-up-daily-…",
"asset": "BTC",
"kind": "hit",
"direction": "up",
"barrier_e8": 8000000000000,
"barrier_high_e8": 0,
"market_start": 1794897118,
"market_expiry": 1795064400,
"side": "Yes",
"action": "Buy",
"price": 600,
"size": 2000000,
"order_type": "Limit",
"tif": "GTC",
"nonce": 1,
"salt": 99,
"expires_at": 0,
"gas_fee": 50000,
"chain_id": 31337,
"verifying_contract": "0x…"
},
"signature": "0x…",
"agent_auth": null,
"close": false,
"exits": null
}
Body (position TP/SL only)
{
"exits": {
"trader": "0x…",
"market_id": "btc-hit-80000-up-daily-…",
"side": "Yes",
"trigger": "mid",
"take_profit": {
"trigger_price": 700,
"order": { "…": "SignedOrder close, price=0 or limit, tif=FAK" },
"signature": "0x…"
},
"stop_loss": {
"trigger_price": 400,
"order": { "…": "SignedOrder close, price=0 or limit, tif=FAK" },
"signature": "0x…"
}
}
}
Body (stop limit buy)
{
"order": { "…": "SignedOrder buy, price=650, tif=GTC" },
"signature": "0x…",
"close": false,
"condition": {
"trigger": "mid",
"trigger_price": 600,
"when": "above"
}
}
Body (stop market sell)
{
"order": { "…": "SignedOrder sell, price=0, tif=FAK" },
"signature": "0x…",
"close": true,
"condition": {
"trigger": "mid",
"trigger_price": 350,
"when": "below"
}
}
Response (immediate)
{
"order_id": 7,
"fills": [12],
"status": "Resting",
"remaining": 1000000,
"reason": null
}
Response (TP/SL)
{
"trader": "0x…",
"market_id": "…",
"side": "Yes",
"trigger": "mid",
"take_profit": { "trigger_price": 700, "size": "5.0", "order": { "…" } },
"stop_loss": { "trigger_price": 400, "size": "5.0", "order": { "…" } }
}
Response (stop)
{
"ok": true,
"conditional": "stop",
"stop": {
"kind": "stop",
"id": "ab12…",
"trader": "0x…",
"market_id": "…",
"side": "Yes",
"trigger": "mid",
"when": "above",
"close": false,
"trigger_price": 600,
"size": "5.0",
"order": { "…" }
}
}
DELETE /orders/:id
Parameters
| Name | In | Required | Description |
|---|---|---|---|
id | path | yes | Order id |
Body
{
"cancel": {
"order_id": 7,
"trader": "0x…",
"market_id": "btc-hit-80000-up-daily-…",
"nonce": 2
},
"signature": "0x…",
"agent_auth": null
}
Response
{
"ok": true,
"order_id": 7,
"status": "Cancelled"
}
POST /orders/replace
Body
{
"cancel": {
"order_id": 7,
"trader": "0x…",
"market_id": "…",
"nonce": 3,
"signature": "0x…"
},
"order": { "…": "SignedOrder fields" },
"signature": "0x…",
"agent_auth": null
}
Response
{
"cancelled": 7,
"order_id": 8,
"fills": [],
"status": "Resting",
"remaining": 2000000
}
POST /orders/cancel-all
Body
{
"trader": "0x…",
"market_id": null,
"nonce": 10,
"signature": "0x…",
"agent_auth": null
}
Response
{
"ok": true,
"count": 3,
"errors": []
}
POST /batch
Body
{
"ops": [
{ "cancel": { "order_id": 1, "trader": "0x…", "market_id": "…", "nonce": 1, "signature": "0x…" } },
{ "order": { "…": "SignedOrder" }, "signature": "0x…" }
]
}
Response
{
"results": [
{ "ok": true, "order_id": 1 },
{ "order_id": 9, "fills": [], "status": "Resting", "remaining": 1000000 }
]
}
Account
GET /account
Parameters
| Name | In | Required | Description |
|---|---|---|---|
trader | query | yes | Wallet address |
market | query | no | Market id for share fields |
Response
{
"trader": "0x…",
"collateral": 100000000,
"reserved": 5000000,
"available": 95000000,
"volume_30d": 2500000,
"taker_coeff": 0.04,
"nickname": "alice",
"email": "a@example.com",
"email_verified": true,
"referrer": "0x…",
"referred_taker_volume": 0,
"referred_maker_volume": 0,
"referred_taker_fees": 0,
"yes_shares": "0",
"no_shares": "0",
"eth_wei": "10000000000000000000",
"usdc_unit": 1000000,
"open_orders": []
}
POST /account/nickname
Body
{
"trader": "0x…",
"nickname": "alice",
"nonce": 1735689000123,
"signature": "0x…"
}
Response
{
"ok": true,
"trader": "0x…",
"nickname": "alice"
}
POST /account/email
Body
{
"trader": "0x…",
"email": "a@example.com",
"nonce": 1735689000456,
"signature": "0x…"
}
Response
{
"ok": true,
"trader": "0x…",
"email": "a@example.com",
"email_verified": false,
"email_sent": true,
"code_expires_at": 1735689900,
"resend_after": 1735689060
}
POST /account/email/resend
Body
{
"trader": "0x…",
"nonce": 1735689060123,
"signature": "0x…"
}
Response
{
"ok": true,
"trader": "0x…",
"email": "a@example.com",
"email_verified": false,
"email_sent": true,
"code_expires_at": 1735689960,
"resend_after": 1735689120
}
POST /account/email/verify
Body
{
"trader": "0x…",
"code": "123456"
}
Response
{
"ok": true,
"trader": "0x…",
"email": "a@example.com",
"email_verified": true
}
POST /account/referrer
Body
{
"trader": "0xAlice…",
"referrer": "0xBob…"
}
Response
{
"ok": true,
"trader": "0xAlice…",
"referrer": "0xbob…",
"newly_set": true
}
GET /account/referrals
Parameters
| Name | In | Required | Description |
|---|---|---|---|
trader | query | yes | Referrer wallet |
Response
{
"trader": "0xBob…",
"referrals": [
{
"trader": "0xalice…",
"taker_volume": 2400000,
"maker_volume": 1000000,
"taker_fees": 42000
}
],
"referred_taker_volume": 2400000,
"referred_maker_volume": 1000000,
"referred_taker_fees": 42000
}
Leaderboard
GET /leaderboard
Parameters
| Name | In | Required | Description |
|---|---|---|---|
range | query | no | 1d · 1w (default) · 1m · 1y · ytd · all |
limit | query | no | Rows, 1–500 (default 100) |
Response
{
"range": "1w",
"since": 1794200000,
"as_of": 1794830400,
"rows": [
{ "rank": 1, "trader": "0x5d17…", "nickname": "alice", "pnl": 2400000, "realized": 2000000, "unrealized": 400000, "positions": 3, "as_of": 1794830400 }
]
}
Amounts are USDC base units (6 decimals). pnl = (realized + unrealized) at the wallet's newest
snapshot minus the same at its newest snapshot at or before the start of the range (0 if none);
realized is the change over the range; unrealized is open positions at as_of.
A wallet is snapshotted every hour while it holds shares, and once more when it goes flat with a changed realized PnL.
Ledger
GET /ledger/orders
Parameters
| Name | In | Required | Description |
|---|---|---|---|
trader | query | yes | Wallet address |
Response
[
{
"id": 7,
"market_id": "…",
"side": "Yes",
"price": 600,
"size": "5.0",
"remaining": "3.0",
"status": "Resting",
"tif": "GTC",
"expires_at": 0,
"origin": null,
"condition": null
}
]
origin / condition say what released an order that was not placed
directly: origin is take_profit or stop_loss (a fired
position TP/SL leg, shown as Sell (TP) / Sell (SL)) or
stop_market / stop_limit (a standalone stop), and
condition is { "trigger": "mid" | "fair", "when": "above" | "below", "trigger_price": 950 }
(decicents of the order's side). Both are null for ordinary orders.
GET /ledger/history
Parameters
| Name | In | Required | Description |
|---|---|---|---|
trader | query | yes | Wallet address |
Response
[
{
"fill_id": 12,
"market_id": "…",
"side": "Yes",
"op": "trade",
"price": 550,
"size": "2.0",
"fee": 15000,
"status": "confirmed",
"ts": 1735689000
}
]
GET /ledger/positions
Parameters
| Name | In | Required | Description |
|---|---|---|---|
trader | query | yes | Wallet address |
Response
[
{
"market_id": "…",
"side": "Yes",
"shares": "10.0",
"usdc_staked": 5500000
}
]
GET /ledger/funds
Parameters
| Name | In | Required | Description |
|---|---|---|---|
trader | query | yes | Wallet address |
Response
[
{
"op": "deposit",
"amount": "100000000",
"tx_hash": "0x…",
"status": "confirmed",
"ts": 1735688000
}
]
POST /ledger/pending
Body
{
"trader": "0x…",
"op": "deposit",
"amount": "100000000",
"tx_hash": "0x…",
"market_id": null
}
Response
{
"ok": true,
"status": "pending"
}
Announcements
GET /announcements
Parameters
| Name | In | Required | Description |
|---|---|---|---|
limit | query | no | Max rows (default 50, max 100) |
trader | query | no | Wallet for unread / last_visit_at |
Response
{
"announcements": [
{ "id": 1, "title": "…", "body": "…", "created_at": 1735688000 }
],
"unread": 0,
"last_visit_at": 0
}
POST /announcements
Body
{ "title": "Welcome", "body": "Trading is live." }
DELETE /announcements/{id}
POST /announcements/visit
Body
{ "trader": "0x…" }
Faucet (testnets)
POST /faucet
Body
{ "address": "0x…" }
Response
{
"address": "0x…",
"eth_tx_hash": "0x…",
"usdc_tx_hash": "0x…",
"amount_eth": "0.001",
"amount_usdc": "1000"
}
POST /faucet/gas
Body
{ "address": "0x…" }
Response
{
"address": "0x…",
"tx_hash": "0x…",
"amount_eth": "0.001"
}
POST /faucet/usdc
Body
{ "address": "0x…" }
Response
{
"address": "0x…",
"tx_hash": "0x…",
"amount": "1000000000"
}
WebSocket
WS /ws
Client → server
{
"op": "subscribe",
"channel": "book",
"market": "btc-hit-80000-up-daily-…"
}
op: "subscribe" is handled for every channel, and op: "unsubscribe"
for wallet. market is required for
book, tape, trades, and resolved;
trader for wallet. Other frames are ignored.
Subscribe channels
| Channel | market | Immediate reply |
|---|---|---|
config | no | config (same as on-connect) |
markets | no | markets |
price | no | price |
book | yes | book (+ quote) |
tape | yes | tape_snapshot |
trades | yes | trades_snapshot |
resolved | yes | resolved |
wallet + trader + token | no | { channel: "wallet", op, trader, ok, error }; with a sign-in token for that wallet, this socket gets an orders snapshot at once and then receives its orders deltas, ledger, ledger_delta, account, exits and wallet announcements frames (up to 8 wallets per socket) |
Push-only channels (no subscribe)
market, last_yes, quote, holders,
announcements (new / deleted),
live tape / trades / book / config refreshes.
config
{
"channel": "config",
"gas_fee": 50000,
"trading_fee_factor": "40000000000000000",
"chain_id": 31337,
"exchange": "0x…",
"assets": {
"btc": {
"price_decimals": 0,
"sigma": { "weekday": 0.48, "weekend": 0.36, "all": 0.45 }
}
}
}
markets
{
"channel": "markets",
"markets": [ /* same objects as GET /markets */ ]
}
market
{
"channel": "market",
"op": "opened",
"market": { /* Market */ }
}
resolved
{
"channel": "resolved",
"market": "btc-hit-80000-up-daily-…",
"strike": "…",
"expires_at": 1735689600,
"markets": [ /* Market[] */ ]
}
price
{
"channel": "price",
"price": "97500.12",
"spot": "97500.12",
"barrier": "97000",
"ts": 1735689000,
"round": "0x100000000000b0392",
"source": "chainlink"
}
book / quote
{
"channel": "book",
"market": "btc-hit-80000-up-daily-…",
"seq": 42,
"bids_yes": [[450, "10.0"], [400, "5.0"]],
"bids_no": [[500, "8.0"]],
"book_hash": "0x…"
}
{
"channel": "quote",
"market": "btc-hit-80000-up-daily-…",
"best_yes_bid": 450,
"best_yes_ask": 550
}
best_yes_bid / best_yes_ask match those fields on
GET /markets rows.
tape / tape_snapshot
{
"channel": "tape_snapshot",
"market": "btc-hit-80000-up-daily-…",
"events": [ /* same as GET /markets/:id/tape items */ ]
}
{
"channel": "tape",
"seq": 10,
"event": { "seq": 10, "ts": 1735689000, "kind": "Accepted", "order_id": 1, "market_id": "…" }
}
trades / trades_snapshot
{
"channel": "trades_snapshot",
"market": "btc-hit-80000-up-daily-…",
"fills": [ /* same as GET /trades?market=… */ ]
}
{
"channel": "trades",
"fill": {
"fill_id": 12,
"market_id": "btc-hit-80000-up-daily-…",
"yes_price": 550,
"size": "2.0",
"taker_side": "Yes",
"confirmed": false
}
}
last_yes
{
"channel": "last_yes",
"market": "btc-hit-80000-up-daily-…",
"price": 550
}
account
Deposit / withdraw delta:
{
"channel": "account",
"trader": "0x…",
"op": "deposit",
"amount": 100000000,
"tx_hash": "0x…",
"ts": 1735689000,
"volume_30d": 2500000,
"taker_coeff": 0.04
}
Absolute collateral after redeem / split / merge / fill / close (and fund refresh):
{
"channel": "account",
"trader": "0x…",
"collateral": 95000000,
"ts": 1735689000,
"volume_30d": 2500000,
"taker_coeff": 0.04
}
Hourly volume snapshot (optional collateral):
{
"channel": "account",
"trader": "0x…",
"ts": 1735689600,
"volume_30d": 2500000,
"taker_coeff": 0.04,
"collateral": 95000000
}
ledger
{
"channel": "ledger",
"trader": "0x…",
"positions": [ /* GET /ledger/positions */ ],
"trades": [ /* GET /ledger/history */ ]
}
ledger_delta
{
"channel": "ledger_delta",
"trader": "0x…",
"trades": [ /* new history rows */ ],
"positions": [ /* upserted position rows */ ],
"remove_positions": [{ "market_id": "…", "side": "Yes" }]
}
holders
{
"channel": "holders",
"market": "btc-hit-80000-up-daily-…",
"yes": [{ "trader": "0x…", "shares": "10.0", "usdc_staked": 5000000 }],
"no": []
}
orders
Your open orders, after a wallet subscribe with a sign-in token.
The full list is sent once, then only what changed. Rows have the same shape as
GET /ledger/orders.
op | When | Apply |
|---|---|---|
snapshot | Right after each wallet subscribe (to that socket only) | Replace your list with orders; remember seq |
delta | When orders change (placed, filled, cancelled, expired), at most every 80 ms per wallet | Rows in upsert replace / add by id; ids in remove left the open list |
resync | Too many changes at once (e.g. cancel-all) | Subscribe the wallet again for a fresh snapshot |
seq counts per wallet: apply a delta only when its seq is
exactly one more than the last you applied. Ignore lower or equal ones (sent before your
snapshot). If one is skipped (a dropped frame), subscribe the wallet again for a new snapshot.
seq restarts when the node restarts; the snapshot after reconnecting resets it.
{
"channel": "orders",
"op": "snapshot",
"trader": "0x5d17…",
"seq": 41,
"orders": [ /* same as GET /ledger/orders, newest first */ ]
}
{
"channel": "orders",
"op": "delta",
"trader": "0x5d17…",
"seq": 42,
"upsert": [ { "id": 812, "market_id": "btc-hit-…", "side": "Yes", "price": 600, "size": "10", "remaining": "4", "status": "partial", "tif": "GTC", "expires_at": 0, "ts": 1794742400, "sell": false, "agent_auth_expires_at": 0 } ],
"remove": [ 807, 809 ]
}
exits
{
"channel": "exits",
"op": "set",
"exit": { "trader": "0x…", "market_id": "…", "side": "Yes", "trigger": "mid", "take_profit": { "…" }, "stop_loss": null }
}
{
"channel": "exits",
"op": "set_stop",
"stop": {
"kind": "stop",
"id": "ab12…",
"trader": "0x…",
"market_id": "…",
"side": "Yes",
"trigger": "mid",
"when": "above",
"close": false,
"trigger_price": 600,
"size": "5.0",
"order": { "…" }
}
}
{
"channel": "exits",
"op": "clear_stop",
"trader": "0x…",
"stop_id": "ab12…"
}
{
"channel": "exits",
"op": "fired_stop",
"stop_id": "ab12…",
"trader": "0x…",
"market_id": "…",
"side": "Yes",
"when": "above",
"close": false
}
announcements
{
"channel": "announcements",
"op": "new",
"announcement": { "id": 1, "title": "…", "body": "…", "created_at": 1735688000 }
}
{
"channel": "announcements",
"op": "deleted",
"id": 1,
"announcement": { "id": 1, "title": "…", "body": "…", "created_at": 1735688000 }
}
{
"channel": "announcements",
"op": "missed",
"trader": "0x…",
"announcements": [ { "id": 1, "title": "…", "body": "…", "created_at": 1735688000 } ],
"prev_visit_at": 0,
"visited_at": 1735689000
}