{
  "opencollection": "1.0.0",
  "info": {
    "name": "Basescan Accounts API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "apikey",
      "value": "{{apikey}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Ether Balance for a Single Address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=account&action=balance",
            "params": [
              {
                "name": "address",
                "value": "0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae",
                "type": "query"
              },
              {
                "name": "tag",
                "value": "latest",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the Ether balance of a given address."
        },
        {
          "info": {
            "name": "Get Ether Balance for Multiple Addresses in a Single Call",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=account&action=balancemulti",
            "params": [
              {
                "name": "address",
                "value": "0xddbd2b932c763ba5b1b7ae3b362eac3e8d40121a,0x63a9975ba31b0b9626b34300f7f627147df1f526,0x198ef1ec325a96cc354c7266a038be8b5c558f67",
                "type": "query"
              },
              {
                "name": "tag",
                "value": "latest",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the balance of the accounts from a list of addresses."
        },
        {
          "info": {
            "name": "Get a list of 'Normal' Transactions By Address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=account&action=txlist",
            "params": [
              {
                "name": "address",
                "value": "0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC",
                "type": "query"
              },
              {
                "name": "startblock",
                "value": "0",
                "type": "query"
              },
              {
                "name": "endblock",
                "value": "99999999",
                "type": "query"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "10",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "asc",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the list of transactions performed by an address, with optional pagination. ​​ ​ 📝 Note : This API endpoint returns a maximum of 10000 records only."
        },
        {
          "info": {
            "name": "Get a list of 'Internal' Transactions by Address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=account&action=txlistinternal",
            "params": [
              {
                "name": "address",
                "value": "0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3",
                "type": "query"
              },
              {
                "name": "startblock",
                "value": "0",
                "type": "query"
              },
              {
                "name": "endblock",
                "value": "2702578",
                "type": "query"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "10",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "asc",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the list of internal transactions performed by an address, with optional pagination. 📝 Note : This API endpoint returns a maximum of 10000 records only."
        },
        {
          "info": {
            "name": "Get 'Internal Transactions' by Transaction Hash",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=account&action=txlistinternal&get-internal-transactions-by-transaction-hash",
            "params": [
              {
                "name": "txhash",
                "value": "0x40eb908387324f2b575b4879cd9d7188f69c8fc9d87c901b9e2daaea4b442170",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the list of internal transactions performed within a transaction. 📝 Note : This API endpoint returns a maximum of 10000 records only."
        },
        {
          "info": {
            "name": "Get \"Internal Transactions\" by Block Range",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=account&action=txlistinternal&get-internal-transactions-by-block-range",
            "params": [
              {
                "name": "startblock",
                "value": "13481773",
                "type": "query"
              },
              {
                "name": "endblock",
                "value": "13491773",
                "type": "query"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "10",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "asc",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the list of internal transactions performed within a block range, with optional pagination. ​​ 📝 Note : This API endpoint returns a maximum of 10000 records only."
        },
        {
          "info": {
            "name": "Get a list of 'ERC20 - Token Transfer Events' by Address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=account&action=tokentx",
            "params": [
              {
                "name": "address",
                "value": "0x4e83362442b8d1bec281594cea3050c8eb01311c",
                "type": "query"
              },
              {
                "name": "contractaddress",
                "value": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
                "type": "query"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "100",
                "type": "query"
              },
              {
                "name": "startblock",
                "value": "0",
                "type": "query"
              },
              {
                "name": "endblock",
                "value": "27025780",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "asc",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the list of ERC-20 tokens transferred by an address, with optional filtering by token contract."
        },
        {
          "info": {
            "name": "Get a list of 'ERC721 - Token Transfer Events' by Address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=account&action=tokennfttx",
            "params": [
              {
                "name": "address",
                "value": "0x6975be450864c02b4613023c2152ee0743572325",
                "type": "query"
              },
              {
                "name": "contractaddress",
                "value": "0x06012c8cf97bead5deae237070f9587f8e7a266d",
                "type": "query"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "100",
                "type": "query"
              },
              {
                "name": "startblock",
                "value": "0",
                "type": "query"
              },
              {
                "name": "endblock",
                "value": "27025780",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "asc",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the list of ERC-721 ( NFT ) tokens transferred by an address, with optional filtering by token contract."
        },
        {
          "info": {
            "name": "Get a list of 'ERC1155 - Token Transfer Events' by Address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=account&action=token1155tx",
            "params": [
              {
                "name": "address",
                "value": "0x83f564d180b58ad9a02a449105568189ee7de8cb",
                "type": "query"
              },
              {
                "name": "contractaddress",
                "value": "0x76be3b62873462d2142405439777e971754e8e77",
                "type": "query"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "100",
                "type": "query"
              },
              {
                "name": "startblock",
                "value": "0",
                "type": "query"
              },
              {
                "name": "endblock",
                "value": "99999999",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "asc",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the list of ERC-1155 ( Multi Token Standard ) tokens transferred by an address, with optional filtering by token contract."
        },
        {
          "info": {
            "name": "Get list of Blocks Validated by Address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=account&action=getminedblocks",
            "params": [
              {
                "name": "address",
                "value": "0x9dd134d14d1e65f84b706d6f205cd5b1cd03a46b",
                "type": "query"
              },
              {
                "name": "blocktype",
                "value": "blocks",
                "type": "query"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "10",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the list of blocks validated by an address."
        },
        {
          "info": {
            "name": "Get Beacon Chain Withdrawals by Address and Block Range",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=account&action=txsBeaconWithdrawal",
            "params": [
              {
                "name": "address",
                "value": "0xB9D7934878B5FB9610B3fE8A5e441e8fad7E293f",
                "type": "query"
              },
              {
                "name": "contractaddress",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "100",
                "type": "query"
              },
              {
                "name": "startblock",
                "value": "0",
                "type": "query"
              },
              {
                "name": "endblock",
                "value": "99999999",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "asc",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the beacon chain withdrawals made to an address."
        },
        {
          "info": {
            "name": "Get Historical Ether Balance for a Single Address By BlockNo",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.basescan.org/api/?module=account&action=balancehistory",
            "params": [
              {
                "name": "address",
                "value": "0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae",
                "type": "query"
              },
              {
                "name": "blockno",
                "value": "8000000",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the balance of an address at a certain block height. 📝 Note : This endpoint is throttled to 2 calls/second regardless of API Pro tier. PRO endpoint."
        }
      ]
    }
  ],
  "bundled": true
}