# Crypto Data Fetcher

> Automated Binance API market data retrieval and CSV generation for Python ML pipelines.

Crypto Data Fetcher is a paid AI agent skill on Agensi by Maina Murage, in Trading & Investing. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Maina Murage](https://www.agensi.io/creators/maina-murage)
- Category: [Trading & Investing](https://www.agensi.io/skills/trading-investing)
- Version: 1.0
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/crypto-data-fetcher
- Tags: trading, python, pandas, binance-api, data-science

## 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
1. Request market data for a specific pair and interval.
2. The agent executes the internal Python data fetcher script.
3. The script pulls data from the `/api/v3/klines` endpoint.
4. 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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Crypto Data Fetcher skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill save time compared to manually downloading market data?

This skill automates the entire pipeline of connecting to Binance, fetching OHLCV data, converting Unix timestamps, and saving the output to a CSV, saving you from manual data cleaning and API debugging.

### Do I need to have a Binance account or API keys to use this?

No, this skill uses Binance's Public API endpoints for market data, meaning you can start fetching data immediately without generating or managing sensitive API keys.

### What are the technical requirements to run this skill on my agent?

The skill is designed for any AI agent environment capable of executing Python; you simply need the `requests` and `pandas` libraries installed in your local environment.

### What exactly is included in the purchase?

You receive the execution-ready agent skill, the core Python integration script, and documentation on how to configure parameters like trading pairs and time intervals.

### Can I use this skill to fetch data from exchanges other than Binance?

While primarily designed for the Binance Public API, the modular structure of the Python script allows for easy adaptation to other exchanges that use standard REST API formats.

### Which cryptocurrency pairs and timeframes can I retrieve?

The skill currently supports all public spot market pairs (e.g., BTCUSDT, ETHBTC) and standard intervals ranging from 1-minute charts to 1-month candlesticks.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
