Python cryptocurrency parser via API with Mexc
Need help setting up a parser, tasks:
parser for pump coins that are on the Mexc exchange, mainly interested in meme coins with a growth of more than 8% in the pump
Interval 1-5 minutes. Most of the coins are new ones that appeared on the exchange in the last 24 hours. Results to be sent to a Telegram channel via a bot - (the bot is created and configured, the group exists). I will provide the Mexc API key. There is also a Telegram group where messages need to be sent. Instead of a server, my PC will act as the server
The current parser code:
import os
import requests
# Your API token from Mexc
API_KEY = os.getenv('MEXC_API_KEY')
# Telegram bot token
TELEGRAM_BOT_TOKEN = os.getenv('TELEGRAM_BOT_TOKEN')
# chat_id of your group (needs to be replaced with the chat ID)
TELEGRAM_CHAT_ID = os.getenv('TELEGRAM_CHAT_ID')
# API URL to get data from Mexc
url = 'https://www.mexc.com/open/api/v3/market/tickers'
# Make a request to the API
response = requests.get(url)
if response.status_code == 200:
data = response.json() # Convert the response to JSON format
for ticker in data['data']:
symbol = ticker['symbol'] # Coin symbol (e.g., BTC/USDT)
change = ticker['percent'] # Percentage change
market_cap = ticker['market_cap'] # Market capitalization
# If the percentage increase is more than 8%
if float(change) > 8:
# Formulate the message
message = f"{symbol}: {change}% | Market Cap: {market_cap}$\n"
# Send the message to Telegram
telegram_url = f'https://api.telegram.org/bot{TELEGRAM_BOT_TOKEN}/sendMessage?chat_id={TELEGRAM_CHAT_ID}&text={message}'
requests.get(telegram_url)
else:
print(f"Error: {response.status_code}")
for contact tg @ Maksim_Digash
or here on the platform
price is negotiable
Applications 1
Current freelance projects in the category Data Parsing
Need a parser for the online store https://www.lcsc.com/It is necessary to regularly (once a month, or upon script launch) obtain up-to-date information about the products available in the store. https://www.lcsc.com/ from the catalog of all sections.… Data Parsing ∙ 7 hours 31 minutes back ∙ 28 proposals |
OpenCart — rental catalog of special equipment
135 USD
OpenCart — Equipment Rental Catalog Need to launch an equipment rental catalog on OpenCart. Theme: excavators cherry pickers forklifts generators cranes scaffolding other construction equipment. It is preferable that you already have a ready-made template or developments… Web Programming, Data Parsing ∙ 23 hours 57 minutes back ∙ 46 proposals |
Transfer the program - the server where the program was located has crashed (officially permitted parsing of government data)
47 USD
Hello! My client has encountered the case described below. We need help transferring to a new server and testing the program. It would be better to have a programmer who understands parsing. Software & Server Configuration, Data Parsing ∙ 1 day 3 hours back ∙ 27 proposals |
Website parsingImplementation of 4 parsers (directory websites) is required. There is a technical specification, and there is a code example as a reference. The tasks include: Writing a parser Integrating a proxy Deduplication logic (transfer the logic from the example) Hashing logic based… Data Parsing ∙ 2 days 20 hours back ∙ 42 proposals |
Collection (parsing) of product database from supplier websites (Excel / CSV)
226 USD
Collection of product database from supplier websites (Excel / CSV) Good day. A specialist is required to collect and structure data from several supplier websites, access to which will be provided.Task: A unified product database needs to be created in Excel (XLSX) or CSV… Web Programming, Data Parsing ∙ 4 days 3 hours back ∙ 103 proposals |