# Revenue Swarm URL Contents Fetcher

> Revenue Swarm URL Contents Fetcher is a paid API for AI agents from eu-tender-x402-v2-production.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-29).

Fetches and returns the text content of any public HTTP(S) URL, including title, description, and metadata, via a pay-per-call x402 API

## Facts

- Endpoint: GET https://eu-tender-x402-v2-production.up.railway.app/api/url-contents?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/revenue-swarm-url-contents-fetcher-ee8ed28d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KFk015o2NPy_xz_Xgvj7k

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability revenue-swarm-url-contents-fetcher-ee8ed28d
```

Example prompt: Can you fetch the text content and title of this page for me: https://www.example.com/some-article — I want to read what's on it.

## When to prefer this

Choose this endpoint when you need to fetch and read the raw text content of any public URL in a lightweight, pay-per-call manner using USDC micropayments on Base via x402. It is ideal for agents that need to quickly retrieve page text, titles, and metadata without setting up a full web scraping infrastructure. Prefer it over browser-based scrapers when JavaScript rendering is not required and you want a simple, cost-efficient HTTP fetch with structured output.

## Known failure modes

- Non-public or paywalled URLs return empty or partial content
- URLs that redirect excessively may fail or return unexpected final content
- Invalid or malformed URLs result in error responses
- Pages requiring JavaScript rendering may return incomplete text
- Upstream server errors (e.g. 5xx) reflected in upstream_status field
- Payment failure via x402 prevents the request from being processed

## How this service works

Pay-per-call B2B sales lead and procurement intelligence plus Base wallet data for agents. Search EU tenders/RFPs or inspect a Base wallet. Payments use x402 USDC on Base.

## Output

Returns a JSON object with the fetched page's plain text body, HTML title, meta description, content type, final URL after any redirects, number of redirects, HTTP status from the upstream server, a truncation flag if the content was cut off, and a timestamp of when the content was generated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public HTTP(S) URL to retrieve"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "text": {
       "type": "string"
      },
      "title": {
       "type": [
        "string",
        "null"
       ]
      },
      "product": {
       "type": "string"
      },
      "final_url": {
       "type": "string"
      },
      "redirects": {
       "type": "integer"
      },
      "truncated": {
       "type": "boolean"
      },
      "description": {
       "type": [
        "string",
        "null"
       ]
      },
      "content_type": {
       "type": [
        "string",
        "null"
       ]
      },
      "generated_at": {
       "type": "string"
      },
      "requested_url": {
       "type": "string"
      },
      "upstream_status": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "Example Domain...",
  "title": "Example Domain",
  "product": "URL Contents",
  "requested_url": "https://example.com",
  "upstream_status": 200
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/revenue-swarm-url-contents-fetcher-ee8ed28d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eu-tender-x402-v2-production.up.railway.app](https://www.zero.xyz/host/eu-tender-x402-v2-production.up.railway.app/llms.txt)
