Reddit · Schema

OEmbedResponse

An oEmbed response containing embed HTML and metadata, conforming to the oEmbed specification.

RedditAdvertisingCommunityContentSocial MediaSocial NewsSocial

Properties

Name Type Description
type string The oEmbed resource type. Reddit embeds are always of type rich, providing HTML for rendering.
version string The oEmbed version number.
title string The title of the Reddit post or comment being embedded.
author_name string The Reddit username of the content author.
author_url string The URL of the author's Reddit profile.
provider_name string The name of the content provider, always Reddit.
provider_url string The URL of the content provider.
html string The HTML code for the embed. Contains an iframe or script tag that renders the Reddit content.
width integer The width of the embed in pixels.
height integer The height of the embed in pixels.
thumbnail_url string The URL of a thumbnail image for the content, if available.
thumbnail_width integer The width of the thumbnail image in pixels.
thumbnail_height integer The height of the thumbnail image in pixels.
cache_age integer The suggested cache lifetime for the embed data in seconds.
View JSON Schema on GitHub

JSON Schema

reddit-oembed-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reddit/json-schema/reddit-oembed-response-schema.json",
  "title": "OEmbedResponse",
  "description": "An oEmbed response containing embed HTML and metadata, conforming to the oEmbed specification.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reddit-o-embed-api-openapi.yml#/components/schemas/OEmbedResponse",
  "type": "object",
  "required": [
    "type",
    "version"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "The oEmbed resource type. Reddit embeds are always of type rich, providing HTML for rendering.",
      "enum": [
        "rich"
      ]
    },
    "version": {
      "type": "string",
      "description": "The oEmbed version number.",
      "enum": [
        "1.0"
      ]
    },
    "title": {
      "type": "string",
      "description": "The title of the Reddit post or comment being embedded."
    },
    "author_name": {
      "type": "string",
      "description": "The Reddit username of the content author."
    },
    "author_url": {
      "type": "string",
      "format": "uri",
      "description": "The URL of the author's Reddit profile."
    },
    "provider_name": {
      "type": "string",
      "description": "The name of the content provider, always Reddit.",
      "enum": [
        "reddit"
      ]
    },
    "provider_url": {
      "type": "string",
      "format": "uri",
      "description": "The URL of the content provider.",
      "enum": [
        "https://www.reddit.com/"
      ]
    },
    "html": {
      "type": "string",
      "description": "The HTML code for the embed. Contains an iframe or script tag that renders the Reddit content."
    },
    "width": {
      "type": "integer",
      "description": "The width of the embed in pixels."
    },
    "height": {
      "type": "integer",
      "description": "The height of the embed in pixels."
    },
    "thumbnail_url": {
      "type": "string",
      "format": "uri",
      "description": "The URL of a thumbnail image for the content, if available."
    },
    "thumbnail_width": {
      "type": "integer",
      "description": "The width of the thumbnail image in pixels."
    },
    "thumbnail_height": {
      "type": "integer",
      "description": "The height of the thumbnail image in pixels."
    },
    "cache_age": {
      "type": "integer",
      "description": "The suggested cache lifetime for the embed data in seconds."
    }
  }
}

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/reddit-oembed-response"
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.