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

# Get Event Logs by Address and/or Topic(s)



## OpenAPI

````yaml /api-references/explorer-api.yaml get /?module=logs&action=getLogs
openapi: 3.0.0
info:
  title: Explorer API
  description: >
    ## Unleash the Power of Fuse Blockchain Analytics


    Welcome the newly unveiled Fuse Explorer API. This API empowers developers
    with access to the inner workings of the Fuse Blockchain and powers
    analytics and data exploration on the Fuse Blockchain.


    ## What is Fuse Explorer API?


    The Fuse Explorer API is a REST API with endpoints designed to provide
    developers with a comprehensive suite of analytics capabilities for the Fuse
    Blockchain. Whether building decentralized applications (DApps), conducting
    research, or seeking insights into blockchain transactions on Fuse, this API
    is your gateway to a wealth of data.


    ## Key Features:


    ### 1. Real-Time Transaction Insights:
      Dive into the heart of the Fuse Blockchain with real-time transaction data. Explore, analyze, and visualize transactions as they occur, gaining a dynamic understanding of blockchain activity.

    ### 2. Address Information:
      Retrieve detailed information about specific addresses on the Fuse Blockchain. Uncover transaction histories, balances, and other pertinent details crucial for monitoring and analysis.

    ### 3. Token Analytics:
      Seamlessly integrate token analytics into your applications. Track token movement, monitor liquidity, and gain valuable insights into token-related activities.

    ### 4. Smart Contract Analytics:
      Delve into the functionality and performance of smart contracts deployed on the Fuse Blockchain. Extract vital data to optimize your decentralized applications and enhance overall development efficiency.

    ### 5. Historical Data:
      Access historical data to perform in-depth analyses and generate trend insights. Uncover patterns, identify anomalies, and make informed decisions based on the Fuse Blockchain's historical performance.

    ## Getting Started:


    To start with the Fuse Explorer API, developers can get an API from the
    [Console](https://console.fuse.io/build) tool and reference the
    comprehensive documentation, including detailed guides, code snippets, and
    examples. Integration is seamless, allowing you to harness the power of
    blockchain analytics with minimal effort.
  version: 1.0.0
servers:
  - url: https://api.fuse.io/api/v0/explorer
    description: Production server
security: []
tags:
  - name: Account
    description: Account module endpoints
  - name: Block
    description: Block endpoints
  - name: Contract
    description: Contract endpoints
  - name: Logs
    description: Logs endpoints
  - name: Stats
    description: Stats endpoints
  - name: Token
    description: Token endpoints
  - name: Transaction
    description: Transaction endpoints
paths:
  /?module=logs&action=getLogs:
    get:
      tags:
        - Logs
      summary: Get Event Logs by Address and/or Topic(s)
      operationId: getLogs
      parameters:
        - name: module
          in: query
          schema:
            type: string
            enum:
              - logs
          required: true
        - name: action
          in: query
          schema:
            type: string
            enum:
              - getLogs
          required: true
        - name: fromBlock
          in: query
          schema:
            type: integer
          required: true
        - name: toBlock
          in: query
          schema:
            type: integer
          required: true
        - name: address
          in: query
          schema:
            type: string
          required: true
        - name: topic0
          in: query
          schema:
            type: string
          required: true
        - name: topic1
          in: query
          schema:
            type: string
        - name: topic2
          in: query
          schema:
            type: string
        - name: topic3
          in: query
          schema:
            type: string
        - name: topic0_1_opr
          in: query
          schema:
            type: string
            enum:
              - and
              - or
        - name: topic0_2_opr
          in: query
          schema:
            type: string
            enum:
              - and
              - or
        - name: topic0_3_opr
          in: query
          schema:
            type: string
            enum:
              - and
              - or
        - name: topic1_2_opr
          in: query
          schema:
            type: string
            enum:
              - and
              - or
        - name: topic1_3_opr
          in: query
          schema:
            type: string
            enum:
              - and
              - or
        - name: topic2_3_opr
          in: query
          schema:
            type: string
            enum:
              - and
              - or
        - name: apiKey
          in: query
          schema:
            type: string
          example: pk_1234567890
          required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  result:
                    type: array
                    items:
                      type: object
                      properties:
                        address:
                          type: string
                        blockNumber:
                          type: string
                        data:
                          type: string
                        gasPrice:
                          type: string
                        gasUsed:
                          type: string
                        logIndex:
                          type: string
                        timeStamp:
                          type: string
                        topics:
                          type: array
                          items:
                            type: string
                        transactionHash:
                          type: string
                        transactionIndex:
                          type: string
                  status:
                    type: string

````