GET
/
v1
/
activities
List activities
curl --request GET \
  --url https://api.oneofnone.io/v1/activities \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": 123,
      "type": "CREATOR",
      "title": "<string>",
      "content": "<string>",
      "json": {},
      "tx_url": "<string>",
      "location": "<string>",
      "owner_address": "<string>",
      "token_id": 123,
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "image": {
        "alt": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "description": "<string>",
        "file_type": "<string>",
        "id": 123,
        "poster_url": "<string>",
        "size": 123,
        "tags": [
          "<string>"
        ],
        "thumbnail_url": "<string>",
        "updated_at": "2023-11-07T05:31:56Z",
        "url": "<string>"
      },
      "video": {
        "alt": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "description": "<string>",
        "file_type": "<string>",
        "id": 123,
        "poster_url": "<string>",
        "size": 123,
        "tags": [
          "<string>"
        ],
        "thumbnail_url": "<string>",
        "updated_at": "2023-11-07T05:31:56Z",
        "url": "<string>"
      },
      "gallery": [
        {
          "alt": "<string>",
          "created_at": "2023-11-07T05:31:56Z",
          "description": "<string>",
          "file_type": "<string>",
          "id": 123,
          "poster_url": "<string>",
          "size": 123,
          "tags": [
            "<string>"
          ],
          "thumbnail_url": "<string>",
          "updated_at": "2023-11-07T05:31:56Z",
          "url": "<string>",
          "order": 123,
          "variants": [
            "<string>"
          ],
          "type": "<string>",
          "caption": "<string>"
        }
      ],
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "next": "https://api.example.com/users?limit=20&offset=20",
    "prev": "https://api.example.com/users?limit=20&offset=0",
    "limit": 20,
    "offset": 0,
    "total_count": 150,
    "total_pages": 8,
    "current_page": 1
  }
}

Authorizations

x-api-key
string
header
required

The API key required for accessing protected routes. It should be included in the request headers as x-api-key.

Query Parameters

token_id
integer

The ID of the product (token) to fetch activities for.

Required range: x >= 1
collection_slug
string

The slug of the collection to fetch activities for.

min_date
string

The minimum date for filtering activities.

max_date
string

The maximum date for filtering activities.

limit
integer
default:1000

The maximum number of items to return (1-1000).

Required range: 1 <= x <= 1000
offset
integer
default:0

The number of items to skip before starting to collect the result set.

Required range: x >= 0
order
enum<string>
default:asc

The sort order of the results.

Available options:
asc,
desc
order_by
string

The field by which to order the results.

include_count
boolean
default:false

If true, returns additional pagination metadata including total count and total pages.

Response

200
application/json

Successfully retrieved activities.

The response is of type object.