API
This page documents the API that powers sugar.money
SDKs
Authentication
Rate Limiting
API Features
Base URL
Coin address/mint
Time resolution for candlestick data
Offset for pagination
0Number of candlesticks to return
End timestamp
Whether this is the first data request
Candlestick data retrieved successfully
Bad request
Internal server error
Session authentication cookie
Coin address/mint
Comment text
Comment created successfully
Unauthorized
Internal server error
Coin address/mint
Page number
0Number of comments per page
40Comments retrieved successfully
Internal server error
Session authentication cookie
Coin address/mint
Coin deletion result
Unauthorized
Internal server error
Session authentication cookie
Coin address/mint
Coin marked as favorite
Bad request
Unauthorized
Internal server error
Session authentication cookie
Coin address/mint
Coin removed from favorites
Bad request
Unauthorized
Internal server error
Coin address/mint
Page number
0Number of trades per page
20Trading history retrieved successfully
Internal server error
Session authentication cookie
Unique file identifier
Current chunk index
Total number of chunks
Base64 encoded chunk data
Operation type (coin-creation-via-api or ipfs-url-for-metadata)
Metadata uploaded successfully
IPFS URL string response for ipfs-url-for-metadata operation
Bad request
Unauthorized
Internal server error
Session authentication cookie
Coin minting information retrieved successfully
Coin mint information
Unauthorized
Internal server error
Session authentication cookie
File ID from metadata upload
IPFS URL for original image
IPFS URL for metadata
Whether to migrate in PSOL
Coin created successfully
Bad request
Unauthorized
Internal server error
Page number
0Filter type
Minimum bonding curve value
Maximum bonding curve value
Minimum market cap
Maximum market cap
Minimum coin age
Maximum coin age
Comma-separated strings to include
Comma-separated strings to exclude
Minimum number of coin holders
Maximum number of coin holders
Hide NSFW content
SOL price in USD
Coins retrieved successfully
Internal server error
Session authentication cookie
Number of tickets to use
Game created successfully
Bad request
Unauthorized
Internal server error
Session authentication cookie
Page number
0Page size
10Game history retrieved successfully
Unauthorized
Internal server error
Session authentication cookie
Grid index to reveal
Game ID
Game updated successfully
Bad request
Unauthorized
Internal server error
Session authentication cookie
Signed transaction
Recent blockhash
Last valid block height
Transaction nonce
Payout submitted successfully
Unauthorized
Internal server error
Session authentication cookie
Exchange rate retrieved successfully
Exchange rate value for converting points to tickets
Unauthorized
Internal server error
Session authentication cookie
Referral code to check
Code existence checked successfully
Bad request
Unauthorized
Internal server error
Session authentication cookie
Referral code to link
Referral code linked successfully
Bad request
Unauthorized
Internal server error
Session authentication cookie
Referral code to create
Referral code created successfully
Bad request
Unauthorized
Internal server error
Session authentication cookie
Payout progress retrieved successfully
Unauthorized
Internal server error
Session authentication cookie
Signed transaction
Recent blockhash
Last valid block height
Transaction nonce
Payout submitted successfully
Unauthorized
Internal server error
Session authentication cookie
Exchange rate retrieved successfully
Exchange rate for tickets to SOL
Unauthorized
Internal server error
Session authentication cookie
Maximum amount retrieved successfully
Maximum number of tickets that can be cashed out
Unauthorized
Internal server error
Session authentication cookie
Number of tickets to cash out
Payout requested successfully
Bad request
Unauthorized
Internal server error
Session authentication cookie
Signed transaction
Recent blockhash
Last valid block height
Transaction nonce
Payout submitted successfully
Unauthorized
Internal server error
Session authentication cookie
Transaction signature to check
Transaction status retrieved successfully
Bad request
Unauthorized
Internal server error
Session authentication cookie
Serialized transaction data
Coin mint address
Recent blockhash for the transaction
Last valid block height for the transaction
Transaction signed successfully
Unauthorized
Internal server error
Session authentication cookie
Coin address/mint
Trade metrics retrieved successfully
Unauthorized
Internal server error
Session authentication cookie
Payout progress retrieved successfully
Unauthorized
Internal server error
Session authentication cookie
Payout requested successfully
Unauthorized
Internal server error
Session authentication cookie
Signed transaction
Recent blockhash
Last valid block height
Transaction nonce
Payout submitted successfully
Unauthorized
Internal server error
Session authentication cookie
SOL price in USD
User holdings retrieved successfully
Unauthorized
Internal server error
Session authentication cookie
User preferences updated successfully
Bad request
Unauthorized
Internal server error
Last updated