b2a29fe51f
- Added new documentation URLs from llms.txt index - Updated TARGET.md with 244 total documentation pages - Scraped new pages for trading, concepts, and API reference sections - Updated changelog and new index pages
7.8 KiB
7.8 KiB
Documentation Index
Fetch the complete documentation index at: https://docs.polymarket.com/llms.txt Use this file to discover all available pages before exploring further.
Overview
Build on the world's largest prediction market. Trade, integrate, and access real-time market data with the Polymarket API.
export const IconCard = ({ icon, title, description, href, color }) => {
return (
<div
className="flex items-center justify-center w-10 h-10 rounded-lg mb-4"
style={{ backgroundColor: color ? ${color}1A : "#2E5CFF15" }}
>
<img src={"/images/icons/" + icon + ".svg"} />
{title}
{description}
); };Polymarket Documentation
<div className="max-w-2xl px-4 md:px-24 mt-4 text-lg text-gray-500 dark:text-zinc-500">
Build on the world's largest prediction market. APIs, SDKs, and tools for prediction market developers.
</div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 mt-12 px-4 md:px-24 ">
<div className="flex flex-col justify-center ">
<h2 className="text-xl font-semibold text-gray-900 dark:text-zinc-50">
Developer Quickstart
</h2>
<p className="mt-3 text-gray-500 dark:text-zinc-400">
Make your first API request in minutes. Learn the basics of the Polymarket platform, fetch market data, place orders, and redeem winning positions.
</p>
<div className="mt-6">
<a href="/quickstart" className="inline-flex items-center px-4 py-2 text-sm font-medium text-white bg-primary rounded-full hover:bg-indigo-700 transition-colors">
Get Started →
</a>
</div>
</div>
<CodeGroup>
```typescript TypeScript theme={null}
import { ClobClient, Side } from "@polymarket/clob-client";
const client = new ClobClient(host, chainId, signer, creds);
const order = await client.createAndPostOrder(
{ tokenID, price: 0.50, size: 10, side: Side.BUY },
{ tickSize: "0.01", negRisk: false }
);
```
```python Python theme={null}
from py_clob_client.client import ClobClient
from py_clob_client.order_builder.constants import BUY
client = ClobClient(host, key=key, chain_id=chain_id, creds=creds)
order = client.create_and_post_order(
OrderArgs(token_id=token_id, price=0.50, size=10, side=BUY),
options={"tick_size": "0.01", "neg_risk": False}
)
```
</CodeGroup>
</div>
Get Familiar with Polymarket
<p className="mt-2 text-gray-500 dark:text-zinc-400 max-w-2xl">
Learn the fundamentals, explore our APIs, and start building on the world's largest prediction market.
</p>
<div className="mt-8">
<CardGroup cols={2}>
<Card title="Quickstart" icon="rocket" href="/quickstart">
Set up your environment and make your first API call in minutes.
</Card>
<Card title="Core Concepts" icon="lightbulb" href="/concepts/markets-events">
Understand markets, events, tokens, and how trading works.
</Card>
<Card title="API Reference" icon="code" href="/api-reference/introduction">
Explore REST endpoints, WebSocket streams, and authentication.
</Card>
<Card title="SDKs" icon="cube" href="/api-reference/clients-sdks">
Official Python and TypeScript libraries for faster development.
</Card>
</CardGroup>
</div>
<div className="my-12 ">
<a href="https://builders.polymarket.com" target="_blank">
<img src="https://mintcdn.com/polymarket-292d1b1b/FOMte3ewbG-LVy3k/images/banner.png?fit=max&auto=format&n=FOMte3ewbG-LVy3k&q=85&s=d83f2f21e8474e998d8ba0f45810d978" alt="Banner" className="w-full rounded-2xl" data-og-width="2394" width="2394" data-og-height="549" height="549" data-path="images/banner.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/polymarket-292d1b1b/FOMte3ewbG-LVy3k/images/banner.png?w=280&fit=max&auto=format&n=FOMte3ewbG-LVy3k&q=85&s=bc33dd55b9c23cf14b4cb5c838ddbf8b 280w, https://mintcdn.com/polymarket-292d1b1b/FOMte3ewbG-LVy3k/images/banner.png?w=560&fit=max&auto=format&n=FOMte3ewbG-LVy3k&q=85&s=1634a07f9d318c56ae22ab36469884e4 560w, https://mintcdn.com/polymarket-292d1b1b/FOMte3ewbG-LVy3k/images/banner.png?w=840&fit=max&auto=format&n=FOMte3ewbG-LVy3k&q=85&s=42cd26eac1512fb6cb9a5e4246005127 840w, https://mintcdn.com/polymarket-292d1b1b/FOMte3ewbG-LVy3k/images/banner.png?w=1100&fit=max&auto=format&n=FOMte3ewbG-LVy3k&q=85&s=c9b7ad82701e702fd6636108235ab493 1100w, https://mintcdn.com/polymarket-292d1b1b/FOMte3ewbG-LVy3k/images/banner.png?w=1650&fit=max&auto=format&n=FOMte3ewbG-LVy3k&q=85&s=121075a6d26595fafb3e82922810fbff 1650w, https://mintcdn.com/polymarket-292d1b1b/FOMte3ewbG-LVy3k/images/banner.png?w=2500&fit=max&auto=format&n=FOMte3ewbG-LVy3k&q=85&s=8eb05e436df24b1078610fa69510ec35 2500w" />
</a>
</div>
<IconCard icon="quiz" title="Help Desk" description="Get support, report issues, and find answers to common questions" href="https://help.polymarket.com" />
<IconCard icon="sensor" title="Status" description="Check API uptime, service health, and incident reports" href="https://status.polymarket.com" />
</div>