FetchGet video metadata
Fetch

Get video metadata

Retrieves metadata for a video from a URL.

curl -X POST "https://api.fetchmedia.io/v1/fetch/metadata" \
  -H "Content-Type: application/json" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -d '{
  "url": "https://www.youtube.com/watch?v=93npkPcQIzA"
}'
{
  "title": "Video Title",
  "description": "Video Description",
  "thumbnail": "https://example.com/thumbnail.jpg",
  "duration": 123.45
}
POST
/fetch/metadata
POST
Security Scheme
API Key (header: X-API-KEY)
X-API-KEYstring
Required

API key (sent in header)

Content-Typestring
Required

The media type of the request body

Options: application/json
urlstring

The URL to fetch metadata for.

Format: url
Request Preview
Response

Response will appear here after sending the request

Authentication

ApiKeyAuth
header
X-API-KEYstring
Required

API Key for authentication. Provide your API key in the header.

Body

application/json
urlstring

The URL to fetch metadata for.

Responses

titlestring

The title of the video.

descriptionstring

The description of the video.

thumbnailstring

The thumbnail of the video.

durationnumber

The duration of the video.

Was this page helpful?
Built with Documentation.AI

Last updated today