← Back to Search

🔍 Search API Documentation

Simple API for web search, image search, and AI assistance

🚀 Quick Start

Base URL

https://search.osaystudio.com

Authentication

Contact @famousvolume on Telegram to get your API key, then use it in the X-API-Key header:

curl -H "X-API-Key: your_api_key_here" ...

Rate Limits

Contact: @famousvolume on Telegram for API key access

Search Types

API Key Benefits

📚 API Reference

Search Endpoint

POST /api/search

Headers

Content-Type: application/json X-API-Key: your_api_key_here (optional but recommended)

Request Body

{ "query": "python tutorial", "search_type": "web", "honeypot": "" }

Parameters

  • query (required): Search query string
  • search_type (optional): "web", "image", or "ai"
  • honeypot (required): Must be empty string

Response (Web Search)

{ "items": [ { "title": "Python Tutorial", "link": "https://example.com", "snippet": "Learn Python programming..." } ] }

Response (Image Search)

{ "items": [ { "title": "Python Logo", "link": "https://example.com/page", "image": "https://example.com/image.jpg", "thumbnail": "https://example.com/thumb.jpg", "width": 1920, "height": 1080 } ] }

Get Usage Stats

GET /api/usage/stats

Headers

X-API-Key: your_api_key_here

Response

{ "email": "user@example.com", "calls_today": 2, "calls_total": 150, "last_call": "2024-01-15T10:30:00", "daily_limit": 100, "remaining_today": 98 }

💡 Examples

Web Search (with API key)

curl -X POST https://search.osaystudio.com/api/search \ -H "Content-Type: application/json" \ -H "X-API-Key: your_api_key_here" \ -d '{"query":"python tutorial","search_type":"web","honeypot":""}'

Image Search (without API key)

curl -X POST https://search.osaystudio.com/api/search \ -H "Content-Type: application/json" \ -d '{"query":"cats","search_type":"image","honeypot":""}'

Usage Statistics

curl -H "X-API-Key: your_api_key_here" \ "https://search.osaystudio.com/api/usage/stats"

Python Example

import requests # Contact @famousvolume on Telegram to get your API key api_key = "your_api_key_here" # Search with API key response = requests.post('https://search.osaystudio.com/api/search', headers={'X-API-Key': api_key}, json={ 'query': 'python tutorial', 'search_type': 'web', 'honeypot': '' }) results = response.json() for item in results['items']: print(f"Title: {item['title']}") print(f"URL: {item['link']}") print("---")

🌟 Features & Benefits

API Key Advantages

Rate Limits Comparison

  • With API Key: 100+ requests per day (based on plan)
  • Without API Key: 3 requests per day per IP address

Caching Benefits

  • 24-hour cache: Same query returns cached results instantly
  • Per-user cache: Separate cache for each API key holder
  • Search type separation: Web and image searches cached separately

Usage Analytics

GET /api/usage/stats Headers: X-API-Key: your_api_key Response: { "calls_today": 15, "calls_total": 342, "daily_limit": 100, "remaining_today": 85, "last_call": "2024-01-15T14:30:00" }

Search Quality Features

Web Search

  • Comprehensive web search results
  • Quality content filtering
  • Fast response times

Image Search

  • High-resolution images (600px+ minimum)
  • Complete metadata (dimensions, source)
  • Direct image URLs

AI Assistant

  • Intelligent responses and analysis
  • Query optimization
  • Multi-language support

Developer Experience

Easy Integration

  • RESTful API with JSON responses
  • Standard HTTP status codes
  • Comprehensive error messages
  • Rate limit headers in responses

Security & Reliability

  • API key authentication
  • SSL/TLS encryption
  • Request validation
  • 99.9% uptime