cosmosClusterPostsResponseSchema

Social MediaData APIDeveloper ToolsArtificial IntelligenceMarketing
View JSON Schema on GitHub

JSON Schema

scrapeatlas-cosmos-cluster-posts-response-schema-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scrapeatlas/json-schema/scrapeatlas-cosmos-cluster-posts-response-schema-schema.json",
  "title": "cosmosClusterPostsResponseSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scrapeatlas-cosmos-api-openapi.yml#/components/schemas/cosmosClusterPostsResponseSchema",
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "accounting": {
          "type": "object",
          "properties": {
            "upstreamRequests": {
              "type": "integer",
              "minimum": 0
            },
            "responseBytes": {
              "type": "integer",
              "minimum": 0
            },
            "durationMs": {
              "type": "number",
              "minimum": 0
            }
          },
          "required": [
            "upstreamRequests",
            "responseBytes",
            "durationMs"
          ],
          "additionalProperties": false
        },
        "success": {
          "type": "boolean",
          "const": true
        },
        "status": {
          "type": "string",
          "enum": [
            "success",
            "partial"
          ]
        },
        "sourceUrl": {
          "type": "string",
          "format": "uri"
        },
        "fetchedAt": {
          "type": "string",
          "format": "date-time"
        },
        "coverage": {
          "type": "object",
          "properties": {
            "source": {
              "type": "string",
              "const": "public_api"
            },
            "complete": {
              "type": "boolean"
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "source",
            "complete",
            "warnings"
          ],
          "additionalProperties": false
        },
        "cursor": {
          "type": [
            "string",
            "null"
          ]
        },
        "has_more": {
          "type": "boolean"
        },
        "end_of_pagination": {
          "type": "boolean"
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "minimum": 0
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "created_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "caption": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "text": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "owner": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "username": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "username"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "source_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "source_author": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "username": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "full_name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "profile_url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "avatar_url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "username",
                      "full_name",
                      "profile_url",
                      "avatar_url"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "media": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "minLength": 1
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "width": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "minimum": 0
                    },
                    "height": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "minimum": 0
                    },
                    "ai_generated": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "duration": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "minimum": 0
                    },
                    "thumbnail_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "video_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "playback_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "type",
                    "url",
                    "width",
                    "height",
                    "ai_generated",
                    "duration",
                    "thumbnail_url",
                    "video_url",
                    "playback_url"
                  ],
                  "additionalProperties": false
                },
                "maxItems": 40
              },
              "price": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "currency": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "value",
                      "currency"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "brand": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "saved_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "mediaMetadata": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "blurHash": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "safetyStatus": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "blurHash",
                    "safetyStatus"
                  ],
                  "additionalProperties": false
                },
                "maxItems": 40
              },
              "sourceMetadata": {
                "type": "object",
                "properties": {
                  "isPublicDomain": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "required": [
                  "isPublicDomain"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "url",
              "created_at",
              "caption",
              "text",
              "title",
              "description",
              "owner",
              "source_url",
              "source_author",
              "media",
              "price",
              "brand",
              "mediaMetadata",
              "sourceMetadata"
            ],
            "additionalProperties": false
          },
          "maxItems": 40
        },
        "total_count": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 0
        }
      },
      "required": [
        "requestId",
        "accounting",
        "success",
        "status",
        "sourceUrl",
        "fetchedAt",
        "coverage",
        "cursor",
        "has_more",
        "items",
        "total_count"
      ],
      "additionalProperties": false
    },
    {
      "type": "object",
      "properties": {
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "accounting": {
          "type": "object",
          "properties": {
            "upstreamRequests": {
              "type": "integer",
              "minimum": 0
            },
            "responseBytes": {
              "type": "integer",
              "minimum": 0
            },
            "durationMs": {
              "type": "number",
              "minimum": 0
            }
          },
          "required": [
            "upstreamRequests",
            "responseBytes",
            "durationMs"
          ],
          "additionalProperties": false
        },
        "success": {
          "type": "boolean",
          "const": false
        },
        "status": {
          "type": "string",
          "enum": [
            "failed",
            "challenged"
          ]
        },
        "failure": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string",
              "enum": [
                "invalid_request",
                "unauthorized",
                "not_found",
                "restricted_page",
                "upstream_challenged",
                "upstream_rate_limited",
                "upstream_error",
                "unsupported_page",
                "response_too_large",
                "unsafe_redirect",
                "request_limit",
                "timeout",
                "busy",
                "payload_too_complex"
              ]
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "requestId",
        "accounting",
        "success",
        "status",
        "failure"
      ],
      "additionalProperties": false
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/scrapeatlas-cosmos-cluster-posts-response-schema"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.