FetchGet a fetch
Fetch

Get a fetch

Retrieves a fetch by its ID.

curl -X GET "https://api.fetchmedia.io/v1/fetch/123e4567-e89b-12d3-a456-426614174000" \
  -H "Content-Type: application/json" \
  -H "X-API-KEY: YOUR_API_KEY"
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "url": "https://www.youtube.com/watch?v=93npkPcQIzA",
  "status": "running",
  "download_url": "https://api.fetchmedia.io/v1/fetch/123e4567-e89b-12d3-a456-426614174000/output.mp4",
  "error": "An error occurred while fetching the file."
}
GET
/fetch/{id}
GET
Security Scheme
API Key (header: X-API-KEY)
X-API-KEYstring
Required

API key (sent in header)

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.

Path Parameters

Responses

idstring

The ID of the fetch.

urlstring

The URL that was fetched.

statusstring

The status of the fetch.

download_urlstring

The URL to download the fetched file.

errorstring

The error message if the fetch failed.

Was this page helpful?
Built with Documentation.AI

Last updated today