Skip to main content

xoomar

Python client for the XOOMAR free market data API: 29 datasets from primary sources (SEC EDGAR and XBRL, FINRA, CFTC, the Federal Reserve, USAspending, exchange APIs) as clean JSON, no key needed to start.

pip install xoomar
from xoomar import Xoomar

x = Xoomar()                          # 30 requests a minute; Xoomar(api_key="...") for 120 with a free key

x.short_interest("GME")[0]            # FINRA short interest, newest settlement first
x.short_volume("GME", days=30)        # FINRA daily short sale volume
x.fails_to_deliver("GME")             # SEC fails to deliver
x.insiders("NVDA")                    # SEC Form 4 trades
x.large_holders("HIMS")               # Schedule 13D and 13G holders
x.financials("AAPL")["quarterly"]     # XBRL income statement by quarter
x.fund_holders("AMZN")                # which tracked 13F managers hold it
x.cot("gold")                         # CFTC positioning history
x.fed_liquidity()[-1]                 # net liquidity, oldest first, so [-1] is this week
x.funding_rates()                     # perpetual funding on three exchanges
x.bitcoin_treasuries()                # bitcoin on public balance sheets
x.form_d(days=7)                      # private placements filed this week
x.federal_contracts(ticker="LMT")     # federal contract actions

Every method returns the data part of the response. History endpoints keep the API's own order (short interest, insiders and COT newest first; short volume, fails to deliver and Fed liquidity oldest first), each row carries its date, so sort if you need one direction; x.last_meta holds updatedAt, source, license and attribution from the last call. x.get("short-interest", symbol="TSLA") calls any endpoint directly and x.csv("short-interest/csv") fetches a CSV download.

Full endpoint reference, fields and limits: https://xoomar.com/markets/api

Datasets

Short interest, daily short volume, fails to deliver, insider trades (Form 4), planned sales (Form 144), large holders (13D/13G), 13F fund holdings, company financials and buybacks (XBRL), 8-K events, structured products, federal contracts, Form D private placements, the IPO pipeline, bitcoin treasuries, CFTC COT, funding rates, open interest, liquidations, options, whale positions, sentiment, signals, ETF flows, prediction markets, Fed liquidity, macro, policy rates, economic calendar.

Rate limits and keys

30 requests a minute per IP without a key. A free account at https://xoomar.com/signup gives a key for 120 a minute; pass it as Xoomar(api_key=...). A 429 raises XoomarRateLimited with retry_after.

Data terms

When you republish the data, on a site, in an app, in an article, in a dataset or a chart, credit XOOMAR with a visible link to the dataset page on xoomar.com. What you may do with the data is set out at https://xoomar.com/terms.

License

Apache-2.0 for this client code, XOOMAR. The license covers the code only, not the data.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xoomar-0.1.3.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xoomar-0.1.3-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file xoomar-0.1.3.tar.gz.

File metadata

  • Download URL: xoomar-0.1.3.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for xoomar-0.1.3.tar.gz
Algorithm Hash digest
SHA256 fec21922da7a9bb808abcd2ba76e32f9be223f9744fdb5aed9576a8d5b575b54
MD5 83139f031be1df16c856269fb739cb2e
BLAKE2b-256 ec7dbf08ad98f08f309e971c7a3264509e0ae1715e06329aa2373a4122e0a25f

See more details on using hashes here.

File details

Details for the file xoomar-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: xoomar-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for xoomar-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1678d72851b922c278de1a9ac78be22cbdbc2a6446bb6f4ddc189388429bc359
MD5 0fd9d6045a1dcb7c2f46b4fd621a14ef
BLAKE2b-256 081a18f188ebe861a9e87b0fdd0d2381b47dc9305c4b87697aeaf75d1613e5c8

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 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