get_shield
Check token security warnings via Jupiter Ultra Shield before trading. Verify mint/freeze authority and listing status to avoid scam tokens. Supports multiple mints per request.
Instructions
Get token security information via Jupiter Ultra Shield API.
This function is FREE to call and does not execute any transactions.
Use this to check token security before making trades. Essential for avoiding scam tokens.
IMPORTANT: You can check MULTIPLE tokens in a single request by comma-separating mints!
This is much more efficient than making multiple individual requests.
Args:
mints: Comma-separated list of token mint addresses to check
Example: "mint1,mint2,mint3" (no spaces between commas)
No specific limit mentioned in API docs
Returns:
Dictionary containing:
- success: Boolean indicating if the request was successful
- data: A "warnings" object with mint addresses as keys, each containing an array of warnings
- error: Error message if request failed
Warning Types and Severities:
Info level warnings:
- NOT_VERIFIED: Token is not verified, double-check mint address
- LOW_ORGANIC_ACTIVITY: Token has low organic trading activity
- NEW_LISTING: Token is newly listed
- HAS_MINT_AUTHORITY: Owner can mint more tokens (dilution risk)
Warning level warnings:
- HAS_FREEZE_AUTHORITY: Owner can freeze your tokens (high risk!)
- Transfer tax tokens are disabled on Jupiter frontend
Example:
>>> # Check security for multiple tokens at once
>>> mints = "So11111111111111111111111111111111111111112,EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v,someTokenMint"
>>> result = await api.get_shield(mints=mints)
>>> if result["success"]:
... warnings = result["data"]["warnings"]
... for mint, mint_warnings in warnings.items():
... if mint_warnings:
... print(f"
ā ļø Warnings for {mint}:") ... for warning in mint_warnings: ... severity_icon = "š“" if warning["severity"] == "warning" else "š”" ... print(f" {severity_icon} {warning['type']}: {warning['message']}") ... else: ... print(f"ā {mint}: No warnings found")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mints | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||