Serpex

Serpex Docs

Search API and web extraction API for developers — structured results, clean markdown, stealth unblocking.

What is Serpex?

Serpex is a developer API for two things:

  • Search — send a query, get structured web-search results (title, URL, snippet, position, engine) in JSON. No browser required. 1 credit per fresh search.
  • Extract / Crawl — send URLs, get clean page content in Markdown or HTML. Up to 10 URLs per request. 1 credit per URL, or 5 credits per URL with stealth mode for pages behind heavy anti-bot protection.

Base URL: https://api.serpex.dev. Auth: Authorization: Bearer sk_....

APIs at a glance

EndpointWhat it doesCost
POST /api/searchWeb search — returns ranked results1 credit
POST /api/crawlExtract page content → Markdown or HTML1 credit/URL
POST /api/crawl with "stealth": trueSame, for anti-bot-protected pages5 credits/URL

Quick example

curl -X POST https://api.serpex.dev/api/search \
  -H "Authorization: Bearer sk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"q": "openai gpt-4o"}'

Response:

{
  "results": [
    {
      "title": "GPT-4o — OpenAI",
      "url": "https://openai.com/gpt-4o",
      "snippet": "GPT-4o is our most capable multimodal model...",
      "position": 1,
      "engine": "duckduckgo"
    }
  ],
  "metadata": {
    "credits_used": 1,
    "from_cache": false,
    "status": "success",
    "response_time": 1105
  }
}

On this page