How to use
- Copy the installation command and review the source package before installing it in your own agent environment.
- Check the source document for required tools, credentials and supported hosts.
- Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/1inch/1inch-ai --skill 1inch-market-dataBefore you start
- Installation does not include a model subscription, API allowance or permission to access your files.
- Repository stars and installation counts describe activity, not an independent quality or security test.
Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.
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"


