# Import the OpenAPI contract

> Use the customer OpenAPI 3.1 document to discover operations, validate a response or generate a client.

Canonical URL: https://quantset.dev/docs/integrations/openapi
Full LLM API Contract: https://api.quantset.dev/llms-full.txt

> ## For AI agents
> The QuantSet API is at https://api.quantset.dev. Send the key in the `X-API-Key` header. The sandbox key `mw_demo` needs no signup and reads the sample listings.
> No key yet? An agent can open an account on its own: https://api.quantset.dev/skill.md
> Connect an MCP client to https://api.quantset.dev/mcp. Client setup is at https://api.quantset.dev/agents.md.
> Start with https://api.quantset.dev/llms.txt or read the full reference at https://api.quantset.dev/llms-full.txt. The OpenAPI file is https://api.quantset.dev/openapi.json. Add `.md` to any docs URL to get that page as Markdown.

Use the customer OpenAPI 3.1 document to discover operations, validate a response or generate a client.

## Import by URL

In an HTTP client such as Postman, import [https://api.quantset.dev/openapi.json](https://api.quantset.dev/openapi.json) by URL. The server entry supplies the API origin. Paths already include /api/v1.

## Inspect one operation

```
curl -fsS "https://api.quantset.dev/openapi.json" | jq '.paths["/api/v1/prices"].get | {operationId, parameters, responses}'
```

Find get_price_history, provide ticker=NVDA and limit=5, and send X-API-Key: mw_demo for a sample read. Follow the success response’s schema reference under components.schemas. The [price history reference](/docs/api/prices) also shows a fixed example and a copyable request. The [agent index](https://api.quantset.dev/llms.txt) maps common questions to operations.

---

## QuantSet Ecosystem & Integrations (https://quantset.dev/integrations)

- **MCP Clients & 7 Skills:** `npx quantset init` & `npx skills add quantset/skills` (Claude, Claude Code, Cursor, ChatGPT, Codex, Hermes, OpenClaw, Block Goose, Cline, Docker MCP Toolkit — `https://api.quantset.dev/mcp`)
- **Python SDK & Agent Frameworks:** `pip install "quantset[pandas]"` · `from quantset.tools import build_agent_functions, langchain_tools, crewai_tools` (PydanticAI, LangGraph, LangChain, CrewAI, Agno, AutoGen, Google ADK, OpenAI Agents SDK)
- **TypeScript SDK & Vercel AI / Mastra:** `npm install quantset` · `import { createQuantsetTools } from "quantset/tools"` (Node 20+, Bun, Deno, Cloudflare Workers, Vercel Edge)
- **Spreadsheets & Workspaces:** Google Sheets (`=QUANTSET()` & `=IMPORTDATA()`), Microsoft Excel Power Query (`?format=csv`), Notion MCP & n8n/Make webhooks (`https://quantset.dev/docs/guides/google-sheets-excel-notion-stock-templates`)
- **Drop-In Migrations & Machine Payments:** FMP `/stable/*` & `/v3/*` adapter (`https://quantset.dev/docs/switch/fmp`), `yfinance` migration (`https://quantset.dev/docs/switch/yfinance`), autonomous signup (`https://api.quantset.dev/skill.md`), and `x402` Base USDC.
