Search API Reference
Interactive API testing and complete reference documentation.
https://www.search.venym.io/api/v1/searchSearch the Web in Real-Time
Execute real-time web searches with automatic content extraction and enrichment
Using demo key. 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.search.venym.io/api/v1/search",
headers={"Authorization": "Bearer " + "demo_sk_search_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
| 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
- • Live web search results
- • Fresh content indexing
- • Multiple search engines
- • Instant result delivery
- • Automatic content extraction
- • Clean text processing
- • Contact information
- • Social media links
- • Geographic targeting
- • Language preferences
- • Time-based filtering
- • Content type selection
Error Codes
Request successful, results returned
Invalid query or parameters
Invalid or missing API key
Rate limit exceeded
Common Use Cases
News Monitoring
Track breaking news and industry updates
{
"query": "AI breakthrough news",
"result_type": "news",
"time_range": "24h",
"max_results": 20
}Lead Generation
Find potential customers and contacts
{
"query": "SaaS startup founders email",
"auto_scrape_top": 5,
"include_contacts": true,
"include_social": true
}Market Research
Research competitors and market trends
{
"query": "enterprise software market 2025",
"auto_scrape_top": 10,
"time_range": "month",
"max_results": 30
}Content Discovery
Find relevant content and resources
{
"query": "machine learning tutorials 2025",
"result_type": "web",
"language": "en",
"max_results": 15
}