Skip to main content
GET
/
v2
/
activities
GET Activities
curl --request GET \
  --url https://api.bitski.com/v2/activities
import requests

url = "https://api.bitski.com/v2/activities"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.bitski.com/v2/activities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bitski.com/v2/activities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.bitski.com/v2/activities"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.bitski.com/v2/activities")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.bitski.com/v2/activities")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "activities":[
    {
      "associatedAddresses": [
        "0x0000000000000000000000000000000000000000",
        "0xa6d0eea3afab2696a840731537874e058bc8049f",
        "0xe5d16617c2d5405a6e149bbb57ef7d4a87e49b5f",
        "0x904369861d728d6715fe1cde077758296054e54b",
        "0x00000000006c3852cbef3e08e8df289169ede581"
      ],
      "timestamp": "2023-02-22T02:48:23Z",
      "coinType": 60,
      "chainId": 1,
      "transaction": {
        "hash": "0x213be412bad7602057985784c44f99f68c4f729b011549d64f3ebbc91335fccf",
        "blockNumber": 16681127,
        "value": "0x3c6568f12e8000",
        "status": 1,
        "fromAddress": "0x904369861d728d6715fe1cde077758296054e54b",
        "toAddress": "0x00000000006c3852cbef3e08e8df289169ede581",
        "gasUsed": "0x2b5fc",
        "effectiveGasPrice": "0x10232542e4cca4"
      },
      "events": [
        {
          "type": "TOKEN_SALE",
          "seller": "0xe5d16617c2d5405a6e149bbb57ef7d4a87e49b5f",
          "buyer": "0x904369861d728d6715fe1cde077758296054e54b",
          "contractAddress": "0xa6d0eea3afab2696a840731537874e058bc8049f",
          "tokenId": "0xa50",
          "amount": "1",
          "purchaseType": "ACCEPT_OFFER",
          "paymentCurrency": "0x0000000000000000000000000000000000000000",
          "paymentAmount": "17000000000000000",
          "platform": "0x00000000006c3852cbef3e08e8df289169ede581",
          "logIndex": 246,
          "creatorFee": null,
          "platformFee": null
        },
        {
          "type": "TOKEN_TRANSFER",
          "fromAddress": "0xe5d16617c2d5405a6e149bbb57ef7d4a87e49b5f",
          "toAddress": "0x904369861d728d6715fe1cde077758296054e54b",
          "contractAddress": "0xa6d0eea3afab2696a840731537874e058bc8049f",
          "tokenId": "0xa50",
          "amount": "1",
          "logIndex": 248,
          "kind": "NFT"
        },
        {
          "type": "TOKEN_APPROVAL",
          "owner": "0xe5d16617c2d5405a6e149bbb57ef7d4a87e49b5f",
          "spender": "0x0000000000000000000000000000000000000000",
          "contractAddress": "0xa6d0eea3afab2696a840731537874e058bc8049f",
          "tokenId": "0xa50",
          "approvalType": "APPROVAL_FOR_ALL",
          "allowance": "0x1",
          "logIndex": 247,
          "priority": 100
        },
        {
          "type": "CONTRACT_INTERACTION",
          "contractAddress": "0x00000000006c3852cbef3e08e8df289169ede581",
          "functionName": null,
          "functionArgs": null,
          "status": "0x1"
        }
      ]
    }
    ...
  ]
}

Parameters

address
string
required
The wallet address to retrieve activities for.
chainIds
string
default:"1,137"
Comma-separated list of chain IDs to query activities for.

Examples

Activity Feed
{
  "activities":[
    {
      "associatedAddresses": [
        "0x0000000000000000000000000000000000000000",
        "0xa6d0eea3afab2696a840731537874e058bc8049f",
        "0xe5d16617c2d5405a6e149bbb57ef7d4a87e49b5f",
        "0x904369861d728d6715fe1cde077758296054e54b",
        "0x00000000006c3852cbef3e08e8df289169ede581"
      ],
      "timestamp": "2023-02-22T02:48:23Z",
      "coinType": 60,
      "chainId": 1,
      "transaction": {
        "hash": "0x213be412bad7602057985784c44f99f68c4f729b011549d64f3ebbc91335fccf",
        "blockNumber": 16681127,
        "value": "0x3c6568f12e8000",
        "status": 1,
        "fromAddress": "0x904369861d728d6715fe1cde077758296054e54b",
        "toAddress": "0x00000000006c3852cbef3e08e8df289169ede581",
        "gasUsed": "0x2b5fc",
        "effectiveGasPrice": "0x10232542e4cca4"
      },
      "events": [
        {
          "type": "TOKEN_SALE",
          "seller": "0xe5d16617c2d5405a6e149bbb57ef7d4a87e49b5f",
          "buyer": "0x904369861d728d6715fe1cde077758296054e54b",
          "contractAddress": "0xa6d0eea3afab2696a840731537874e058bc8049f",
          "tokenId": "0xa50",
          "amount": "1",
          "purchaseType": "ACCEPT_OFFER",
          "paymentCurrency": "0x0000000000000000000000000000000000000000",
          "paymentAmount": "17000000000000000",
          "platform": "0x00000000006c3852cbef3e08e8df289169ede581",
          "logIndex": 246,
          "creatorFee": null,
          "platformFee": null
        },
        {
          "type": "TOKEN_TRANSFER",
          "fromAddress": "0xe5d16617c2d5405a6e149bbb57ef7d4a87e49b5f",
          "toAddress": "0x904369861d728d6715fe1cde077758296054e54b",
          "contractAddress": "0xa6d0eea3afab2696a840731537874e058bc8049f",
          "tokenId": "0xa50",
          "amount": "1",
          "logIndex": 248,
          "kind": "NFT"
        },
        {
          "type": "TOKEN_APPROVAL",
          "owner": "0xe5d16617c2d5405a6e149bbb57ef7d4a87e49b5f",
          "spender": "0x0000000000000000000000000000000000000000",
          "contractAddress": "0xa6d0eea3afab2696a840731537874e058bc8049f",
          "tokenId": "0xa50",
          "approvalType": "APPROVAL_FOR_ALL",
          "allowance": "0x1",
          "logIndex": 247,
          "priority": 100
        },
        {
          "type": "CONTRACT_INTERACTION",
          "contractAddress": "0x00000000006c3852cbef3e08e8df289169ede581",
          "functionName": null,
          "functionArgs": null,
          "status": "0x1"
        }
      ]
    }
    ...
  ]
}