> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sim.dune.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LLMs & AI Tools for Sim APIs

> Use Sim API documentation with LLMs, ChatGPT, Cursor, and other AI tools. Access llms.txt, per-page Markdown, OpenAPI specs, and AI search.

We provide several resources to help you use LLMs and AI tools to build faster with Sim APIs.

## Quick Endpoint Guide for Agents

| I want to...                              | Use this endpoint                                                                     |
| ----------------------------------------- | ------------------------------------------------------------------------------------- |
| Get a wallet's token balances             | [Balances](/evm/balances) (EVM) or [Balances](/svm/balances) (Solana)                 |
| See a wallet's recent transfers and swaps | [Activity](/evm/activity)                                                             |
| Get raw transaction data with logs        | [Transactions](/evm/transactions) (EVM) or [Transactions](/svm/transactions) (Solana) |
| Look up token price and metadata          | [Token Info](/evm/token-info)                                                         |
| See who holds a token                     | [Token Holders](/evm/token-holders)                                                   |
| Get a wallet's NFTs                       | [Collectibles](/evm/collectibles)                                                     |
| Get a wallet's DeFi positions             | [DeFi Positions](/evm/defi-positions)                                                 |
| Get real-time notifications               | [Subscriptions](/evm/subscriptions) (webhooks)                                        |

<Note>
  **EVM vs Solana:** EVM endpoints use `chain_ids` with numeric IDs (e.g., `1` for Ethereum, `8453` for Base). Solana endpoints use `chains` with string values (`solana`, `eclipse`, `all`).
</Note>

## Use with LLMs

### Complete Documentation for LLMs

For LLM applications such as custom agents, RAG systems, or any scenario requiring our complete documentation, we provide an optimized text file at [`https://docs.sim.dune.com/llms-full.txt`](https://docs.sim.dune.com/llms-full.txt).

### Per-Page Access

You can get the Markdown version of any documentation page by appending `.md` to its URL. For example, `/evm/activity` becomes [`https://docs.sim.dune.com/evm/activity.md`](https://docs.sim.dune.com/evm/activity.md).

Additionally, in the top-right corner of each page, you will find several options to access the page's content in LLM-friendly formats:

* **Copy Page:** Copies the fully rendered content of the current page.
* **View Markdown:** Provides a URL with the raw Markdown source. This is ideal for direct input into LLMs.
* **Open with ChatGPT:** Instantly loads the page's content into a new session with ChatGPT. Ask questions, summarize, or generate code based on the page's content.

<Frame caption="Copy the page, view raw markdown, or open with ChatGPT">
  <img src="https://mintcdn.com/sim-dune/FaNfto3J8NMXXVaa/images/mintlify-open-with-chatgpt.png?fit=max&auto=format&n=FaNfto3J8NMXXVaa&q=85&s=1161f8660c5f49fdf46e3341b815749e" width="1240" height="518" data-path="images/mintlify-open-with-chatgpt.png" />
</Frame>

You can also type `⌘C` or `Ctrl+C` to copy any page's Markdown content.
Try it now.

## OpenAPI Specifications

To help AI tools understand our API structure, we provide a consolidated OpenAPI specification covering all endpoints (EVM and SVM). This file details available parameters, request bodies, and response schemas, making it ideal for generating client code or for use in custom AI agents.

You can find our OpenAPI specification here:

* Full API specification: [`/openapi.json`](https://github.com/duneanalytics/sim-docs/blob/main/openapi.json)

## Add Docs to Cursor

To integrate our documentation directly into your Cursor editor for easy reference:

1. Go to **Cursor Settings -> Indexing & Docs -> Add Doc**.
2. Enter `docs.sim.dune.com` in the URL field.
3. Provide a name (e.g., "@simdocs").
4. Hit confirm. The documentation will sync automatically.
5. Reference Sim APIs documentation by typing `@simdocs` (or your chosen name) in your Cursor chat window.

<Frame caption="Add our docs to Cursor to use it in your chats">
  <img src="https://mintcdn.com/sim-dune/FaNfto3J8NMXXVaa/images/cursor-add-docs.png?fit=max&auto=format&n=FaNfto3J8NMXXVaa&q=85&s=773205d9684b3fe3e23f798dbed7ab75" width="2534" height="1640" data-path="images/cursor-add-docs.png" />
</Frame>

## AI Search

To ask questions about our documentation, click the **Ask AI** button in the header of the site. This opens a chat interface, powered by Mintlify, that understands natural language queries. Ask questions about endpoints, authentication, or specific data points, and it will answer you with the most relevant, accurate information.

<Frame caption="Click the Ask AI button in the header to start a conversation">
  <img src="https://mintcdn.com/sim-dune/kJVnzSzA9eavUZq6/images/mintlify-search.png?fit=max&auto=format&n=kJVnzSzA9eavUZq6&q=85&s=daa179ff2ba4e8fc44de9dd6cf832d6a" width="2878" height="1800" data-path="images/mintlify-search.png" />
</Frame>
