Cosmos
cosmosRetrieve social media profiles, posts, videos, collections, and search results by resource, handle, or URL, with paging and optional cached responses to conserve credits.
Instructions
Data from Cosmos: profiles, posts and videos, collections.
Pick a resource, then pass its parameters as top-level arguments (extras in params). Each call costs the credits shown below and the result says what was charged and what is left; failures are free. List resources return a cursor: pass it back unchanged for the next page. Pass max_age_days to accept a cached copy for free.
Resources:
collection(url): Cosmos collection. 1 credit.
collection.posts(url): Cosmos collection posts. 1 credit. Paged.
post(url): Cosmos post. 1 credit.
profile(handle): Cosmos profile. 1 credit.
profile.collections(handle): Cosmos profile collections. 1 credit. Paged.
profile.posts(handle): Cosmos profile posts. 1 credit. Paged.
search(query): Cosmos search. 1 credit. Paged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL of the item the resource is about (profile, post, video, event...). Used by: collection, collection.posts, post | |
| query | No | Search terms. Used by: search | |
| cursor | No | Opaque cursor from the previous page; pass it back unchanged | |
| handle | No | Cosmos username, without a profile URL. Used by: profile, profile.collections, profile.posts | |
| params | No | Any other parameter for the chosen resource, by name, e.g. {"start_date": "2026-01-01"}. Optional parameters of each resource are in the tool description; call describe for types and allowed values. | |
| resource | Yes | Which Cosmos data to fetch. The tool description lists what each needs. | |
| max_age_days | No | Accept a cached copy fetched within this many days, for 0 credits (0 to 30). |