The JavaScript SDK (@youversion/platform-core) provides typed API clients for fetching Bible data in any JavaScript environment.
See the source on GitHub.
Getting Started
Fetch and display a Bible verse.
-
Get Your App Key
Sign up at platform.youversion.com to get your free App Key.
-
Install our Core JavaScript Package
-
Fetch a Bible Verse
Code -
Display the Bible Version Copyright
When displaying Bible text, always display a Bible Version's copyright attribution in accordance with the license agreement
Code
That's it! You now have fetched a Bible verse and have given it proper Bible Version attribution.
To show styled HTML with @youversion/platform-core, see Display Bible HTML.
Next steps
- JavaScript SDK API reference: Explore the API clients and passage-reference utilities.
- Search: Find verses and topics, request suggestions, and load trending queries.
- Copyright and attribution: Display the required Bible version attribution.
Last modified on