{"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/search":{"get":{"tags":["Cosmos"],"summary":"Search","description":"Search public Cosmos posts by keyword. Cosmos may return related posts even when there is no exact keyword match. Public data only. One credit per successful request, including successful empty results. Keep the cursor unchanged and stop when has_more is false. result_count is Cosmos’s search retrieval-window count, not the total number of matching posts. Sending cursor=null returns end_of_pagination: true and costs zero credits.","parameters":[{"name":"query","in":"query","required":true,"description":"Search text.","schema":{"type":"string"},"example":"architecture"},{"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":547956585,"url":"https://www.cosmos.so/e/547956585","created_at":"2025-06-19T12:57:19.994842Z","caption":"An architectural poster created using Midjourney v7.","text":null,"title":null,"description":null,"owner":{"id":2059029120,"username":"joris.kahl"},"source_url":"https://www.instagram.com/p/DK2wZxvMsbf/?igsh=MW9ubmc3NzRucHBkNg==","source_author":{"username":"ai_architecture_awards","full_name":"AI Architecture","profile_url":"https://www.instagram.com/ai_architecture_awards","avatar_url":null},"media":[{"id":"589cdf02-9abf-4d94-88ef-809734ca5444","type":"StaticImage","url":"https://cdn.cosmos.so/e00a12d4-1e19-45de-9649-b42e9c9f724a","width":928,"height":1232,"ai_generated":false,"duration":null,"thumbnail_url":null,"video_url":null,"playback_url":null}],"price":null,"brand":null}],"cursor":"cursor://recsys/search?user_id=0&profile=search__match_jina_dual70_recql&query=architecture&last=39&count=500","has_more":true,"result_count":500}}}}}}}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your Scrape Creators API key"}}}}