Octav Approvals API

Token approval endpoints

Operations 1

GET /approvals/{chain} Token Approvals #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/octav-approvals-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

octav-approvals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Octav Airdrops Approvals API
  description: Comprehensive blockchain data API for portfolio management, transactions, and DeFi analytics
  version: 1.0.0
  contact:
    name: Octav Support
    url: https://octav.fi
    email: info@octav.fi
servers:
- url: https://api.octav.fi/v1
  description: Production API
security:
- bearerAuth: []
tags:
- name: Approvals
  description: Token approval endpoints
paths:
  /approvals/{chain}:
    get:
      summary: Token Approvals
      description: 'Retrieve ERC-20 token approval (allowance) records for a wallet on a given chain.


        **Cost:** 1 credit per call


        **Get your API key:** [Dev Portal](https://data.octav.fi)'
      operationId: getApprovals
      tags:
      - Approvals
      parameters:
      - name: chain
        in: path
        required: true
        description: Chain identifier
        schema:
          type: string
          enum:
          - arbitrum
          - avalanche
          - base
          - binance
          - ethereum
          - fantom
          - gnosis
          - linea
          - optimism
          - polygon
        example: ethereum
      - name: addresses
        in: query
        required: true
        description: Wallet address to fetch approvals for
        schema:
          type: string
        example: '0x6426af179aabebe47666f345d69fd9079673f6cd'
      - name: limit
        in: query
        required: false
        description: Results per page (1-100, default 25)
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 25
        example: 25
      - name: cursor
        in: query
        required: false
        description: Cursor string from a previous response to fetch the next page
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  cursor:
                    type:
                    - string
                    - 'null'
                    description: Cursor for the next page. Null when there are no more results.
                  pageSize:
                    type: integer
                    description: Number of items returned in this page
                  items:
                    type: array
                    description: Array of token approval records
                    items:
                      type: object
                      properties:
                        block:
                          type: string
                          description: Block number where the approval was mined
                        timestamp:
                          type: string
                          description: ISO 8601 timestamp of the block
                        hash:
                          type: string
                          description: Transaction hash of the approval
                        contract:
                          type: string
                          description: Address of the approved token contract
                        from:
                          type: string
                          description: Wallet address that granted the approval
                        to:
                          type: string
                          description: Spender address that received the approval
                        amount:
                          type: string
                          description: Raw approved amount (not decimal-adjusted). Max uint256 = unlimited.
                        asset:
                          type:
                          - object
                          - 'null'
                          description: Enriched token metadata (present when token is tracked)
                          properties:
                            name:
                              type: string
                            symbol:
                              type: string
                            balance:
                              type: string
                            price:
                              type: string
                            value:
                              type: string
                            decimal:
                              type: string
                            chain:
                              type: string
                            contract:
                              type: string
                            imgSmall:
                              type: string
                            imgLarge:
                              type: string
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '502':
          description: Upstream provider unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
      security:
      - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer