apksearch
apksearch is a Python library designed to search for APK files on different APK websites, such as APKPure and APKMirror. It allows users to find APKs, check for available versions, and retrieve download links.
The Inspiration: There were countless occasions when I needed a specific APK for a package name, only to find it unavailable on popular platforms. This led to the tedious task of manually visiting multiple websites and searching one by one.
screenshot
As you can see, Roblox version 2.647.716 is not available on APKPure and APKCombo, this helped me avoid going through these sites.
P.S: If you're looking for an APK downloader, I highly recommend using apkeep.
Features
- Search APKs: The library provides methods to search for APKs using package names.
- Retrieve APK Versions and Download Links: It can fetch available versions and their download links for a given APK from various websites.
- Command-Line Interface: A CLI is available for users to search for APKs directly from the command line.
Supported Websites
Installation
To install/upgrade the apksearch library, use the following command:
pip install -U git+https://github.com/AbhiTheModder/apksearch.git
OR, through pip:
pip install -U apksearch
OR, if you've cloned the repository locally you can do so via:
pip install -U . # or path to the local clone
Usage
Command-Line Interface
To use the CLI, run the following command:
apksearch <package_name> [--version <version>]
Example:
apksearch com.roblox.client --version 2.652.765
Library Usage
You can also use the library programmatically in your Python code:
from apksearch import APKPure, APKMirror
# Searching on APKPure
apkpure = APKPure("com.roblox.client")
result = apkpure.search_apk()
if result:
title, link = result
print(f"Found on APKPure: {title} - {link}")
# Searching on APKMirror
apkmirror = APKMirror("com.roblox.client")
result = apkmirror.search_apk()
if result:
title, link = result
print(f"Found on APKMirror: {title} - {link}")
Classes and Methods
APKPure | APKCombo | APKFab
__init__(self, pkg_name: str): Initializes with the package name.search_apk(self) -> None | tuple[str, str]: Searches for the APK and returns the title and link if found.find_versions(self, apk_link: str) -> list[tuple[str, str]]: Finds and returns a list of versions and their download links for the given APK link.
APKMirror
__init__(self, pkg_name: str): Initializes with the package name.search_apk(self) -> None | tuple[str, str]: Searches for the APK and returns the title and link if found.find_version(self, apk_link: str, version: str) -> str: Finds and returns the download link for the given APK link and version.
AppTeka | APKAD
__init__(self, pkg_name: str): Initializes with the package name.search_apk(self, version: str = None) -> None | tuple[str, str]: Searches for the APK and returns the title and link if found. If a version is provided, it checks if that version is available and returns the corresponding download link, None otherwise. If no version is provided, it returns the link for the latest version available.
Aptoide
__init__(self, pkg_name: str): Initializes with the package name.search_apk(self) -> None | tuple[str, str]: Searches for the APK and returns the title and link if found.find_versions(self, apk_link: str, version: str) -> list[str]: Finds and returns the download links for the given APK link and versions list.
Testing
The project includes tests for the sites classes. To run the tests, use the following command:
pytest
TODO
- Add more websites to search for APKs.
Acknowledgements
- APKUpdater for APKMirror API.
- apkeep for APKPure API.(not used anymore)
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
If you find this project helpful, please consider giving it a ⭐. Your support is greatly appreciated!
Metadata
Release files for apksearch 1.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apksearch-1.3.5.tar.gz | 17.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apksearch-1.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.8 kB
Release files / apksearch-1.3.5.tar.gz
| Download URL | apksearch-1.3.5.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
261d92e054e1cc256a4cb535cf0c3fc6cc64d7119d0ba7f822fe05d8d678aec9
|
|
BLAKE2b-256 checksum How to use checksums |
22d3a536f98e40c45d46e53f60322f8f49624c14cbaa7a0349687d98c6c01b20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2025.
Transparency logRelease files / apksearch-1.3.5-py3-none-any.whl
| Download URL | apksearch-1.3.5-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c60bc95fb8cceae1909f637b9da2d1397bf5e5d9c13eba4ce6b61155f9a9e1b
|
|
BLAKE2b-256 checksum How to use checksums |
bb3076fab815c08292314e0ac99a97eac34c8b7f8b8c51e924fe565b92b1cad3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2025.
Transparency log