Official Python SDK for the BypassTools API — the fastest way to bypass link shorteners programmatically.
Links: bypass.tools · API Dashboard · eas.lol
pip install bypasstoolsfrom bypasstools import BypassTools
client = BypassTools(api_key="bt_your_key_here")
# Direct (synchronous) bypass
result = client.bypass("https://linkvertise.com/example")
print(result.result_url)
# Async task — create and poll until done
result = client.bypass_async("https://loot.link/example")
print(result.result_url)Get your API key from your dashboard.
Calls the direct bypass endpoint and blocks until a result is returned.
Creates an async task and returns the taskId.
Polls a single task for its current status.
Creates a task and polls until it completes or times out.
Requires aiohttp:
pip install bypasstools aiohttpimport asyncio
from bypasstools import AsyncBypassTools
async def main():
client = AsyncBypassTools(api_key="bt_your_key_here")
result = await client.bypass("https://linkvertise.com/example")
print(result.result_url)
asyncio.run(main())from bypasstools import BypassTools, BypassToolsError
client = BypassTools(api_key="bt_your_key_here")
try:
result = client.bypass("https://linkvertise.com/example")
except BypassToolsError as e:
print(e.code) # e.g. "QUOTA_EXCEEDED"
print(e.status) # HTTP status code
print(str(e)) # error messageMIT — built by EAS · bypass.tools