Intent Operations
Parse Intent
Parse natural language command into transaction parameters
POST
Authorization
Bearer token. Format:
Bearer bookie_live_abc123def456Body Parameters
Solana wallet address. Format: Base58 encoded public key
Natural language command. Max 500 characters.Examples: “Swap 5 SOL for USDC”, “Send 10 USDC to alice.sol”
Slippage tolerance in basis points. Default: 50 (0.5%)Range: 1-1000 (0.01% - 10%)
Priority fee in microlamports. Default: 1000Higher values increase transaction priority during congestion
Response
Unique intent identifier. Format:
intent_<16 chars>Parsed action type. Options:
swap, transfer, queryExtracted transaction parametersProperties:
inputToken(string): Input token mint addressoutputToken(string): Output token mint addressamount(number): Amount in base units (lamports)recipient(string): Recipient address (for transfers)
Jupiter routing information (for swaps)Properties:
inAmount(string): Input amountoutAmount(string): Expected output amountpriceImpact(number): Price impact percentagemarketInfos(array): DEX routing details
Intent parsing confidence score (0-1)