Skip to main content

Get Entity Graph

Get the relationship graph for an entity, including connected entities and edges.

Path Parameters

string
required
Entity slug (e.g., patrick-mahomes)

Query Parameters

number
default:"1"
How many relationship levels to traverse (max: 3)
boolean
Include market nodes in the graph
number
Maximum number of nodes to return

Response

Graph Depth

Higher depth values return exponentially more data. Use depth 3 sparingly.

Graph View Builder

Configurable graph view that supports multiple visualization types.

Query Parameters

string
required
View type: neighborhood, movers, entity_markets, market_context, timeline, explain_fact, topic, cross_venue, impact_chain
string
Entity ID (required for entity-centric views)
string
Outcome ID (for market views)
string
Scope filter
number
Time window in hours
number
Traversal depth
number
Maximum results
string
Topic string (for topic view)
string
Fact key (for explain_fact view)

Response

Returns a graph structure with view-specific additional data depending on the type parameter.

Entity Neighborhood

Get the neighborhood subgraph around an entity.

Path Parameters

string
required
Entity ID

Query Parameters

number
Traversal depth
boolean
Include fact nodes
boolean
Include event nodes
number
Maximum nodes

Response


Entity Market Exposures

Get market exposures for an entity with drivers and cross-venue pricing.

Path Parameters

string
required
Entity ID

Query Parameters

boolean
Include fact data
number
Maximum results

Response


Entity Timeline

Get event timeline for an entity.

Path Parameters

string
required
Entity ID

Query Parameters

number
Time window in hours
number
Maximum events

Response


Entity Events

Get entity events with impact scores and attribute changes.

Path Parameters

string
required
Entity ID

Query Parameters

number
Maximum events
string
ISO date string — only return events after this time

Response


Fact History

Get version history for a specific entity fact/attribute.

Path Parameters

string
required
Entity ID
string
required
Fact key (e.g., injury_status)

Query Parameters

number
Maximum versions

Response


Outcome Context

Get the context graph for a market outcome — entities, events, and facts that influence it.

Path Parameters

string
required
Outcome ID

Query Parameters

number
Time window in hours
number
Maximum nodes

Outcome Prices

Get cross-venue prices for a specific outcome.

Path Parameters

string
required
Outcome ID

Response


Outcome History

Get price history for an outcome.

Path Parameters

string
required
Outcome ID

Query Parameters

number
Hours of history to return

Response


Topic Discovery

Discover entities and markets related to a topic.

Path Parameters

string
required
Topic string (e.g., artificial-intelligence, nfl-playoffs)

Query Parameters

string
Filter by category
number
Maximum results
boolean
Include related markets

Response


Event Impact

Get the impact chain for an event — which entities and markets were affected.

Path Parameters

string
required
Event ID

Query Parameters

boolean
Include market impact data

Response


Top Movers

Get entities with the largest recent attribute or market changes.

Query Parameters

string
Scope filter
number
Time window in hours
number
Maximum results

Response


Mispricings

Get cross-venue mispricing opportunities.

Query Parameters

number
Minimum spread to include
string
Filter by category
number
Maximum results
boolean
Only return actionable mispricings

Response


Top Mispricings

Get the highest-spread mispricing opportunities.

Query Parameters

number
Maximum results

Response


Check Mispricing

Check if a specific outcome is mispriced across venues.

Path Parameters

string
required
Outcome ID to check

Response


Mispricing Stats

Get aggregate mispricing statistics.

Response


Cross-Venue Outcome

Get cross-venue pricing data for a specific outcome.

Path Parameters

string
required
Outcome ID

Response


Kalshi Overlapping

Get markets that overlap between Kalshi and Polymarket.

Response


Graph Stats

Get aggregate statistics for the graph database.

Response


Visualization

The graph responses are designed for direct use with visualization libraries:

D3.js Example

Cytoscape.js Example