Skip to main content

bargo-congress

Official Python client for the Bargo Congress Trades API.

API docs: https://www.bargo.ai/free-apis/congress

Install

pip install bargo-congress

Usage

from bargo_congress import BargoCongressClient

client = BargoCongressClient(api_key="optional")

nvda = client.ticker_trades("NVDA", limit=2)
print(nvda["trades"])

Keyless usage also works:

from bargo_congress import BargoCongressClient

client = BargoCongressClient()
stats = client.stats()
print(stats)

Methods

  • client.health()
  • client.stats()
  • client.members(limit=100)
  • client.member("member-slug", limit=100)
  • client.trades(ticker="NVDA", limit=2)
  • client.trades(member="sheldon-whitehouse", limit=10)
  • client.ticker_trades("NVDA", limit=2)

Aliases are also available: get_trades, get_ticker_trades, get_members, get_member, get_stats, and get_health.

Limits

  • Keyless: 30 requests/day and 100 rows/day per IP
  • Free API key: 100 requests/day and 1,000 rows/day
  • Page size: up to 100 rows keyless, up to 250 rows with a key

Quotas are reported per response in the X-RateLimit-* headers. Treat those as authoritative.

Attribution

If you display Bargo Congress API data publicly, include visible attribution linking to Bargo.

Metadata

Release files for bargo-congress 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 bargo-congress 0.1.0
File Size Uploaded Provenance
bargo_congress-0.1.0.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bargo-congress 0.1.0
File Interpreter ABI Platform
bargo_congress-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / bargo_congress-0.1.0.tar.gz

Download URL bargo_congress-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8f4a3592d9fff9d47308a8531ecd5fee70a201ffe63c69884641d54e27bf9ee5
BLAKE2b-256 checksum
How to use checksums
331e379f299e362bf7daeb527cce5224133ce500363e57ac8d69ea89e903e4ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

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

Download URL bargo_congress-0.1.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1ab6b3b23b57f78d82c2da664858c033dc5d6c358aeefaf9d3c2cdee4d878be
BLAKE2b-256 checksum
How to use checksums
6607422995e047a76ce7175a371f46e94a2e06c4c5f1e10814a50a0e6f580169
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for bargo-congress 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