# CoCo ID Generator

> CoCo ID Generator is a paid API for AI agents from cocoeatsai.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-19).

Generates one or more UUIDs (v4) of a specified kind and count on demand

## Facts

- Endpoint: GET https://cocoeatsai.com/area4/agent/tools/ids?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coco-id-generator-59008c07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ehVLxF_92tcaZVv8ReYtc

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 coco-id-generator-59008c07
```

Example prompt: Can you generate 5 uuid4 IDs for me to use as record keys in my new database?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call UUID v4 generation service without standing up your own generator or relying on a local library — especially useful in serverless or agent workflows where a lightweight external call is preferred. Best for small-to-medium batch ID generation (1–N UUIDs) with a simple JSON response.

## Known failure modes

- Invalid 'kind' parameter value returns an error or empty result
- Non-numeric or out-of-range 'count' parameter may cause a bad request response
- Missing required query parameters may result in a 400-level error
- Payment failure (x402) may block the request entirely

## How this service works

Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.

## Output

Returns a JSON object containing an array of generated IDs under the 'ids' key and a 'kind' field confirming the type of IDs generated (e.g. uuid4). The number of IDs matches the requested count.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ]
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "kind": {
       "type": "string"
      },
      "count": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "kind"
     ],
     "properties": {
      "kind": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ids": [
   "a885c5e7-a4ff-4b32-bbbc-070bd154fc95"
  ],
  "kind": "uuid4"
 },
 "exampleNote": "Computed offline with demonstration inputs; time/random values are illustrative."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coco-id-generator-59008c07/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cocoeatsai.com](https://www.zero.xyz/host/cocoeatsai.com/llms.txt)
