Real-time Search

SwiftSearch API

Real-time web search with automatic content extraction, contact discovery, and social profile detection. Get structured results from the latest web content.

17ms
Avg latency
99.3%
Success rate
Real-time
Fresh results
1 credit
Starting cost

Quick Example

Search with automatic content extraction

curl -X POST https://www.searchhive.dev/api/v1/swiftsearch \
  -H "Authorization": "Bearer: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "Bitcoin price 2025",
    "max_results": 10,
    "auto_scrape_top": 3,
    "include_contacts": true,
    "include_social": false
  }'

API Endpoint

POST
https://www.searchhive.dev/api/v1/swiftsearch

Execute a real-time web search with optional content extraction and data enrichment

Base URL
All requests should be made to https://www.searchhive.dev/api

Parameters

ParameterTypeRequiredDescription
query
string
Required

The search query to execute. Use natural language or specific keywords.

Example:Bitcoin price prediction 2025

max_results
integer
Optional

Maximum number of search results to return. Must be between 1 and 50.

Default: 10

Example:10

auto_scrape_top
integer
Optional

Automatically scrape content from the top N results. Costs 3 credits per scraped page.

Example:3

include_contacts
boolean
Optional

Extract contact information from scraped content. Requires Starter plan or higher. Costs +5 credits.

Default: false

Example:true

include_social
boolean
Optional

Discover social media profiles mentioned in results. Requires Builder plan or higher. Costs +5 credits.

Default: false

Example:false

Feature Access by Plan

Free
10 requests/hour
Basic search
Auto-scraping
Starter
1K requests/hour
Everything in Free
Contact extraction
Builder
5K requests/hour
Everything in Starter
Social discovery
Unicorn
20K requests/hour
All features
Priority processing

Credit Calculation

SwiftSearch uses a flexible credit system based on the features you use. Here's how credits are calculated:

Basic search (10 results)

1 credit
{"query": "AI news", "max_results": 10}

Search + auto-scrape 3 pages

10 credits (1 + 3×3)
{"query": "AI news", "auto_scrape_top": 3}

Search + scraping + contacts

15 credits (1 + 3×3 + 5)
{"query": "AI news", "auto_scrape_top": 3, "include_contacts": true}

Full featured search

19 credits (1 + 3×3 + 5 + 5)
{"query": "AI news", "auto_scrape_top": 3, "include_contacts": true, "include_social": true}
Credit optimization
Only use auto_scrape_top, include_contacts, and include_social when you actually need the additional data to minimize credit usage.

Response Format

Response Fields

FieldTypeDescription
query
string

The original search query that was executed

search_results
array

Array of search results with title, URL, snippet, position, and date

scraped_content
array

Content from automatically scraped pages (if auto_scrape_top was used)

contacts
array

Extracted contact information (if include_contacts was true)

social_profiles
array

Discovered social media profiles (if include_social was true)

credits_used
integer

Total credits consumed by this request

remaining_credits
integer

Your remaining credit balance after this request

results_count
integer

Number of search results returned

scraped_count
integer

Number of pages that were automatically scraped

Example Success Response

SwiftSearch API response

JSON
{
  "query": "Bitcoin price 2025",
  "search_results": [
    {
      "title": "Bitcoin Price Prediction: Will BTC Hit $150K by 2025?",
      "link": "https://example.com/bitcoin-prediction",
      "snippet": "Experts predict Bitcoin could reach $150,000 by end of 2025 driven by institutional adoption...",
      "position": 1,
      "date": "2025-07-20"
    },
    {
      "title": "Crypto Market Analysis: BTC Long-term Outlook",
      "link": "https://example.com/crypto-analysis", 
      "snippet": "Technical analysis suggests Bitcoin is entering a new bull cycle...",
      "position": 2,
      "date": "2025-07-19"
    }
  ],
  "scraped_content": [
    {
      "url": "https://example.com/bitcoin-prediction",
      "title": "Bitcoin Price Prediction: Will BTC Hit $150K by 2025?",
      "text": "The cryptocurrency market has been experiencing unprecedented growth...",
      "error": null
    }
  ],
  "contacts": [
    {
      "email": "analyst@cryptoinsights.com",
      "name": "John Smith",
      "company": "Crypto Insights",
      "source_url": "https://example.com/bitcoin-prediction"
    }
  ],
  "credits_used": 9,
  "remaining_credits": 4991,
  "results_count": 2,
  "scraped_count": 1
}

Response Codes

200
Request successful
400
Bad request - invalid parameters
401
Unauthorized - invalid API key
402
Insufficient credits
403
Feature not available on your plan
429
Rate limit exceeded
500
Internal server error

Rate Limits

PlanRequests/HourRequests/MinuteConcurrent
Free1011
Starter1,000505
Builder5,00010010
Unicorn20,00050025
Rate limit headers
Response headers include X-RateLimit-Remaining and X-RateLimit-Reset to help you track your usage.
See More Examples

Explore detailed implementation examples and use cases.

Other APIs

Learn about ScrapeForge and DeepDive for complete web data access.