Skip to main content
GET
/
api
/
v1
/
asset_contexts
Get asset contexts
curl --request GET \
  --url https://api.mainnet.aptoslabs.com/decibel/api/v1/asset_contexts \
  --header 'Authorization: Bearer <token>'
[
  {
    "mark_price": 123,
    "market": "0xmarket123...",
    "mid_price": 123,
    "open_interest": 123,
    "oracle_price": 123,
    "previous_day_price": 123,
    "price_change_pct_24h": 123,
    "volume_24h": 123
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.decibel.trade/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token from Geomi. See Authentication for setup instructions.

Query Parameters

market
string

Filter by specific market address

Response

Asset context retrieved successfully

mark_price
number<double>
required
market
string
required
Example:

"0xmarket123..."

mid_price
number<double>
required
open_interest
number<double>
required
oracle_price
number<double>
required
previous_day_price
number<double>
required
price_change_pct_24h
number<double>
required
volume_24h
number<double>
required