- Home
- Skills
- Trading & Investing
- Crypto Data Fetcher
Crypto Data Fetcher
by Maina Murage
Automated Binance API market data retrieval and CSV generation for Python ML pipelines.
$5
Crypto Data Fetcher
Example session with this skill installed
Fetch the daily OHLCV data for BTCUSDT and save it to a CSV.
- Read your context and instructions
- Compiled the crypto data fetcher
- Generated the data export
I have executed the data fetcher script. It connected to the Binance API, retrieved the daily OHLCV data for BTCUSDT, and processed it into a structured format.
Market Data Retrieval Results
The data has been cleaned and saved to the following location:
/home/user/project/data/raw/BTCUSDT_1d.csv
| Open Time | Open | High | Low | Close | Volume |
|---|---|---|---|---|---|
| 2023-10-24 | 33071.37 | 35280.00 | 32832.02 | 33922.38 | 91823.12 |
| 2023-10-25 | 33922.39 | 35158.55 | 33678.91 | 34496.01 | 62145.88 |
| 2023-10-26 | 34496.00 | 34825.99 | 33750.00 | 34151.65 | 50912.44 |
| 2023-10-27 | 34151.66 | 34243.07 | 33361.64 | 33892.02 | 42118.75 |
| 2023-10-28 | 33892.01 | 34494.33 | 33845.00 | 34081.01 | 21054.33 |
Next steps
- Import the CSV into your notebook using
pd.read_csv('data/raw/BTCUSDT_1d.csv'). - Run your feature engineering script on the new raw data.
- Request a different pair or interval (e.g., ETHUSDT, 1h) to expand your dataset.
BTCUSDT_1d.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Manually sourcing clean cryptocurrency data for ML models is a repetitive time sink. This skill automates the retrieval, cleaning, and storage of OHLCV market data directly from the Binance API into your local pipeline.
What it does
- API Integration connects to Binance Public API endpoints without requiring complex authentication for public data.
- Data Standardization converts raw JSON responses into structured pandas DataFrames.
- Automated Cleaning handles Unix timestamp conversion and numeric type casting.
- Local Persistence writes processed datasets to CSV files in a predictable directory structure.
How it works
- Request market data for a specific pair and interval.
- The agent executes the internal Python data fetcher script.
- The script pulls data from the
/api/v3/klinesendpoint. - Processed data is saved to the
data/raw/directory.
Frameworks & tools
This skill uses Python, the requests library for API communication, and pandas for data manipulation.
Why this beats prompting it yourself
Prompting an LLM to write a script often results in deprecated API endpoints or missing error handling for rate limits. This skill provides a verified, execution-ready workflow that produces a file on your disk rather than just code on your screen.
Use cases
- Fetch historical BTCUSDT daily data for backtesting.
- Seed machine learning pipelines with fresh market features.
- Generate CSV datasets for exploratory data analysis in Jupyter.
Known limitations
Requires a Python environment with requests and pandas installed. Limited to Binance API public market data.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 12 days ago
- Accounts
Binance
Permissions
Allowed Hosts
What's inside
Frequently Asked Questions
New in Trading & Investing
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Trading & Investing.