Skip to main content

socialfi-api — the SocialFi API for any app (Python)

PyPI ci license

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)

Source distribution for socialfi-api 0.5.0
File Size Uploaded
socialfi_api-0.5.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for socialfi-api 0.5.0
File Interpreter ABI Platform
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

Download URL socialfi_api-0.5.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a688061ea6186b09d9e3e33f53a94107a23166c8c90d45ec9fbcc22d5f86e99f
BLAKE2b-256 checksum
How to use checksums
e5e198b80c5ff00c2b300b99705f7b21058d499685e24b3d64e222b4f7b70cef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

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 log

Release files / socialfi_api-0.5.0-py3-none-any.whl

Download URL socialfi_api-0.5.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c026c0323b9896b0b96509bd11431c3a312467447285cdd85cefa7d4602e1c0d
BLAKE2b-256 checksum
How to use checksums
61be63a8f68825d6536c76ecd30e631a844af14a2ce1a30207068699b61f4805
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

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 log

Release history Release notifications | RSS feed

This release

0.5.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