1inch/1inch-ai

1inch-market-data

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

Vedi sorgente

Come usare

  1. Copia il comando e controlla il pacchetto prima di installarlo nel tuo ambiente agente.
  2. Controlla strumenti, credenziali e ambienti richiesti nel documento originale.
  3. Descrivi input e risultato desiderato; confronta l’output con le fonti.
npx skills add https://github.com/1inch/1inch-ai --skill 1inch-market-data

Prima di iniziare

  • L’installazione non include abbonamenti, quote API o accesso ai file.
  • Stelle e installazioni indicano attività, non un test indipendente di qualità o sicurezza.
Documento Skill originale

Contenuto dal repository con titoli, esempi, codice, tabelle, link e immagini preservati.

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"

Correlati per attività

dallo stesso repository

Altri Skills

Tutti gli Skills