Skip to main content
POST
Generate synthetic food data

Authorizations

Authorization
string
header
required

Bearer token authentication. Use format: Bearer YOUR_API_KEY

Body

application/x-www-form-urlencoded
count
string

Number of food records to generate (1-100). Passed as string but must be numeric.

Pattern: ^[1-9]\d?$|^100$
Example:

"10"

locale
string

Locale for generated data (e.g., en, es, fr, de, pt_BR, zh_CN)

Example:

"en"

seed
string

Seed for deterministic generation. Same seed produces same results.

Example:

"12345"

method
enum<string>

Food generation method. Defaults to profile.

Available options:
profile,
adjective,
description,
dish,
ethnicCategory,
fruit,
ingredient,
meat,
spice,
vegetable
Example:

"profile"

Response

Successfully generated food data

status
enum<string>
required
Available options:
success
data
object
required
performance
object