SerpHubAPI
Read any page

Page fetch

Give it a URL, get back what a reader would actually read. POST /v1/fetch handles fetching, fallbacks and cleanup, so your agent or pipeline gets text it can use straight away.

Main content only

Navigation, ads, cookie banners and footers are stripped. You get the article itself, with headings, lists and links intact.

Markdown or plain text

format=markdown keeps structure for an LLM's context window; format=text strips the syntax for indexing or analysis.

Pay for pages you get

5 credits per page. Blocked, timed-out or oversized pages cost nothing, and a cache_first hit within the last hour is free.

Together with search

Add include_content to a search call and the top results come back with their page text in the same response — no second round trip.

Request

curl https://api.serphubapi.com/v1/fetch \
  -H "X-API-Key: shapi_..." \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/blog/espresso-guide",
       "format": "markdown"}'

Response

{
  "meta": { "id": "fet_01J9Z4A2BC", "status": "success",
            "cached": false, "credits_charged": 5 },
  "url": "https://example.com/blog/espresso-guide",
  "title": "The Complete Espresso Guide",
  "markdown": "# The Complete Espresso Guide\n\nPulling a good shot…"
}

Good to know

  • Public pages only: private, local and intranet addresses are refused, and content behind a login or paywall is out of scope.
  • Some sites block automated access. Those calls fail with all_upstreams_failed and are not charged.
  • Fetched pages are not archived on our side. Keep the content yourself if you need it later.
  • Agents can call it as the fetch tool of the official MCP server. Install →

Make your first call in five minutes

1,000 free credits on signup. No credit card.