Terms & Risk Disclosure

PolyYard is a non-custodial decentralized interface for prediction markets on Polygon. Before continuing, please review and accept our legal terms.

I have read and agree to the Terms of Service and Risk Disclosures
PolyYardPolyYard

API Documentation

Connect your own bots and scripts to PolyYard market data and the relayer engine.

How it works

All endpoints take a JSON body and return JSON. Base URL: https://polyyard.base44.app/functions

Orders are non-custodial: your bot signs each order with its own wallet key, and the relayer submits it with the 50 bps PolyYard fee applied. PolyYard never holds your keys.

Please keep to about 1 request per second per endpoint. Responses are cached for a few seconds.

Market data

POST/fetchVenueData

{ "venue": "hyperliquid", "action": "markets" | "book" | "candles", "symbol": "BTC", "interval": "1h" }

Venues: kalshi, hyperliquid, polymarket (candles only). Intervals: 1m, 5m, 15m, 1h, 4h, 1d.

Polymarket markets

POST/fetchMarkets

{ "limit": 40, "sort": "trending", "category": "politics" }

Use { "q": "bitcoin" } to search.

Order book

POST/fetchOrderBook

{ "tokenId": "<clob token id>" }

Returns bids and asks for one Polymarket outcome.

Fee config

POST/getFeeConfig

{}

Current fee rates and the fee splitter address.

Non-Custodial Interface

PolyYard is a decentralized GUI and communications relayer — not an exchange, broker, or custodian. All orders execute peer-to-peer on Polygon PoS (Chain ID: 137) via Polymarket CLOB and Gnosis CTF.

High-Risk Warning

Trading prediction markets involves substantial risk of loss. Outcome tokens can expire completely worthless ($0.00 USDC). Prices reflect market-implied probabilities, not guaranteed outcomes. Never commit assets you cannot afford to lose.

Oracle Resolution Notice

Market resolutions are determined exclusively by decentralized oracles (UMA Optimistic Oracle v3) and public smart contracts. PolyYard cannot alter, pause, or reverse on-chain outcomes.

Jurisdictional Restrictions

Not available to residents or citizens of the United States, Cuba, Iran, North Korea, Syria, Crimea/DNR/LNR, or any OFAC/UN/EU/UK-sanctioned jurisdiction. VPN circumvention is strictly prohibited.

© 2026 PolyYard Protocol. Open-source decentralized software provided "as is" without warranty.