eToro · Schema

Attachment

Media or link attachment

Social TradingCopy TradingInvestingMarket DataPortfolio-ManagementFintechTradingStocksCryptocurrencyETFs

Properties

Name Type Description
url string Full URL of the attachment
title string Title of the attachment
host string Host domain of the attachment
description string Short description of the attachment
mediaType string Type of media
media object Media content details
View JSON Schema on GitHub

JSON Schema

Attachment.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/Attachment.json",
  "title": "Attachment",
  "type": "object",
  "description": "Media or link attachment",
  "properties": {
    "url": {
      "type": "string",
      "description": "Full URL of the attachment",
      "example": "https://cdn.etoro.com/rich-media/images/johndoe/abc-2025-01-15.jpg"
    },
    "title": {
      "type": "string",
      "description": "Title of the attachment",
      "example": "Tesla Q4 Earnings Chart"
    },
    "host": {
      "type": "string",
      "description": "Host domain of the attachment",
      "example": "cdn.etoro.com"
    },
    "description": {
      "type": "string",
      "description": "Short description of the attachment",
      "example": "Tesla quarterly earnings breakdown"
    },
    "mediaType": {
      "type": "string",
      "enum": [
        "None",
        "Link",
        "Image",
        "Video"
      ],
      "description": "Type of media",
      "example": "Image"
    },
    "media": {
      "type": "object",
      "description": "Media content details",
      "properties": {
        "image": {
          "type": "object",
          "description": "Image dimensions and URL",
          "properties": {
            "width": {
              "type": "integer",
              "description": "Width in pixels",
              "example": 1200
            },
            "height": {
              "type": "integer",
              "description": "Height in pixels",
              "example": 630
            },
            "url": {
              "type": "string",
              "description": "Image URL",
              "example": "https://cdn.etoro.com/rich-media/images/johndoe/abc-2025-01-15.jpg"
            }
          }
        },
        "video": {
          "type": "object",
          "description": "Video source details",
          "properties": {
            "videoSourceId": {
              "type": "string",
              "description": "External video ID",
              "example": "dQw4w9WgXcQ"
            },
            "videoSource": {
              "type": "string",
              "enum": [
                "None",
                "YouTube",
                "Vimeo"
              ],
              "description": "Video provider",
              "example": "YouTube"
            },
            "image": {
              "type": "object",
              "description": "Video thumbnail",
              "properties": {
                "width": {
                  "type": "integer",
                  "description": "Thumbnail width in pixels",
                  "example": 1280
                },
                "height": {
                  "type": "integer",
                  "description": "Thumbnail height in pixels",
                  "example": 720
                },
                "url": {
                  "type": "string",
                  "description": "Thumbnail URL",
                  "example": "https://img.youtube.com/vi/dQw4w9WgXcQ/hqdefault.jpg"
                }
              }
            }
          }
        }
      }
    }
  }
}

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/Attachment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.