๐Ÿ”ฅGodFocus Platformยท Docs
โ† HomeDashboard โ†’

Bible Search

POST/v1/bible/search1 credit

Keyword-based scripture search. Returns the top matching Bible verses for a given query.

Request body

{
  "query": "love thy neighbor",
  "top_k": 10,
  "theme": "love"
}
FieldTypeRequiredDescription
querystringYesThe search query (max 500 chars)
top_knumberNoMax results to return (1โ€“50, default 10)
themestringNoFilter to a biblical theme

Response

{
  "verses": [
    {
      "reference": "Matthew 22:39",
      "text": "And the second is like it: Love your neighbor as yourself.",
      "score": 0.95
    }
  ],
  "creditsUsed": 1
}
FieldTypeDescription
versesarrayArray of matching verse objects
verses[].referencestringBook, chapter, and verse (e.g. "John 3:16")
verses[].textstringFull verse text
verses[].scorenumberRelevance score 0โ€“1
creditsUsednumberCredits deducted (always 1)

Example

curl -X POST https://platform.godfocus.io/v1/bible/search \
  -H "Authorization: Bearer $GODFOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "love thy neighbor", "top_k": 5, "theme": "love"}'