Crypto Data Fetcher

    by Maina Murage

    1

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

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    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 TimeOpenHighLowCloseVolume
    2023-10-2433071.3735280.0032832.0233922.3891823.12
    2023-10-2533922.3935158.5533678.9134496.0162145.88
    2023-10-2634496.0034825.9933750.0034151.6550912.44
    2023-10-2734151.6634243.0733361.6433892.0242118.75
    2023-10-2833892.0134494.3333845.0034081.0121054.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

    Generated

    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

    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

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Network Access
    Write Files

    Allowed Hosts

    api.binance.com
    Listed12 days ago

    What's inside

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    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.

    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.

    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.