SkillAgentSearch skills...

avito-sdk

High-performance Pure HTTP Avito scraping & data extraction SDK with Mobile Proxy auto-rotation, price drop tracking, TLS impersonation, Telegram/VK bots, and Native MCP Server

Install / Use

claude mcp add eminsk -- npx -y github:eminsk/avito-sdk

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

84/100

Supported Platforms

Claude Code
Claude Desktop

Our assessment of avito-sdk

avito-sdk scores 84/100 on our quality scale, 2765th of 4,706 Development & Engineering skills we index.

Its MCP Server is 23 KB long, well organised into 57 sections with 22 code examples: a thorough specification that gives an agent plenty to work with.

It has 10 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
30/30
Structure
20/20
Description
15/15
Adoption
4/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 4 days ago, so avito-sdk is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (1 minor note below).

  • noteInstalls by piping a downloaded script into a shellline 67
    curl -sS https://eminsk.github.io/ppa/setup.sh | sudo bash

Automated pattern scan on 2026-11-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

avito-sdk compared with similar skills

All 4 of these similar skills score higher than avito-sdk; compare them before choosing.

SkillScoreStarsUpdatedFormat
avito-sdk (this skill)by eminsk84104d agoMCP Server
taste-skillby Leonxlnx100121.0ktodayCLAUDE.md
Agent-Reachby Panniantong100114.5ktodayCLAUDE.md
hyperframesby heygen-com10089.4ktodayCLAUDE.md
rufloby ruvnet10082.4ktodayCLAUDE.md

Frequently asked questions

How do I install avito-sdk?
Run claude mcp add eminsk -- npx -y github:eminsk/avito-sdk. The install tabs above show the steps for each supported agent.
Which AI agents does avito-sdk work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is avito-sdk safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (1 minor note below). It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is avito-sdk still maintained?
The repository was last updated 4 days ago, so avito-sdk is actively maintained.

avito-sdk

[ 🇬🇧 English ] | 🇷🇺 Документация на русском

Release Version PyPI Version PyPI Downloads Python Versions Free-Threaded No-GIL PyPy Pure Native HTTP Tests Telegram Bot Mobile Proxy MCP Server Excel Export CI Conda-Forge Conda Downloads eminsk PPA GitHub Stars License: MIT Donate USDT

High-performance Avito scraping and data extraction SDK for Python.
Developed by core contributor to Duff89/parser_avito.

🤝 Community, Issues & Support

  • 🐛 Found a bug or parser issue? Please Open an Issue — parser layout fixes and bug reports are prioritized!
  • 💬 Questions, proxy setups, or feature ideas? Join our GitHub Discussions.
  • ⭐ Find this SDK useful? Give it a star on GitHub — it helps more developers discover the library!
  • ☕ Support development (USDT TRC-20): TDVbEdnpgNgoAhNcn1EwXxWHiR3RKLit5P (Verify on TronScan)

