Skip to content
Back to skills

Spacescan

DSecurity

Explore the Chia blockchain via Spacescan.io API.

  • 666 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentsjavascriptjavashellbashapi

Works with

  • cli
  • api

Security analysis

D46/100
  • criticalModifies startup scripts or system services for persistence
  • criticalModifies startup scripts or system services for persistence
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill spacescan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spacescan?

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

Security grade badge for Spacescan
[![Security: D — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-spacescan/badge)](https://www.skillsdirectory.com/skills/majiayu000-spacescan)

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: spacescan
description: Explore the Chia blockchain via Spacescan.io API.
---

# Spacescan Skill

Explore the Chia blockchain via Spacescan.io API.

## What It Does

- View blocks and transactions
- Check address balances
- Monitor network statistics
- Search blockchain data
- Track CAT tokens and NFTs
- Get XCH price

## ⚠️ API Key Required

Spacescan requires an API key. Get yours at: https://www.spacescan.io/apis

Set the environment variable:
```bash
export SPACESCAN_API_KEY=your_key_here
```

Or add to your shell profile (~/.zshrc or ~/.bashrc):
```bash
echo 'export SPACESCAN_API_KEY=your_key_here' >> ~/.zshrc
source ~/.zshrc
```

## Commands

All commands can be triggered via:
- `/scan <command>` in Telegram
- `/spacescan <command>` in Telegram
- `scan <command>` in CLI
- `spacescan <command>` in CLI

### Blocks

```bash
/scan block latest          Get latest block
/scan block <height>        Get block by height
/scan block <hash>          Get block by hash
/scan blocks <start> <end>  Get block range
```

### Transactions

```bash
/scan tx <id>               Get transaction details
```

### Addresses

```bash
/scan address <addr>        Get address info
/scan address balance <a>   Get address balance
/scan address txs <addr>    Get recent transactions
```

### Coins

```bash
/scan coin <id>             Get coin details
```

### Network

```bash
/scan stats                 Network statistics
/scan network               Network info
/scan space                 Network space (EiB)
/scan mempool               Mempool status
/scan price                 XCH price
```

### Tokens

```bash
/scan cats                  List CAT tokens
/scan cat <id>              Get CAT details
```

### NFTs

```bash
/scan nft <id>              Get NFT details
```

### Search

```bash
/scan search <query>        Search blockchain
/scan <long_hash>           Quick search
```

## Agent Usage

```javascript
const { handleCommand } = require('./skills/spacescan');

// Requires SPACESCAN_API_KEY environment variable
const output = await handleCommand('block latest');
```

## API Client

```javascript
const SpacescanAPI = require('./skills/spacescan/lib/api');
const api = new SpacescanAPI('your-api-key');

// Get latest block
const block = await api.getLatestBlock();

// Get address balance
const balance = await api.getAddressBalance('xch1...');

// Get network stats
const stats = await api.getNetworkStats();

// Search
const result = await api.search('xch1...');
```

## Installation

```bash
cd skills/spacescan
npm install
chmod +x cli.js
npm link  # Makes 'scan' and 'spacescan' global
```

## Configuration

**Required:** Set your API key

```bash
export SPACESCAN_API_KEY=your_key_here
```

Get your key at: https://www.spacescan.io/apis

Free tier available with rate limits.

## Examples

**Check latest block:**
```bash
/scan block latest
```

**Get address balance:**
```bash
/scan address balance xch1...
```

**Network stats:**
```bash
/scan stats
```

**XCH price:**
```bash
/scan price
```

## Support

- Spacescan: https://www.spacescan.io
- API Plans: https://www.spacescan.io/apis
- Bug reports: File in skill repository

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.