Give your CrewAI agents access to live prediction market consensus — NBA, NHL, MLB, MLS, and political events, updated continuously.
Connect CrewAI to Meridian Edge to access real-time prediction market consensus from 25+ regulated sources. Your crew can research event probabilities, detect divergence, and reason about market consensus.
pip install crewai requestsfrom crewai_tools import BaseTool
import requests
class PredictionMarketTool(BaseTool):
name: str = "PredictionMarketConsensus"
description: str = (
"Fetches real-time prediction market consensus probabilities. "
"Input: sport name (NBA, NHL, MLB, MLS) or event keyword."
)
api_key: str = "me_live_YOUR_KEY"
def _run(self, sport: str) -> str:
r = requests.get(
"https://meridianedge.io/api/v1/consensus",
headers={"X-API-Key": self.api_key},
params={"sport": sport.upper(), "limit": 10}
)
events = r.json().get("events", [])
lines = [f"{e['title']}: {e['consensus_prob']:.0%} (conf {e.get('confidence',0):.0%})"
for e in events]
return "\n".join(lines) if lines else "No events found."
# Usage in your crew
tool = PredictionMarketTool()
# agent = Agent(role="Market Analyst", tools=[tool], ...)Start querying live prediction market consensus from your CrewAI agents. 100 calls/day.
View Plans → API Reference