# Scribd Downloader (`apisupply/scribd-downloader`) Actor

Download publicly accessible Scribd documents as PDF files with ease. Simply provide the document ID from any Scribd URL (e.g., scribd.com/document/528017616/...) and the Actor will automatically fetch and save the file. Automate document retrieval, bulk downloading workflows.

- **URL**: https://apify.com/apisupply/scribd-downloader.md
- **Developed by:** [apisupply](https://apify.com/apisupply) (community)
- **Categories:** Social media, Other, Integrations
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.00001 / actor start

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Scribd Document Downloader

Automatically download publicly accessible Scribd documents as PDF files by providing their document IDs. The Actor uses Scribd's API signature flow to obtain access tokens, retrieves document binaries, and saves them directly to Apify's key-value storage — ready for you to download with a single click.

***

### ✨ Features

- 📄 Download public Scribd documents as PDF files
- 🔢 Supports multiple document IDs in a single run
- 🔒 Uses proxy support to reduce blocking and improve reliability
- 💾 Saves files directly to Apify key-value storage
- 📊 Produces metadata records for each download (document ID, file URL, status)
- ⚡ Fast and lightweight — no Scribd account required

***

### 🚀 Getting Started

#### Step 1 — Find the Document ID

The document ID is the number in the Scribd URL:

https://www.scribd.com/document/528017616/My-Document-Title
528017616
This is the document ID

#### Step 2 — Configure the Input

Enter one or more document IDs in the **Document ID(s)** field:

```json
{
  "documentIds": ["528017616"]
}
```

For multiple documents:

```json
{
  "documentIds": ["528017616", "424279284", "399103751"]
}
```

#### Step 3 — Run the Actor

Click **Start** and wait for the Actor to finish. It typically completes in just a few seconds per document.

#### Step 4 — Download Your File

After the run completes, your files are saved in the **key-value store**. Here is how to access them:

1. Go to the **Storage** tab in your Actor run
2. Click on the **Key-Value Store**
3. Find the record named document-{documentId} (e.g., document-528017616)
4. Click on it to **preview or download** the PDF file

> ⚠️ Note: If you use the direct API download link, you must append your **Apify API token** to the URL:
> https://api.apify.com/v2/key-value-stores/{storeId}/records/document-{documentId}?token=YOUR\_API\_TOKEN
> You can find your API token in Apify Console → Settings → Integrations.

***

### 📥 Input Parameters

| Parameter          | Type             | Required | Description                                            |
|--------------------|------------------|----------|--------------------------------------------------------|
| documentIds        | Array of strings | ✅ Yes   | One or more Scribd document IDs to download            |
| proxyConfiguration | Object           | ❌ No    | Apify Proxy settings. Defaults to Apify Proxy enabled  |

#### Example Input

{
"documentIds": \["528017616"],
"proxyConfiguration": {
"useApifyProxy": true
}
}

***

### 📤 Output

Each successful download produces:

- A **PDF file** saved in the key-value store under the key document-{documentId}
- A **metadata record** in the default dataset with the following fields:

| Field      | Description                                              |
|------------|----------------------------------------------------------|
| documentId | The Scribd document ID                                   |
| fileUrl    | Direct API URL to the downloaded file in key-value store |
| message    | Status message of the download                           |

#### Example Output (Dataset)

{
"documentId": "528017616",
"fileUrl": "https://api.apify.com/v2/key-value-stores/{storeId}/records/document-528017616",
"message": "You can see and download the file on storage tab."
}

***

### ❓ FAQ

**Q: Do I need a Scribd account?**
A: No. The Actor only works with **publicly accessible** Scribd documents — no account or subscription is needed.

**Q: Why can't I open the download link directly?**
A: The file is stored in your private Apify storage. To access it directly via URL, append your API token to the link, or simply download it from the Apify Console key-value store tab.

**Q: What file format is the output?**
A: Documents are downloaded as **PDF files**.

**Q: Can I download multiple documents at once?**
A: Yes! Just add multiple document IDs to the documentIds array input.

**Q: What if a document is behind a paywall?**
A: The Actor only supports **publicly accessible** documents. Paywalled or private documents cannot be downloaded.

**Q: How do I find my Apify API token?**
A: Go to Apify Console → Settings → Integrations to find your API token.

***

### 🔗 Resources

- Apify Platform Documentation: https://docs.apify.com
- Key-Value Store Documentation: https://docs.apify.com/platform/storage/key-value-store
- Apify Console: https://console.apify.com

# Actor input Schema

## `documentIds` (type: `array`):

One or more public Scribd document IDs to download.

## `proxyConfiguration` (type: `object`):

Apify Proxy settings used when fetching documents.

## Actor input object example

```json
{
  "documentIds": [
    "424279284"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "documentIds": [
        "424279284"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apisupply/scribd-downloader").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "documentIds": ["424279284"] }

# Run the Actor and wait for it to finish
run = client.actor("apisupply/scribd-downloader").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "documentIds": [
    "424279284"
  ]
}' |
apify call apisupply/scribd-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apisupply/scribd-downloader"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/I2JSa3h8tt4vfELGV/builds/cRgFRheWxzJFJr5fs/openapi.json
