morigraph Start free

Data APIs ยท Polymarket

Polymarket data API for AI agents

morigraph has one Polymarket data API, Polymarket Markets, that Claude, ChatGPT, Cursor, Codex or your own code can call. Discover Polymarket prediction markets (question, outcome prices, volume, liquidity, and end dates) by keyword or sorted by activity, as normalized JSON. You need no Polymarket developer account or API key, only one morigraph connection. A call costs 2.88 credits, about $288 for 1,000 calls, paid from one balance.

APIs
1
Price
2.88 credits a call
Call it from
MCP, command line and HTTP API
Needs
One morigraph connection. No Polymarket account or API key

Three ways to call it

Every data API is run by one tool, data_api, with the API's id and its arguments. The example is Polymarket Markets.

In your assistant (MCP). Connect once, then ask in plain words

claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp

Use morigraph's Polymarket Markets data API with {"limit":10,"query":"election"} and summarise what comes back.

From a terminal or script (CLI)

npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"polymarket.markets","input":{"limit":10,"query":"election"}}'

From your own code (HTTP API)

curl https://api.morigraph.com/v1/tools/data_api \
  -H "Authorization: Bearer $MORIGRAPH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"polymarket.markets","input":{"limit":10,"query":"election"}}'

Polymarket Markets

polymarket.markets2.88 credits a call (about $288 for 1,000)

Discover Polymarket prediction markets (question, outcome prices, volume, liquidity, and end dates) by keyword or sorted by activity, as normalized JSON.

ArgumentTypeRequiredWhat it is
limitintegernoMaximum number of results to return (10-25, default 25). You are billed per result returned, so a lower limit costs less.
querystringyesSearch term for markets (e.g. election, bitcoin, super bowl).
sortByvolume_24hr | volume | liquidity | start_date | ending_soon | competitivenoHow discovered markets are ordered before results are returned (e.g. volume_24hr for recent momentum). Default "volume_24hr".
statusactive | resolvednoReturn "active" markets for current prices and volume, or "resolved" markets for historical outcomes. Default "active".

Returns bestAsk bestBid commentCount conditionId createdUtc description endsUtc eventId eventTitle id image lastTradePrice liquidityUsd openInterestUsd outcomes slug spread startsUtc status tags title updatedUtc url volume1mUsd volume1wUsd volume24hUsd volumeUsd

The call

data_api({"api":"polymarket.markets","input":{"limit":10,"query":"election"}})

Good to know

When to choose something else

Choose a provider that specialises in Polymarket data when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.

Questions

Do I need a Polymarket API key or developer account?

No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call the API on this page.

What does Polymarket data cost through morigraph?

2.88 credits a call, where a credit is about 10 cents. That is from about $288 for 1,000 calls. You pay per call from one balance, with no separate subscription.

Can Claude, ChatGPT or Cursor get Polymarket data?

Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.

Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.