somnia-agents-json-fetch

Community

Fetch JSON data from APIs for on-chain oracles efficiently.

Authoremrestay
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables the retrieval and parsing of JSON data from public APIs, allowing seamless incorporation of external information into blockchain applications.

Core Features & Use Cases

  • Data Retrieval: Fetch values such as prices, statuses, or lists from REST APIs.
  • Use Case: Example—fetch the current Bitcoin price from CoinGecko and update a smart contract with the latest data.
  • Precision Handling: Convert JSON numerical data with decimal scaling for accurate on-chain representation.

Quick Start

Use the json-fetch skill to obtain the current Ethereum price in USD and use it within your smart contract.

Dependency Matrix

Required Modules

axios

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: somnia-agents-json-fetch
Download link: https://github.com/emrestay/somnia-agents-skills/archive/main.zip#somnia-agents-json-fetch

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.