F-Droid API endpoint
Lists every license id used by an app in the F-Droid repository index (34 SPDX-style ids on 2026-11-16) with its app count, most used first. Pass `id` as the fdroid-apps `license`.
/fdroid/licensesLists every license id used by an app in the F-Droid repository index (SPDX-style ids as F-Droid records them), with the number of apps under each, most used first. Pass id as the fdroid-apps license. The list is computed from the live index.
Parameters:
repo: main (default, the current catalog) or archive (the F-Droid archive at f-droid.org/archive: older versions F-Droid moved out of the main repository, 5,467 apps and 90,028 versions on 2026-11-24). The archive index (123 MB) is cached separately and loaded on the first repo=archive request, which may answer 503 "the F-Droid index is still loading; retry in a minute"; it is dropped again after an hour without archive requests. Third-party repositories such as IzzyOnDroid are not available. Any other value returns 400. The archive used 39 license ids on 2026-11-24.The 34 license ids on 2026-11-16: 0BSD, AAL, AFL-1.1, AGPL-3.0-only, AGPL-3.0-or-later, Apache-2.0, Artistic-2.0, BSD-2-Clause, BSD-3-Clause, BSD-4-Clause, CC-BY-4.0, CC-BY-SA-4.0, CC0-1.0, EPL-1.0, EPL-2.0, EUPL-1.2, GPL-2.0-only, GPL-2.0-or-later, GPL-3.0-only, GPL-3.0-or-later, ISC, LGPL-2.1-only, LGPL-2.1-or-later, LGPL-3.0-only, LGPL-3.0-or-later, MIT, MIT-0, MPL-2.0, NPOSL-3.0, PublicDomain, Unlicense, WTFPL, X11, Zlib.
Every response carries index: the repository it came from (repo: main or archive), the repository index timestamp the answer came from, when this server fetched and last re-checked it, stale (true when the latest refresh failed and an older copy answered), the package count, and attribution. F-Droid repository metadata is AGPL-3.0; app descriptions, screenshots and release notes are under each app's own license.
Example response (first four licenses):
{
"code": 0,
"data": {
"total": 34,
"licenses": [
{
"id": "GPL-3.0-only",
"app_count": 1621
},
{
"id": "GPL-3.0-or-later",
"app_count": 1032
},
{
"id": "MIT",
"app_count": 892
},
{
"id": "Apache-2.0",
"app_count": 728
}
],
"index": {
"repo": "main",
"timestamp": "2026-11-13T22:48:29Z",
"timestamp_ms": 1794610109042,
"fetched_at": "2026-11-16T13:37:01Z",
"checked_at": "2026-11-16T13:37:01Z",
"stale": false,
"packages": 4996,
"source": "F-Droid main repository (f-droid.org)",
"license": "F-Droid repository metadata is AGPL-3.0; app descriptions, screenshots and release notes are under each app's own license"
}
}
}
| Field | Filled in, of 34 checked | Values in the sample |
|---|---|---|
| id | 34 | |
| app_count | 34 | 1 to 1,630, median 7 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| repo | string | No | Repository: main (the current catalog) or archive (older versions F-Droid moved out of main; the first archive request loads a 123 MB index and may answer 503 still loading for about a minute) Allowed values: main, archive. | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/fdroid/licenses?repo=main" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 0,
"data": {
"total": 34,
"licenses": [
{
"id": "GPL-3.0-only",
"app_count": 1621
},
{
"id": "GPL-3.0-or-later",
"app_count": 1032
},
{
"id": "MIT",
"app_count": 892
},
{
"id": "Apache-2.0",
"app_count": 728
}
],
"index": {
"repo": "main",
"timestamp": "2026-11-13T22:48:29Z",
"timestamp_ms": 1794610109042,
"fetched_at": "2026-11-16T13:37:01Z",
"checked_at": "2026-11-16T13:37:01Z",
"stale": false,
"packages": 4996,
"source": "F-Droid main repository (f-droid.org)",
"license": "F-Droid repository metadata is AGPL-3.0; app descriptions, screenshots and release notes are under each app's own license"
}
}
}Request schema
No body schema
Response schema
#/definitions/fdroid.LicensesResponse
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| index | fdroid.IndexInfo | No | ||||
| index.checked_at | string | No | 2026-11-16T13:10:24Z | CheckedAt is the last successful upstream change check. | ||
| index.fetched_at | string | No | 2026-11-16T13:05:24Z | FetchedAt is when this process downloaded the snapshot. | ||
| index.license | string | No | F-Droid metadata is AGPL-3.0-or-later; app texts and images are under each app's own license | |||
| index.packages | integer | No | 4996 | Packages is the number of apps in the snapshot. | ||
| index.repo | string | No | main | Repo is the repository the snapshot came from: main or archive. | ||
| index.source | string | No | F-Droid main repository (f-droid.org) | Source and License attribute the data. | ||
| index.stale | boolean | No | Stale is true when the latest refresh attempt failed and an older snapshot answered. | |||
| index.timestamp | string | No | 2026-11-13T08:08:29Z | Timestamp is the repository index timestamp (RFC3339, UTC). | ||
| index.timestamp_ms | integer | No | 1794610109042 | TimestampMS is the same timestamp in Unix milliseconds, as F-Droid publishes it. | ||
| licenses | array | No | ||||
| licenses[].app_count | integer | No | 1621 | |||
| licenses[].id | string | No | GPL-3.0-only | |||
| total | integer | No | 34 |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/fdroid/licenses?repo=main" \
-H "x-api-key: $CRAWLORA_API_KEY"