Aktionariat Documentation
  • Introduction to Aktionariat
    • ⚡Quick Start
  • 🛠️APIs
    • 📊Subgraph
      • Schema
      • Query Examples
        • Platform data
        • Token Data
        • Brokerbot Data
        • Swaps Data
    • ⚙️External API
      • ⚙️External API (Gitbook)
  • 🌐Web
    • Integrate with Ethers.js
      • Brokerbot Quoter
    • Integrate Aktionariat Widgets
  • ⛓️Smart Contracts
    • 📔Contracts Overview
    • 👷‍♂️Guides
      • Implement A Trade
        • Direct Trades
        • Multihop Trades
      • Get Brokerbot Contract for Token
      • Buy Shares
      • Sell Shares
    • Technical Reference
      • Allowlist
      • Brokerbot
      • Drag-Along
      • Infinite Allowances
      • Multi-Signature Contract
      • Recovery
      • Shareholder Registry
  • 📖Reference
    • Brokerbot Architecture
    • Github
    • Whitepaper
    • Brokerbot Analytics
  • 💬Socials
    • Twitter
    • Telegram
    • LinkedIn
    • Youtube
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. APIs
  2. Subgraph

Query Examples

PreviousSchemaNextPlatform data

Last updated 2 years ago

Was this helpful?

This doc will teach you how to query Aktionariat analytics by writing GraphQL queries on the subgraph. You can fetch data points like :

and much more. On the left are some example queries. To run a query copy and paste it into the to get fresh data.

Remember if you want to get data for a company that is deployed on Optimism to use the Optimism-Subgraph

If you use addresses as query parameter for the Id and in the where clause, always use the address in all lowercase

Subpages with examples:

🛠️
📊
explorer
Platform data
Token Data
Brokerbot Data
Swaps Data
latest swaps of a token
total money raised in total
volume on a certain day
current TVL in a Brokerbot