Skip to main content

origifix-apis

Python client for the Origifix data APIs, published on RapidAPI.

pip install origifix-apis

You need a RapidAPI key: subscribe to a product (free tier available) on its RapidAPI listing page, then copy your key from the "X-RapidAPI-Key" field on the Endpoints/test page.

CPSC Product Recall Lookup

from origifix import CPSCClient

client = CPSCClient(api_key="YOUR_RAPIDAPI_KEY")
result = client.get_recalls(recall_date_start="2026-01-01", limit=20)
print(result["count"], "recalls")
for r in result["recalls"]:
    print(r["record_date"], r["product_description"])

GDACS Global Disaster Alerts

from origifix import GDACSClient

client = GDACSClient(api_key="YOUR_RAPIDAPI_KEY")
result = client.get_events(event_types="EQ", alert_level="Orange,Red")
print(result["count"], "active events")

Error handling

All network/HTTP errors raise origifix.OrigifixAPIError:

from origifix import CPSCClient, OrigifixAPIError

client = CPSCClient(api_key="YOUR_RAPIDAPI_KEY")
try:
    client.get_recalls()
except OrigifixAPIError as e:
    print("Request failed:", e, "status:", e.status_code)

More products

NASA FIRMS, SEC EDGAR, and OSHA clients are coming soon as they're published on RapidAPI. See api.origifix.com/docs for the full live API reference.

License

MIT

Metadata

Release files for origifix-apis 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 origifix-apis 0.1.0
File Size Uploaded
origifix_apis-0.1.0.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for origifix-apis 0.1.0
File Interpreter ABI Platform
origifix_apis-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.5 kB

Release files / origifix_apis-0.1.0.tar.gz

Download URL origifix_apis-0.1.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2eb478ac845ba5786b7237e214773168ab6ae6657d8248a373556d3ef9ae849b
BLAKE2b-256 checksum
How to use checksums
e2ae174b47aac1345d5203834897ab7a44159a344d4f844756824bb093fc1b1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

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

Download URL origifix_apis-0.1.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4208f3aff8544b283b90deb1ed9512f98c23afc236f6d9faefc7947b49c209dd
BLAKE2b-256 checksum
How to use checksums
d0236fa0e938424658b95428a45c8b35c0dc8cc033b88f109de170c3574f8e20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

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