Semantic Search Hadiths
Perform a powerful semantic search using Pinecone vector embeddings to find hadiths by meaning instead of exact keywords. This is ideal for natural language questions.
GET
🔐Auth Requiredhttps://api.mumin.ink/hadiths/semantic-searchQuery Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Yes | The semantic query or question |
language | string | No | The language code for translations (default: ru) |
limit | integer | No | Maximum number of results to return (default: 10) |
Response
Returns an array of hadiths sorted by their vector similarity score.
{
"data": [
{
"id": 1,
"collection": "Sahih al-Bukhari",
"bookNumber": 1,
"hadithNumber": 1,
"arabicText": "إنما الأعمال بالنيات...",
"translation": {
"languageCode": "en",
"text": "The reward of deeds depends upon the intentions..."
},
"similarity": 0.9234
}
],
"total": 1
}Try It Live! 🤖
GET
/hadiths/semantic-search🔥 Try it live!
Get your API key from dashboard.mumin.ink
q
limit