Jak używać
- Skopiuj polecenie instalacji i sprawdź źródła przed instalacją we własnym środowisku agenta.
- W oryginale sprawdź wymagane narzędzia, dane dostępowe i obsługiwane środowiska.
- Opisz dane wejściowe i oczekiwany rezultat; porównaj wynik ze źródłami.
npx skills add https://github.com/1inch/1inch-ai --skill 1inch-market-dataPrzed rozpoczęciem
- Instalacja nie obejmuje subskrypcji modelu, limitu API ani uprawnień do plików.
- Gwiazdki i instalacje pokazują aktywność, a nie niezależny test jakości lub bezpieczeństwa.
Treść z repozytorium z zachowaniem nagłówków, przykładów, kodu, tabel, linków i obrazów.
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 ask | Call |
|---|---|
| Token price (USD) | Spot Price — always set currency=USD unless native WEI is requested |
| Current gas | Gas Price — GET /gas-price/v1.6/{chainId} |
| Candles / chart | Charts — 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"


