SearchCans

How to Use SearchCans Dual-Engine API

This Python example demonstrates the complete workflow of using SearchCans API services. Both APIs use POST requests with JSON payloads. First, use the SERP API to search Google for "AI Agents" with parameters: 's' for search query, 't' for engine type (google), and 'd' for timeout. Then, extract the first URL from the results and use the Reader API with parameters: 's' for source URL, 't' for type (url), and 'b' for browser rendering to convert that webpage into clean, LLM-ready Markdown format. This is the typical workflow for AI agents, RAG systems, and LLM applications that need to search and process web content programmatically.

The code shows proper authentication using Bearer tokens with API_KEY variable, HEADERS constant for reusability, JSON request body configuration, and JSON response handling. SearchCans provides both APIs at an affordable price of $0.56 per 1,000 requests, making it 10x cheaper than alternatives like SerpApi and Firecrawl.

SERP API + Reader API Dual Engine for AI & LLM Applications

Our dual-engine platform offers a complete solution: a powerful SERP API for Google and Bing Search API access, plus a Reader API to convert a URL into clean, LLM-ready Markdown format. It's the essential toolkit for AI agents and RAG systems that need to search the web and process web content.

New users get 100 free credits upon registration.

dual_engine_demo.py
SearchCans API Quick Start Example
import requests

# 1. Search Google (SERP API)
search_resp = requests.post(
    "https://www.searchcans.com/api/search",
    headers="Authorization": "Bearer YOUR_KEY",
    json=
        "s": "AI Agents",  # Search query
        "t": "google",     # Engine type
        "d": 10000         # Timeout
    
)

# Get the first URL result
first_url = search_resp.json()['data'][0]['url']

# 2. Extract Content (Reader API)
reader_resp = requests.post(
    "https://www.searchcans.com/api/url",
    headers="Authorization": "Bearer YOUR_KEY",
    json=
        "s": first_url,    # Source URL
        "t": "url",
        "b": True          # Use browser rendering
    
)

# Output clean LLM-ready Markdown
print(reader_resp.json()['data']['markdown'])

Two Powerful APIs, One Platform

SERP API + Reader API: The complete data infrastructure for AI applications

10x Cheaper

Industry-lowest pricing at just $0.56 per 1,000 searches. Significantly cheaper than Serper and SerpAPI.

URL to Markdown API

Our Reader API is a powerful URL to Markdown API that converts messy web pages into clean structured markdown. The perfect markdown output for RAG.

Lightning Fast

Average response time under 1.5 seconds for both search and extraction. Optimized for AI applications.

99.65% Uptime

Enterprise-grade reliability with redundant infrastructure. Your AI applications run without interruption.

Developer-Focused Search APIs

All our search APIs provide structured JSON for SERP data. Easily integrate with LangChain and LlamaIndex to give your AI access to real-time web content.

Ready to integrate? Check out our comprehensive documentation

Industry-Lowest Pricing

10x cheaper than Serper, SerpAPI, Jina Reader, and Firecrawl

All plans include full access to SERP API and Reader API

Standard

$18.00
$90.00 -80%
20K credits
$0.90/1K credits
  • Get 20,000 credits
  • Real-time results
  • Fast response time
  • Email technical support
  • No monthly billing

Credits valid for 6 months

Get Started

Pro

$597.00
$2985.00 -80%
995K credits
$0.60/1K credits
  • ~1 Million credits
  • Real-time results
  • Fastest response time
  • Priority technical support
  • No monthly billing

Credits valid for 6 months

Get Started

Ultimate

$1680.00
$8400.00 -80%
3M credits
$0.56/1K credits
  • Get 3,000,000 credits
  • Real-time results
  • Fastest response time
  • Dedicated account manager
  • No monthly billing

Credits valid for 6 months

Get Started

All prices exclude sales tax/VAT/GST.

Ready to Get Started?

Join thousands of developers using SearchCans for their AI applications. Check our documentation or try the API playground first.