{
  "opencollection": "1.0.0",
  "info": {
    "name": "Octav Airdrops Portfolio API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Portfolio",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Portfolio",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.octav.fi/v1/portfolio",
            "params": [
              {
                "name": "addresses",
                "value": "0x6426af179aabebe47666f345d69fd9079673f6cd",
                "type": "query",
                "description": "EVM or SOL wallet address to retrieve portfolio data for"
              },
              {
                "name": "includeImages",
                "value": "",
                "type": "query",
                "description": "Include image URLs for chains, assets, and protocols"
              },
              {
                "name": "includeExplorerUrls",
                "value": "",
                "type": "query",
                "description": "Include blockchain explorer URLs for assets and transactions"
              },
              {
                "name": "waitForSync",
                "value": "",
                "type": "query",
                "description": "Wait for fresh data if cache is stale"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve portfolio holdings across wallets and DeFi protocols.\n\n**Cost:** 1 credit per call\n\n**Get your API key:** [Dev Portal](https://data.octav.fi)"
        },
        {
          "info": {
            "name": "Portfolio At Block",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.octav.fi/v1/portfolio/at-block",
            "params": [
              {
                "name": "addresses",
                "value": "0x6426af179aabebe47666f345d69fd9079673f6cd",
                "type": "query",
                "description": "A single EVM wallet address to retrieve portfolio data for. Only one address is accepted per call."
              },
              {
                "name": "chainKey",
                "value": "ethereum",
                "type": "query",
                "description": "Chain the block belongs to. Only ethereum is currently supported."
              },
              {
                "name": "blockNumber",
                "value": "19000000",
                "type": "query",
                "description": "The block number to value the portfolio at. Must be a positive integer."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a single Ethereum address's portfolio valued at a specific historical block. Requires the Portfolio at Block add-on to be enabled for your API key.\n\n**Cost:** Set monthly fee under the Portfolio at Block add-on, plus 1 credit per call\n\n**Rate limit:** 100 requests/min on a dedicated bucket\n\n**Get your API key:** [Dev Portal](https://data.octav.fi)"
        },
        {
          "info": {
            "name": "Historical Portfolio",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.octav.fi/v1/historical",
            "params": [
              {
                "name": "addresses",
                "value": "",
                "type": "query",
                "description": "EVM or SOL wallet address"
              },
              {
                "name": "date",
                "value": "2024-11-01",
                "type": "query",
                "description": "Date in YYYY-MM-DD format (e.g., 2024-11-01)"
              }
            ]
          },
          "docs": "Retrieve portfolio snapshots from specific dates.\n\n**Cost:** 1 credit per call\n\n**Get your API key:** [Dev Portal](https://data.octav.fi)"
        }
      ]
    }
  ],
  "bundled": true
}