# VendSDK SSRF-Safe HTTP GET Fetcher

> VendSDK SSRF-Safe HTTP GET Fetcher is a paid API for AI agents from vendsdk.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Performs a safe HTTP GET on any public HTTPS URL and returns the status code, response headers, and size-capped JSON or text body for agent use

## Facts

- Endpoint: GET https://vendsdk.com/api/v/http-get
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vendsdk-ssrf-safe-http-get-fetcher-7f6f5d2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pzBvh44mu0W70hoMCSG0w

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

Example prompt: Can you fetch the contents of https://api.example.com/data and return the JSON response body, capping the response at 32000 bytes?

## When to prefer this

Use this endpoint when an agent needs to safely fetch the content of an arbitrary public HTTPS URL — especially JSON APIs or text pages — with guaranteed SSRF protection, response size capping, and structured metadata (status, headers, content type). Prefer it over raw HTTP calls when operating in a sandboxed agent environment. Prefer VendSDK's plain-text sibling endpoint if you need HTML stripped; prefer the HEAD-only sibling if you only need status and headers without the body.

## Known failure modes

- Non-HTTPS or private/internal URLs are blocked (SSRF protection)
- Unreachable or timed-out URLs return an error status
- URLs returning binary content (images, PDFs) may not be meaningfully represented
- Responses exceeding max_bytes are truncated (truncated=true)
- Non-200 status codes are returned faithfully but body may be empty
- Malformed URLs in the query parameter cause validation failure

## 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 containing: a boolean 'ok' indicating success, the HTTP numeric status code, the content_type header, a truncated flag indicating if the body was cut off at the byte limit, the service name, and the response body as parsed JSON or raw text up to max_bytes.

## 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/vendsdk-ssrf-safe-http-get-fetcher-7f6f5d2f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vendsdk.com](https://www.zero.xyz/host/vendsdk.com/llms.txt)
