SwiftSearch API Reference
Interactive API testing and complete reference documentation
Interactive API Testing
https://www.searchhive.dev/api/v1/swiftsearchSearch the Web in Real-Time
Execute real-time web searches with automatic content extraction and enrichment
Using demo key for testing. Replace with your actual API key.
The search query to execute. Supports natural language and search operators.
Maximum number of search results to return (1-50).
Number of top results to automatically scrape (0-10).
Extract contact information from scraped content.
Extract social media links from scraped content.
Target country for search results (ISO 3166-1 alpha-2).
Preferred language for search results (ISO 639-1).
Filter results by publication time.
Type of search results to prioritize.
import requests
response = requests.post(
"https://www.searchhive.dev/api/v1/swiftsearch",
headers={"Authorization": "Bearer " + "demo_sk_swiftsearch_12345"},
json={
"query": "latest AI developments 2025",
"max_results": 10,
"auto_scrape_top": 3,
"include_contacts": false,
"include_social": false,
"country": "US",
"language": "en",
"time_range": "month",
"result_type": "web"
}
)
data = response.json()
print(data)Click "Test API" to see the response
Response Schema
SwiftSearch Response Fields
| Field | Type | Description |
|---|---|---|
search_results | array | Array of search result objects with title, URL, snippet, and metadata. Example: |
scraped_content | array | Array of scraped content from auto_scrape_top results (if enabled). Example: |
total_results | integer | Total number of search results found. Example: |
search_time | float | Time taken to execute the search in seconds. Example: |
credits_used | integer | Number of API credits consumed. Example: |
remaining_credits | integer | Remaining API credits in your account. Example: |
request_id | string | Unique identifier for this request. Example: |
Key Features
Error Codes
Request successful, results returned
Invalid query or parameters
Invalid or missing API key
Rate limit exceeded
Common Use Cases
Track breaking news and industry updates
Find potential customers and contacts
Research competitors and market trends
Find relevant content and resources