Skip to main content

Polymarket Data Fetcher

Polymarket Data Fetcher is a Python package that allows you to easily fetch historical odds data from Polymarket for specific market outcomes.

Installation

You can install the Polymarket Data Fetcher using pip:

Usage

Here's a basic example of how to use the Polymarket Data Fetcher:

from polymarket_data_fetcher import PolymarketDataFetcher

# Initialize the fetcher
pm = PolymarketDataFetcher()

# Define the parameters
slug = "will-donald-trump-win-the-2024-us-presidential-election"
start_date = "2024-01-01"  # yyyy-mm-dd format
fidelity = "1440"  # daily data

# Fetch historical odds for a market
odds = pm.get_historical_odds(slug, start_date, fidelity)

# Display the results
print(odds)

Metadata

Release files for polymarket-py 0.1.0

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

Source distribution (sdist)

Source distribution for polymarket-py 0.1.0
File Size Uploaded Provenance Actions
polymarket_py-0.1.0.tar.gz 2.9 kB Without provenance Details for polymarket_py-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for polymarket-py 0.1.0
File Interpreter ABI Platform Actions
polymarket_py-0.1.0-py3-none-any.whl Python 3 none any Details for polymarket_py-0.1.0-py3-none-any.whl

Total release size: 6.2 kB

Release files / polymarket_py-0.1.0.tar.gz

Download URL polymarket_py-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d8c1b96e68cc8e63a32a1001809c79ea4957d117f3d66f14b768b363fc6b2cf1
BLAKE2b-256 checksum
How to use checksums
089770b8c86f77bc52e280aedc68713d2042af739ad1f42f70ef88703db9fa69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release files / polymarket_py-0.1.0-py3-none-any.whl

Download URL polymarket_py-0.1.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
312c240516b8291aa4945465c896bf48a8849a685bf2fedaf33fa092865db4a5
BLAKE2b-256 checksum
How to use checksums
00c23f10b6fa86532597e759e11413a39c596cbe4201168508474e0ee633c17d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Security for polymarket-py 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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