{"openapi":"3.1.0","info":{"title":"Scrape Creators API","description":"The easiest way to scrape public social media data at scale. Extract profiles, posts, videos, comments, and more from TikTok, Instagram, YouTube, Twitter, LinkedIn, Facebook, Reddit, and 27+ platforms.","version":"1.0.0","contact":{"name":"Scrape Creators","url":"https://scrapecreators.com","email":"support@scrapecreators.com"}},"servers":[{"url":"https://api.scrapecreators.com","description":"Production server"}],"security":[{"apiKeyAuth":[]}],"tags":[{"name":"Cosmos","description":"Scrape public Cosmos profiles, posts, and collections"}],"paths":{"/v1/cosmos/user/posts":{"get":{"tags":["Cosmos"],"summary":"User Posts","description":"Get the public posts saved to a Cosmos user profile. Public data only. One credit per successful request, including successful empty results. Keep the cursor unchanged and stop when has_more is false. Sending cursor=null returns end_of_pagination: true and costs zero credits.","parameters":[{"name":"handle","in":"query","required":true,"description":"Cosmos username without a profile URL.","schema":{"type":"string"},"example":"design"},{"name":"cursor","in":"query","required":false,"description":"Pass the previous response cursor unchanged. Stop when it is null; sending the literal string \"null\" returns an empty terminal page without fetching or charging.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"example":{"success":true,"credits_remaining":100,"credits_charged":1,"items":[{"id":1307496415,"url":"https://www.cosmos.so/e/1307496415","created_at":"2026-04-01T15:24:45.897845Z","caption":null,"text":null,"title":null,"description":null,"owner":{"id":14413015,"username":"esther.yang"},"source_url":null,"source_author":null,"media":[{"id":"34647529-5d71-4c17-83c1-876e5500317c","type":"StaticImage","url":"https://cdn.cosmos.so/34647529-5d71-4c17-83c1-876e5500317c","width":1440,"height":1920,"ai_generated":false,"duration":null,"thumbnail_url":null,"video_url":null,"playback_url":null}],"price":null,"brand":null}],"total_count":25,"cursor":null,"has_more":false}}}}}}}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your Scrape Creators API key"}}}}