{"uid":"cap_BkRB9MPPFaahQssCVKifE","slug":"24k-labs-mock-data-generator-1da071d3","name":"24K Labs Mock Data Generator","description":"Generate deterministic fake test rows from a field->type spec plus a seed (names, emails, phones, addresses, dates, ints, bools). Output JSON, CSV, or NDJSON. Same seed always yields the same data -- reproducible fixtures.","url":"https://api.24klabs.ai/api/v1/mock-data-generate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"number"},"count":{"type":"number"},"fields":{"type":"object"},"format":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":[{"id":0}],"rows":3,"format":"json"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GQPM3IYiZzTjbnkDk0TaE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates deterministic, reproducible fake test data rows (names, emails, phones, addresses, dates, ints, bools) from a field-type spec and seed, in JSON, CSV, or NDJSON format.","exampleAgentPrompt":"Generate 50 fake user records with fields for first_name (name), email (email), phone (phone), signup_date (date), and is_active (bool), using seed 42, and give me the output as CSV.","exampleUseCases":[{"title":"Reproducible unit test fixtures","prompt":"Create 20 fake rows with fields user_id (int), full_name (name), email (email), and created_at (date) using seed 1234, output as JSON — I need the same data every time I run my tests."},{"title":"QA pipeline seeding with NDJSON","prompt":"Generate 100 mock records with fields order_id (int), customer_name (name), shipping_address (address), and order_total (int) using seed 9999, formatted as NDJSON so I can stream them into my test pipeline."},{"title":"CSV dummy data for UI prototype","prompt":"Make a CSV of 30 fake contacts with name, email, phone, and city fields using seed 7 so my designer can populate the prototype UI with realistic-looking data."}],"resultDescription":"Returns a structured mock dataset in the requested format (JSON array, CSV, or NDJSON) containing the specified number of rows. Each row has the requested fields populated with deterministic fake values (names, emails, phones, addresses, dates, integers, booleans) that are always identical for the same seed and spec.","failureModes":["Invalid or unrecognized field type in spec — returns error indicating unsupported type","Missing required fields (spec or seed) — returns 400-level validation error","Malformed field specification schema — parsing error returned","Requesting an unsupported output format — error indicating valid options are JSON, CSV, or NDJSON","Payment not attached or insufficient — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need reproducible, deterministic fake data for testing — especially when consistent fixtures across test runs matter (same seed = same output). Prefer it over random data generators when you need stable snapshots, or over manual fixture files when you want to vary field types or row counts programmatically. Also ideal when you need multiple output formats (JSON, CSV, NDJSON) from the same spec without format-conversion steps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:33.842Z","isFirstParty":false}