> ## Documentation Index
> Fetch the complete documentation index at: https://docs.go.gbgplc.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DigiLocker Fetch

> Verify identities using DigiLocker Fetch, India's government-endorsed digital locker that retrieves verified Aadhaar-linked identity attributes.

export const VersionWarningBanner = () => {
  const [latestUrl, setLatestUrl] = useState(null);
  useEffect(() => {
    if (typeof window === "undefined") return;
    const {pathname, hash, search} = window.location;
    if (!pathname.includes("/go-v1/")) return;
    setLatestUrl(`${pathname.replace("/go-v1/", "/go-v2/")}${search}${hash}`);
  }, []);
  if (!latestUrl) return null;
  return <div className="not-prose my-6 rounded-xl border border-amber-500/30 bg-amber-500/10 px-4 py-3 text-sm text-gray-800 dark:text-gray-100">
      ⚠️ You are viewing the <strong>GBG GO v1</strong> documentation.
      <a href={latestUrl} className="ml-2 font-medium underline text-amber-700 dark:text-amber-400 hover:text-amber-800 dark:hover:text-amber-300">
        View the latest version (v2) →
      </a>
    </div>;
};

<VersionWarningBanner />

DigiLocker is India's government-endorsed digital locker for securely storing and sharing documents. Logs the user into DigiLocker via phone, PIN and OTP, then returns verified Aadhaar attributes. To learn more, visit the [DigiLocker website](https://www.digilocker.gov.in).

## Adoption data

This section provides insights into the adoption of DigiLocker Fetch among users in India.

|                 |                                                                                                                                                                        |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Adoption        | 539.2 million                                                                                                                                                          |
| Adoption source | [https://www.pib.gov.in/PressNoteDetails.aspx?ModuleId=3\&NoteId=154788\&id=154788](https://www.pib.gov.in/PressNoteDetails.aspx?ModuleId=3\&NoteId=154788\&id=154788) |
| Adoption rate   | 47.18%                                                                                                                                                                 |
| Coverage        | 1,143M                                                                                                                                                                 |
| Status          | <Badge color="gray">In Integration Pipeline</Badge>                                                                                                                    |

## Compliance

This section outlines compliance and regulatory requirements for integrating this digital ID provider.

| Compliance data           | Status                             |
| ------------------------- | ---------------------------------- |
| Locality requirements     | <Badge color="green">None</Badge>  |
| Scheme-level restrictions | <Badge color="yellow">None</Badge> |
| Certifications            | <Badge color="gray">None</Badge>   |

## Supported attributes

The following attributes are returned when DigiLocker Fetch is used for identity verification:

### Always returned attributes

The following attributes are always returned from a successful verification from this ID Provider.

| Field                                                      | Description                                |
| ---------------------------------------------------------- | ------------------------------------------ |
| <Badge color="green">fullName</Badge>                      | User’s full legal name                     |
| <Badge color="gray">dateOfBirth</Badge>                    | User’s date of birth                       |
| <Badge color="yellow">sex</Badge>                          | User’s gender                              |
| <Badge color="purple">city</Badge>                         | City of residence                          |
| <Badge color="orange">subdivision</Badge>                  | State, province, or region                 |
| <Badge color="green">postalCode</Badge>                    | Postal or ZIP code                         |
| <Badge color="gray">country</Badge>                        | Country of residence                       |
| <Badge color="yellow">document number</Badge>              | Identity document number                   |
| <Badge color="purple">attachments documentPortrait</Badge> | Portrait image extracted from the document |

### Sometimes returned attributes

The following attributes are sometimes returned from a successful verification from this ID Provider.

| Field                               | Description                                            |
| ----------------------------------- | ------------------------------------------------------ |
| <Badge color="green">line1</Badge>  | Primary street address                                 |
| <Badge color="gray">line2</Badge>   | Additional address information (e.g. apartment, suite) |
| <Badge color="yellow">line3</Badge> | Additional address details (if provided)               |
