web

URL Fetch Markdown

Fetch a URL and return its title and readable body text, with navigation and boilerplate stripped. POST /v1/url with {url} and get one JSON object back. The text is flattened: headings, links and lists are not kept as markdown structure. Responses may be served from cache. Pay per request in USDC; no account, no API key.

post/v1/url-fetch-markdown

Request

  • Base URL: https://agent.pocket.network
  • URL: https://agent.pocket.network/v1/url-fetch-markdown
  • Auth: none required

Request body

urlstring required

The page URL to fetch.

Response

The upstream response, served after payment settles.

object required

For POST /v1/url, a JSON object with url, title, markdown (flattened text), chars and a cache flag. The exact shape is the service's own and is not pinned here; errors return a JSON object with an error field.

Changes

No recorded changes to this operation across all 1 revision of this API.