{
  "serviceId": "url-fetch-markdown",
  "displayName": "URL Fetch Markdown",
  "description": "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.",
  "category": "web",
  "resourceUrl": "https://agent.pocket.network/v1/url-fetch-markdown",
  "priceUsd": "0.005000",
  "priceVersion": 1,
  "rails": [
    {
      "id": "base",
      "network": "eip155:8453",
      "chainId": 8453,
      "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "tokenDecimals": 6,
      "payToAddress": "0xF732ea490c5766071785a2310523f7fA2CEbB829"
    }
  ],
  "protocols": [
    "rest"
  ],
  "inputSchema": {
    "type": "object",
    "description": "The request body for POST /v1/url.",
    "properties": {
      "url": {
        "type": "string",
        "description": "The page URL to fetch."
      }
    },
    "required": [
      "url"
    ]
  },
  "outputSchema": {
    "type": "object",
    "description": "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."
  },
  "methods": {
    "GET /v1/health": "read",
    "GET /v1/version": "read",
    "POST /v1/url": "read"
  },
  "firstParty": true,
  "networks": [
    "eip155:8453"
  ],
  "serving": true,
  "page": "https://agent.pocket.network/services/url-fetch-markdown",
  "descriptor": "https://agent.pocket.network/services/url-fetch-markdown/descriptor.json"
}