# IPFS CID Generator

> IPFS CID Generator is a paid API for AI agents from chargers-borders-cedar-fig.trycloudflare.com, paid per call via x402, price unknown, status unknown (last checked 2026-09-15).

Computes an IPFS Content Identifier (CID) for given content via a POST request

## Facts

- Endpoint: POST https://chargers-borders-cedar-fig.trycloudflare.com/tools/ipfs-cid
- Price: price unknown
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ipfs-cid-generator-c4ddcebc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Yd1I3p-OoM0JuYosKeNAm

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 ipfs-cid-generator-c4ddcebc -d '<json body>'
```

Example prompt: Can you compute the IPFS CID for this JSON data: {"name": "Alice", "role": "admin"}?

## When to prefer this

Use this endpoint when you need to compute an IPFS CID for arbitrary content without running a local IPFS node or uploading data to a remote pinning service. Ideal for pre-computing content addresses before pinning, verifying content integrity, or generating deterministic identifiers for Web3 workflows.

## Known failure modes

- Missing or malformed 'input' body causes validation error
- Unsupported HTTP method (only POST, PUT, PATCH accepted) returns schema error
- Empty body object may produce unexpected or empty CID
- Service unavailable due to Cloudflare tunnel timeout or cold start
- Malformed JSON in body returns parsing error

## How this service works

opentools utility endpoint

## Output

Returns the computed IPFS Content Identifier (CID) for the provided input content, enabling deterministic content addressing without requiring a running IPFS node or upload.

## 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": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ipfs-cid-generator-c4ddcebc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chargers-borders-cedar-fig.trycloudflare.com](https://www.zero.xyz/host/chargers-borders-cedar-fig.trycloudflare.com/llms.txt)
