1inch/1inch-ai

1inch-market-data

- Fetch spot token prices, gas prices, and price charts via the 1inch MCP productapi tool.

Ver código fuente

Cómo usar

  1. Copia el comando y revisa el paquete antes de instalarlo en tu entorno de agente.
  2. Consulta las herramientas, credenciales y entornos necesarios en el documento original.
  3. Describe las entradas y el resultado deseado; contrasta la salida con las fuentes.
npx skills add https://github.com/1inch/1inch-ai --skill 1inch-market-data

Antes de empezar

  • La instalación no incluye suscripción al modelo, cuota API ni permisos sobre tus archivos.
  • Las estrellas e instalaciones reflejan actividad, no una prueba independiente de calidad o seguridad.
Documento original del Skill

Contenido del repositorio de origen con títulos, ejemplos, código, tablas, enlaces e imágenes preservados.

Market Data (product_api)

Call the authenticated tool `product_api` with the recipes in references/RECIPES.md. Call `authenticate` first if you are not already a real user (initialize 200 is still anonymous).

Prefer these intents

User askCall
Token price (USD)Spot Price — always set currency=USD unless native WEI is requested
Current gasGas Price — GET /gas-price/v1.6/{chainId}
Candles / chartCharts — confirm exact path via search if unsure

Critical gotcha

Spot Price returns native token WEI unless you pass currency (e.g. USD).

Fallback

If a path 404s, read file://1inch-mcp/guides/api-index or call search, then retry.

Example prompts

  • "What's the USD price of this token on Ethereum?"
  • "Current gas price on Base"
  • "Show a 1d price chart for WETH"

Relacionados por tarea

del mismo repositorio

Más Skills

Todos los Skills