{"uid":"cap_6-aVlpjpxcLM7WKObLD3U","slug":"api-strale-io-65844319","name":"Fake Data Generator (Locale-Aware, Schema-Driven)","description":"Generate realistic fake data matching a schema. Locale-aware: Swedish names for 'sv', Japanese for 'ja'. Up to 1000 records.","url":"https://api.strale.io/x402/fake-data-generate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"count":{"type":"integer"},"fields":{"type":"array","description":"Array of {name, type}"},"locale":{"type":"string"},"schema":{"type":"object","description":"JSON Schema"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"count":10,"fields":[{"name":"firstName","type":"string"},{"name":"lastName","type":"string"},{"name":"email","type":"string"},{"name":"age","type":"integer"}],"locale":"sv_SE","schema":{"type":"object","required":["firstName","lastName","email","age"],"properties":{"age":{"type":"integer","maximum":80,"minimum":18},"email":{"type":"string","format":"email"},"lastName":{"type":"string"},"firstName":{"type":"string"}}}},"response":{"data":[{"age":42,"email":"anders.bergstrom@gmail.com","lastName":"Bergström","firstName":"Anders"},{"age":35,"email":"maria.nilsson@hotmail.se","lastName":"Nilsson","firstName":"Maria"},{"age":28,"email":"erik.svensson@outlook.com","lastName":"Svensson","firstName":"Erik"},{"age":51,"email":"karin.lundgren@telia.com","lastName":"Lundgren","firstName":"Karin"},{"age":39,"email":"johan.andersson@gmail.se","lastName":"Andersson","firstName":"Johan"},{"age":44,"email":"petra.j@live.se","lastName":"Johansson","firstName":"Petra"},{"age":56,"email":"lars.eklund@yahoo.se","lastName":"Eklund","firstName":"Lars"},{"age":31,"email":"sofia.lindqvist@gmail.com","lastName":"Lindqvist","firstName":"Sofia"},{"age":47,"email":"mikael.engstrom@hotmail.se","lastName":"Engström","firstName":"Mikael"},{"age":62,"email":"ingrid.gustafsson@telia.com","lastName":"Gustafsson","firstName":"Ingrid"}],"_meta":{"payment":{"method":"x402","price_usd":0.054000000000000006,"settlement_id":"0xfb17f91af249f460303bb18ece080dbc18e31204cdd21822133b81584e62f9d2"},"capability":"fake-data-generate","latency_ms":2680,"provenance":{"source":"claude-haiku","fetched_at":"2026-06-13T04:25:29.306Z"}},"locale":"sv_SE","schema_used":"json_schema","record_count":10}},"exampleRequest":{"count":10,"fields":[{"name":"firstName","type":"string"},{"name":"lastName","type":"string"},{"name":"email","type":"string"},{"name":"age","type":"integer"}],"locale":"sv_SE","schema":{"type":"object","required":["firstName","lastName","email","age"],"properties":{"age":{"type":"integer","maximum":80,"minimum":18},"email":{"type":"string","format":"email"},"lastName":{"type":"string"},"firstName":{"type":"string"}}}},"tags":["x402"],"displayCostAmount":"0.054001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.054001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eQ5n5Wq6S98nJU5TSsYvI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates realistic fake/mock data records matching a given JSON Schema, with locale support for Swedish, Japanese, and other languages, returning up to 1000 records per call.","exampleAgentPrompt":"Generate 50 fake user records with fields: firstName (string), email (string), and age (integer), using Swedish locale so the names look realistic for a Swedish audience.","exampleUseCases":null,"resultDescription":"Returns an array of generated fake data records matching the specified schema and locale, with up to 1000 records per call. Each record contains the requested fields populated with realistic, locale-appropriate synthetic values.","failureModes":["Invalid JSON Schema provided — returns schema validation error","count exceeds 1000 — returns limit exceeded error","unsupported locale code — may fall back to default or return error","malformed fields array — returns parameter error","missing required input parameters — returns 400-style error"],"whenToPreferThis":"Choose this endpoint when you need realistic, locale-aware synthetic data that conforms to a specific JSON Schema — especially useful for seeding test databases, generating UI mockups, or creating demo datasets. Prefer it over generic faker libraries when you need a hosted, on-demand REST call or when locale fidelity (e.g. Swedish names, Japanese characters) is important.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-05-03T00:44:19.657Z","lastSuccessfullyRanAt":"2026-05-03T00:44:19.657Z","lastHealthCheckAt":"2026-10-12T18:50:03.849Z","isFirstParty":false,"canonicalSlug":"api-strale-io-65844319"}