Skip to content

Latest commit

 

History

History
76 lines (53 loc) · 3.91 KB

File metadata and controls

76 lines (53 loc) · 3.91 KB
title LLMs & AI Tools for Sim APIs
sidebarTitle LLMs & AI Tools
description 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) or Balances (Solana)
See a wallet's recent transfers and swaps Activity
Get raw transaction data with logs Transactions (EVM) or Transactions (Solana)
Look up token price and metadata Token Info
See who holds a token Token Holders
Get a wallet's NFTs Collectibles
Get a wallet's DeFi positions DeFi Positions
Get real-time notifications Subscriptions (webhooks)
**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`).

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.

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.

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.

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:

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.

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.