> ## Documentation Index
> Fetch the complete documentation index at: https://docs.amberdata.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Apr-Basis Live Term Structure

> This endpoint returns the current quoted futures prices along with the differential to spot and the annualized apr of the spot differential.



## OpenAPI

````yaml get /analytics/futures-perpetuals/apr-basis/live-term-structures
openapi: 3.1.0
info:
  title: derivatives-api
  version: '2'
servers:
  - url: https://api.amberdata.com/markets/derivatives
security:
  - sec0: []
paths:
  /analytics/futures-perpetuals/apr-basis/live-term-structures:
    get:
      summary: Apr-Basis Live Term Structure
      description: >-
        This endpoint returns the current quoted futures prices along with the
        differential to spot and the annualized apr of the spot differential.
      operationId: derivatives-futures-perpetuals-apr-basis-live-term-structures
      parameters:
        - name: asset
          in: query
          description: >-
            **[Required]** The underlying currency for which there are futures
            contracts/instruments. 

            **[Examples]** ` BTC | ETH `
          required: true
          schema:
            type: string
            default: BTC
        - name: marginType
          in: query
          description: >-
            **[Required]** This is the type of margin for the perpetuals.
            Perpetuals are either settled in stable coins or underlying currency
            coins.. 

            **[Examples]** `  coins | stables `
          required: true
          schema:
            type: string
            default: coins
        - name: timeFormat
          in: query
          description: >-
            **[Optional]** Time format of the timestamps in the return payload.

            **[Defaults]** `milliseconds | ms* | iso | iso8601 | hr |
            human_readable`
          schema:
            type: string
            default: hr
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 200
                  title:
                    type: string
                    example: OK
                  description:
                    type: string
                    example: Successful request
                  payload:
                    type: object
                    properties:
                      data:
                        type: array
                        items:
                          type: object
                          properties:
                            exchange:
                              type: string
                              example: deribit
                              description: >-
                                The exchange where the futures contract is
                                listed
                            expirationTimestamp:
                              type: string
                              example: '1718928000000'
                              description: The expiration timestamp of the futures contract
                            marginType:
                              type: string
                              example: coins
                              description: The type of margin used (coins or stables)
                            price:
                              type: number
                              example: 65208
                              description: The current quoted futures price
                            basis:
                              type: number
                              example: 47
                              description: >-
                                The differential between futures price and spot
                                price
                            apr:
                              type: number
                              example: 11.03
                              description: >-
                                The annualized percentage rate of the spot
                                differential
              examples:
                Result:
                  value:
                    status: 200
                    title: OK
                    description: Successful request
                    payload:
                      data:
                        - exchange: deribit
                          expirationTimestamp: '1718928000000'
                          marginType: coins
                          price: 65208
                          basis: 47
                          apr: 11.03
                        - exchange: huobi
                          expirationTimestamp: '1718928000000'
                          marginType: coins
                          price: 65156
                          basis: -5
                          apr: -1.45
                        - exchange: okex
                          expirationTimestamp: '1718928000000'
                          marginType: coins
                          price: 65192
                          basis: 31
                          apr: 7.26
                        - exchange: binance
                          expirationTimestamp: '1719532800000'
                          marginType: coins
                          price: 65317
                          basis: 156
                          apr: 9.31
                        - exchange: bitmex
                          expirationTimestamp: '1719532800000'
                          marginType: coins
                          price: 65215
                          basis: 53
                          apr: 3.14
                        - exchange: bybit
                          expirationTimestamp: '1719532800000'
                          marginType: coins
                          price: 65290
                          basis: 128
                          apr: 7.66
                        - exchange: deribit
                          expirationTimestamp: '1719532800000'
                          marginType: coins
                          price: 65364
                          basis: 203
                          apr: 12.11
                        - exchange: huobi
                          expirationTimestamp: '1719532800000'
                          marginType: coins
                          price: 65299
                          basis: 138
                          apr: 8.54
                        - exchange: kraken
                          expirationTimestamp: '1719532800000'
                          marginType: coins
                          price: 65250
                          basis: 89
                          apr: 5.15
                        - exchange: okex
                          expirationTimestamp: '1719532800000'
                          marginType: coins
                          price: 65240
                          basis: 78
                          apr: 4.67
                        - exchange: bitmex
                          expirationTimestamp: '1721952000000'
                          marginType: coins
                          price: 65704
                          basis: 542
                          apr: 8.09
                        - exchange: deribit
                          expirationTimestamp: '1721952000000'
                          marginType: coins
                          price: 65859
                          basis: 697
                          apr: 10.45
                        - exchange: okex
                          expirationTimestamp: '1721952000000'
                          marginType: coins
                          price: 65772
                          basis: 610
                          apr: 9.14
                        - exchange: okex
                          expirationTimestamp: '1724976000000'
                          marginType: coins
                          price: 66361
                          basis: 1199
                          apr: 9.28
                        - exchange: binance
                          expirationTimestamp: '1727395200000'
                          marginType: coins
                          price: 67189
                          basis: 2028
                          apr: 11.32
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
      deprecated: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````