Fetches activities for a specific collection or product. If collection_slug is provided, returns collection and optionally product activities. Otherwise, returns team customer 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
}
}The API key required for accessing protected routes. It should be included in the request headers as x-api-key.
The ID of the product (token) to fetch activities for.
x >= 1The slug of the collection to fetch activities for.
The minimum date for filtering activities.
The maximum date for filtering activities.
The maximum number of items to return (1-1000).
1 <= x <= 1000The number of items to skip before starting to collect the result set.
x >= 0The sort order of the results.
asc, desc The field by which to order the results.
If true, returns additional pagination metadata including total count and total pages.
Successfully retrieved activities.
Show child attributes
The unique identifier for the activity.
The type of activity that occurred.
CREATOR, CUSTOMER, BLOCKCHAIN, SYSTEM The title or headline for the activity.
The main content or description of the activity.
Additional structured data associated with the activity.
The transaction URL if the activity is blockchain-related.
The physical or virtual location where the activity occurred.
The blockchain address of the owner associated with this activity.
The unique identifier of the product/token associated with this activity.
The unique identifier of the user who performed or is associated with this activity.
The image media associated with the activity. Note that only the url field is populated in activity responses.
Show child attributes
Alternative text for the media.
The creation timestamp of the media.
Description of the media.
The file type of the media.
The unique identifier for the media.
URL to the poster of the media.
The size of the media in bytes.
Tags associated with the media.
URL to the thumbnail of the media.
The last updated timestamp of the media.
URL to the media.
The video media associated with the activity. Note that only the url and poster_url fields are populated in activity responses.
Show child attributes
Alternative text for the media.
The creation timestamp of the media.
Description of the media.
The file type of the media.
The unique identifier for the media.
URL to the poster of the media.
The size of the media in bytes.
Tags associated with the media.
URL to the thumbnail of the media.
The last updated timestamp of the media.
URL to the media.
The gallery items related to the activity. Note that only url, file_type, poster_url, and order fields are populated in activity responses.
Show child attributes
Alternative text for the media.
The creation timestamp of the media.
Description of the media.
The file type of the media.
The unique identifier for the media.
URL to the poster of the media.
The size of the media in bytes.
Tags associated with the media. Variants of the gallery item.
URL to the thumbnail of the media.
The last updated timestamp of the media.
URL to the media.
Order of the gallery item.
Variants of the gallery item.
Type of the gallery item.
Caption of the gallery item.
The timestamp when the activity was created.
The timestamp when the activity was last updated.
Show child attributes
URL for the next page of results, null if this is the last page
"https://api.example.com/users?limit=20&offset=20"
URL for the previous page of results, null if this is the first page
"https://api.example.com/users?limit=20&offset=0"
The maximum number of items returned per page
1 <= x <= 100020
The number of items skipped before the current page
x >= 00
Total number of items available (only included when count is requested)
x >= 0150
Total number of pages available (only included when count is requested)
x >= 08
Current page number (only included when count is requested)
x >= 11
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
}
}