Skip to main content

Official Python SDK for the Noesis on-chain intelligence API — Solana token & wallet analytics.

Project description

noesis-python

Official Python SDK for the Noesis on-chain intelligence API.

PyPI Python License Website


Install

pip install noesis-api

Quick start

from noesis import Noesis

client = Noesis(api_key="se_...")

# Token preview
preview = client.token.preview("<MINT>")
print(preview)

# Wallet profile
wallet = client.wallet.profile("<ADDRESS>")
print(wallet)

# Bundle detection
bundles = client.token.bundles("<MINT>")
print(bundles)

Get an API key at noesisapi.dev/keys.

Live streams

from noesis import Noesis

client = Noesis(api_key="se_...")

for token in client.streams.pumpfun_new_tokens():
    print("New token:", token)

Available streams: pumpfun_new_tokens, pumpfun_migrations, raydium_new_pools, meteora_new_pools.

API

Token

client.token.preview(mint, chain="sol")
client.token.scan(mint, chain="sol")
client.token.info(mint, chain="sol")
client.token.top_holders(mint, chain="sol")
client.token.holders(mint, chain="sol", limit=100, cursor=None)
client.token.bundles(mint)
client.token.fresh_wallets(mint)
client.token.team_supply(mint, chain="sol")
client.token.entry_price(mint, chain="sol")
client.token.dev_profile(mint, chain="sol")
client.token.best_traders(mint, chain="sol")
client.token.early_buyers(mint, hours=1, chain="sol")

Wallet

client.wallet.profile(address, chain="sol")
client.wallet.history(address, chain="sol", limit=20, type=None, source=None, before=None)
client.wallet.connections(address, min_sol=0.1, max_pages=20)
client.wallet.batch_identity(addresses)
client.wallet.cross_holders(tokens)
client.wallet.cross_traders(tokens)

Chain / on-chain

client.chain.status()
client.chain.account(address)
client.chain.accounts_batch(addresses)
client.chain.parse_transactions(signatures)

Error handling

Non-2xx responses raise a typed subclass of NoesisError:

import time
from noesis import (
    Noesis, NoesisError,
    NoesisAuthError, NoesisNotFoundError, NoesisRateLimitError,
)

client = Noesis(api_key="se_...")

try:
    client.token.preview("<MINT>")
except NoesisRateLimitError as e:
    # e.limit == "1 request/5 seconds"
    # e.limit_type == "Light" | "Heavy" | "VeryHeavy"
    # e.signed_in is a bool
    time.sleep(e.retry_after_seconds or 5)
except NoesisAuthError:
    print("Invalid or missing API key")
except NoesisNotFoundError:
    print("Wallet/token/route not found")
except NoesisError as e:
    print(e.status, e.message, e.details)

retry_after_seconds reads the JSON body and falls back to the Retry-After response header.

Context manager

with Noesis(api_key="se_...") as client:
    data = client.token.preview("<MINT>")

License

MIT — see LICENSE.

Links

Project details


Download files

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

Source Distribution

noesis_api-0.3.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

noesis_api-0.3.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file noesis_api-0.3.0.tar.gz.

File metadata

  • Download URL: noesis_api-0.3.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for noesis_api-0.3.0.tar.gz
Algorithm Hash digest
SHA256 78301ccf738c67ee4d4445c3cb8d745534edeb9a48107df1f25f807fc96890db
MD5 cfcd3aeebd638172d621eee5234f07e3
BLAKE2b-256 f1d7840478a86df64a1ca7588049aba5b306209d190fcc755c34e50bb35ad4ba

See more details on using hashes here.

File details

Details for the file noesis_api-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: noesis_api-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for noesis_api-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4141f4f9c071d013d48f8d9b7a941abacd4294b28f430bfe2cafa54d46a3696e
MD5 dc2a7ab55dc5f271d13b398f8ef5094b
BLAKE2b-256 0873b153e0b21650ef17a324ee062ead87c89672c2def630390609bd0283b1be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page