Get Posts

Retrieve all social posts collected for a specific token with pagination, filtering, and sorting options.

Note: Social data collection begins only after a token has migrated from a launchpad or has locked liquidity.

Endpoint

GET https://enterprise.guardis.io/v1/socials/posts

Authentication

Include your API key in the X-API-Key header.

X-API-Key: your_api_key_here

Query Parameters

Parameter
Type
Required
Description

token_address

string

Yes

The mint address of the token

page_number

integer

Yes

Page number for pagination (1-indexed)

page_size

integer

Yes

Number of posts per page (max 100)

ordering

string

Yes

Sort order in format field:direction

min_followers

integer

No

Filter for minimum follower count

max_followers

integer

No

Filter for maximum follower count

from_date

string

No

Filter posts created after this date (ISO 8601)

to_date

string

No

Filter posts created before this date (ISO 8601)

Ordering Format

The ordering parameter uses the format field:direction where:

Fields:

  • created_at — Sort by post creation time

  • followers_count — Sort by author's follower count

Directions:

  • asc — Ascending order

  • desc — Descending order

Examples:

  • followers_count:desc — Highest follower accounts first

  • created_at:asc — Oldest posts first

  • created_at:desc — Newest posts first


Example Request


Response Format


Field Reference

Response Wrapper

Field
Type
Description

token_address

string

The mint address of the token

page_number

integer

Current page number

page_size

integer

Number of posts per page

total_posts

integer

Total number of posts matching filters

total_pages

integer

Total number of pages available

ordering

string

Applied sort order

filters

object

Applied filters

posts

array

Array of post objects

Post

Field
Type
Description

id

string

Unique identifier (UUID) for this post record

platform

string

Social platform (twitter, telegram, etc.)

post_id

string

Platform-specific post identifier

post_url

string

Direct URL to the post

author

object

Information about the post author

content

string

Text content of the post

sentiment

number

Sentiment score for this post (-1.0 to 1.0)

followers

number

The number of followers of the user

created_at

string

ISO 8601 timestamp when post was published

collected_at

string

ISO 8601 timestamp when post was collected by Guardis

Author

Field
Type
Description

username

string

Author's username/handle

display_name

string

Author's display name

profile_url

string

URL to author's profile

followers_count

integer

Author's follower count at time of collection

verified

boolean

Whether the account is verified


Example Usage

JavaScript:

Python:


Error Responses

Status Code
Description

400

Missing required parameters or invalid values

401

Missing or invalid API key

404

Token not found or social tracking not yet active

422

Invalid ordering format, date format, or pagination values

500

Internal server error

Last updated