Learn · 5 min read

Use datapolymarket
with Claude.

You don't need to be a programmer. Paste a prompt, give Claude your API key, and let it do the trading research for you. Works in Claude.ai, Claude Code, or any Anthropic SDK app.

What it looks like

Talk to Claude. Get answers.

Ask in plain English. Claude calls our API, reads the data, and tells you which markets are mispriced. No SQL, no glue code, no JSON.

  • One prompt template you copy and paste
  • Claude handles the API requests
  • Get the analysis in seconds
Claude+ datapolymarket MCP
Ask Claude… send
Step by step

Four steps. About 5 minutes.

01

Get your API key

Pick a tier on the homepage and grab your key. It looks like dpm_xxx... — keep it private. You can rotate it any time from your dashboard.

02

Open Claude

Any Claude works: Claude.ai (web), Claude Code (CLI), or your own app via the Anthropic SDK. The prompt below is the same — Claude figures it out.

03

Paste this prompt

Replace dpm_...your-key... with your real key. Send it. Claude will call our endpoints and reply with a ranked list.

prompt-weather.txt
You have access to the datapolymarket API.
Base URL: https://api.datapolymarket.com
Auth: header "X-API-Key: dpm_...your-key..."

Task:
1. List today's open Polymarket weather markets via
   GET /v1/weather/stations
   GET /v1/weather/resolution-probability/{condition_id}
2. Find the 3 with the largest gap between Polymarket's odds
   and our YES probability.
3. Tell me which side to bet (YES or NO) and why.
04

That's it. Read the answer.

Claude does the calls, the math, the comparison. You get a short list of trades to consider. Repeat any time markets move.

Pro tip

For hands-free integration where Claude has the API as a native tool (no API key in prompts, just call it like a function), set up our MCP server →

More prompt templates

Steal these.

Weather: find mispriced markets
You have access to the datapolymarket API.
Base URL: https://api.datapolymarket.com
Auth: header "X-API-Key: dpm_...your-key..."

Task:
1. List today's open Polymarket weather markets via
   GET /v1/weather/stations
   GET /v1/weather/resolution-probability/{condition_id}
2. Find the 3 with the largest gap between Polymarket's odds
   and our YES probability.
3. Tell me which side to bet (YES or NO) and why.
Crypto: spot oracle arb
Using my datapolymarket API key, check if there's a
profitable arbitrage between Polymarket's BTC up-or-down market
and the real BTC price right now.

Endpoint: GET /v1/crypto/oracle-lag/BTC?minutes=5
Endpoint: GET /v1/crypto/spread/BTC?minutes=5

Tell me the current gap, suggest a position, and size it
conservatively (max 2% of $1,000 bankroll).

Ready when you are.

Grab a key, paste the prompt, watch Claude do the work.

Get your API key — $99