Developer API

One compact contract across supported providers.

Create an API key in your dashboard. Quotas, concurrency, batch size, origins, and webhooks are enforced from the plan configured by MediaFetch Admin.

Authentication

X-API-Key: qiv_your_key_here
Idempotency-Key: your-stable-request-key

Use a stable Idempotency-Key when creating jobs or batches so network retries do not duplicate work.

Synchronous extraction

GET https://api.mediafetch.qivuno.in/api/v1/media/extract?url=https://...

Async jobs

POST /api/v1/jobs
{ "url": "https://..." }

GET /api/v1/jobs/:id
DELETE /api/v1/jobs/:id

Use jobs when your application should not keep an HTTP request open while a provider resolves.

Bulk jobs

POST /api/v1/jobs/bulk
{ "urls": ["https://...", "https://..."] }

GET /api/v1/batches/:id

The maximum URLs per batch and concurrent jobs come from the account plan.

Low-bandwidth live progress

GET /api/v1/jobs/events?jobId=...
Accept: text/event-stream

GET /api/v1/jobs/events?batchId=...

SSE sends compact status deltas instead of requiring full job-list polling.

Completion webhooks

Configure signed completion callbacks in the dashboard to avoid polling entirely. Webhook payloads contain compact metadata; fetch the full result only when your application needs it.

Compact response

{
  "ok": true,
  "provider": "instagram",
  "title": "Example",
  "thumbnail": "https://...",
  "duration": 14,
  "items": [{
    "type": "video",
    "formats": [{
      "id": "1",
      "quality": "720p",
      "ext": "mp4",
      "size": 18432000,
      "url": "https://api.mediafetch.qivuno.in/api/v1/d/..."
    }]
  }]
}