Quick Start
Get started with ApiBiblia in just a few minutes.
1. Create an Account
First, create a free account at app.apibiblia.com/register.
2. Get Your API Key
After signing in, go to your Dashboard and click Create New Key.
TIP
Store your API key securely - you'll only see it once!
3. Make Your First Request
Use your API key to make a request:
bash
curl "https://api.apibiblia.com/v1/passage?ref=John 3:16" \
-H "X-API-Key: YOUR_API_KEY"javascript
const response = await fetch(
'https://api.apibiblia.com/v1/passage?ref=John 3:16',
{
headers: {
'X-API-Key': 'YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data);python
import requests
response = requests.get(
'https://api.apibiblia.com/v1/passage',
params={'ref': 'John 3:16'},
headers={'X-API-Key': 'YOUR_API_KEY'}
)
data = response.json()
print(data)4. Explore the API
Now that you're set up, explore what you can do:
| Endpoint | Description |
|---|---|
GET /v1/versions | List all available Bible versions |
GET /v1/books | List books in a version |
GET /v1/chapters/:id | Get a full chapter |
GET /v1/verses/:id | Get a specific verse |
GET /v1/passage | Get verses by reference |
GET /v1/search | Search for verses |
Common Use Cases
Get a Specific Verse
bash
curl "https://api.apibiblia.com/v1/passage?ref=Psalm 23:1&version=rvr60" \
-H "X-API-Key: YOUR_API_KEY"Get a Verse Range
bash
curl "https://api.apibiblia.com/v1/passage?ref=Romans 8:28-30" \
-H "X-API-Key: YOUR_API_KEY"Get an Entire Chapter
bash
curl "https://api.apibiblia.com/v1/passage?ref=Psalm 23" \
-H "X-API-Key: YOUR_API_KEY"Search for Verses
bash
curl "https://api.apibiblia.com/v1/search?q=amor&version=rvr60" \
-H "X-API-Key: YOUR_API_KEY"Next Steps
- Authentication - Learn about API key authentication
- Rate Limits - Understand rate limiting
- Error Handling - Handle errors gracefully