Fetches a list of entities with full support for pagination, sorting, and advanced filtering. Can be accessed with or without authentication.
Query Parameters
Number of results per page (max: 100)
Sorting strategy: hot (default), top, new, or controversial
Filter by creation time: hour, day, week, month, year
Filter entities by a specific sourceId
Filter by a specific userId
Set to true to only show entities by followed users (requires authentication)
Filter entities by keyword inclusion/exclusion
Filter entities by metadata keys and values
Filter by title presence or matching values
Filter by content presence or matching values
Filter based on whether attachments exist
Filter by location with radius, latitude, and longitude
Response
Returns an array of entity objects.
ID of the user who created the entity
Creation timestamp in ISO 8601 format
Last update timestamp in ISO 8601 format
Error Responses
Invalid Limit - 400 Bad Request
{
"error": "Invalid request: limit must be a positive number.",
"code": "entity/invalid-limit"
}
Invalid Page - 400 Bad Request
{
"error": "Invalid request: page must be a whole number greater than 0.",
"code": "entity/invalid-page"
}
Server Error - 500 Internal Server Error
{
"error": "Internal server error.",
"code": "entity/server-error",
"details": "<Error message>"
}
Notes
Sort Options
- hot: Ranked by score (default)
- top: Most upvoted
- new: Most recent
- controversial: Balanced upvotes/downvotes
Filtering
- When
followedOnly is true, the response includes only posts by followed users (must be logged in)
- Supports complex filters including geospatial queries, keyword matching, content presence, and metadata rules