Cosmos Collection Posts API
Read what is in a Cosmos collection.
GET /v1/cosmos/collections/posts1 credit Failed requests are free Found and not-found answers are both charged
About this endpoint
GET /v1/cosmos/collections/posts?url=https://www.cosmos.so/joris.kahl/teh-nerd-stuff returns data.posts (about 32, newest first) and data.total, in the same post shape as the post endpoint. Cosmos shows the latest page without signing in; page.hasMore is false.
Price
From $1.35 per 1,000 requests
1 credit per request. Failed requests are free.
- Scale pack
- $1.64 / 1,000
- Growth pack
- $2.36 / 1,000
The lowest rate is on annual plans; packs are pay as you go.
Example request
Send your API key in the x-api-key header. New accounts get 100 free credits, no card needed.
Example response
A 200 response. Live responses have the same shape with current data.
Cosmos Collection Posts API FAQ
How many posts do I get?
The latest page Cosmos shows, about 32. total says how many posts the collection holds.
What if the collection is private?
It returns lookupStatus: not_found, as for a collection that does not exist.
How many credits does a page of collection posts cost?
Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.