Official Python SDK for the Graduate Oracle API — calibrated pump.fun probability scores, runner odds, creator history, smart-money positioning.
Project description
graduate-oracle
Official Python SDK for the Graduate Oracle API — calibrated pump.fun probability scores, runner odds, creator history, smart-money positioning, and forward-validated public accuracy receipts.
Install
pip install graduate-oracle
Quickstart
from graduate_oracle import GradOracle
# Mint a free key (200 calls/day) — save the returned key, we don't store it
key = GradOracle.mint_free_key("you@example.com")
client = GradOracle(api_key=key)
# Score a single mint
mint = client.probe("7xqURv1Pf3KJU2GjNsdb3oBYesQ1ZknyDeSXWULGpump")
print(f"grad_prob: {mint['grad_prob']*100:.0f}%")
print(f"5x from now: {mint['runner_prob_5x_from_now']*100:.0f}%")
print(f"smart money in: {mint.get('smart_money_in', 0)}")
# Top runners ranked by from-now upside
top = client.runners(tier="5x", min_prob=0.20)
for m in top["mints"]:
print(m["mint"], m["runner_prob_5x_from_now"])
# Mints with smart-money wallets currently in top buyers
active = client.smart_money_active(min_smart=2)
print(f"{active['count']} mints with 2+ smart wallets")
# Public calibration receipts (no auth needed)
acc = client.accuracy()
print(acc["self_correcting"], acc["drift"]["lifetime_rate"])
API surface
Every method returns a dict parsed from JSON:
| Method | Endpoint | Description |
|---|---|---|
client.live() |
GET /api/v1/live |
Full live universe, all signals |
client.probe(mint) |
GET /api/v1/probe/{mint} |
Single mint, full enrichment |
client.runners(tier="5x") |
GET /api/v1/runners |
Ranked by from-now upside |
client.smart_money_active() |
GET /api/v1/smart_money_active |
Mints with leaderboard wallets in |
client.wallet(addr) |
GET /api/v1/wallet/{addr} |
Wallet lifetime stats |
client.leaderboard(kind="smart") |
GET /api/v1/wallets/leaderboard |
Top wallets |
client.stats() |
GET /api/v1/stats |
Platform aggregates |
client.accuracy() |
GET /api/accuracy |
Public calibration receipts |
client.health() |
GET /health |
Liveness check |
Errors
Any non-2xx raises GradOracleError:
from graduate_oracle import GradOracle, GradOracleError
try:
client.probe("invalid_mint")
except GradOracleError as e:
print(e.status, e.body) # e.g. 404, {'detail': {'error': '...'}}
The SDK auto-retries with backoff on 503 (cold-start / observer warming) and connection errors — up to 3 attempts.
Pricing tiers
- Free — 200 calls/day, 5-min delayed live data
- Builder — 0.4 SOL/mo (~$80) — 5,000 calls/day, real-time, premium endpoints
- Pro — 1 SOL/mo (~$200) — 50,000 calls/day, webhooks
- Enterprise — websocket firehose, custom rate limits, white-label
See graduateoracle.fun/api for full pricing and the comparison table.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file graduate_oracle-0.1.0.tar.gz.
File metadata
- Download URL: graduate_oracle-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f6059ccb21c5a243332c6b764e048791797e2225d62dfa15b376d65da5cbfc9
|
|
| MD5 |
36239bf3fac8a37193807695fa16da68
|
|
| BLAKE2b-256 |
d0b542ab768b0ca6beccb1fa5157cd502c0225e386eace3c9f7f3ab30d1895ec
|
File details
Details for the file graduate_oracle-0.1.0-py3-none-any.whl.
File metadata
- Download URL: graduate_oracle-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cd8656a66093132ca546692ed3361bd5eee830ce5b60426cf074b7125f037b5
|
|
| MD5 |
14c082db518844789de84440f40c90f2
|
|
| BLAKE2b-256 |
f841671466c3e9b78af8743895a7d3f26ede12dab1712dade738c09cd28a6d5a
|