StellarExpert Open APIs are publicly available for developers, free of charge.
Open API enpoints do not require authentication and can be used directly from the browser.
This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with W3C spec. And that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.
The effective API request rate may be a subject to rate limiting. In such cases the server returns 429 HTTP status code error. To avoid potential problems caused by those limitations it is advised to consider response caching or group queries on the caller side in case of heavy API utilization.
Returns the list of directory entries with paging navigation links. Optionally filtered by address, tag, or arbitrary search string. This API endpoint follows Stellar Horizon API response format convention. A response result contains records and navigation links.
Fetch information about multiple accounts in one call
curl -g "https://api.stellar.expert/explorer/directory?address[]=GA6HCMBLTZS5VYYBCATRBRZ3BZJMAFUDKYYF6AH6MVCMGWMRDNSWJPIH&address[]=GAP5LETOV6YIE62YAM56STDANPRDO7ZFDBGSNHJQIYGGKSMOZAHOOS2S"
Search for Kraken's deposit account
curl "https://api.stellar.expert/explorer/directory?search=kraken"
Find accounts tagged as malicious or unsafe
curl -g "https://api.stellar.expert/explorer/directory?tag[]=malicious&tag[]=unsafe"
Lookup addresses reported for "staking"-related scams
curl -g "https://api.stellar.expert/explorer/directory?tag[]=malicious&search=stacking"
address | Array of strings (AccountAddress) [ 1 .. 50 ] items unique [ items/^G[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]{55}$/ ] Example: address=GA2VRL65L3ZFEDDJ357RGI3MAOKPJZ2Z3IJTPSC24I4KDTNFSVEQURRA Applies a filter by the addresses list (up to 50 per request) |
tag | Array of strings [ 1 .. 10 ] items unique Example: tag=custodian&tag=anchor Applies a filter by tags |
search | string >= 5 characters Applies a full-test search filter by an entry address, name, or domain |
cursor | string (AccountAddress) /^G[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]{55}$/ Example: cursor=GAB6FD5BCBVVQINU5USYV5K4JDAEO6RDL2GZU4K5BILPI6B4FIOF6QWW An address from which to continue search (refers to the |
order | string (ResultsSortOrder) Enum: "asc" "desc" Example: order=desc Results sorting order |
limit | number (ResultsLimit) [ 1 .. 200 ] Default: 10 Example: limit=10 Results data page size |
{- "_links": {
- "self": {
- "href": "/explorer/directory?sort=address&order=asc&limit=2"
}, - "prev": {
- "href": "/explorer/directory?sort=address&order=desc&cursor=GA272U6UMNKYOBDCLH5CDAPZVDG4WAGJWFY2S2RV2DN6YSSOGYECEVOF&limit=2"
}, - "next": {
- "href": "/explorer/directory?sort=address&order=asc&cursor=GA2VRL65L3ZFEDDJ357RGI3MAOKPJZ2Z3IJTPSC24I4KDTNFSVEQURRA&limit=2"
}
}, - "_embedded": {
- "records": [
- {
- "address": "GA272U6UMNKYOBDCLH5CDAPZVDG4WAGJWFY2S2RV2DN6YSSOGYECEVOF",
- "paging_token": "GA272U6UMNKYOBDCLH5CDAPZVDG4WAGJWFY2S2RV2DN6YSSOGYECEVOF",
- "name": "Phishing account",
- "tags": [
- "malicious"
]
}, - {
- "address": "GA2VRL65L3ZFEDDJ357RGI3MAOKPJZ2Z3IJTPSC24I4KDTNFSVEQURRA",
- "paging_token": "GA2VRL65L3ZFEDDJ357RGI3MAOKPJZ2Z3IJTPSC24I4KDTNFSVEQURRA",
- "domain": "stellar.org",
- "name": "SDF Escrow Jan 1 2023",
- "tags": [
- "sdf",
- "custodian"
]
}
]
}
}
Returns Directory information for a given account address.
address required | string (AccountAddress) /^G[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]{55}$/ Example: GA2VRL65L3ZFEDDJ357RGI3MAOKPJZ2Z3IJTPSC24I4KDTNFSVEQURRA The address of the account to check |
{- "address": "GA2VRL65L3ZFEDDJ357RGI3MAOKPJZ2Z3IJTPSC24I4KDTNFSVEQURRA",
- "paging_token": "GA2VRL65L3ZFEDDJ357RGI3MAOKPJZ2Z3IJTPSC24I4KDTNFSVEQURRA",
- "domain": "stellar.org",
- "name": "SDF Escrow Jan 1 2023",
- "tags": [
- "sdf",
- "custodian"
]
}
[- {
- "name": "exchange",
- "description": "Centralized exchange account"
}, - {
- "name": "anchor",
- "description": "Operational account of an anchor"
}, - {
- "name": "issuer",
- "description": "Well known asset issuer account"
}, - {
- "name": "wallet",
- "description": "Shared account that belongs to a wallet"
}, - {
- "name": "custodian",
- "description": "Reserved, custodian account, or cold wallet"
}, - {
- "name": "malicious",
- "description": "Account involved in theft/scam/spam/phishing"
}, - {
- "name": "unsafe",
- "description": "Obsolete or potentially dangerous account"
}, - {
- "name": "personal",
- "description": "Personal signing key or account address"
}, - {
- "name": "sdf",
- "description": "Account under the custody of SDF"
}, - {
- "name": "memo-required",
- "description": "Destination requires transaction memo"
}, - {
- "name": "airdrop",
- "description": "Airdrop distribution account"
}
]
Returns the list of domains reported by the community for fraudulent acitivity. This API endpoint follows Stellar Horizon API response format convention. A response result contains records and navigation links.
search | string >= 2 characters Example: search=org.ro Case-insesitive search by domain or part of the domain |
cursor | string An address from which to continue search (refers to the |
order | string (ResultsSortOrder) Enum: "asc" "desc" Example: order=desc Results sorting order |
limit | number (HugeResultsLimit) [ 1 .. 1000 ] Default: 1000 Example: limit=100 Results data page size |
{- "_links": {
- "self": {
- "href": "/explorer/directory/blocked-domains/?order=asc&limit=2"
}, - "prev": {
- "href": "/explorer/directory/blocked-domains/?order=desc&limit=2&cursor=agrogenesis.in"
}, - "next": {
- "href": "/explorer/directory/blocked-domains/?order=asc&limit=2&cursor=airdrop-info.vwv.pw"
}
}, - "_embedded": {
- "records": [
- {
- "domain": "agrogenesis.in",
- "paging_token": "agrogenesis.in"
}, - {
- "domain": "airdrop-info.vwv.pw",
- "paging_token": "airdrop-info.vwv.pw"
}
]
}
}
Searches through the blocked malicious domains list to determine if the requested domain or its top-level domain is in the blocklist.
domain required | string Example: stellar.org.am Domain to verify (case-insensitive) |
{- "domain": "sub.stellar.org.am",
- "blocked": true
}
Returns a list of assets that exist on Stellar network. It support searching by asset code, issuer, home domain, and metadata from associated stellar.toml
file.
Possible sorting options:
rating
- composite asset rating derived from on-chain statscreated
- asset agepayments
- total number of paymentstrades
- total number of tradestrustlines
- number of established trustlinesvolume
- overall trading volumevolume7d
- weekly trading volumenetwork required | string (Network) Enum: "public" "testnet" Example: testnet Stellar network |
search | string Example: search=dollar Arbitrary search term (asset code, issuer, associated home domain, or information from asset TOML metadata) |
sort | string Default: "rating" Enum: "rating" "created" "payments" "trades" "trustlines" "volume" "volume7d" Results sorting parameter |
order | string (ResultsSortOrder) Enum: "asc" "desc" Example: order=desc Results sorting order |
limit | number (ResultsLimit) [ 1 .. 200 ] Default: 10 Example: limit=10 Results data page size |
cursor | integer A position from which to continue search (refers to the |
{- "_links": {
- "self": {
- "href": "/explorer/public/asset?order=desc&limit=2"
}, - "prev": {
- "href": "/explorer/public/asset?order=asc&limit=2&cursor=1"
}, - "next": {
- "href": "/explorer/public/asset?order=desc&limit=2&cursor=2"
}
}, - "_embedded": {
- "records": [
- {
- "asset": "yXLM-GARDNV3Q7YGT4AKSDF25LT32YSCCW4EV22Y2TV3I2PU2MMXJTEDL5T55-1",
- "traded_amount": 102588436626011460,
- "payments_amount": 12492248403205108,
- "created": 1615892870,
- "supply": 1669015135707318,
- "trustlines": {
- "total": 32266,
- "authorized": 32266,
- "funded": 19335
}, - "trades": 13363178,
- "payments": 13405766,
- "domain": "ultrastellar.com",
- "tomlInfo": {
- "orgName": "Ultra Stellar LLC dba Ultra Stellar",
- "status": "live",
- "anchorAssetType": "crypto",
- "anchorAsset": "XLM"
}, - "rating": {
- "age": 7,
- "trades": 10,
- "payments": 9,
- "trustlines": 7,
- "volume7d": 10,
- "interop": 10,
- "liquidity": 10,
- "average": 9
}, - "paging_token": 1
}, - {
- "asset": "USDC-GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN-1",
- "traded_amount": 18134208266562304,
- "payments_amount": 24664489154530540,
- "created": 1611089770,
- "supply": 1800404216565311,
- "trustlines": {
- "total": 138801,
- "authorized": 138801,
- "funded": 27503
}, - "trades": 20324688,
- "payments": 2862354,
- "domain": "centre.io",
- "tomlInfo": {
- "orgName": "Centre Consortium LLC dba Centre Consortium",
- "name": "USD Coin",
- "anchorAssetType": "fiat",
- "anchorAsset": "USD"
}, - "rating": {
- "age": 7,
- "trades": 10,
- "payments": 8,
- "trustlines": 8,
- "volume7d": 10,
- "interop": 4,
- "liquidity": 10,
- "average": 8.1
}, - "paging_token": 2
}
]
}
}
To solve the problem of assets ranking on StellarExpert, we designed a system of technical indicators based purely on the ledger activity, including
All indicators are calculated on the logarithmic scale to normalize distribution for assets with high trading/transfer activity. The compound rating calculated as the average of all seven indicators can be used to roughly estimate the popularity of any Stellar asset purely from the technical point of view.
network required | string (Network) Enum: "public" "testnet" Example: testnet Stellar network |
asset required | string (Asset) Example: BTC-GDKIIIL2YPRSCSFAYT7FQCH4VXF34YNBIORTYCOKJK5CZ762LX2ND4L4 Target asset |
{- "asset": "ABC-GAKP6AHQM4JDI55SK2FGEPLOZU7BTEODS3Y5QNT3VMQQIU3WM99T0L4C-1",
- "rating": {
- "age": 9,
- "trades": 6,
- "payments": 10,
- "trustlines": 10,
- "volume7d": 10,
- "interop": 3,
- "liquidty": 8,
- "average": 8
}
}
Returns a list of all accounts holding non-zero amount of the given asset sorted by the balance size. Accounts with an established trustline but with zero balance excluded from the results set. This API endpoint follows Stellar Horizon API response format convention. A response result contains records and navigation links.
network required | string (Network) Enum: "public" "testnet" Example: testnet Stellar network |
asset required | string (Asset) Example: BTC-GDKIIIL2YPRSCSFAYT7FQCH4VXF34YNBIORTYCOKJK5CZ762LX2ND4L4 Target asset |
{- "_links": {
- "self": {
- "href": "/explorer/public/asset/EURT-GAP5LETOV6YIE62YAM56STDANPRDO7ZFDBGSNHJQIYGGKSMOZAHOOS2S/holders?order=desc&limit=2"
}, - "prev": {
- "href": "/explorer/public/asset/EURT-GAP5LETOV6YIE62YAM56STDANPRDO7ZFDBGSNHJQIYGGKSMOZAHOOS2S/holders?order=asc&limit=2&cursor=AAAFOSpHRlQAeBsb"
}, - "next": {
- "href": "/explorer/public/asset/EURT-GAP5LETOV6YIE62YAM56STDANPRDO7ZFDBGSNHJQIYGGKSMOZAHOOS2S/holders?order=desc&limit=2&cursor=AAACXn0v0QUAsZIb"
}
}, - "_embedded": {
- "records": [
- {
- "account": "GCWGHBQLVZ6QXV7OLHBCFHNPWOCSWGRZ7DTW44BN4IQ7QYVRX3JYPJ7E",
- "balance": "5965453988886",
- "paging_token": "AAAFOSpHRlQAeBsb"
}, - {
- "account": "GAFBGZANI7JRXABPEERQGBTFS3AG67M4ZQTMT2VIMWZ6BY4K64QK3D3U",
- "balance": "2604850467077",
- "paging_token": "AAACXn0v0QUAsZIb"
}
]
}
}
Retrieves a relative account balance position among all accounts holding a particular asset.
network required | string (Network) Enum: "public" "testnet" Example: testnet Stellar network |
asset required | string (Asset) Example: BTC-GDKIIIL2YPRSCSFAYT7FQCH4VXF34YNBIORTYCOKJK5CZ762LX2ND4L4 Asset used for rating calculation |
account required | string (AccountAddress) /^G[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]{55}$/ Example: GAB6FD5BCBVVQINU5USYV5K4JDAEO6RDL2GZU4K5BILPI6B4FIOF6QWW Account address to check |
{- "account": "GDKIJJIKXLOM2NRMPNQZUUYK24ZPVFC6426GZAEP3KUK6KEJLACCWNMX",
- "asset": "XLM",
- "balance": "39065991792893022",
- "position": 3,
- "total": 7159959
}
Asset supply endpoint returns the total issued supply for an asset. It is handy for displaying the total number of tokens on the website or providing relevant information to third-party platforms. For example, aggregators often require an API endpoint to track the asset supply.
network required | string (Network) Enum: "public" "testnet" Example: testnet Stellar network |
asset required | string (Asset) Example: EURT-GAP5LETOV6YIE62YAM56STDANPRDO7ZFDBGSNHJQIYGGKSMOZAHOOS2S Target asset |
1203229.6298700
Resolves ledger sequence with a finalization time equal or less than a given timestamp. If the timestamp indicates some time in the future or, vise versa, less than the closing time of the first ledger, server returns 404 Not Found error.
network required | string (Network) Enum: "public" "testnet" Example: public Stellar network |
required | string or integer Example: timestamp=1642597270 Timestamp to search (UNIX time or RFC 3339 timestamp) |
{- "sequence": 42431435,
- "timestamp": 1661781078,
- "date": "2022-08-29T13:51:18.000Z"
}
Resolves ledger closing timestamp for a give ledger sequence.
network required | string (Network) Enum: "public" "testnet" Example: public Stellar network |
sequence required | integer >= 1 Example: sequence=32590807 Ledger sequence |
{- "sequence": 42431435,
- "timestamp": 1661781078,
- "date": "2022-08-29T13:51:18.000Z"
}