# SSRF-Safe HTTP GET Fetcher

> SSRF-Safe HTTP GET Fetcher is a paid API for AI agents from vending-machine-seven.vercel.app, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Fetches a public HTTPS URL via a server-side SSRF-safe GET request, returning the HTTP status code, response headers, and a size-capped JSON or text body

## Facts

- Endpoint: GET https://vending-machine-seven.vercel.app/api/v/http-get
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ssrf-safe-http-get-fetcher-f95b0f4c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LUrCIPgCU6cnExk2Rd2il

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 ssrf-safe-http-get-fetcher-f95b0f4c
```

Example prompt: Fetch the contents of https://api.coinbase.com/v2/prices/BTC-USD/spot and show me the response body — cap the body at 16000 bytes if it's large.

## When to prefer this

Choose this endpoint when you need the actual body content of a remote URL (not just headers or status), especially when the content is JSON or text and you need it server-side without SSRF risk. Prefer over a plain HTTP client when SSRF safety and size-capping are required. Use instead of a full web scraper when you need raw body access rather than structured HTML parsing.

## Known failure modes

- Target URL is on a private/internal IP range — blocked by SSRF protection
- Target URL is not HTTPS — rejected; only public https:// URLs are supported
- URL is unreachable or times out — returns ok:false with an error status
- Response body exceeds max_bytes and is truncated — truncated flag set to true
- Target server returns non-200 status — returned as-is with the status code
- Invalid or malformed URL input — validation error returned

## How this service works

SSRF-safe public GET with status, headers, and size-capped JSON/text body for agent tool use

## Output

Returns an object with: ok (boolean indicating success), status (HTTP status code), content_type (MIME type of the response), truncated (boolean indicating if body was cut off), and the response body as JSON or text up to the specified byte limit (default 48000 bytes), plus response headers.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public https:// URL"
      },
      "max_bytes": {
       "type": "string",
       "description": "Max body bytes (default 48000)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "status": {
       "type": "number"
      },
      "service": {
       "type": "string"
      },
      "truncated": {
       "type": "boolean"
      },
      "content_type": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ssrf-safe-http-get-fetcher-f95b0f4c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vending-machine-seven.vercel.app](https://www.zero.xyz/host/vending-machine-seven.vercel.app/llms.txt)
