> For the complete documentation index, see [llms.txt](https://apidocs.onekeypayments.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.onekeypayments.com/api-reference/cashouts-api/validate-bank-accounts/pix-keys-validator.md).

# Pix keys validator

## Validate one or more Pix Keys

> This endpoint allows you to verify whether a Pix Key exists or not. All Pix Key types can be verified with this API.

```json
{"openapi":"3.0.0","info":{"title":"Pix Key Validation API","version":"v5"},"servers":[{"url":"https://api-stg.onekeypayments.com/v5","description":"Staging Server"}],"paths":{"/account/pix_key/validate":{"post":{"summary":"Validate one or more Pix Keys","description":"This endpoint allows you to verify whether a Pix Key exists or not. All Pix Key types can be verified with this API.","operationId":"validatePixKeys","parameters":[{"name":"Content-Type","in":"header","required":true,"description":"Media type of the request.","schema":{"type":"string"}},{"name":"X-Date","in":"header","required":true,"description":"ISO8601 Datetime with Timezone.","schema":{"type":"string","format":"date-time"}},{"name":"X-Login","in":"header","required":true,"description":"Merchant X-Login Cashouts API Key.","schema":{"type":"string"}},{"name":"Authorization","in":"header","required":true,"description":"Authorization control hash.","schema":{"type":"string"}}],"requestBody":{"description":"A JSON array of Pix Key objects to be validated.","required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PixKey"}}}}},"responses":{"200":{"description":"OK - A list of validation results for each submitted Pix Key.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ValidationResult"}}}}},"401":{"description":"Unauthorized - The provided credentials are not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"PixKey":{"type":"object","required":["pix"],"properties":{"pix":{"type":"string","description":"The Pix Key to validate (e.g., CPF, Email, Phone Number)."}}},"ValidationResult":{"type":"object","properties":{"pix":{"type":"string","description":"The Pix Key that was validated."},"valid":{"type":"boolean","description":"Indicates if the Pix Key is valid."}}},"Error":{"type":"object","properties":{"code":{"type":"integer","description":"An internal error code."},"description":{"type":"string","description":"A human-readable description of the error."},"type":{"type":"string","description":"The type of error that occurred."}}}}}}
```
