Skip to content
Back to skills

Getcriptoprice

ASecurity

Retrieve the latest USD price for a crypto asset (e.g., BTC, ETH) via a public API (CoinGecko). Use when the user asks for the price of a crypto asset.

  • 57 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
blockchainbashnodeapi

Works with

  • api

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill getcriptoprice --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Getcriptoprice?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Getcriptoprice
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-getcriptoprice/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-getcriptoprice)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: getCriptoPrice
description: "Retrieve the latest USD price for a crypto asset (e.g., BTC, ETH) via a public API (CoinGecko). Use when the user asks for the price of a crypto asset."
---

# getCriptoPrice

This skill provides a simple, reliable way to fetch a crypto spot price in USD.

## What it does
- Input: a crypto asset symbol (e.g., `BTC`) or CoinGecko id (e.g., `bitcoin`)
- Output: JSON with the normalized price payload

## How to run (script)
Use the bundled script:

```bash
node scripts/getCriptoPrice.mjs BTC
# or
node scripts/getCriptoPrice.mjs bitcoin
```

## Output format

```json
{
  "ok": true,
  "asset": {
    "input": "BTC",
    "coingecko_id": "bitcoin",
    "symbol": "btc",
    "name": "Bitcoin"
  },
  "currency": "usd",
  "price": 12345.67,
  "ts": "2026-02-14T03:03:00.000Z",
  "source": "coingecko"
}
```

## Notes
- Uses CoinGecko's public endpoints; no API key required.
- If you later want higher rate limits/latency guarantees, swap the data source (e.g., Coinbase, Kraken, Binance) and keep the same output schema.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.