Cosmos scraper API
The InsightSocial Cosmos API has 7 endpoints, from 20 credits a call. A search posts call costs 20 credits, about $0.02 on Pro, and your first 10 calls up to 100 credits each are free.
The Cosmos scraper API for profiles, collections and saved posts with their media and original source, plus search by meaning, as JSON, on the same key as every other platform.
7 endpoints · from 20 credits a call · 10 free calls up to 100 credits each · no credit card
curl "https://api.insightsocial.app/v1/cosmos/search/posts?query=brutalist+architecture" \-H "x-api-key: $INSIGHTSOCIAL_API_KEY"
What Cosmos data can you get?
Public Cosmos data only, in the same JSON envelope as every other platform. Every Cosmos endpoint is beta: inside data it returns Cosmos's own structure under our naming rules (snake_case keys, string ids, ISO times where Cosmos gives a timestamp), not the shared profile and post schema, and fields may change.
Profiles
A profile's bio, links and counts, its public collections with covers and sizes, and its latest public posts.
Collections
A collection by URL with its owner, size and followers, and its latest posts with a cursor.
Posts and search
One post with its media, caption, source and the person who saved it, and search that matches posts by meaning, not only by words.
What people build with the Cosmos API
Visual trend research
Search a theme by meaning and collect the images designers are saving, with their sources, for moodboards and trend reports.
Source tracing
Follow a saved image back to the page it came from, and see which curators and collections keep it.
Cosmos API endpoints
All 7 Cosmos endpoints and their price in credits. Every one has a fixed price.
| Endpoint | Credits | What it returns |
|---|---|---|
| /collections | 20 | Get a Cosmos collection by URL with its owner, size and followers. |
| /collections/posts | 20 | List the latest posts in a Cosmos collection by its URL. |
| /posts | 20 | Get a Cosmos post by URL with its media, caption, source and saver. |
| /profile | 20 | Get a Cosmos profile by handle, with its bio, links and counts. |
| /profile/collections | 20 | List a Cosmos profile's public collections with their covers and sizes. |
| /profile/posts | 20 | List a Cosmos profile's latest public posts with their media and sources. |
| /search/posts | 20 | Search Cosmos posts by meaning, with their media and sources. |
Parameters, response fields and examples for each endpoint are in the Cosmos API reference.
How much does the Cosmos API cost?
Cosmos calls start at 20 credits. Every endpoint's price is in the table above and in the free GET /v1/endpoints catalogue, so you know the cost before you call. Pro's 10,000 monthly credits cover about 500 searches at 20 credits each.
Failed calls are free
A call that errors or finds nothing costs 0 credits.
Repeats and retries
A repeat call is charged again: the full price when it fetches new data, 2 credits when the answer comes from the shared cache. Add fresh=1 to force a new read. Only a retry with the same Idempotency-Key is free.
One balance
API calls and Chrome extension exports share the same credits. The free plan includes 500 a month.
Not writing code?
Connect InsightSocial to Claude or ChatGPT and ask for Cosmos data in plain English. Same account, same credits.
Cosmos API: frequently asked questions
/v1/cosmos/search/posts takes up to 100 characters and searches by meaning, so related posts match even when they do not share your words. Each result carries its media and source.
/v1/cosmos/collections/posts takes the collection's URL and lists its latest posts with a cursor. /v1/cosmos/profile/collections lists a profile's public collections first.
They return Cosmos's own record shapes under our naming rules (snake_case keys, string ids and ISO times) rather than the shared profile and post entities, so fields may change. Every Cosmos endpoint is 20 credits a call. Calls that fail or find nothing are free.
No. There is no Cosmos app, OAuth flow or review. One API key in the x-api-key header works for Cosmos and the other 86 platforms.
Yes. Your first 10 calls priced at 100 credits or less are free, and the free plan includes 500 credits every month. No credit card is needed to get a key.
60 requests a minute and 10 requests in flight at once, per API key. Going over either returns a 429 with a Retry-After header, and a rejected request costs nothing. There is no daily quota: past those two limits, your credit balance is what bounds volume.
List endpoints return rows in data.items and a pagination object with next_cursor and has_more. Send next_cursor back unchanged as the cursor parameter for the next page, and stop when has_more is false. A handful of endpoints page with their own parameter instead; their reference pages name it.
No. A call that errors or finds nothing costs 0 credits. A live fetch costs the endpoint's price, or for a metered endpoint what it actually read. A repeat call is charged again: the full price when it fetches new data, 2 credits when the answer comes from the shared cache. Add fresh=1 to force a new read. Only a retry with the same Idempotency-Key is free.
A call fetches live unless a recent copy is in the shared cache, and every response says which with the cached field; a cached answer costs 2 credits. Add fresh=1 or send Cache-Control: no-cache to skip the cache; that call is charged at the normal price.
Collecting publicly available data is generally treated differently from accessing private data, but the answer depends on your jurisdiction, Cosmos's terms and what you do with personal data afterwards. The API reads public data only. Talk to a lawyer for anything commercial.
Cosmos API guides
The same key works for 86 more platforms
- TikTok scraper API
- LinkedIn scraper API
- Twitter/X scraper API
- YouTube scraper API
- Reddit scraper API
- Pinterest scraper API
- Bluesky scraper API
- Truth Social scraper API
- Snapchat scraper API
- Telegram scraper API
- Twitch scraper API
- Kick scraper API
- Rumble scraper API
- Kwai scraper API
- Douyin scraper API
- Xiaohongshu (RedNote) scraper API
- Quora scraper API
- TikTok Shop scraper API
- Weibo scraper API
- Zhihu scraper API
- Substack scraper API
- Nextdoor scraper API
- Amazon scraper API
- App Store scraper API
- Apple Music scraper API
- Behance scraper API
- Dailymotion scraper API
- Deezer scraper API
- DEV Community scraper API
- Discord scraper API
- Dribbble scraper API
- Fandom scraper API
- Flickr scraper API
- GitHub scraper API
- Google Ads Transparency scraper API
- Google News scraper API
- Google Trends scraper API
- Gumroad scraper API
- Hacker News scraper API
- Hugging Face scraper API
- Ko-fi scraper API
- Lemmy scraper API
- Letterboxd scraper API
- Linktree scraper API
- Lnk.Bio scraper API
- Mastodon scraper API
- Medium scraper API
- MyAnimeList scraper API
- npm scraper API
- Polymarket scraper API
- Product Hunt scraper API
- Shopify scraper API
- SoundCloud scraper API
- Spotify scraper API
- Stack Overflow scraper API
- Stan Store scraper API
- Steam scraper API
- Vimeo scraper API
- Wikipedia scraper API
- Yahoo Finance scraper API
- Yelp scraper API
- Airbnb scraper API
- Booking.com scraper API
- Tripadvisor scraper API
- Etsy scraper API
- Walmart scraper API
- The Home Depot scraper API
- Kohl's scraper API
- Sephora scraper API
- H&M scraper API
- Klarna scraper API
- Google Shopping scraper API
- Google Play scraper API
- Gumtree scraper API
- G2 scraper API
- Trustpilot scraper API
- Goodreads scraper API
- Bing scraper API
- DuckDuckGo scraper API
- Naver scraper API
- XING scraper API
- Gab scraper API
- Economy data (EU and US) scraper API
- Komi scraper API
- Linkme scraper API
- Pillar scraper API