🚀 Key Features

  • 🚀 100% Pure Native HTTP & Zero Browser Overheads: Zero browser binaries, zero GUI dependencies, zero heavy drivers (No Playwright, Selenium, or Tkinter). Instant startup, ultra-low memory footprint, runs out of the box anywhere.
  • ⚡ Dual Sync & Async API: AsyncAvitoClient for high-throughput asyncio backends (Aiogram 3, FastAPI, aiohttp) and AvitoClient for scripts and automation.
  • 📉 Real-time Price Tracking (PR #334 / Issue #214): Built-in PriceTracker engine with SQLite persistence, historical logs, and automatic price drop calculation (item.price_drop).
  • 👤 Seller Details & Store Slugs (PR #334 / Issue #333): Extracts verified seller name (seller_name) and seller profile/brand ID (seller_id).
  • 📋 Deep Parameters & Specs Parsing (PR #337 / Issue #335): Extracts full item characteristics («О помещении», floor, area, auto specs, electronics) from Beduin mobile scenarios and Mobile API.
  • 📝 Full Multiline Descriptions (PR #329 / Issue #305): Extracts complete uncut descriptions from JSON scenarios and Schema.org microdata.
  • 🛡️ Anti-Bot TLS Fingerprinting: Browser impersonation (Chrome/Safari TLS fingerprints) via curl_cffi with transparent fallback to standard HTTP transport.
  • 📊 Multi-Format Exporters: Direct export to styled Excel (.xlsx with automatic column sizing via openpyxl), CSV, JSON, JSONL, and Pandas/Polars DataFrame.
  • 💻 Command-Line Interface (CLI): Built-in CLI commands avito-sdk and avito-parser for instant terminal searches and exports.
  • 🌐 Universal Python Support: Full compatibility with Python 3.8 – 3.16+, Free-Threaded No-GIL (PEP 703: Python 3.13t – 3.16t), and PyPy (PyPy 3.8 – 3.12).

📦 Installation

# Standard installation via PyPI
pip install avito-sdk

# With anti-bot TLS impersonation (recommended)
pip install "avito-sdk[tls]"

# Full installation (Excel, TLS, Async, DataFrames)
pip install "avito-sdk[all]"

Via Debian / Ubuntu APT (eminsk PPA)

curl -sS https://eminsk.github.io/ppa/setup.sh | sudo bash
sudo apt install python3-avito-sdk

Or via Conda / Mamba:

conda install -c conda-forge avito-sdk
# or with pixi
pixi add avito-sdk

🌟 What's New in Version 0.4.2

  • 🛡️ PyInstaller CA Resilience & curl: (77) Auto-Recovery: Automatic CA bundle discovery (_MEIPASS, certifi, environment variables), Windows 8.3 short-path conversion (GetShortPathNameW) for non-ASCII usernames, and automatic fallback to verify=False on curl: (77).
  • ⚡ 100% Pure Native HTTP Zero-Browser Architecture: Completely removed Playwright/browser dependencies with full PyPy 3.8–3.12 and Free-Threaded No-GIL (3.13t–3.16t) support.
  • 🔗 Multi-Link Batch Scraping: Send 2, 3, 4, or more Avito URLs in a single Telegram message to @eminsk_avito_bot. The bot sequentially scrapes each URL (up to 1,000+ items per link) and delivers individual Excel spreadsheets.
  • 🚀 Fast and Turbo Modes (up to 8–16 workers): Accelerated concurrent scraping with adaptive micro-jitter to prevent WAF burst blocks.
  • 🌐 Strict Mobile Proxy Audit ([ProxyAudit]): Automatic verification of purchased 4G/LTE mobile proxies with IP rotation at startup and in logs.
  • 📝 Persistent Rotating File Logging (storage/logs/avito_bot.log): Automatic log rotation (10 MB × 5 archives), strictly excluded from Git (.gitignore).
  • 🔒 On-the-Fly Credential Masking (PrivacyFilter): Sensitive proxy passwords and Telegram bot tokens are dynamically redacted from logs.
  • 🧹 Guaranteed Resource Cleanup (Zero Socket Leaks): All HTTP sessions, sockets, and transport connections are always closed cleanly.

🌐 Mobile Proxy Requirements & Support Policy

[!IMPORTANT] Mandatory requirement for stable scraping & official support policy:

  1. Scraping Avito (especially for 100 to 1,000+ items, deep specs enrichment, and parallel workers) strictly requires a purchased 4G/LTE mobile proxy with automatic IP rotation (e.g. via MobileProxy.space).
  2. Proxy Audit in Logs: The SDK automatically audits proxy status at startup and logs an explicit [ProxyAudit] badge.
  3. ⛔ Support Policy: If scraping is run without a paid 4G mobile proxy with IP rotation (via direct home/datacenter IPs or non-rotating proxies), any issues regarding Avito WAF challenges, SmartCaptcha, HTTP 429 Too Many Requests, or 439 blocks ARE NOT CONSIDERED AND WILL NOT BE SUPPORTED.
  4. Persistent Logging & Privacy: Logs are automatically saved to storage/logs/avito_bot.log with file rotation (10 MB × 5 backups) and are strictly excluded from Git (.gitignore). Credentials and bot tokens are masked in real time via PrivacyFilter.
  5. Resource Cleanup: All HTTP client sessions, sockets, and connections are always closed cleanly with zero leaks.

⚡ Quickstart (Minimal 3-line code without boilerplate)

1. Installation:

uv add avito-sdk
# or: pip install avito-sdk

2. Scraping without main() functions:

from avito_sdk import AvitoClient

# Initialize client with your mobile proxy
client = AvitoClient(
    proxy="http://user:password@host:port",
    proxy_change_url="https://changeip.mobileproxy.space/?proxy_key=...",
    modems_count=1,
)

# 1. Search by query or direct Avito URL
for item in client.search("RTX 4090", limit=10, show_progress=True):
    print(f"{item.title} | {item.price:,} ₽ | {item.url}")
    print(f"  Seller: {item.seller_name} | Views: {item.total_views}")

# 2. Or scrape catalog link directly into styled Excel (.xlsx) report
client.scrape_url(
    url="https://www.avito.ru/moskva/noutbuki?cd=1",
    limit=30,
    enrich_details=True,
    excel_path="noutbuki.xlsx",
)


2. Asynchronous Streaming (Telegram Bots & FastAPI)

import asyncio
from avito_sdk import AsyncAvitoClient

async def main():
    async with AsyncAvitoClient() as client:
        async for item in client.search("rtx 4070", region="sankt-peterburg", limit=20):
            print(f"Found: {item.title} ({item.price:,} ₽) -> {item.url}")

asyncio.run(main())

3. Extracting Detailed Parameters & Specs (PR #337)

from avito_sdk import AvitoClient

client = AvitoClient()

# Fetch rich item card with all specs
item = client.get_item(1234567890)

print("Title:", item.title)
print("Price:", item.price)
print("Seller:", item.seller_name)
print("Views:", f"{item.total_views} total, {item.today_views} today")

print("\nParameters (PR #337):")
for param_name, param_val in item.params.items():
    print(f"  • {param_name}: {param_val}")

print("\nDescription (PR #329):")
print(item.description)

4. Tracking Price Drops (PR #334)

from avito_sdk import AvitoClient

client = AvitoClient(tracker_db="prices.db")

# Scrape listings with automated price tracking
items = list(client.search("iPhone 15 Pro", region="moskva", limit=50))

# Query recorded price drops:
drops = client.tracker.get_price_drops()
for drop in drops:
    diff = drop["initial_price"] - drop["current_price"]
    print(f"📉 Deal! {drop['title']}: {drop['initial_price']:,} -> {drop['current_price']:,} ₽ (-{diff:,} ₽)")

5. Export to Excel, JSON & Pandas

from avito_sdk import AvitoClient, to_excel, to_json, to_dataframe

client = AvitoClient()
items = list(client.search("PlayStation 5", limit=30, enrich_details=True))

# 1. Styled Excel spreadsheet with auto-width columns
to_excel(items, "ps5_listings.xlsx")

# 2. JSON Lines for data pipelines and ML
to_json(items, "ps5_listings.json")

# 3. Pandas DataFrame
df = to_dataframe(items)
print(df[["id", "title", "price", "seller_name"]].head())

6. 🌐 Mobile Proxies & Multithreading: MobileProxy.space Integration

[!IMPORTANT] Using a Mobile Proxy (proxy + proxy_change_url / mobileproxy_key) is mandatory when running multithreaded (max_workers > 1), high-concurrency async, or deep card scraping (enrich_details=True)!
Avito's anti-fraud firewall aggressively rate-limits (429) and bans (403) standard server/datacenter IP addresses under parallel load. Real 4G/LTE SIM cards share IP pools with millions of cellular subscribers, making them immune to subnet-level bans.

📱 **Recomm

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated4d ago
Forks1

Languages

Python

Trust signals

97/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 info