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

# Get Aerodrome V3 Position Events

> Position history for one Slipstream LP position: deposits (IncreaseLiquidity), withdrawals (DecreaseLiquidity), fee collections, and compounds (Collect). Each event has token amounts, token prices at the transaction (token0PriceUSD, token1PriceUSD), timestamp, and transaction_hash. USD value is amount times that price; it is not a stored field. The first deposit is the mint. An empty compounds list is omitted.

**Credits:** 1 per successful call.



## OpenAPI

````yaml /openapi.yaml get /v1/positions/aerodromev3/{id}/events
openapi: 3.1.0
info:
  title: DeFi Orbit API
  version: 1.0.0
  description: Public REST API for DeFi Orbit positions, lending, portfolio, and usage.
servers:
  - url: https://api.defiorbit.xyz
security:
  - bearerAuth: []
tags:
  - name: Portfolio
  - name: Snapshots
  - name: Uniswap V3
  - name: Aerodrome V3
  - name: Orca
  - name: Aave V3
  - name: Morpho
  - name: Kamino
  - name: Usage
paths:
  /v1/positions/aerodromev3/{id}/events:
    get:
      tags:
        - Aerodrome V3
      summary: Get Aerodrome V3 Position Events
      description: >-
        Position history for one Slipstream LP position: deposits
        (IncreaseLiquidity), withdrawals (DecreaseLiquidity), fee collections,
        and compounds (Collect). Each event has token amounts, token prices at
        the transaction (token0PriceUSD, token1PriceUSD), timestamp, and
        transaction_hash. USD value is amount times that price; it is not a
        stored field. The first deposit is the mint. An empty compounds list is
        omitted.


        **Credits:** 1 per successful call.
      operationId: get_v1_positions_aerodromev3_id_events
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            description: Token ID.
            example: '1'
            x-default: '1'
        - name: chain_id
          in: query
          required: true
          schema:
            type: integer
            description: Chain ID.
            example: 8453
            x-default: 8453
        - name: manager_address
          in: query
          required: false
          schema:
            type: string
            description: Manager address.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/RequestId'
                  - type: object
                    properties:
                      data:
                        type: object
                        properties:
                          token_id:
                            type: string
                          chain_id:
                            type: integer
                          deposits:
                            type: array
                            items:
                              type: object
                              properties:
                                amount0:
                                  type: string
                                  description: Token amount as a decimal string.
                                amount1:
                                  type: string
                                  description: Token amount as a decimal string.
                                token0PriceUSD:
                                  type: string
                                  description: USD price of token0 at the transaction.
                                token1PriceUSD:
                                  type: string
                                  description: USD price of token1 at the transaction.
                                timestamp:
                                  type: number
                                  description: Unix seconds.
                                block:
                                  type: integer
                                transaction_hash:
                                  type: string
                              required:
                                - amount0
                                - amount1
                                - token0PriceUSD
                                - token1PriceUSD
                                - timestamp
                                - block
                                - transaction_hash
                          withdrawals:
                            type: array
                            items:
                              type: object
                              properties:
                                amount0:
                                  type: string
                                  description: Token amount as a decimal string.
                                amount1:
                                  type: string
                                  description: Token amount as a decimal string.
                                token0PriceUSD:
                                  type: string
                                  description: USD price of token0 at the transaction.
                                token1PriceUSD:
                                  type: string
                                  description: USD price of token1 at the transaction.
                                timestamp:
                                  type: number
                                  description: Unix seconds.
                                block:
                                  type: integer
                                transaction_hash:
                                  type: string
                              required:
                                - amount0
                                - amount1
                                - token0PriceUSD
                                - token1PriceUSD
                                - timestamp
                                - block
                                - transaction_hash
                          collections:
                            type: array
                            items:
                              type: object
                              properties:
                                amount0:
                                  type: string
                                  description: Token amount as a decimal string.
                                amount1:
                                  type: string
                                  description: Token amount as a decimal string.
                                token0PriceUSD:
                                  type: string
                                  description: USD price of token0 at the transaction.
                                token1PriceUSD:
                                  type: string
                                  description: USD price of token1 at the transaction.
                                timestamp:
                                  type: number
                                  description: Unix seconds.
                                block:
                                  type: integer
                                transaction_hash:
                                  type: string
                              required:
                                - amount0
                                - amount1
                                - token0PriceUSD
                                - token1PriceUSD
                                - timestamp
                                - block
                                - transaction_hash
                        required:
                          - token_id
                          - chain_id
                          - deposits
                          - withdrawals
                          - collections
                    required:
                      - data
              example:
                data:
                  token_id: '1'
                  chain_id: 8453
                  deposits:
                    - amount0: '1.0'
                      amount1: '2000'
                      token0PriceUSD: '3500.00'
                      token1PriceUSD: '1.00'
                      timestamp: 1717200000
                      block: 12000000
                      transaction_hash: '0xabc'
                  withdrawals: []
                  collections: []
                request_id: req_...
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    RequestId:
      type: object
      required:
        - request_id
      properties:
        request_id:
          type: string
          description: Id to quote when you contact support.
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - request_id
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
  responses:
    BadRequest:
      description: Missing or invalid parameter.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: INVALID_PARAMETER
              message: page must be a positive integer.
              request_id: req_...
    Unauthorized:
      description: Missing, malformed, invalid, or revoked API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: INVALID_API_KEY
              message: Missing API key.
              request_id: req_...
    PaymentRequired:
      description: The organization does not have enough credits.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: INSUFFICIENT_CREDITS
              message: Insufficient API credits.
              request_id: req_...
    Forbidden:
      description: The organization is suspended, or the endpoint or feature is disabled.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: ACCOUNT_SUSPENDED
              message: This organization is suspended.
              request_id: req_...
    TooManyRequests:
      description: The organization exceeded its requests-per-second limit.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
        X-RateLimit-Limit:
          description: Requests per second for the organization.
          schema:
            type: integer
        X-RateLimit-Remaining:
          description: Requests left in the current window.
          schema:
            type: integer
        X-RateLimit-Reset:
          description: Unix time when the window resets.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: RATE_LIMIT_EXCEEDED
              message: Rate limit exceeded. Please try again later.
              request_id: req_...
    InternalError:
      description: Unexpected server error, or pricing is not configured.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: INTERNAL_ERROR
              message: An unexpected error occurred.
              request_id: req_...
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Paste your API key from the
        [dashboard](https://platform.defiorbit.xyz/dashboard/keys). The key
        starts with `do_sk_`.
      x-default: YOUR_API_KEY

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.