TypeScript
import { ParagraphAPI } from "@paragraph-com/sdk" const api = new ParagraphAPI() const { items, pagination } = await api.feed.get({ limit: 20 })
{ "items": [ { "post": { "id": "<string>", "title": "<string>", "slug": "<string>", "imageUrl": "<string>", "publishedAt": "<string>", "updatedAt": "<string>", "subtitle": "<string>", "staticHtml": "<string>", "json": "<string>", "markdown": "<string>", "coinId": "<string>" }, "publication": { "id": "<string>", "name": "<string>", "ownerUserId": "<string>", "slug": "<string>", "customDomain": "<string>", "summary": "<string>", "logoUrl": "<string>" }, "user": { "id": "<string>", "publicationId": "<string>", "walletAddress": "<string>", "avatarUrl": "<string>", "name": "<string>", "bio": "<string>", "farcaster": { "username": "<string>", "displayName": "<string>", "fid": 123 } } } ], "pagination": { "hasMore": true, "cursor": "<string>", "total": 123 } }
Retrieve a curated, paginated list of posts.
Cursor for pagination
Maximum number of items to return (1-60, default: 20)
1 <= x <= 60
Include full content fields (json, staticHtml, markdown) in the post. Default: false
Feed items retrieved successfully
Array of items in this page
Show child attributes