SemanticSearch API
Fast semantic search with AI. Understands meaning, not just keywords.
π Ultra Fast
Searches in ~200ms with state-of-the-art embeddings (Arctic-768D ONNX INT8).
π§ Semantic Understanding
Doesn't search for exact words. Understands concepts: "superhero saves world" finds Avengers.
π Multilingual
Works with queries in Spanish, English and other languages without changing anything.
π RESTful API
Easy integration. JSON in, JSON out. With interactive Swagger documentation.
π Personal API Key
Get your API key with free registration. No payment, just email confirmation.
π― Live Demos
Explore semantic search across different product categories.
What is Semantic Search?
Semantic Search is an advanced data retrieval technology that understands the intent and contextual meaning of a query rather than just matching literal keywords. By converting text into mathematical "concept maps" (vectors), the system can identify relationships between words, recognize synonyms, and even bridge different languages to find the most relevant informationβregardless of how it is phrased.
| Feature | Traditional Search (Lexical) | Semantic Search (AI READY API) |
|---|---|---|
| Search Logic | Matches exact characters/keywords. | Understands intent and concepts. |
| Language | Limited to the language of the document. | Multilingual: Search in English, find in Spanish. |
| Synonyms | Fails unless words match exactly. | Succeeds by matching meaning (e.g., "Home" = "House"). |
| Data Quality | Requires clean, tagged metadata. | Works perfectly with messy, unstructured text. |
| User Experience | Frustrating; needs specific "search terms." | Intuitive; uses natural human language. |
| Primary Goal | Finds Words. | Finds Answers. |
Key Benefits:
- No AI Expertise Required: You don't need to hire a Machine Learning engineer. The API handles the "math" (vectors and embeddings) automatically, so any web developer can use it.
- Plug-and-Play Infrastructure: Forget about setting up and maintaining a Vector Database. The API is an all-in-one box: you send data in, you get answers out.
- Hardware Cost Savings: You don't need expensive GPUs or massive RAM. The system is optimized to run on standard, cheap servers without losing speed.
- Ready for Any Device: Because the "brain" is in the API, you can add intelligent search to a website, a mobile app, or even a small robot without overloading their local processors.
- Privacy: Your data is private and it's not used for training models.
How to Use?
- Sign Up (email + password)
- Confirm your email
- Copy your API Key from the dashboard
- Use the API (see documentation)
Example Usage - Step by Step
Follow this complete example to understand how ReadyAPI works. We'll use a spaceship with 7 systems.
π€ Step 1: Create Your Documents (JSON)
First, prepare your documents as a JSON file. Each document needs:
- id: Unique identifier
- title: Name of the document
- content: The actual text to search (keywords, descriptions, etc)
- keywords: Optional list of related terms
- metadata: Optional extra data (styling, state, etc)
{
"documents": [
{
"id": "part-001",
"title": "Charge System",
"content": "solar panels energy reactor battery charging power recharge fuel cells electricity boost capacitor voltage amp watt",
"keywords": ["charge", "recharge", "energy", "power", "battery", "solar", "electricity", "fuel", "boost", "reactor"],
"metadata": {"css_class": "mode-charging", "state": "idle"}
},
{
"id": "part-002",
"title": "Flight System",
"content": "thruster engine propulsion fly speed boost travel navigate rocket jet turbine accelerate velocity motion movement",
"keywords": ["fly", "flight", "speed", "boost", "travel", "navigate", "move", "jet", "rocket", "propulsion"],
"metadata": {"css_class": "mode-flying", "state": "active"}
},
{
"id": "part-003",
"title": "Stealth System",
"content": "cloak invisibility hide camouflage stealth radar ghost disappear vanish disguise shadow sneak silent undetectable",
"keywords": ["stealth", "hide", "invisible", "cloak", "camouflage", "ghost", "disappear", "vanish", "sneak", "silent"],
"metadata": {"css_class": "mode-stealth", "state": "hidden"}
},
{
"id": "part-004",
"title": "Attack System",
"content": "laser cannon weapon shoot fire attack combat strike offensive destroy blast hit target aim damage hurt",
"keywords": ["attack", "shoot", "fire", "weapon", "laser", "combat", "strike", "destroy", "blast", "offensive"],
"metadata": {"css_class": "mode-attack", "state": "offensive"}
},
{
"id": "part-005",
"title": "Defense System",
"content": "shield barrier protect defense guard armor block deflect safe secure immunity resistance fortify wall protection",
"keywords": ["shield", "protect", "defense", "guard", "armor", "block", "safe", "barrier", "secure", "deflect"],
"metadata": {"css_class": "mode-shield", "state": "defensive"}
},
{
"id": "part-006",
"title": "Scan System",
"content": "radar scanner detect analyze search scan probe sensor identify inspect examine investigate explore discover find see look watch observe",
"keywords": ["scan", "search", "detect", "radar", "sensor", "analyze", "find", "probe", "inspect", "explore", "see", "look", "watch", "observe"],
"metadata": {"css_class": "mode-scanning", "state": "active"}
},
{
"id": "part-007",
"title": "Repair System",
"content": "repair fix heal restore maintenance regenerate recover rebuild patch mend cure treatment restore refurbish",
"keywords": ["repair", "fix", "heal", "restore", "maintenance", "recover", "regenerate", "rebuild", "patch", "mend"],
"metadata": {"css_class": "mode-repair", "state": "standby"}
}
]
}
π‘ Tip
ReadyAPI combines three fields to find matches:
1. Content field: This is the primary search field.
It's converted into AI embeddings that understand meaning. Include
descriptive text, features, specifications, and anything customers might
ask about.
2. Title field: Gets a relevance boost if it matches
the search. Used for exact and partial matches.
3. Keywords field: Optional but helpful. Provides hints
about the document's topic.
π Step 2: Send Documents to ReadyAPI
Use your API Key to upload the documents. ReadyAPI will process and index them instantly.
Using curl (command line):
curl -X POST https://readyapi.net/api/v1/documents/upload \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d @documents.json
API Response (Success):
{
"success": true,
"message": "Successfully uploaded 7 documents",
"uploaded_count": 7,
"failed_count": 0
}
β Done! Your 7 spaceship systems are now indexed and searchable. You only need to do this once!
π Step 3: Search with Natural Language (No Keywords Required!)
Now you can ask questions in plain English. ReadyAPI understands meaning, not just keywords.
Example 1: Travel Far Away
Query: "I need to get somewhere far away quickly"
β Finds: Flight System, Stealth System, Scan System
Example 2: Hide & Stealth
Query: "Hide the ship so they can't find us"
β Finds: Stealth System, Scan System, Defense System
Example 3: Attack!
Query: "Fire all weapons at the enemy"
β Finds: Attack System, Defense System, Scan System
π§ How it works: ReadyAPI uses advanced AI (Arctic embeddings) to understand what you mean, not just what keywords you use. So "get somewhere far away quickly" understands you need speed and distance, and finds the Flight System!
π§ How it works: ReadyAPI uses advanced AI (Arctic embeddings) to understand what you mean, not just what keywords you use. So "get somewhere far away quickly" understands you need speed and distance, and finds the Warp System!
Now make the API call to search:
Basic Search (No Filters):
curl -X POST https://readyapi.net/api/v1/search/query \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "I need to get somewhere far away quickly",
"top_k": 3
}'
Search with Filters (Only Active Systems):
curl -X POST https://readyapi.net/api/v1/search/query \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "I need to get somewhere far away quickly",
"top_k": 3,
"filters": {
"metadata.state": "active"
}
}'
This filters results to only show systems with
state: active
in their metadata.
π― Optional Filters: You can add filters to narrow down results by metadata. Filters give you precise control over which documents are returned.
β Step 4: Get Ranked Results
ReadyAPI returns the most relevant documents, ranked by similarity.
API Response (Results):
{
"results": [
{
"id": "part-002",
"title": "Flight System",
"score": 0.52,
"content": "thruster engine propulsion fly speed boost travel navigate..."
},
{
"id": "part-003",
"title": "Stealth System",
"score": 0.48,
"content": "cloak invisibility hide camouflage stealth radar ghost..."
},
{
"id": "part-006",
"title": "Scan System",
"score": 0.46,
"content": "radar scanner detect analyze search..."
}
],
"count": 3,
"processing_ms": 124
}
Score = Relevance
Higher score = better match. Range: 0 to 1
Top 3 Results
Ranked best first (0.48 > 0.46)
Fast & Accurate
124ms processing time
π― That's It! You're Ready
Three simple steps: Create JSON β Upload Documents β Search Naturally. No complex setup, just ask in plain language and get smart results.