A bottle o' enchanting is thrown to release experience orbs around its impact point. Its inventory item ID is minecraft:experience_bottle, and the Java item stacks to 64. Item reference, Mojang item registry
In Bedrock's regular cleric trade data, a later trade sells a bottle o' enchanting for a listed base price of three emeralds. See Trading for the broader trading system. Mojang cleric trades
Bottles o' enchanting also occur in Bedrock's pillager-outpost chest loot table. Mojang outpost loot
The inventory item uses minecraft:experience_bottle; Bedrock's thrown projectile is named minecraft:xp_bottle. The projectile identifier is not a separate inventory item. The numerical XP range and obtaining details above are sourced from Bedrock data. Mojang item registry, Mojang projectile definition