---
title: "Retrieve multiple certificates in PEM format"
method: POST
path: "/v3/global/asset/certificate/raw"
tags: ["Global Data"]
---

# Retrieve multiple certificates in PEM format

`POST /v3/global/asset/certificate/raw`

## Request

- Base URL: `https://api.platform.censys.io`
- URL: `https://api.platform.censys.io/v3/global/asset/certificate/raw`
- Auth: HTTP bearer

Retrieve the raw PEM-encoded format for multiple certificates. You can retrieve up to 1,000 certificates per call. A certificate ID is its SHA-256 fingerprint.<br><br>Use this endpoint to export raw PEMs for multiple certificates at once, for bulk analysis or sharing with your detection pipeline.

## Query parameters

- `organization_id` string, uuid: The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-find-and-use-your-organization-id-optional) for more information.

## Headers

- `X-Organization-ID` string, uuid: The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-find-and-use-your-organization-id-optional) for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field via the query parameter.

## Request body

- AssetCertificateListInputBody
  - `certificate_ids` string[], nullable, required: A list of SHA-256 certificate fingerprints.

## Response `200`

OK

- ResponseEnvelopeListRawCertificateResponse
  - `result` RawCertificateResponse[], nullable
    - `certificate_id` string, required
    - `pem` string, required

## Other responses

- `400`: Bad request
- `401`: Request does not contain a valid Authorization token
- `403`: User does not have permission to access this data
- `404`: No certificates found
- `500`: Internal server error

---

[API](https://skmtc.dev/censys/apis/censys-platform-api.md) - [All operations](https://skmtc.dev/censys/apis/censys-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/censys/apis/censys-platform-api/revisions/ec1686b0a36a?raw)
