Skip to main content

falcon-polymarket

Python client for the Falcon AI Polymarket external API.

Install

pip install falcon-polymarket

Local development:

pip install -e packages/falcon-polymarket-python

Quick start

Set FALCON_API_KEY (from Developer Keys) or pass explicitly:

from falcon_polymarket import FalconPolymarketClient

with FalconPolymarketClient() as client:
    print(client.health())
    for market in client.iter_markets(status="active", limit=10):
        print(market["title"], market.get("yes_price"))
    board = client.get_leaderboard(limit=5, sort_by="total_realized_pnl")
    print(board)
    ticks = client.price_ticks("0x...", hours=1)
    print(len(ticks), "sub-minute ticks")

Staging:

client = FalconPolymarketClient(
    api_key="aif_...",
    base_url="https://api-test.falconai.bot/api/v1/external/polymarket",
)

Methods

  • health(), usage()
  • list_markets(), iter_markets(), get_market() — event_slug filter on list
  • list_events(), get_event(), list_series(), get_series()
  • get_orderbook(), orderbook_history() — include_levels for recent L2 rows
  • price_ticks() — sub-minute CLOB WebSocket ticks
  • list_trades(), get_trader(), get_trader_stats()
  • get_leaderboard(), get_copy_picks(), get_positions()
  • run_backtest()

See the API reference for parameters and tiers.

Release files for falcon-polymarket 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for falcon-polymarket 0.1.1
File Size Uploaded
falcon_polymarket-0.1.1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for falcon-polymarket 0.1.1
File Interpreter ABI Platform
falcon_polymarket-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / falcon_polymarket-0.1.1.tar.gz

Download URL falcon_polymarket-0.1.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d6af3f397bed32ee6d12634d3ba4554f5e28630da8bbedc1ab4094cded7919ed
BLAKE2b-256 checksum
How to use checksums
d807b3189ddcac3b4867523d146f0e5aebc62aa206e0f345765c361b39919b20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release files / falcon_polymarket-0.1.1-py3-none-any.whl

Download URL falcon_polymarket-0.1.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d2f547a1bc46940702ddae21412d0155297ca0786deaaa0a486385c0ad6a939
BLAKE2b-256 checksum
How to use checksums
35e864cd9b8d4094855dc9d10fec33fc312bc6a06096ba930f0eea0a5d880c74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page