InsightSocial API

Cosmos

Cosmos API reference: 7 endpoints for profiles, collections, posts and search. Per-endpoint credit prices and cURL examples.

Cosmos profiles, collections and saved posts with their media and source, and search by meaning.

Base path: /v1/cosmos/...

Quickstart

cURL
curl "https://api.insightsocial.app/v1/cosmos/profile?handle=joris.kahl" \
  -H "x-api-key: $INSIGHTSOCIAL_API_KEY"

Endpoints

Every endpoint here has a fixed price.

Every endpoint here is beta: it returns the platform's own structure under our naming rules (snake_case keys, string ids, ISO times where the platform gives a timestamp), not a schema-2 entity, and its fields may change. See Beta endpoints.

EndpointCreditsWhat it returnsKey parameters
/collections20Get a Cosmos collection by URL with its owner, size and followers. Beta.url
/collections/posts20List the latest posts in a Cosmos collection by its URL. Beta.url
/posts20Get a Cosmos post by URL with its media, caption, source and saver. Beta.url
/profile20Get a Cosmos profile by handle, with its bio, links and counts. Beta.handle
/profile/collections20List a Cosmos profile's public collections with their covers and sizes. Beta.handle
/profile/posts20List a Cosmos profile's latest public posts with their media and sources. Beta.handle
/search/posts20Search Cosmos posts by meaning, with their media and sources. Beta.query

On this page