← API Store
Social
Cosmos
Cosmos
Cosmos element
GET /cosmos/v1/postEvery response includes credits_used: the credits this call cost.
Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.
Parameters
| Name | Type | Description |
|---|---|---|
urlrequired | string | Example: https://www.cosmos.so/e/547956585 |
Every endpoint also takes: raw、fields、fresh、output、records
{
"cached": false,
"caption": "An architectural poster created using Midjourney v7.",
"caption_raw": "An architectural poster created using <n>Midjourney v7</n>.",
"created_at": "2025-06-19T12:57:19.994842Z",
"credits_used": 1,
"gallery": [
{
"ai_generated": false,
"height": 1232,
"id": "589cdf02-9abf-4d94-88ef-809734ca5444",
"nsfw_status": "SAFE",
"type": "image",
"typename": "StaticImage",
"url": "https://cdn.cosmos.so/e00a12d4-1e19-45de-9649-b42e9c9f724a",
"width": 928
},
{
"ai_generated": false,
"height": 1232,
"id": "0e2ebb91-84fc-4700-b076-7c772289b9c7",
"nsfw_status": "SAFE",
"type": "image",
"typename": "StaticImage",
"url": "https://cdn.cosmos.so/4c815d2f-c297-4bee-89f3-bdc8e952440f",
"width": 928
},
"… 3 more"
],
"id": 547956585,
"media": {
"ai_generated": false,
"height": 1232,
"id": "589cdf02-9abf-4d94-88ef-809734ca5444",
"nsfw_status": "SAFE",
"type": "image",
"typename": "StaticImage",
"url": "https://cdn.cosmos.so/e00a12d4-1e19-45de-9649-b42e9c9f724a",
"width": 928
},
"media_count": 5,
"owner_id": 2059029120,
"saved_by": "joris.kahl",
"saved_by_avatar": "https://cdn.cosmos.so/29346e3f-2124-4aa2-a1a3-cff02cd1ce56",
"saved_by_name": "Joris Kahl",
"saved_to_collections": 83,
"slate_id": null,
"source_author": {
"name": "AI Architecture",
"url": "https://www.instagram.com/ai_architecture_awards",
"username": "ai_architecture_awards"
},
"source_url": "https://www.instagram.com/p/DK2wZxvMsbf/?igsh=MW9ubmc3NzRucHBkNg==",
"top_connections_meta": {
"count": 83
},
"type": "media",
"url": "https://www.cosmos.so/e/547956585"
} Response fields (42)
Field paths and types observed in the sample response; the live response is authoritative.
$ | object |
$.cached | boolean |
$.caption | string |
$.caption_raw | string |
$.created_at | string |
$.credits_used | integer |
$.gallery | array |
$.gallery[] | object | string |
$.gallery[].ai_generated | boolean |
$.gallery[].height | integer |
$.gallery[].id | string |
$.gallery[].nsfw_status | string |
$.gallery[].type | string |
$.gallery[].typename | string |
$.gallery[].url | string |
$.gallery[].width | integer |
$.id | integer |
$.media | object |
$.media.ai_generated | boolean |
$.media.height | integer |
$.media.id | string |
$.media.nsfw_status | string |
$.media.type | string |
$.media.typename | string |
$.media.url | string |
$.media.width | integer |
$.media_count | integer |
$.owner_id | integer |
$.saved_by | string |
$.saved_by_avatar | string |
$.saved_by_name | string |
$.saved_to_collections | integer |
$.slate_id | null |
$.source_author | object |
$.source_author.name | string |
$.source_author.url | string |
$.source_author.username | string |
$.source_url | string |
$.top_connections_meta | object |
$.top_connections_meta.count | integer |
$.type | string |
$.url | string |