Skip to main content
GET
https://api.crawleo.dev
/
search
Search API
curl --request GET \
  --url https://api.crawleo.dev/search \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "query": "machine learning",
    "pages_fetched": 1,
    "time_used": 1.2119622230529785,
    "pages": {
      "1": {
        "total_results": "About 1,230,000 results",
        "search_results": [
          {
            "title": "Machine Learning - Wikipedia",
            "link": "https://en.wikipedia.org/wiki/Machine_learning",
            "date": null,
            "snippet": "Machine learning is a branch of artificial intelligence...",
            "source": "Wikipedia"
          }
        ]
      }
    },
    "credits": 10
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication using your API key. Format: Bearer YOUR_API_KEY

Query Parameters

query
string
required

The search query string

Example:

"machine learning tutorials"

count
integer
default:10

Number of results to return per page (1-50)

Required range: 1 <= x <= 50
max_pages
integer
default:1

Maximum number of search result pages to fetch. Each page costs 10 credits.

setLang
string

Language code for search results (e.g., en, es, fr, de)

Example:

"en"

cc
string

Country code for search results (e.g., US, GB, DE)

Example:

"US"

geolocation
string

Geographic location for localized results

Example:

"us"

device
enum<string>
default:desktop

Device type to simulate (desktop, mobile, tablet)

Available options:
desktop,
mobile,
tablet
get_raw_html
boolean
default:false

Return the original HTML source of each result page

get_ai_enhanced_html
boolean
default:false

Return clean HTML with ads, scripts, and tracking removed

get_page_text
boolean
default:false

Return plain text content extracted from each result page

get_page_text_markdown
boolean
default:false

Return content as structured Markdown (recommended for RAG/LLM)

auto_crawling
boolean
default:false

Automatically crawl each search result URL and include page content

Response

Successful search response

status
string

Status of the response (success or error)

Example:

"success"

data
object
Last modified on March 23, 2026