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

# List transactions



## OpenAPI

````yaml /coins/api-reference/openapi.json get /transactions
openapi: 3.1.0
info:
  contact:
    email: support@daya.co
    name: API Support
  description: >-
    Public developer API for the Coins by Daya product. X-API-Key authenticated.
    Market data, portfolio, balances, transactions, order placement, crypto and
    fiat withdrawals. All responses use the standard envelope: { success,
    message?, data?, error?, timestamp }.
  title: Daya Coins Public API
  version: 1.0.0
servers:
  - url: https://api.daya.co/coins/v1
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /transactions:
    get:
      tags:
        - coins-transactions
      summary: List transactions
      operationId: getTransactions
      parameters:
        - description: >-
            Filter by money-flow direction (in|out); in=deposits,
            out=withdrawals
          in: query
          name: direction
          schema:
            type: string
        - description: Filter by asset symbol (e.g. BTC)
          in: query
          name: asset
          schema:
            type: string
        - description: Pagination cursor from previous page
          in: query
          name: cursor
          schema:
            type: string
        - description: Page size (default 50)
          in: query
          name: limit
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                allOf:
                  - $ref: >-
                      #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.Envelope
                  - properties:
                      data:
                        $ref: >-
                          #/components/schemas/internal_publicapi_v1.PublicTransactionsPage
                    type: object
          description: Page of transactions
        '400':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.Envelope
          description: Invalid direction filter
        '401':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.Envelope
          description: Missing or invalid API key
components:
  schemas:
    github_com_dayacoins_daya-coins-service_pkg_response.Envelope:
      properties:
        data: {}
        error:
          $ref: >-
            #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.ErrorData
        message:
          description: Message is an optional banner/toast string.
          type: string
        success:
          type: boolean
        timestamp:
          type: string
      type: object
    internal_publicapi_v1.PublicTransactionsPage:
      properties:
        next_cursor:
          example: eyJjcmVhdGVkX2F0IjoiMjAyNi0wMS0xNVQxMDozMDowMFoifQ
          type: string
        transactions:
          items:
            $ref: '#/components/schemas/internal_publicapi_v1.PublicTransaction'
          type: array
      type: object
    github_com_dayacoins_daya-coins-service_pkg_response.ErrorData:
      properties:
        code:
          type: string
        details: {}
        fields:
          additionalProperties:
            type: string
          type: object
        message:
          type: string
      type: object
    internal_publicapi_v1.PublicTransaction:
      properties:
        amount:
          example: '0.05000000'
          type: string
        amount_usd:
          example: '3250.00'
          type: string
        asset:
          example: BTC
          type: string
        completed_at:
          example: '2026-01-15T10:30:05Z'
          type: string
        created_at:
          example: '2026-01-15T10:30:00Z'
          type: string
        direction:
          enum:
            - in
            - out
          example: in
          type: string
        id:
          example: 3f2504e0-4f89-41d3-9a0c-0305e82c3301
          type: string
        method:
          enum:
            - onchain
            - bank_transfer
          example: onchain
          type: string
        status:
          enum:
            - pending
            - processing
            - completed
            - failed
          example: completed
          type: string
        price_usd:
          type: string
          description: >-
            The asset's USD unit price at transaction time (amount_usd /
            amount).
          example: '65000.00000000'
        fx_rate:
          type: string
          description: NGN per USD when a fiat leg was involved.
          example: '1437.81'
        fee_amount:
          type: string
          description: Fee as charged, in fee_currency.
          example: '0.00042000'
        fee_currency:
          type: string
          example: ETH
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: >-
        Your Daya API key, sent in the X-API-Key header. Issue and scope keys in
        the Daya dashboard.
      in: header
      name: X-API-Key
      type: apiKey

````