# Key-value stores

This section describes API endpoints to manage Key-value stores. Key-value store is a simple storage for saving and reading data records or files. Each data record is represented by a unique key and associated with a MIME content type. Key-value stores are ideal for saving screenshots, Actor inputs and outputs, web pages, PDFs or to persist the state of crawlers.

For more information, see the [Key-value store documentation](https://docs.apify.com/platform/storage/key-value-store).

note

Some of the endpoints do not require the authentication token, the calls are authenticated using a hard-to-guess ID of the key-value store.

<!-- -->

## [Get list of key-value stores](https://pr-2482.preview.docs.apify.com/api/v2/key-value-stores-get)

[/key-value-stores](https://pr-2482.preview.docs.apify.com/api/v2/key-value-stores-get)

## [Create key-value store](https://pr-2482.preview.docs.apify.com/api/v2/key-value-stores-post)

[/key-value-stores](https://pr-2482.preview.docs.apify.com/api/v2/key-value-stores-post)

## [Get store](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-get)

[/key-value-stores/{storeId}](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-get)

## [Update store](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-put)

[/key-value-stores/{storeId}](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-put)

## [Delete store](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-delete)

[/key-value-stores/{storeId}](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-delete)

## [Get list of keys](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-keys-get)

[/key-value-stores/{storeId}/keys](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-keys-get)

## [Download records](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-records-get)

[/key-value-stores/{storeId}/records](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-records-get)

## [Get record](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-record-get)

[/key-value-stores/{storeId}/records/{recordKey}](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-record-get)

## [Check if a record exists](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-record-head)

[/key-value-stores/{storeId}/records/{recordKey}](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-record-head)

## [Store record](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-record-put)

[/key-value-stores/{storeId}/records/{recordKey}](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-record-put)

## [Store record (POST)](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-record-post)

[/key-value-stores/{storeId}/records/{recordKey}](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-record-post)

## [Delete record](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-record-delete)

[/key-value-stores/{storeId}/records/{recordKey}](https://pr-2482.preview.docs.apify.com/api/v2/key-value-store-record-delete)
