# x402-tools Fake Data Generator

> x402-tools Fake Data Generator is a paid API for AI agents from x402.nichospt.net, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-10).

Generates structured fake/synthetic data records using Faker.js, with configurable schema, locale, count, and optional seed for deterministic output.

## Facts

- Endpoint: POST https://x402.nichospt.net/fake-data?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-tools-fake-data-generator-fe3ede55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AEGVVDglBFUWvqeUAK51e

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 x402-tools-fake-data-generator-fe3ede55 -d '<json body>'
```

Example prompt: Generate 25 fake user records with fields for full name, email, city, and age using the French locale — use seed 42 so I get the same results each time.

## When to prefer this

Use this endpoint when you need quickly generated, structured fake data with locale support and optional deterministic seeding for reproducibility. Ideal for prototyping, testing pipelines, or populating demo UIs with realistic-looking records. Prefer over custom scripts when you need multi-locale support or a variety of Faker.js data types without standing up your own instance.

## Known failure modes

- Invalid faker path (e.g. 'person.nonexistent') causes field generation to fail or return null
- Count exceeds maximum of 100 returns validation error
- Unsupported locale code falls back to 'en' silently
- Malformed schema object may cause 400 bad request
- Payment failure via x402 protocol blocks request with 402 status

## How this service works

Pay-per-call utility APIs for AI agents, settled in USDC via the x402 protocol.

## Output

Returns a JSON object containing an array of 'rows' where each row is a generated record matching the requested schema fields, along with the record count, locale used, and the seed value (null if not specified).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "integer",
   "description": "Optional seed for deterministic output"
  },
  "count": {
   "type": "integer",
   "maximum": 100,
   "minimum": 1
  },
  "locale": {
   "type": "string",
   "default": "en",
   "description": "Faker locale code (e.g. 'en', 'en_GB', 'en_US', 'de', 'fr', 'es', 'it', 'ja', 'zh_CN', 'pt_BR', 'ru', 'nl'). Falls back to 'en'."
  },
  "schema": {
   "type": "object",
   "description": "Map of field name → faker spec. Spec is either a string 'namespace.method' (e.g. 'person.fullName') or an object { type, options }.",
   "additionalProperties": {
    "oneOf": [
     {
      "type": "string",
      "description": "Dotted faker path, e.g. 'internet.email', 'location.city'"
     },
     {
      "type": "object",
      "required": [
       "type"
      ],
      "properties": {
       "type": {
        "type": "string"
       },
       "options": {
        "type": "object"
       }
      }
     }
    ]
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rows": [
   {
    "id": "5fb9220d-9b0f-4d32-a248-6492457c3890",
    "age": 42,
    "city": "Lake Elvie",
    "name": "Miss Arlene Wintheiser",
    "email": "Marlee3@gmail.com"
   }
  ],
  "seed": null,
  "count": 1,
  "locale": "en"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-tools-fake-data-generator-fe3ede55/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.nichospt.net](https://www.zero.xyz/host/x402.nichospt.net/llms.txt)
