socialfi-api — the SocialFi API for any app (Python)
socialfi-api adds a social layer to any crypto app: login with X, wallets verified by a tiny on-chain payment, reviewed KOL badges, live trades and PnL of your users, leaderboards and copy trading — on Solana, BNB Chain, Base, Ethereum and Robinhood Chain. Sync and async.
Part of CabalSpy ID — the SocialFi layer for crypto apps. Website · Docs · API dashboard · Full SDK: cabalspy-id
pip install socialfi-api # live trade stream: pip install "socialfi-api[stream]"
from socialfi_api import CabalSpyID, CabalSpyIDAuth, verify_webhook
auth = CabalSpyIDAuth("csid_...", client_secret=os.environ["CSID_CLIENT_SECRET"], redirect_uri="https://your.app/callback")
req = auth.create_authorization_url(scope=["openid", "profile", "wallets"])
csid = CabalSpyID() # reads CABALSPY_ID_API_KEY / CABALSPY_API_KEY
board = csid.leaderboard(blockchain="solana", period="7d", sort="pnl_usd")
Contents: CabalSpyID / AsyncCabalSpyID (Data API), CabalSpyIDStream, CabalSpyIDAuth (OIDC), verify_webhook, errors and response types — the cabalspy_id.api module. Full reference: cabalspy-id README.
Versions follow cabalspy-id: 0.5.0 depends on cabalspy-id 0.5.0. This package contains no code of its own — it re-exports part of cabalspy-id, so behaviour, fixes and types are always the same.
License
MIT
Metadata
Release files for socialfi-api 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| socialfi_api-0.5.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| socialfi_api-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / socialfi_api-0.5.0.tar.gz
How to use checksums
a688061ea6186b09d9e3e33f53a94107a23166c8c90d45ec9fbcc22d5f86e99fHow to use checksums
e5e198b80c5ff00c2b300b99705f7b21058d499685e24b3d64e222b4f7b70cefWhat is trusted publishing?
twine/7.0.0 CPython/3.13.14Provenance
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency logIdentity
Workflow
Artifact
socialfi_api-0.5.0.tar.gza688061ea6186b09d9e3e33f53a94107a23166c8c90d45ec9fbcc22d5f86e99fVerifying attestations