use CloudKit JS
CloudKit JS provides JavaScript APIs for accessing data in your app’s CloudKit containers.
CloudKit JS allows you to build a web interface for users to access the same containers as your CloudKit app running on iOS or OS X. You must have an existing CloudKit app and enable web services to use CloudKit JS.