Survey Bulk Data API
Returns a randomised batch of survey records (Name, Surname, DOB) on every call. Designed for bulk import testing in Census 2026 and similar projects.
| Property | Value |
|---|---|
| Method | POST |
| Base URL | https://labs.lowcademy.com/ |
| File | survey_api.php |
| Content-Type | application/json |
| Authentication | Header-based (key + secret) |
| Request Body | Not required |
| Header Name | Type | Required | Description |
|---|---|---|---|
| key | String (GUID) | Required | API key in GUID format. Must match the hardcoded value on the server. |
| secret | String | Required | API secret passphrase. Must match the hardcoded value on the server. |
⚠ Hardcoded Credentials — For Lab/Testing Use Only
cURL
curl -X POST https://labs.lowcademy.com/survey_api.php \ -H "key: 6221474d-b1e0-448f-901a-3d01885d3122" \ -H "secret: Lc@Census2026#SecretKey!"
JavaScript (fetch)
const response = await fetch('https://labs.lowcademy.com/survey_api.php', { method: 'POST', headers: { 'key' : '6221474d-b1e0-448f-901a-3d01885d3122', 'secret': 'Lc@Census2026#SecretKey!' } }); const data = await response.json();
OutSystems — Consume REST API headers
// In OnBeforeRequest handler: Request.Headers.Add("key", "6221474d-b1e0-448f-901a-3d01885d3122") Request.Headers.Add("secret", "Lc@Census2026#SecretKey!")
| Field | Type | Description |
|---|---|---|
| success | Boolean | Always true on a successful call |
| total_records | Integer | Number of records returned. Random value between 300 and 600 on every call. |
| generated_at | String | Server timestamp when the response was generated. Format: YYYY-MM-DD HH:MM:SS |
| data | Array | Array of survey record objects (see below) |
| data[].Name | String | First name of the person |
| data[].Surname | String | Surname of the person |
| data[].DOB | String | Date of birth. Format: YYYY-MM-DD. Range: 1950-01-01 to 2005-12-31. |
Sample Response JSON
{
"success" : true,
"total_records" : 427,
"generated_at" : "2026-04-29 14:32:10",
"data" : [
{
"Name" : "Priya",
"Surname": "Sharma",
"DOB" : "1993-07-14"
},
{
"Name" : "Ravi",
"Surname": "Patil",
"DOB" : "1978-03-22"
},
// ... up to total_records entries
]
}{ "success": false, "error": "Unauthorized. Invalid key or secret." }
{ "success": false, "error": "Method Not Allowed. Use POST." }
| Behaviour | Detail |
|---|---|
| Record count | Random between 300 and 600 on every call. Not configurable via request. |
| Data freshness | Every call generates a completely new random dataset. No caching. |
| DOB range | 1950-01-01 to 2005-12-31 |
| DOB format | YYYY-MM-DD string |
| Request body | Not required. POST with headers only is sufficient. |
| CORS | All origins allowed (Access-Control-Allow-Origin: *) |