curl --request POST \
--url https://apix.spotzee.com/api/ext/generic/data/generate/animal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data count=10 \
--data locale=en \
--data seed=12345 \
--data method=profileimport requests
url = "https://apix.spotzee.com/api/ext/generic/data/generate/animal"
payload = {
"count": "10",
"locale": "en",
"seed": "12345",
"method": "profile"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/x-www-form-urlencoded"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: new URLSearchParams({count: '10', locale: 'en', seed: '12345', method: 'profile'})
};
fetch('https://apix.spotzee.com/api/ext/generic/data/generate/animal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://apix.spotzee.com/api/ext/generic/data/generate/animal"
payload := strings.NewReader("count=10&locale=en&seed=12345&method=profile")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"status": "success",
"data": {
"animals": [
{
"method": "profile",
"value": "dog",
"type": "dog",
"petName": "Coco",
"dog": "Irish Water Spaniel",
"cat": "Singapura",
"bird": "Buller's Shearwater",
"fish": "Mandarin fish",
"horse": "Swedish Warmblood",
"rabbit": "Florida White",
"rodent": "Cuscomys ashanika",
"bear": "Asian black bear",
"lion": "Northeast Congo Lion",
"cetacean": "Spinner Dolphin",
"cow": "Brava",
"crocodilia": "Philippine Crocodile",
"insect": "Pyramid ant",
"snake": "Eyelash viper"
}
],
"generated": 1,
"locale": "en",
"seed": 12345,
"method": "profile"
},
"performance": {
"generationTime": 2,
"itemsGenerated": 1,
"locale": "en"
}
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}Generate synthetic animal data
Generates synthetic animal fixtures for testing catalogs, content workflows, forms, and sample datasets. Supported methods: profile, bear, bird, cat, cetacean, cow, crocodilia, dog, fish, horse, insect, lion, petName, rabbit, rodent, snake, and type.
curl --request POST \
--url https://apix.spotzee.com/api/ext/generic/data/generate/animal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data count=10 \
--data locale=en \
--data seed=12345 \
--data method=profileimport requests
url = "https://apix.spotzee.com/api/ext/generic/data/generate/animal"
payload = {
"count": "10",
"locale": "en",
"seed": "12345",
"method": "profile"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/x-www-form-urlencoded"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: new URLSearchParams({count: '10', locale: 'en', seed: '12345', method: 'profile'})
};
fetch('https://apix.spotzee.com/api/ext/generic/data/generate/animal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://apix.spotzee.com/api/ext/generic/data/generate/animal"
payload := strings.NewReader("count=10&locale=en&seed=12345&method=profile")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"status": "success",
"data": {
"animals": [
{
"method": "profile",
"value": "dog",
"type": "dog",
"petName": "Coco",
"dog": "Irish Water Spaniel",
"cat": "Singapura",
"bird": "Buller's Shearwater",
"fish": "Mandarin fish",
"horse": "Swedish Warmblood",
"rabbit": "Florida White",
"rodent": "Cuscomys ashanika",
"bear": "Asian black bear",
"lion": "Northeast Congo Lion",
"cetacean": "Spinner Dolphin",
"cow": "Brava",
"crocodilia": "Philippine Crocodile",
"insect": "Pyramid ant",
"snake": "Eyelash viper"
}
],
"generated": 1,
"locale": "en",
"seed": 12345,
"method": "profile"
},
"performance": {
"generationTime": 2,
"itemsGenerated": 1,
"locale": "en"
}
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}Authorizations
Bearer token authentication. Use format: Bearer YOUR_API_KEY
Body
Number of animal records to generate (1-100). Passed as string but must be numeric.
^[1-9]\d?$|^100$"10"
Locale for generated data (e.g., en, es, fr, de, pt_BR, zh_CN)
"en"
Seed for deterministic generation. Same seed produces same results.
"12345"
Animal generation method. Defaults to profile.
profile, bear, bird, cat, cetacean, cow, crocodilia, dog, fish, horse, insect, lion, petName, rabbit, rodent, snake, type "profile"
Response
Successfully generated animal data
success Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Resolved animal generation method.
profile, bear, bird, cat, cetacean, cow, crocodilia, dog, fish, horse, insect, lion, petName, rabbit, rodent, snake, type "profile"
Primary generated animal fixture value.
"dog"
Generated bear species.
"Asian black bear"
Generated bird species.
"Buller's Shearwater"
Generated cat breed.
"Singapura"
Generated cetacean species.
"Spinner Dolphin"
Generated cow species or breed.
"Brava"
Generated crocodilian species.
"Philippine Crocodile"
Generated dog breed.
"Irish Water Spaniel"
Generated fish species.
"Mandarin fish"
Generated horse breed.
"Swedish Warmblood"
Generated insect species.
"Pyramid ant"
Generated lion species.
"Northeast Congo Lion"
Generated pet name.
"Coco"
Generated rabbit species or breed.
"Florida White"
Generated rodent species or breed.
"Cuscomys ashanika"
Generated snake species.
"Eyelash viper"
Generated general animal type.
"dog"
profile, bear, bird, cat, cetacean, cow, crocodilia, dog, fish, horse, insect, lion, petName, rabbit, rodent, snake, type Was this page helpful?