---
title: Age Signal
slug: api/age-signal
icon: 🔞
createdAt: 2026-06-16T04:38:01.079Z
---

# Age Signal

The Age Signal service provides phone-based age signal, helping you determine whether the holder of a given phone number is confirmed to be 18 years or older. It supports onboarding and access-control decisions where an age check is required, without exposing date of birth or other personal information about the individual.

The service takes a single phone number and returns a simple, normalised age signal. It is an age signal only and not a full identity verification. It confirms an age threshold rather than establishing or validating a person's identity.



## Integration

Age Signal can be called as a standalone service through the Data Zoo API. You submit a phone number in international format, and the service returns the age signal in a single response. Coverage currently spans Australia and Germany.


**Result Matrix**

| Scenario                            | status | matchStatus | phoneNo | dob18Plus |
| ----------------------------------- | ------ | ----------- | ------- | --------- |
| Phone matched and age 18+ confirmed | 0      | Full Match  | true    | true      |
| Phone matched, age not confirmed    | 2      | No Match    | true    | omitted   |
| Phone number not found              | 2      | No Match    | false   | false     |
| No usable data returned             | 2      | No Match    | false   | omitted   |
| Source failure (timeout / error)    | 3      | No Match    | false   | omitted   |
| Invalid request input               | -1     | —           | —       | —         |

**Status codes**

- **0** – Full match: phone matched, and age confirmed 18+
- **2** – No match: request processed successfully but did not produce a confirmed 18+ result

***

