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.

01

Endpoint

POST https://labs.lowcademy.com/survey_api.php
PropertyValue
MethodPOST
Base URLhttps://labs.lowcademy.com/
Filesurvey_api.php
Content-Typeapplication/json
AuthenticationHeader-based (key + secret)
Request BodyNot required
02

Authentication — Request Headers

Header NameTypeRequiredDescription
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

Header: key 6221474d-b1e0-448f-901a-3d01885d3122
Header: secret Lc@Census2026#SecretKey!
03

Sample Request

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!")
04

Response — Success (200)

FieldTypeDescription
successBooleanAlways true on a successful call
total_recordsIntegerNumber of records returned. Random value between 300 and 600 on every call.
generated_atStringServer timestamp when the response was generated. Format: YYYY-MM-DD HH:MM:SS
dataArrayArray of survey record objects (see below)
data[].NameStringFirst name of the person
data[].SurnameStringSurname of the person
data[].DOBStringDate 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
  ]
}
05

Error Responses

401
Unauthorized — key or secret is missing or incorrect.
{ "success": false, "error": "Unauthorized. Invalid key or secret." }
405
Method Not Allowed — request was not a POST.
{ "success": false, "error": "Method Not Allowed. Use POST." }
200
OK — authentication passed, data returned successfully.
06

Behaviour Notes

BehaviourDetail
Record countRandom between 300 and 600 on every call. Not configurable via request.
Data freshnessEvery call generates a completely new random dataset. No caching.
DOB range1950-01-01 to 2005-12-31
DOB formatYYYY-MM-DD string
Request bodyNot required. POST with headers only is sufficient.
CORSAll origins allowed (Access-Control-Allow-Origin: *)