Reference
API
REST + streaming access to every market on PolyHood.
Method
Path
Description
GET
/v2/markets
List active markets, optionally filtered by category.
GET
/v2/markets/:id
Full detail for a single market including order book depth.
GET
/v2/markets/:id/history
Historical price series for a market.
POST
/v2/orders
Place a limit or market order. Requires auth.
DELETE
/v2/orders/:id
Cancel an open order. Requires auth.
GET
/v2/portfolio
Your positions, open orders, and PnL. Requires auth.
Example
curl https://api.polyhood.xyz/v2/markets \
-H "Authorization: Bearer $POLYHOOD_KEY"