# F Droid Apps Scraper (`kawsar/f-droid-apps-scraper`) Actor

Extract package details, version codes, and app updates from open-source Android listings on F-Droid. Filter by specific package names or collect catalog lists, then export structured dataset results cleanly in JSON, CSV, or Excel formats for tracking.

- **URL**: https://apify.com/kawsar/f-droid-apps-scraper.md
- **Developed by:** [Kawsar](https://apify.com/kawsar) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## F-Droid Apps Scraper: Open-source Android app package info

F-Droid apps scraper for public Android package records. It reads package records and public index files, allowing you to easily save and export clean datasets as JSON, CSV, or Excel.

Versions mode looks up application IDs such as `org.fdroid.fdroid`. Full catalog mode streams the index and keeps apps whose package name or localized name matches a substring, up to your defined limit.

### Use cases

- **Release tracking**: Collect version names and version codes for your watchlist of open-source Android apps.
- **Catalog export**: Pull a filtered slice of the F-Droid index into a structured dataset on a schedule.
- **App research**: Compare suggested version codes with the complete versions list.
- **QA lists**: Turn package names into direct package-page URLs alongside the active versions being served.
- **CSV handoff**: Export datasets directly for spreadsheet analysis without dealing with client implementations.

### What data does this actor extract?

| Field | Type | Description |
| --- | --- | --- |
| `packageName` | string | Android application ID |
| `suggestedVersionCode` | integer | Suggested version code from the package record. Catalog rows leave this empty as the index format differs |
| `latest_versionName` | string | First available version name or the highest version code in the index |
| `latest_versionCode` | integer | Version code paired with that version name |
| `versions` | array | Objects containing `versionName` and `versionCode` |
| `url` | string | Public package page URL (`[https://f-droid.org/packages/](https://f-droid.org/packages/){packageName}/`) |
| `scraped_at` | string | UTC timestamp when the row was generated |
| `error` | string | Error description if a lookup fails |
| `status` | integer | Status code on an error row |
| `message` | string | Error message details for troubleshooting |

#### Example output

```json
{
  "packageName": "org.fdroid.fdroid",
  "suggestedVersionCode": 1023052,
  "latest_versionName": "2.0.1",
  "latest_versionCode": 2000051,
  "versions": [
    {"versionName": "2.0.1", "versionCode": 2000051},
    {"versionName": "2.0.0", "versionCode": 2000050}
  ],
  "url": "https://f-droid.org/packages/org.fdroid.fdroid/",
  "scraped_at": "2026-10-12T00:00:00+00:00"
}

```

A failed lookup creates a single error row containing the `url`, `status`, and `message`, allowing the rest of your run to continue smoothly.

### Input

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | string | `package` | Choose `package` for version lookups or `catalog` for index streaming |
| `packages` | array | `org.fdroid.fdroid` | Android package names, one per line (used in Versions mode) |
| `catalogFilter` | string | empty | Substring filter for package names and localized app names in catalog mode |
| `requestDelaySecs` | number | `1` | Pause duration between requests |
| `timeoutSecs` | integer | `300` | Maximum duration before stopping the run |
| `requestTimeoutSecs` | integer | `30` | Per-request timeout limit |

#### Example input

```json
{
  "mode": "package",
  "packages": ["org.fdroid.fdroid"],
  "catalogFilter": "",
  "requestDelaySecs": 1,
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30
}

```

### How it works

1. Reads the input parameters and filters out any duplicate package names.
2. In Versions mode, fetches each package record, maps the latest version details, and retains the suggested version code.
3. In Full catalog mode, streams the index data and emits package rows until reaching your configured cap or timeout.
4. Pushes extracted rows in convenient batches. Invalid IDs or timeout errors are recorded as separate error rows without failing your entire run.

### FAQ

**What happens if a package name is invalid?**

The actor handles it gracefully by logging a single error row containing the status and message while continuing to process the remaining items in your list.

**Can I export my results as CSV or Excel?**

Yes. You can export your dataset directly as JSON, CSV, or Excel right from the platform after a run completes.

### Trademark Notice

F-Droid Apps and related names, logos, and trademarks belong to their respective owners. Their use in this documentation is solely to identify the data source and does not imply affiliation, sponsorship, endorsement, or partnership.

### Disclaimer

Disclaimer: This Actor is an independent tool and is not officially associated with or endorsed by F-Droid Apps or its owners. All data is collected from publicly available sources. Users are responsible for complying with the source's terms of use, rate limits, and attribution guidelines.

### Is web scraping legal?

This Actor only collects publicly available data without bypassing any access controls or security mechanisms. Scraping public data is generally standard practice, but how you use the collected data matters:

- **Personal data:** If your collected results include personal information, privacy regulations such as GDPR or CCPA may apply. Only collect and store personal data when you have a valid, legitimate purpose.
- **Copyright:** Descriptions, text, and media content may be protected by copyright. Avoid republishing full copyrighted materials without appropriate permission.
- **Terms of use:** Respect source guidelines, published rate limits, and any attribution requirements.
- **Legal advice:** This overview is for informational purposes only and does not constitute formal legal advice. When in doubt, consult with a qualified legal professional.

To learn more, read Apify's guide: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

# Actor input Schema

## `mode` (type: `string`):

Versions fetches one public package record per Android package name. Full catalog streams the F-Droid index and keeps rows that match the filter until the cap.

## `packages` (type: `array`):

Android application IDs for Versions mode, one per line. Example: org.fdroid.fdroid.

## `catalogFilter` (type: `string`):

Case-insensitive substring matched against the package name and localized app name in Full catalog mode. Leave empty to take apps in index order.

## `requestDelaySecs` (type: `number`):

Seconds to wait between package requests. Default is 1 so the run stays near one request per second.

## `userAgent` (type: `string`):

User-Agent sent on every request. Keep a contact address so the source can identify the client.

## `timeoutSecs` (type: `integer`):

Stop the run after this many seconds, even if the cap is not reached.

## `requestTimeoutSecs` (type: `integer`):

Seconds to wait for a single HTTP response before treating that request as failed.

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

Optional proxy for requests. Leave Apify Proxy off unless F-Droid refuses the datacenter IP.

## Actor input object example

```json
{
  "mode": "package",
  "packages": [
    "org.fdroid.fdroid"
  ],
  "catalogFilter": "fdroid",
  "requestDelaySecs": 1,
  "userAgent": "",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Package name, suggested version code, latest version, version list, package page, and source URL.

## `errors` (type: `string`):

Failed requests with URL, HTTP status, and message.

## `dataset` (type: `string`):

Every row from the run, without a table view applied.

# 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 = {
    "packages": [
        "org.fdroid.fdroid"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kawsar/f-droid-apps-scraper").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 = {
    "packages": ["org.fdroid.fdroid"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("kawsar/f-droid-apps-scraper").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 '{
  "packages": [
    "org.fdroid.fdroid"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call kawsar/f-droid-apps-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kawsar/f-droid-apps-scraper"
        }
    }
}
```

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/6Jspxe57pm9bBIXpT/builds/XEppMFMai5nCPSDvO/openapi.json
