Integrate High-Performance Web Search Directly Into Your Applications
The SearchVista HTTP API provides programmatic access to our search engine index. You can execute queries, paginate through results, and request responses formatted as standard HTML, JSON, structured XML, or lightweight Plain Text.
All search requests are submitted via HTTP GET to the /search endpoint:
GET /search?q={query}&fmt={format}&type={type}&off={offset}
| Parameter | Type | Default | Description |
|---|---|---|---|
q |
string | (None) | Required. The search query. Supports exact phrases ("..."), forced terms (+word), exclusions (-word), Boolean groups (OR, (...)), and filters (site:, file:). |
fmt |
string | html |
Output format: html, json, xml, or text. |
type |
string | text |
Search modality: text (standard web search) or images / image (visual image search). |
off |
integer | 0 |
Result offset for pagination (number of top matches to skip). |
GET /search?q=learning+C&fmt=json
dropped_terms)
To maximize query throughput, SearchVista filters out common English grammatical query stop words (such as to, in, the, and, or) from plain unquoted queries.
Any words omitted from the search are explicitly listed in the dropped_terms array/collection of the response.
"learning to code") to search stop words positionally.+ directly to the word (e.g., +to or +in) to mandate its presence.Payloads are structured into three primary blocks:
search_parameters: Echoes query settings applied by the engine:
engine: Constant identifier ("searchvista").q: The query string received.type: Modality used ("text" or "images").results_skip: Offset value applied (matches off).search_information: Query execution metadata:
total_results: Total estimated matching documents cluster-wide.time_taken_ms: Total request turnaround latency in milliseconds.query_displayed: Sanitized query string rendered to the user.dropped_terms: List of common query stop words that were not evaluated.results: Ordered array of matching items:
position: Result ranking position (starting at 1 + off).title: Title of the page or image label.snippet: Contextual excerpt with query terms highlighted with HTML tags.link: (Text mode only) Canonical destination URL.image_url: (Image mode only) Direct URL to the source image file.page_url: (Image mode only) URL of the page containing the image.thumbnail: (Image mode only) Endpoint to fetch the cached JPEG thumbnail proxy (e.g. /thumb?doc=12&w=0).The query engine supports specialized compound entities directly:
q=C%2B%2B (C++), q=C%23 (C#), q=C--.q=F%23m (F#m), q=B%E2%99%AD (B♭ → bb).q=800-555-0199 → tel:8005550199).q=support%40example.com) or via email: prefix.fmt=json)Example request: GET /search?q=learning+C+to+code&fmt=json
{
"search_parameters": {
"engine": "searchvista",
"q": "learning C to code",
"type": "text",
"results_skip": 0
},
"search_information": {
"total_results": 5832,
"time_taken_ms": 24,
"query_displayed": "learning C to code",
"dropped_terms": ["to"]
},
"results": [
{
"position": 1,
"title": "The C Programming Language",
"link": "https://example.org/c-intro",
"snippet": "Start learning C programming and write clean code..."
},
{
"position": 2,
"title": "Modern C for Beginners",
"link": "https://example.com/modern-c",
"snippet": "A guide to code in C covering syntax and libraries..."
}
]
}
fmt=xml)Standard XML document encoding for enterprise and service-oriented architectures:
<?xml version="1.0" encoding="UTF-8"?>
<search_response>
<search_parameters>
<engine>searchvista</engine>
<q>learning C to code</q>
<results_skip>0</results_skip>
</search_parameters>
<search_information>
<total_results>5832</total_results>
<time_taken_ms>24</time_taken_ms>
<query_displayed>learning C to code</query_displayed>
<dropped_terms>
<term>to</term>
</dropped_terms>
</search_information>
<results>
<result>
<position>1</position>
<title>The C Programming Language</title>
<link>https://example.org/c-intro</link>
<snippet>Start <strong>learning</strong> <strong>C</strong> programming...</snippet>
<snippet>html formatted snippet</snippet>
</result>
</results>
</search_response>
fmt=text)A lightweight, line-oriented key-value representation ideal for terminal scripts, CLI utilities, and minimal parsing overhead:
search_parameters
engine searchvista
q learning C to code
results_skip 0
search_information
total_results 5832
time_taken_ms 24
query_displayed learning C to code
dropped_term to
results
position 1
title The C Programming Language
link https://example.org/c-intro
snippet Start <strong>learning</strong> <strong>C</strong> programming...
fmt=html)Renders standard visual search results. When terms are omitted, an advisory box is presented at the top of results informing the user which terms were omitted and how to force them using + or quotation marks.
To paginate through results, increment the off parameter by the page size. For example, to retrieve results in sets of 10:
/search?q=database&off=0&fmt=json/search?q=database&off=20&fmt=json/search?q=database&off=40&fmt=json