BlackSwan Quickstart: Fetch Your First Credit Score
Fetch a wallet’s trust ratio, credit tier, and APR recommendation from BlackSwan using the REST API, JavaScript SDK, or Python SDK in under 2 minutes.
In this quickstart you’ll fetch a real wallet’s credit dashboard from the BlackSwan API — including its trust ratio, credit tier, current APR, and loan history. No API key, no account, and no contract deployment required. Pick the approach that fits your stack and you’ll have live credit data in your terminal within two minutes.
REST API
JavaScript
Python
Send a single GET request to the /v1/credit/{address} endpoint. Replace the address with any wallet you want to score.
Append the optional ?network=sepolia query parameter to query Ethereum Sepolia instead of the default Amoy network. For example: curl "https://api.blackswanfinance.xyz/v1/credit/0x4EEA...?network=sepolia".