# YouTube — Video/Short Details

Get YouTube video detail via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by ScrapeCreators, pass parameters such as language, url, and retrieve structured data including identifier, title, name, returned base url field, and returned is translatable field for content research and account lookup, and integration reference.

Documentation: https://openany.si/market/apis/youtube/youtube-video-detail/?offering=f9729bf3-20de-4c21-97df-688fcc9c4e6b
API ID: f9729bf3-20de-4c21-97df-688fcc9c4e6b
Provider: scrapecreators
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/youtube/video
Page update time: 2026-12-03T02:53:55.405Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00188 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:53:55.298Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1880",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "YouTube — Video/Short Details request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "YouTube video or short URL"
        },
        "language": {
          "type": "string",
          "description": "Preferred response language (mapped to Accept-Language header; not guaranteed due to YouTube localization behavior). 2 letter language code, ie 'en', 'es', 'fr' etc."
        },
        "cache_max_age": {
          "type": "string",
          "description": "If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with \"cached\": true and a \"cached_at\" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching)",
          "enum": [
            "1d",
            "3d",
            "7d",
            "14d",
            "30d"
          ]
        }
      },
      "required": [
        "url"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "captionTracks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "baseUrl": {
            "type": "string"
          },
          "isTranslatable": {
            "type": "boolean"
          },
          "kind": {
            "type": "string"
          },
          "languageCode": {
            "type": "string"
          },
          "name": {
            "type": "object",
            "properties": {
              "simpleText": {
                "type": "string"
              }
            }
          },
          "trackName": {
            "type": "string"
          },
          "vssId": {
            "type": "string"
          }
        }
      }
    },
    "channel": {
      "type": "object",
      "properties": {
        "handle": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "chapters": {
      "type": "array",
      "items": {}
    },
    "collaborators": {
      "type": "array",
      "items": {}
    },
    "commentCountInt": {
      "type": "integer"
    },
    "commentCountText": {
      "type": "string"
    },
    "credits_charged": {
      "type": "integer"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "description": {
      "type": "null"
    },
    "descriptionLinks": {
      "type": "array",
      "items": {}
    },
    "durationFormatted": {
      "type": "string"
    },
    "durationMs": {
      "type": "integer"
    },
    "genre": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "isPaidPromotion": {
      "type": "boolean"
    },
    "keywords": {
      "type": "array",
      "items": {}
    },
    "likeCountInt": {
      "type": "integer"
    },
    "likeCountText": {
      "type": "string"
    },
    "most_replayed": {
      "type": "null"
    },
    "publishDate": {
      "type": "string"
    },
    "publishDateText": {
      "type": "string"
    },
    "success": {
      "type": "boolean"
    },
    "thumbnail": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "viewCountInt": {
      "type": "integer"
    },
    "viewCountText": {
      "type": "string"
    },
    "watchNextVideos": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "channel": {
            "type": "object",
            "properties": {
              "handle": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          },
          "id": {
            "type": "string"
          },
          "lengthInSeconds": {
            "type": "integer"
          },
          "lengthText": {
            "type": "string"
          },
          "publishDate": {
            "type": "string"
          },
          "publishDateText": {
            "type": "string"
          },
          "publishedTime": {
            "type": "string"
          },
          "publishedTimeText": {
            "type": "string"
          },
          "thumbnail": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "videoUrl": {
            "type": "string"
          },
          "viewCountInt": {
            "type": "integer"
          },
          "viewCountText": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/scrapecreators/v1/youtube/video?language=en&url=https%3A%2F%2Fyoutu.be%2FgTCi7PaOPLY' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "captionTracks": [
    {
      "baseUrl": "https://www.youtube.com/api/timedtext?v=Y2Ah_DFr8cw&ei=s5Bqab0gu8yS5w_pvOLIDw&caps=asr&opi=112496729&xoaf=5&xowf=1&hl=en&ip=0.0.0.0&ipbits=0&expire=1768616739&sparams=ip,ipbits,expire,v,ei,caps,opi,xoaf&signature=306A57ADE14FECC84B0DB13190761BCCC922AC9B.5C321C4FE7086F7AF851CA8463326E1869EE5255&key=yt8&kind=asr&lang=en",
      "isTranslatable": true,
      "kind": "asr",
      "languageCode": "en",
      "name": {
        "simpleText": "English (auto-generated)"
      },
      "trackName": "",
      "vssId": "a.en"
    }
  ],
  "channel": {
    "handle": "afroballer8906",
    "id": "UCWH3hing1Qb4LnkRfQdxsxQ",
    "title": "Afroballer",
    "url": "https://www.youtube.com/@afroballer8906"
  },
  "chapters": [],
  "collaborators": [],
  "commentCountInt": 358,
  "commentCountText": "358",
  "credits_charged": 1,
  "credits_remaining": 33851527,
  "description": null,
  "descriptionLinks": [],
  "durationFormatted": "00:05:48",
  "durationMs": 348000,
  "genre": "People & Blogs",
  "id": "Y2Ah_DFr8cw",
  "isPaidPromotion": false,
  "keywords": [],
  "likeCountInt": 4043,
  "likeCountText": "4043",
  "most_replayed": null,
  "publishDate": "2019-02-22T03:19:54-08:00",
  "publishDateText": "Feb 22, 2019",
  "success": true,
  "thumbnail": "https://img.youtube.com/vi/Y2Ah_DFr8cw/maxresdefault.jpg",
  "title": "Inside the NBA: Chuck Trolls Jussie Smollett \"Do not commit crimes with checks, use cash!\"",
  "type": "video",
  "url": "https://www.youtube.com/watch?v=Y2Ah_DFr8cw",
  "viewCountInt": 372864,
  "viewCountText": "372,864",
  "watchNextVideos": [
    {
      "channel": {
        "handle": "SkyHooked",
        "id": "UCrX8GD5f_O-Cu5Y2vQuSSvw",
        "title": "SkyHooked",
        "url": "https://www.youtube.com/@SkyHooked"
      },
      "id": "lzDTK5kEdkM",
      "lengthInSeconds": 1081,
      "lengthText": "18:01",
      "publishDate": "2025-02-16T19:25:39.493Z",
      "publishDateText": "11 months ago",
      "publishedTime": "2025-02-16T19:25:39.493Z",
      "publishedTimeText": "11 months ago",
      "thumbnail": "https://i.ytimg.com/vi/lzDTK5kEdkM/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLAq_osvQnsGV3A7uz4L1CPTaLqppg",
      "title": "Charles Barkley and Shaq FUNNIEST MOMENTS",
      "videoUrl": "https://www.youtube.com/watch?v=lzDTK5kEdkM",
      "viewCountInt": 1800000,
      "viewCountText": "1.8M views"
    }
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- scrapecreators: https://openany.si/market/apis/youtube/youtube-video-detail/?offering=f9729bf3-20de-4c21-97df-688fcc9c4e6b
- tikhub: https://openany.si/market/apis/youtube/youtube-video-detail/?offering=507137dd-cc90-454a-8208-869c802cbc91
- tikhub: https://openany.si/market/apis/youtube/youtube-video-detail/?offering=ebf2d4e7-b2ac-4df9-a951-3c2acd786539

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
