Latest Bonsai posts

Get the latest posts made by a creator on Bonsai

Returns a list of Lens posts

ℹ️ We only return the posts made on Bonsai

ℹ️ The given address must be the owner of a Lens Account

GET https://app.onbons.ai/api/creators/get-latest-posts?address={userAddress}

{
    "posts": [
        {
            "__typename": "Post",
            "id": "97944308644468339057307289785615431239071805823221332700143339815290882236679",
            "author": {
                "__typename": "Account",
                "address": "0x53D0Bb054F59529d5457716f8d5736e5FdB72332",
                "owner": "0x28ff8e457feF9870B9d1529FE68Fbb95C3181f64",
                "score": 9998,
                "createdAt": "2022-05-18T14:00:02+00:00",
                "username": {
                    "__typename": "Username",
                    "id": "15406",
                    "value": "lens/carlosbeltran",
                    "localName": "carlosbeltran",
                    "linkedTo": "0x53D0Bb054F59529d5457716f8d5736e5FdB72332",
                    "ownedBy": "0x53D0Bb054F59529d5457716f8d5736e5FdB72332",
                    "timestamp": "2025-03-08T00:33:25+00:00",
                    "namespace": "0x1aA55B9042f08f45825dC4b651B64c9F98Af4615",
                    "operations": null
                },
                "metadata": {
                    "__typename": "AccountMetadata",
                    "attributes": [],
                    "bio": "$BONSAI 🌳",
                    "coverPicture": "https://gw.ipfs-lens.dev/ipfs/bafybeialt3tpuq63mbxgur5wo7c2b4xgqsmtgk7nc4ktrwkoqxyjotm5ii",
                    "id": "3429a878-616d-45c9-aefc-f91d1d6b3394",
                    "name": "Carlos",
                    "picture": "https://gw.ipfs-lens.dev/ipfs/QmShQbXa1ghcFmocWPduUndjuQd9WvvFNZ8Y9Br37TqU2p"
                },
                "operations": null,
                "rules": {
                    "__typename": "AccountFollowRules",
                    "required": [],
                    "anyOf": []
                },
                "actions": []
            },
            "slug": "2b2q2m7r7ce6v4b1edr",
            "isDeleted": false,
            "isEdited": false,
            "timestamp": "2025-06-05T22:17:29+00:00",
            "contentUri": "lens://0c4567d4eb8af3468b57f88eb878892106d821eaed9ee485bf956172d67839ee",
            "snapshotUrl": "https://statics.mainnet.lens.dev/metadata/post/97944308644468339057307289785615431239071805823221332700143339815290882236679_1749161850.json",
            "feed": {
                "__typename": "PostFeedInfo",
                "address": "0x075083417a0e58cE665c7E0E9970187f4053928F",
                "metadata": {
                    "__typename": "FeedMetadata",
                    "description": "Custom feed for agentic content on Bonsai",
                    "id": "e3d2e3d8-65ee-42a4-8468-0badabf450c2",
                    "name": "Bonsai Feed"
                },
                "group": null
            },
            "app": {
                "__typename": "App",
                "address": "0x640c9184b31467C84096EB2829309756DDbB3f44",
                "createdAt": "2025-04-06T16:23:36+00:00",
                "defaultFeedAddress": "0x075083417a0e58cE665c7E0E9970187f4053928F",
                "graphAddress": null,
                "namespaceAddress": null,
                "owner": "0x28ff8e457feF9870B9d1529FE68Fbb95C3181f64",
                "sponsorshipAddress": null,
                "treasuryAddress": "0x21aF1185734D213D45C6236146fb81E2b0E8b821",
                "verificationEnabled": false,
                "hasAuthorizationEndpoint": false,
                "metadata": {
                    "__typename": "AppMetadata",
                    "description": "Bonsai brings autonomous, agentic content to Lens—making the social feed smarter, more interactive, and monetizable in innovative ways.",
                    "developer": "Developer Dashboard user",
                    "logo": "https://ik.imagekit.io/lens/ba1f3db8ab677b58d368d820776bd289207a1185aced74b72c0820c882da1a17_G5g9nuMML.jpeg",
                    "name": "Bonsai",
                    "platforms": [],
                    "privacyPolicy": "https://lens.xyz/privacy",
                    "tagline": "Create AI-powered content on Bonsai - build and monetize your own Smart Media in minutes.",
                    "termsOfService": "https://lens.xyz/terms",
                    "url": "https://onbons.ai/"
                }
            },
            "metadata": {
                "__typename": "VideoMetadata",
                "attachments": [],
                "attributes": [
                    {
                        "__typename": "MetadataAttribute",
                        "type": "STRING",
                        "key": "templateCategory",
                        "value": "evolving_post"
                    },
                    {
                        "__typename": "MetadataAttribute",
                        "type": "STRING",
                        "key": "template",
                        "value": "story"
                    },
                    {
                        "__typename": "MetadataAttribute",
                        "type": "STRING",
                        "key": "apiUrl",
                        "value": "https://eliza.onbons.ai"
                    },
                    {
                        "__typename": "MetadataAttribute",
                        "type": "STRING",
                        "key": "tokenAddress",
                        "value": "0x75bd333bd4ca496b90b93b29b3e904a531c4cea2"
                    }
                ],
                "contentWarning": null,
                "id": "2d7c5c12-164b-4178-95ec-7ee6c5049ff8",
                "locale": "en",
                "mainContentFocus": "VIDEO",
                "tags": null,
                "title": null,
                "video": {
                    "__typename": "MediaVideo",
                    "altTag": null,
                    "cover": "https://ik.imagekit.io/lens/ab564a60742fc1b4348ce7c6a69ee2c460d431d76f72f301d2f4b60f852a788a_-33jAAFqh.png",
                    "duration": null,
                    "item": "https://statics.mainnet.lens.dev/03537438e13c6047a139badef8bcad1114eaa947893e61b6294808690002189c.mp4",
                    "license": "CCO",
                    "type": "VIDEO_MP_4"
                },
                "content": "In a chaotic, unexpected turn of events, Elon Musk and Donald Trump, the current US president, face off on the front lawn of the white house. The media is overlooking as they throw jabs and trump gets elon in a headlock"
            },
            "mentions": [],
            "stats": {
                "__typename": "PostStats",
                "bookmarks": 0,
                "collects": 3,
                "comments": 28,
                "quotes": 3,
                "upvotes": 144,
                "downvotes": 144,
                "reposts": 72,
                "tips": 1
            },
            "actions": [
                {
                    "__typename": "SimpleCollectAction",
                    "address": "0x1cEE1cd464C4E44e80aCDB0B0e33f88849070F6E",
                    "payToCollect": {
                        "__typename": "PayToCollectConfig",
                        "amount": {
                            "__typename": "Erc20Amount",
                            "asset": {
                                "__typename": "Erc20",
                                "name": "Bonsai Token",
                                "symbol": "BONSAI",
                                "decimals": 18,
                                "contract": {
                                    "__typename": "NetworkAddress",
                                    "address": "0xB0588f9A9cADe7CD5f194a5fe77AcD6A58250f82",
                                    "chainId": 232
                                }
                            },
                            "value": "132"
                        },
                        "recipients": [
                            {
                                "__typename": "RecipientPercent",
                                "address": "0x28ff8e457feF9870B9d1529FE68Fbb95C3181f64",
                                "percent": 80
                            },
                            {
                                "__typename": "RecipientPercent",
                                "address": "0x21aF1185734D213D45C6236146fb81E2b0E8b821",
                                "percent": 20
                            }
                        ],
                        "referralShare": 5
                    },
                    "collectLimit": null,
                    "followerOnGraph": null,
                    "endsAt": null,
                    "isImmutable": true,
                    "collectNftAddress": "0x2C09f06EAe46a3EAae838554988AF33F060F9299"
                },
                {
                    "__typename": "UnknownPostAction",
                    "address": "0x80Dc28a9Dc227ee5EC717C509c8d6ceB7Bd43C25",
                    "config": [
                        {}
                    ],
                    "metadata": null
                }
            ],
            "rules": {
                "__typename": "PostRules",
                "required": [],
                "anyOf": []
            },
            "operations": null,
            "collectibleMetadata": {
                "__typename": "NftMetadata",
                "animationUrl": null,
                "attributes": [],
                "description": null,
                "externalUrl": null,
                "image": null,
                "name": null
            },
            "root": null,
            "quoteOf": null,
            "commentOn": null
        },
    ]
}

Last updated