Cosmos API by APISH avatar

Cosmos API by APISH

Pricing

$4.00 / 1,000 credits

Go to Apify Store
Cosmos API by APISH

Cosmos API by APISH

Cosmos profiles, collections and saved images as clean JSON for visual research, via APISH. Pay per credit; failed calls are free.

Pricing

$4.00 / 1,000 credits

Rating

0.0

(0)

Developer

APISH

APISH

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Get public Cosmos data as clean, consistent JSON: cosmos collection, cosmos collection elements, cosmos element, cosmos similar elements, cosmos profile, search Cosmos and more. 8 endpoints, one response shape, numbers parsed, absolute URLs.

How to use

  1. Pick an Endpoint. Each option shows what it returns and its price in credits.
  2. Enter its Parameters as JSON, for example {"handle":"design"}. All parameters are listed below.
  3. Run. Each call becomes one row in the dataset. Use Batch to run the same endpoint for many inputs and Pages per input to follow pagination.

Pricing

Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.

Endpoints

EndpointReturnsRequired parametersCredits
/cosmos/v1/collectionCosmos collectionurl1
/cosmos/v1/collection/postsCosmos collection elementsurl1
/cosmos/v1/postCosmos elementurl1
/cosmos/v1/post/relatedCosmos similar elementsurl1
/cosmos/v1/profileCosmos profilehandle1
/cosmos/v1/searchSearch Cosmosq1
/cosmos/v1/user/collectionsCosmos user collectionshandle1
/cosmos/v1/user/postsCosmos user saved elementshandle1

Output

Each dataset row has endpoint, params, status, credits_used and the endpoint's data. Add "raw": 1 to the parameters to also get the site's original record, or "fields": "a,b.c" to return only the fields you need.

Endpoint details

Cosmos collection

Endpoint /cosmos/v1/collection · 1 credit per successful call.

Parameters:

  • url (required)

Example parameters: {"url":"https://www.cosmos.so/markbraydon91/architecture"}

Cosmos collection elements

Endpoint /cosmos/v1/collection/posts · 1 credit per successful call.

Parameters:

  • url (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"url":"https://www.cosmos.so/markbraydon91/architecture"}

Cosmos element

Endpoint /cosmos/v1/post · 1 credit per successful call.

Parameters:

  • url (required)

Example parameters: {"url":"https://www.cosmos.so/e/547956585"}

Cosmos similar elements

Endpoint /cosmos/v1/post/related · 1 credit per successful call.

The elements Cosmos shows as similar to one element (image, video, website or product), with the same fields as /cosmos/v1/post, 40 a page.

Parameters:

  • url (required): An element link (cosmos.so/e/
  • cursor: next_cursor of the previous page.

Example parameters: {"url":"https://www.cosmos.so/e/2107587668"}

Cosmos profile

Endpoint /cosmos/v1/profile · 1 credit per successful call.

Parameters:

  • handle (required)

Example parameters: {"handle":"design"}

Search Cosmos

Endpoint /cosmos/v1/search · 1 credit per successful call.

Parameters:

  • q (required)
  • type: elements or collections.
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"q":"Bauhaus"}

Cosmos user collections

Endpoint /cosmos/v1/user/collections · 1 credit per successful call.

Parameters:

  • handle (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"handle":"design"}

Cosmos user saved elements

Endpoint /cosmos/v1/user/posts · 1 credit per successful call.

Parameters:

  • handle (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"handle":"design"}

Support

Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.

Public data only: nothing behind a login. You are responsible for how you use the data you collect.