SerpHubAPI

Services & engines

GET /v1/services and GET /v1/engines — the search catalog with per-service prices, supported parameters and live status.

SerpHubAPI is a hub of search services. A source is a search product — a search engine (Google, Bing, Yandex, Baidu), an in-app search (Xiaohongshu, WeChat, Taobao) or an AI search (DeepSeek, Tencent Yuanbao). A service is one source plus one result type, written engine/type: google/news, xiaohongshu/notes, deepseek/web. You call any service through POST /v1/search with engine and type, and every call is paid from the same wallet.

GET /v1/services

GET https://api.serphubapi.com/v1/services

The full catalog: every service with its price, supported parameters and live availability. Free to call. Agents and MCP clients use it to discover what they can ask for. The same list is shown on the services page.

curl https://api.serphubapi.com/v1/services \
  -H "X-API-Key: shapi_xxxxxxxx"
{
  "sources": [
    { "id": "google", "name": "Google", "name_zh": "Google", "category": "engine", "blurb": "The world's largest web index.", "blurb_zh": "全球最大的网页索引。" },
    { "id": "deepseek", "name": "DeepSeek Search", "name_zh": "DeepSeek 搜索", "category": "ai", "blurb": "Search index built for agents.", "blurb_zh": "为 Agent 设计的搜索索引。" }
  ],
  "services": [
    {
      "id": "google/web", "engine": "google", "type": "web", "name": "Google", "name_zh": "Google", "category": "engine",
      "credits": 10, "cache_first_credits": 5, "status": "live", "availability": "operational",
      "params": ["gl", "hl", "num", "page", "time_range"], "include_content": true
    },
    {
      "id": "deepseek/web", "engine": "deepseek", "type": "web", "name": "DeepSeek Search", "name_zh": "DeepSeek 搜索", "category": "ai",
      "credits": 8, "cache_first_credits": 4, "status": "beta", "availability": "operational",
      "params": ["num"], "include_content": true
    },
    {
      "id": "xiaohongshu/notes", "engine": "xiaohongshu", "type": "notes", "name": "Xiaohongshu", "name_zh": "小红书", "category": "app",
      "credits": 20, "cache_first_credits": 10, "status": "planned", "availability": "planned",
      "params": ["num", "page"], "include_content": true
    }
  ]
}
FieldTypeDescription
idstringengine/type.
engine, typestringThe values to send to /v1/search.
categorystringengine (search engine), app (in-app search) or ai (AI search).
creditsintegerPrice of one successful live call.
cache_first_creditsintegerPrice with mode=cache_first (half, rounded up). Cache hits are free.
statusstringProduct status. live: verified. beta: callable, the result shape may still change. planned: listed, not callable yet.
availabilitystringRight now. operational, degraded (callable, recent error rate is elevated), unavailable (temporarily no route), planned.
paramsstring[]Optional parameters this service honours (subset of gl, hl, num, page, time_range). Sending a non-default value for any other one returns 400 validation_error.
include_contentbooleanWhether include_content is available.

Prices are per successful call: failed calls, empty results and cache hits cost 0. See Billing.

GET /v1/engines

GET https://api.serphubapi.com/v1/engines

A per-source summary of the same data: each source, its status and the result types callable right now.

{
  "engines": [
    { "engine": "google", "name": "Google", "category": "engine", "status": "operational", "types": ["web", "news", "images", "videos", "shopping", "maps", "scholar", "autocomplete"] },
    { "engine": "deepseek", "name": "DeepSeek Search", "category": "ai", "status": "operational", "types": ["web"] },
    { "engine": "baidu", "name": "Baidu", "category": "engine", "status": "planned", "types": [] }
  ]
}
statusMeaning
operationalWorking normally.
degradedAvailable, but the recent error rate is elevated; occasional 502 is possible.
disabledLaunched, but temporarily has no route.
plannedListed in the catalog, not launched yet. Requests return 503 engine_unavailable.

Errors

HTTPCodeWhen
401invalid_api_keyMissing, invalid or disabled key