Skip to main content

API Endpoints

All endpoints are relative to https://social.degenfeed.xyz.

Accountsโ€‹

MethodEndpointAuthDescription
POST/api/v1/accountsAppRegister a new account
GET/api/v1/accounts/verify_credentialsUserVerify access token
PATCH/api/v1/accounts/update_credentialsUserUpdate profile
GET/api/v1/accounts/:idUserGet account by ID
GET/api/v1/accounts/:id/statusesUserGet account's posts
GET/api/v1/accounts/:id/followersUserGet followers
GET/api/v1/accounts/:id/followingUserGet following
POST/api/v1/accounts/:id/followUserFollow account
POST/api/v1/accounts/:id/unfollowUserUnfollow account
GET/api/v1/accounts/searchUserSearch accounts

Statuses (Posts)โ€‹

MethodEndpointAuthDescription
GET/api/v1/statuses/:idUserGet a single post
POST/api/v1/statusesWriteCreate a new post
DELETE/api/v1/statuses/:idWriteDelete a post
GET/api/v1/statuses/:id/contextUserGet thread context
GET/api/v1/statuses/:id/reblogged_byUserWho boosted a post
GET/api/v1/statuses/:id/favourited_byUserWho favorited a post
POST/api/v1/statuses/:id/reblogWriteBoost a post
POST/api/v1/statuses/:id/unreblogWriteUn-boost a post
POST/api/v1/statuses/:id/favouriteWriteFavorite a post
POST/api/v1/statuses/:id/unfavouriteWriteUn-favorite a post

Creating a Postโ€‹

curl -X POST https://social.degenfeed.xyz/api/v1/statuses \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"status": "Hello from the DegenFeed API!",
"visibility": "public",
"language": "en"
}'

Timelinesโ€‹

MethodEndpointAuthDescription
GET/api/v1/timelines/homeReadHome timeline
GET/api/v1/timelines/publicNonePublic/federated timeline
GET/api/v1/timelines/tag/:hashtagUserHashtag timeline
GET/api/v1/timelines/list/:list_idReadList timeline

Notificationsโ€‹

MethodEndpointAuthDescription
GET/api/v1/notificationsReadGet notifications
GET/api/v1/notifications/:idReadGet single notification
POST/api/v1/notifications/clearWriteClear notifications

Mediaโ€‹

MethodEndpointAuthDescription
POST/api/v2/mediaWriteUpload media

Cross-Post (DegenFeed Extension)โ€‹

MethodEndpointAuthDescription
GET/api/v1/degenfeed/networksReadList connected networks
POST/api/v1/degenfeed/cross-postWriteCross-post to selected networks

Cross-Post Requestโ€‹

curl -X POST https://social.degenfeed.xyz/api/v1/degenfeed/cross-post \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"status": "Hello across all networks!",
"networks": ["mastodon", "bluesky", "nostr", "farcaster"],
"visibility": "public"
}'

Tipping (DegenFeed Extension)โ€‹

MethodEndpointAuthDescription
GET/api/v1/degenfeed/tips/receivedReadGet received tips
GET/api/v1/degenfeed/tips/sentReadGet sent tips
GET/api/v1/degenfeed/tips/configReadGet tipping config
PATCH/api/v1/degenfeed/tips/configWriteUpdate tipping config

Paginationโ€‹

All list endpoints support cursor-based pagination:

GET /api/v1/timelines/home?limit=20&max_id=12345
ParameterDescription
limitMaximum results (default 20, max 40)
max_idReturn results older than this ID
since_idReturn results newer than this ID
min_idReturn results immediately newer than this ID