API

https://github.com/autism-org/indexer

Get All Users

GET /users

return list of users based on popularity (post counts + follower counts + mentioned counts) and metadata

curl https://api.auti.sm/v1/users?limit=1
{
    "payload":
    [
        {
            "ens": null,
            "username": "0x267eF95Cf7F536b3D7cddCDE53DedeF913C4D01D",
            "address": "0x267eF95Cf7F536b3D7cddCDE53DedeF913C4D01D",
            "joinedTx": "0xa8f2fadc8a77b63bbaac0c39aa1b0eb7f7013d60e60ed9300231af832e0281d1",
            "type": "arbitrum",
            "pubkey": "kJ--taveSOeLzItmBlgjwDU6X3SAll-FvklAqNFpcsw.FOGWEDKU2l8aeuVHbEFzFanZ_MMKC2qG4jhW5cHmHMU",
            "joinedAt": 1634475478000,
            "name": "GL10",
            "bio": "",
            "profileImage": "",
            "coverImage": "",
            "twitterVerification": "",
            "website": "",
            "meta":
            {
                "blockedCount": 0,
                "blockingCount": 0,
                "followerCount": 0,
                "followingCount": 2,
                "postingCount": 0,
                "mentionedCount": 0,
                "followed": null,
                "blocked": null
            }
        }
    ]
}

Search User By String

GET /users/search/:query

return list of users whose names beings with query

Get User by ENS or Address

GET /users/:ensOraddress

return a user whose address matches ensOraddress

Get All Posts

GET /posts

return list of posts in descending chronological order

Get Post by Hash

GET /posts/:hash

return a post with a specific hash

Get All Replies

GET /replies?parents=:parents

return list of replies of the parent post in ascending chronological order, filtered by the requester’s moderation policy

Get All Posts by Hashtag

GET /tags/:tagName

return list of posts with the hashtag tagName in descending chronological order, filtered by the requester’s moderation policy

Get All Hashtags based on Post Counts

GET /tags

return list of existing hashtags in descending order based on total post counts

Get Homefeed of a user

GET /homefeed

return list of posts in descending chronological order, based on the requester’s followers and at-mentioned

Get Notifications of a user

GET /:address/notifications

return list of notifications relevant to :address

Last updated

Was this helpful?