:::ApiMethodV2
```json
{
  "name": "1) Age Signal",
  "method": "POST",
  "url": "https://idu-test.datazoo.com/api/v2/verify",
  "description": "Verification Outcome: Returns an age signal (18+)\nConsumer Consent – N/A\nMandatory Input – Phone number\nOptional Input – Client reference\nCoverage – Australia (+61), Germany (+49)\nReturned Data – Phone signal, 18+ age signal (omitted where age cannot be confirmed)",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "f2jMy98sIuBrop0Bgc788",
        "language": "curl",
        "code": "curl --location 'https://idu-test.datazoo.com/api/v2/verify' \\\n--header ': application/json' \\\n--header 'Authorization: ••••••' \\\n--data '{\n    \"service\": [\n        \"Age Signal\"\n    ],\n    \"countryCode\": \"Global\",\n    \"clientReference\": \"Test_0001\",\n    \"identityVariables\": {\n        \"phoneNo\": \"\"\n    }\n}",
        "customLabel": ""
      },
      {
        "id": "EAMHFvBbjYgZyGBSEB7DH",
        "language": "curl",
        "code": "curl --request POST \\\n     --url https://idu-test.datazoo.com/api/v2/verify \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --header 'authorization: string' \\\n     --data '{\n     \"data\": {\n     \"service\": \"\",\n     \"countryCode\": \"\",\n     \"identityVariables\": {\n     \"phoneNo\": \"\"\n     }\n     }\n     }'",
        "customLabel": ""
      },
      {
        "id": "UaFxjxhNHBBSHqsSr6TU2",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://idu-test.datazoo.com/api/v2/verify',\n   'headers': {\n      'accept': 'application/json',\n      'content-type': 'application/json',\n      'authorization': 'string'\n   },\n   body: JSON.stringify({\n      \"data\": {\n         \"service\": \"\",\n         \"countryCode\": \"\",\n         \"identityVariables\": {\n            \"phoneNo\": \"\"\n         }\n      }\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "outmkm13nYexfXOSnk0T8",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\nmyHeaders.append(\"authorization\", \"string\");\n\nvar raw = JSON.stringify({\n   \"data\": {\n      \"service\": \"\",\n      \"countryCode\": \"\",\n      \"identityVariables\": {\n         \"phoneNo\": \"\"\n      }\n   }\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://idu-test.datazoo.com/api/v2/verify\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "H7rA_QbZkBMTv-QRtJ1pe",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://idu-test.datazoo.com/api/v2/verify\"\n\npayload = json.dumps({\n   \"data\": {\n      \"service\": \"\",\n      \"countryCode\": \"\",\n      \"identityVariables\": {\n         \"phoneNo\": \"\"\n      }\n   }\n})\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json',\n   'authorization': 'string'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "Moj1OG1m5dJBfZHGXT6RW",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://idu-test.datazoo.com/api/v2/verify\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest[\"authorization\"] = \"string\"\nrequest.body = JSON.dump({\n   \"data\": {\n      \"service\": \"\",\n      \"countryCode\": \"\",\n      \"identityVariables\": {\n         \"phoneNo\": \"\"\n      }\n   }\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "f2jMy98sIuBrop0Bgc788"
  },
  "results": {
    "languages": [
      {
        "id": "-KLLvb-_jXQIuU-WuWQAF",
        "language": "200",
        "code": "{\n    \"countryCode\": \"Global\",\n    \"clientReference\": \"Test_0001\",\n    \"reportingReference\": \"DZ-da848335-0eaa-47d1-9127-c2ad06b12e46\",\n    \"matchStatus\": \"Full Match\",\n    \"searchErrorMessage\": \"\",\n    \"safeHarbour\": false,\n    \"searchStatus\": \"Successful\",\n    \"serviceResponses\": {\n        \"Age Signal\": {\n            \"status\": 0,\n            \"sourceStatus\": \"Successful\",\n            \"errorMessage\": \"\",\n            \"identityVerified\": false,\n            \"safeHarbourScore\": \"N/A\",\n            \"nameMatchScore\": \"N/A\",\n            \"addressMatchScore\": \"N/A\",\n            \"verifications\": {\n                \"dob18Plus\": true,\n                \"phoneNo\": true\n            },\n            \"returnedData\": {\n                \"category\": \"consumer\"\n            }\n        }\n    },\n    \"remarks\": []\n}\n",
        "customLabel": ""
      },
      {
        "id": "AS5tJ4glQVhlG7b69Q21J",
        "language": "404",
        "code": "{\n  \"message\": \"Ain't no cake like that.\"\n}",
        "customLabel": ""
      },
      {
        "id": "8EhcmAyv6-U12DKHsOUg9",
        "language": "400_NAME",
        "code": "{\n    \"clientReference\": \"Test_0001\",\n    \"reportingReference\": \"DZ-1fbbdd3d-8ca3-463c-b425-1eb434be8333\",\n    \"validationErrors\": [\n        \"Invalid value for phoneNo: invalid format\"\n    ],\n    \"searchErrorMessage\": \"The following data source requests failed validation: Age Signal\",\n    \"searchStatus\": \"Not Successful\"\n}\n"
      }
    ],
    "selectedLanguageId": "-KLLvb-_jXQIuU-WuWQAF"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "Authorization",
        "kind": "required",
        "type": "string",
        "description": "sessionToken obtained via the Authentication call",
        "": "sessionToken obtained via the Authentication call"
      },
      {
        "name": "Content-Type",
        "kind": "optional",
        "type": "string",
        "description": "application/json",
        "": "application/json"
      }
    ],
    "bodyDataParameters": [
      {
        "name": "service",
        "kind": "required",
        "type": "array",
        "description": "Age Signal",
        "": "array"
      },
      {
        "name": "countryCode",
        "kind": "required",
        "type": "string",
        "description": "Global",
        "": "required"
      },
      {
        "name": "clientReference",
        "kind": "optional",
        "type": "string",
        "description": "clientReference",
        "": "clientReference"
      },
      {
        "name": "identityVariables",
        "kind": "optional",
        "type": "object",
        "description": "",
        "": "optional",
        "children": [
          {
            "name": "phoneNo",
            "kind": "required",
            "type": "string",
            "description": "Send phoneNo in international format beginning with +61/61 (AU) or +49/49 (DE)"
          }
        ],
        "schema": [
          {
            "name": "phoneNo",
            "kind": "required",
            "type": "string",
            "description": "Send phoneNo in international format beginning with +61/61 (AU) or +49/49 (DE)"
          }
        ]
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "hasTryItOut": true,
  "response": [
    {
      "name": "countryCode",
      "kind": "optional",
      "type": "string",
      "description": "Global",
      "children": []
    },
    {
      "name": "clientReference",
      "kind": "optional",
      "type": "string",
      "description": "the client reference (if given as input) ",
      "children": []
    },
    {
      "name": "reportingReference",
      "kind": "optional",
      "type": "string",
      "description": "a reference number generated which is unique to each transaction. ",
      "children": []
    },
    {
      "name": "validationErrors",
      "kind": "optional",
      "type": "string",
      "description": "Returned with HTTP status code 400 when the request contains invalid or improperly formatted input data.",
      "children": []
    },
    {
      "name": "matchStatus",
      "kind": "optional",
      "type": "string",
      "description": "Full Match\" when phone is matched and age confirmed 18+;\notherwise \n\"No Match\" "
    },
    {
      "name": "searchErrorMessage",
      "kind": "optional",
      "type": "string",
      "description": "error message returned querying the data source",
      "children": []
    },
    {
      "name": "safeHarbour",
      "kind": "optional",
      "type": "boolean",
      "description": "false",
      "children": []
    },
    {
      "name": "searchStatus",
      "kind": "optional",
      "type": "string",
      "description": "\"Successful\" \n\"Not Successful\"",
      "children": []
    },
    {
      "name": "serviceResponses",
      "kind": "optional",
      "type": "object",
      "description": "Age Signal Details with \"Age Signal\" returned as the Service Identifier. ",
      "children": [
        {
          "name": "status",
          "kind": "optional",
          "type": "integer",
          "description": "0 - Full Match\n2 - No Match\n\nFull Match\" when phone is matched and age confirmed 18+;\notherwise \n\"No Match\" \n"
        },
        {
          "name": "sourceStatus",
          "kind": "optional",
          "type": "string",
          "description": "\"Successful\"\n\"Not Successful\""
        },
        {
          "name": "errorMessage",
          "kind": "optional",
          "type": "string",
          "description": "error message(s) from the data source.  Example, \"Not allowed destination\"."
        },
        {
          "name": "identityVerified",
          "kind": "optional",
          "type": "boolean",
          "description": "true or false"
        },
        {
          "name": "safeHarbourScore",
          "kind": "optional",
          "type": "string",
          "description": "\"none\""
        },
        {
          "name": "nameMatchScore",
          "kind": "optional",
          "type": "string",
          "description": "\"N/A\""
        },
        {
          "name": "addressMatchScore",
          "kind": "optional",
          "type": "string",
          "description": "\"N/A\""
        },
        {
          "name": "verifications",
          "kind": "optional",
          "type": "object",
          "description": "element level verification returned as true",
          "children": [
            {
              "name": "phoneNo",
              "kind": "optional",
              "type": "boolean",
              "description": "True\nFalse"
            },
            {
              "name": "dob18Plus",
              "kind": "optional",
              "type": "boolean",
              "description": "True\nFalse"
            }
          ]
        },
        {
          "name": "returnedData",
          "kind": "optional",
          "type": "object",
          "description": "returns additional data from the data source.",
          "children": [
            {
              "name": "category",
              "kind": "optional",
              "type": "string",
              "description": "Consumer "
            }
          ]
        }
      ]
    }
  ],
  "autoGeneratedAnchorSlug": "1-age-signal",
  "legacyHash": "fCeZgtjw30yOmiU8DcJF7"
}
```
:::

***





***

:::Changelog{title="Change History"}
::ChangelogItem{type="added" description="Last updated - 6 June, 2025"}
:::

