sparkle api